powerpc64le: Iterate over all object suffixes when appending -mfloat128
[glibc.git] / ChangeLog
blob018e4f2971b8e38c36f0282920aa7a848d2ed42a
1 2017-07-11  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
4         to iterate over all possible object suffixes.  Add a comment
5         explaining the use of sysdep-CFLAGS instead of CFLAGS.
7 2017-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9         [BZ #12189]
10         * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
11         (tests): Add tst-ssp-1 if -fstack-protector works.
12         * debug/fortify_fail.c: Include <stdbool.h>.
13         (_fortify_fail_abort): New function.
14         (__fortify_fail): Call _fortify_fail_abort.
15         (__fortify_fail_abort): Add a hidden definition.
16         * debug/stack_chk_fail.c: Include <stdbool.h>.
17         (__stack_chk_fail): Call __fortify_fail_abort, instead of
18         __fortify_fail.
19         * debug/tst-ssp-1.c: New file.
20         * include/stdio.h (__libc_message_action): New enum.
21         (__libc_message): Replace int with enum __libc_message_action.
22         (__fortify_fail_abort): New hidden prototype.
23         * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
24         * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
25         with enum __libc_message_action.  Call BEFORE_ABORT only if
26         action includes do_backtrace.
27         (__libc_fatal): Update __libc_message call.
29 2017-07-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31         [BZ #21738]
32         * manual/llio.texi (RWF_NOWAIT): New item.
33         * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
34         Add RWF_NOWAIT check.
35         * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
37 2017-07-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
40         Support running on kernels without PTRACE_SINGLEBLOCK.
42 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
44         [BZ #21742]
45         * elf/Makefile (dl-routines): Move dl-conflict to ...
46         (rtld-routines): Here.
48 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
50         [BZ #21741]
51         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
53         in libc.so.
55 2017-07-09  John David Anglin  <danglin@gcc.gnu.org>
57         * sysdeps/hppa/fpu/libm-test-ulps: Update.
59         [BZ #21016]
60         * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
61         Fix typo.
62         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
63         bits/types/struct_timespec.h.
64         (PTHREAD_MUTEX_INITIALIZER): Revise define.
65         (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
66         (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
67         (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
68         (PTHREAD_RWLOCK_INITIALIZER): Likewise.
69         (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
70         (PTHREAD_COND_INITIALIZER): Likewise.
71         Remove old definitions.
72         * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
73         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
74         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
75         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
76         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
77         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
79 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
81         * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
82         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
83         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
84         * sysdeps/x86_64/multiarch/memset.c: Likewise.
85         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
86         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
87         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
88         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
89         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
90         * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
91         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
92         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
93         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
94         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
95         * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
96         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
98 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
102 2017-07-09  Helge Deller  <deller@gmx.de>
104         [BZ #21049]
105         * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
106         up to avoid clobbering r26.
108 2017-07-08  Andreas Schwab  <schwab@linux-m68k.org>
110         * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
111         profiled objects.
113 2017-07-06  DJ Delorie  <dj@redhat.com>
115         * manual/tunables.texi: Add missing @end deftp.
117 2017-07-06  Florian Weimer  <fw@deneb.enyo.de>
119         * resolv/tst-resolv-basic.c (test_bug_21295): New function.
120         (do_test): Call it.
122 2017-07-06  DJ Delorie  <dj@redhat.com>
124         * config.make.in: Enable experimental malloc option.
125         * configure.ac: Likewise.
126         * configure: Regenerate.
127         * manual/install.texi: Document it.
128         * INSTALL: Regenerate.
129         * malloc/Makefile: Likewise.
130         * malloc/malloc.c: Add per-thread cache (tcache).
131         (tcache_put): New.
132         (tcache_get): New.
133         (tcache_thread_freeres): New.
134         (tcache_init): New.
135         (__libc_malloc): Use cached chunks if available.
136         (__libc_free): Initialize tcache if needed.
137         (__libc_realloc): Likewise.
138         (__libc_calloc): Likewise.
139         (_int_malloc): Prefill tcache when appropriate.
140         (_int_free): Likewise.
141         (do_set_tcache_max): New.
142         (do_set_tcache_count): New.
143         (do_set_tcache_unsorted_limit): New.
144         * manual/probes.texi: Document new probes.
145         * malloc/arena.c: Add new tcache tunables.
146         * elf/dl-tunables.list: Likewise.
147         * manual/tunables.texi: Document them.
148         * NEWS: Mention the per-thread cache.
150 2017-07-06  Joseph Myers  <joseph@codesourcery.com>
152         * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
153         * misc/tst-tsearch.c (TIMEOUT): Remove.
154         * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
155         * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
156         * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
157         * string/tst-cmp.c (TIMEOUT): Define to 600.
159 2017-07-06  Matthew Krupcale  <mkrupcale@matthewkrupcale.com>
161         [BZ #21715]
162         * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
163         on definition.
165 2017-07-06  Florian Weimer  <fweimer@redhat.com>
166             H.J. Lu  <hongjiu.lu@intel.com>
168         [BZ #21609]
169         * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
170         (gen-as-const-headers): Add rtld-offsets.sym.
171         * sysdeps/x86_64/dl-tls.c: New file.
172         * sysdeps/x86_64/rtld-offsets.sym: Likwise.
173         * sysdeps/x86_64/tls_get_addr.S: Likewise.
174         * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
175         * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
176         (TI_OFFSET_OFFSET): Likwise.
178 2017-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
180         [BZ# 21697]
181         * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
183 2017-07-05  Florian Weimer  <fweimer@redhat.com>
185         * resolv/Makefile (tests-internal): Add tst-resolv-threads.
186         (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
187         * resolv/tst-resolv-threads.c: New file.
189 2017-07-05  Florian Weimer  <fweimer@redhat.com>
191         support: Add resolver testing mode which does not patch _res.
192         * support/resolv_test.h (struct resolv_redirect_config): Add
193         disable_redirect, server_address_overrides.
194         * support/resolv_test.c (make_server_sockets_for_address): New
195         function.
196         (resolv_test_start): Call it.
198 2017-07-05  Florian Weimer  <fweimer@redhat.com>
200         * support/namespace.h (struct support_chroot_configuration)
201         (struct support_chroot): Define.
202         (support_chroot_create, support_chroot_free): New functions.
203         * support/support_chroot.c: New file.
204         * support/Makefile (libsupport-routines): Add support_chroot.
205         * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
206         (path_resolv_conf): Remove definitions.
207         (chroot_env): New variable.
208         (prepare): Call support_chroot_create.
209         (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
210         (special_test_callback, do_test): Likewise.
212 2017-07-05  Florian Weimer  <fweimer@redhat.com>
214         Add subtest to check isolation of multiple loopback addresses.
215         * support/tst-support-namespace.c (test_localhost_bind): New function.
216         (do_test): Call it.
218 2017-07-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
220         * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
221         * libio/libioP.h (_IO_enable_locks): Declare.
222         * libio/Versions (_IO_enable_locks): New symbol.
223         * libio/genops.c (_IO_enable_locks): Define.
224         (_IO_old_init): Initialize flags2.
225         * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
226         * libio/ferror.c (_IO_ferror): Likewise.
227         * libio/fputc.c (fputc): Likewise.
228         * libio/putc.c (_IO_putc): Likewise.
229         * libio/getc.c (_IO_getc): Likewise.
230         * libio/getchar.c (getchar): Likewise.
231         * libio/ioungetc.c (_IO_ungetc): Likewise.
232         * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
233         * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
234         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
236 2017-07-04  Florian Weimer  <fweimer@redhat.com>
238         [BZ #21542]
239         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
240         two if no accurate information is available.
241         * posix/tst-sysconf-empty-chroot.c: New file.
242         * posix/Makefile (tests): Add it.
244 2017-07-04  Florian Weimer  <fweimer@redhat.com>
246         * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
247         server and sort list counts.  Fix improper check for empty search
248         path (completely missing domain name) leading to assertion failure
249         in update_from_conf.
250         * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
251         hostname member.
252         (run_res_init): Set host name if requested.
253         (test_cases): Update.
255 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
257         * scripts/build-many-glibcs.py (Context.checkout): Default
258         binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
259         kernel version to 4.12.
261 2017-07-04  Florian Weimer  <fweimer@redhat.com>
263         * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
264         list management and the role of free_list_start.
265         (decrement_at_index): Put zero at the end of the free list.
266         (__resolv_conf_attach): Fix bogus assert.
267         * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
268         (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
270 2017-07-03  Florian Weimer  <fweimer@redhat.com>
272         resolv: Introduce free list for resolv_conf index slosts.
273         * resolv/resolv_conf.c (struct resolv_conf_array): Change element
274         type to uintptr_t.
275         (struct resolv_conf_global): Add free_list_start member.
276         (resolv_conf_get_1): Check for free list entry.
277         (decrement_at_index): Put freed slot on the free list.
278         (__resolv_conf_attach): Obtain new slot from the free list.
279         * resolv/tst-resolv-res_ninit.c: New file.
280         * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
281         (tests-special): Add mtrace-tst-resolv-res_ninit.out.
282         (generated): Add mtrace-tst-resolv-res_ninit.out,
283         tst-resolv-res_ninit.mtrace.
284         (mtrace-tst-resolv-res_ninit.out): Add target.
286 2017-06-30  Florian Weimer  <fweimer@redhat.com>
288         [BZ #984]
289         Reload /etc/resolv.conf if has been changed on disk.
290         * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
291         (__resolv_conf_load, __resolv_conf_get_current): Declare.
292         * resolv/resolv_conf.c (struct resolv_conf_global): Add
293         conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
294         (__resolv_conf_get_current): New function.
295         (__resolv_conf_allocate): Do not initialize initstamp.
296         (freeres): Deallocate global->conf_current.
297         * resolv/resolv.h (RES_NORELOAD): Define.
298         * resolv/res_debug.c (p_option): Add RES_NORELOAD.
299         * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
300         * resolv/resolv_context.c (replicated_configuration_matches): New.
301         (maybe_init): Call it.  Use __resolv_conf_get_current to obtain
302         the current configration.
303         * resolv/res_init.c (__res_initstamp): Remove variable definition.
304         (has_preinit_values): New function.
305         (__resolv_conf_load): Renamed from __res_vinit.  Drop res_state
306         parameter and do not call __resolv_conf_attach.
307         (__res_vinit): Reimplement based __resolv_conf_load.
308         (res_options): Handle no-reload.
309         * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
310         (lock): Remove.
311         (res_int): Do not update __res_initstamp.
312         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
313         RES_NORELOAD.
314         (test_cases): Test no-reload.
315         (special_test_call_res_init): Remove.
316         (special_test_callback): Rely on automated reloading.  Add tests
317         for no-reload.
319 2017-06-30  Florian Weimer  <fweimer@redhat.com>
321         Mirror the entire resolver configuration in struct resolv_conf.
322         * resolv/resolv_context.h (__resolv_context_nameserver_count)
323         (__resolv_context_nameserver): New functions.
324         (__resolv_context_sort_count, __resolv_context_sort_entry):
325         Likewise.
326         * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
327         resolv_context parameter.
328         (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
329         (addrsort): Switch to struct resolv_context.
330         * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
331         (struct resolv_conf): Add nameserver_list, nameserver_list_size,
332         sort_list, sort_list_size, options, retrans, retry, ndots members.
333         * resolv/resolv_conf.c (same_address_v4, same_address_v6)
334         (same_address): New functions.
335         (resolv_conf_matches): Compare the new array members.
336         (__resolv_conf_allocate): Allocate and copy the new array members.
337         (update_from_conf): Copy the entire configuration.
338         * resolv/res_init.c (struct nameserver_list, struct sort_list):
339         Define using dynarray.
340         (struct resolv_conf_parser): Add nameserver_list, sort_list,
341         template members.
342         (resolv_conf_parser_init): Add preinit argument.  Initialize the
343         new members.
344         (resolv_conf_parser_free): Deallocate the new arrays.
345         (allocate_address_v4): New function.
346         (res_setoptions): Switch to struct resolv_conf_parser * parameter.
347         (res_vinit_1): Drop res_state parameter.  Write all parsed date to
348         the parser object instead.  Use allocate_address_v4 to allocate
349         IPv4 addresses.
350         (__res_vinit): Adjust.
351         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
352         extended name server list.
353         (test_cases): Adjust.
355 2017-06-30  Florian Weimer  <fweimer@redhat.com>
357         [BZ #19569]
358         [BZ #21475]
359         Support an arbitrary number of search domains.
360         * resolv/resolv_context.h (__resolv_context_search_list): New.
361         * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
362         search_list_size members.
363         * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
364         (__resolv_conf_allocate): Allocate and and copy search list.
365         (update_from_conf): Copy the search list.
366         * resolv/res_init.c (struct search_list): Define using dynarray.
367         (struct resolv_conf_parser): Define.
368         (resolv_conf_parser_init, resolv_conf_parser_free)
369         (domain_from_hostname): New functions.
370         (res_vinit_1): Add struct resolv_conf_parser * parameter.  Use
371         struct search_list to collect search list entries.  Call
372         domain_from_hostname to obtain the fallback domain name.
373         (__res_vinit): Create and destroy parser object.  Pass search list
374         to __resolv_conf_allocate.
375         * resolv/res_query.c (__res_context_search): Use
376         __resolv_context_search_list to obtain search list entries.
377         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
378         from extended resolver context.
379         (test_cases): Update.
381 2017-06-30  Florian Weimer  <fweimer@redhat.com>
383         Add extended resolver state/configuration (struct resolv_conf).
384         * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
385         * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
386         * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
387         (__res_vinit): Call __resolv_conf_allocate and
388         __resolv_conf_attach.
389         * resolv/resolv_context.h (struct resolv_context): Add conf member
390         of type struct resolv_conf.
391         * resolv/resolv_context.c (maybe_init): Get initstamp from struct
392         resolv_conf.  Update conf member after initialization.
393         * resolv/Makefile (routines): Add resolv_conf.
394         * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
395         Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
396         [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
397         _u._ext.__glibc_reserved.
399 2017-06-30  Florian Weimer  <fweimer@redhat.com>
401         [BZ #21668]
402         Introduce temporary resolver contexts (struct resolv_conf).
403         * resolv/resolv-internal.h (__res_context_mkquery)
404         (__res_context_searchl __res_context_query, __res_context_send)
405         (__res_context_hostalias): Declare.
406         (__res_nopt): Switch to struct resolv_context.
407         * resolv/res_use_inet6.h: New file.
408         * resolv/resolv_context.h: Likewise.
409         * resolv/resolv_context.c: Likewise.
410         * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
411         Renamed from res_gethostbyname2.  Use struct resolv_context.
412         (res_gethostbyname2): New function.  Implement using
413         res_gethostbyname2_context.
414         (res_gethostbyaddr_context): Renamed from res_gethostbyaddr.  Use
415         struct resolv_context.
416         (res_gethostbyaddr): New function.  Implement using
417         res_gethostbyaddr_context.
418         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
419         resolv_context.
420         * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
421         _nss_dns_gethostbyname3_r.  Use struct resolv_context.
422         (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
423         (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
424         (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
425         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
426         (_nss_dns_getnetbyaddr_r): Likewise.
427         * resolv/res-close.c (res_thread_freeres): Call
428         __resolv_context_freeres.
429         * resolv/res_libc.c (__res_maybe_init): Remove function.  Moved to
430         maybe_init in resolv/resolv_context.c.
431         * resolv/res_mkquery.c (__res_context_mkquery): Rename from
432         res_nmkquery.  Use struct resolv_context.
433         (context_mkquery_common): New function.
434         (res_nmkquery, res_mkquery): Use it.
435         (res_nopt): Switch to struct resolv_context.
436         * resolv/res_query.c (__res_context_querydomain): Renamed from
437         __libc_res_nquerydomain.  Use struct resolv_context.
438         (__res_context_query): Renamed from __libc_res_nquery.  Use struct
439         resolv_context.
440         (context_query_common): New function.
441         (res_nquery, res_query): Use it.
442         (__res_context_search): Renamed from __libc_res_nsearch.  Use
443         struct resolv_context.
444         (context_search_common): New function.
445         (res_nsearch, res_search): Use it.
446         (__res_context_querydomain): Rename from __libc_res_nquerydomain.
447         Use struct resolv_context.
448         (context_querydomain_common): New function.
449         (res_nquerydomain, res_querydomain): Use it.
450         (__res_context_hostalias): Rename from res_hostalias.  Use struct
451         resolv_context.
452         (context_hostalias_common): New function.
453         (res_hostalias, hostalias): Use it.
454         * resolv/res_send.c (__res_context_send): Renamed from
455         __libc_res_nsend.  Use struct resolv_context.
456         (context_send_common): New function.
457         (res_nsend, res_send): Use it.
458         * resolv/Makefile (routines): Add resolv_context.
459         * resolv/Versions (libc): Export __resolv_context_get,
460         __resolv_context_get_preinit, __resolv_context_get_override,
461         __resolv_context_put.  Remove __res_maybe_init.
462         (libresolv): Export __res_context_query, __res_context_search,
463         __res_context_hostalias.  Remove __libc_res_nquery,
464         __libc_res_nsearch.
465         * include/resolv.h (__res_maybe_init, __libc_res_nquery)
466         (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
467         (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
468         (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
469         prototypes.
470         * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
471         * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
472         from __nss_hostname_digits_dots.  Use struct resolv_context.
473         (__nss_hostname_digits_dots): New function.
474         * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
475         struct resolv_context object.  Call new function
476         __nss_hostname_digits_dots_context.
477         * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
478         * nss/getnssent_r.c (__nss_setent): Likewise.
479         * nscd/aicache.c (addhstaiX): Use struct resolv_context,
480         __resolv_context_disable_inet6 and __resolv_context_enable_inet6
481         instead of direct _res manipulation.
482         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
484 2017-07-03  Florian Weimer  <fweimer@redhat.com>
486         * resolv/tst-resolv-res_init-skeleton.c
487         (special_tests_count, special_test_call_res_init)
488         (special_test_callback, special_test_thread_func)
489         (run_special_test_on_thread, special_test): Define.
490         (do_test): call special_test.
491         (test_init_names): Fix typo.
493 2017-07-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
495         * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
496         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
498 2017-07-01  Florian Weimer  <fweimer@redhat.com>
499             H.J. Lu  <hongjiu.lu@intel.com>
501         [BZ #21696]
502         * posix/sched_cpucount.c: Don't include <limits.h>.
503         (__sched_cpucount): Use __builtin_popcount.
505 2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
507         * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
508         Fix typo.
510 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
512         * include/math.h (__signbitf128): Define as hidden.
513         * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
514         Reimplement without builtins.
515         * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
516         (__builtin_signbitf128): Define to __signbitf128.
517         * sysdeps/powerpc/bits/floatn.h: Likewise.
518         * sysdeps/x86/bits/floatn.h: Likewise.
520 2017-06-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
522         * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
523         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
524         * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
525         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
526         * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
527         * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
528         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
529         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
531         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
532         * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
533         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
534         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
535         fcntl_common and add check for F_GETOWN.
536         (__libc_fcntl): Use SYSCALL_CANCEL macro.
537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
538         use default implementation.
540 2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
542         * elf/dl-tunables.h (tunable_is_name): Move from...
543         * elf/dl-tunables.c (is_name): ... here.
544         (parse_tunables, __tunables_init): Adjust.
545         * manual/tunables.texi: Document glibc.tune.cpu.
546         * sysdeps/aarch64/dl-tunables.list: New file.
547         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
548         cpu_list): New type.
549         (cpu_list): New list of CPU names and their MIDR.
550         (get_midr_from_mcpu): New function.
551         (init_cpu_features): Override MIDR if necessary.
553         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
554         (__libc_ifunc_impl_list): Unconditionally select thunderx
555         routine for testing.
557 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
559         [BZ #21120]
560         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
561         * sysdeps/generic/malloc-alignment.h: Here.  New file.
562         * sysdeps/i386/malloc-alignment.h: Likewise.
563         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
565 2017-06-30  Florian Weimer  <fweimer@redhat.com>
567         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
568         variable.
569         (test_file_contents): Use it.
571 2017-06-30  Florian Weimer  <fweimer@redhat.com>
573         * resolv/res_init.c (res_setoptions): Remove source argument.
574         (res_vinit_1): Adjust.
576 2017-06-30  Florian Weimer  <fweimer@redhat.com>
578         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
580 2017-06-30  Florian Weimer  <fweimer@redhat.com>
582         * resolv/res_data.c: Reformat to GNU style.
583         (res_close): Update comments.
585 2017-06-30  Florian Weimer  <fweimer@redhat.com>
587         * resolv/res_data.c (res_query, res_search, res_querydomain)
588         (hostalias): Move to ...
589         * resolv/res_Send.c (res_query, res_search, res_querydomain)
590         (hostalias): here.
592 2017-06-30  Florian Weimer  <fweimer@redhat.com>
594         * resolv/res_data.c (res_isourserver, res_send): Move to ...
595         * resolv/res_send.c (res_isourserver, res_send): here.
597 2017-06-30  Florian Weimer  <fweimer@redhat.com>
599         * resolv/res_debug.c (_res_opcodes): Rename ...
600         (res_opcodes): ... as compatibility symbol.
601         (fp_nquery): Use res_opcodes.
602         * include/resolv.h (_res_opcodes): Remove declaration.
604 2017-06-30  Florian Weimer  <fweimer@redhat.com>
606         * include/resolv.h (res_pquery): Remove declaration.
607         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
608         functions.
609         (_res_opcodes): Remove variable.
610         * resolv/res_debug.c (do_section): Receive pfcode instead of
611         statp.
612         (res_pquery): Rename ...
613         (fp_nquery): to this function.  Skip unnecessary _res
614         initialization.
615         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
617 2017-06-30  Florian Weimer  <fweimer@redhat.com>
619         * resolv/res_debug.h: Remove file.
620         * resolv/README: Adjust.
622 2017-06-30  Florian Weimer  <fweimer@redhat.com>
624         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
625         conditionals.
626         (Aerror, Perror): Remove function definitions.
628 2017-06-30  Florian Weimer  <fweimer@redhat.com>
630         * resolv/res_data.c (res_mkquery): Move ...
631         * resolv/res_mkquery.c (res_mkquery): to here.
633 2017-06-30  Florian Weimer  <fweimer@redhat.com>
635         * resolv/res_mkquery.c: Reformat to GNU style.
636         (T_OPT): Remove definition.  It is present in the header file.
638 2017-06-30  Florian Weimer  <fweimer@redhat.com>
640         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
641         conditionals.
643 2017-06-30  Florian Weimer  <fweimer@redhat.com>
645         * support/support_capture_subprocess_check.c
646         (support_capture_subprocess_check): Report actual exit status.
648 2017-06-30  Florian Weimer  <fweimer@redhat.com>
650         [BZ #19570]
651         * resolv/res_send.c (nameserver_offset): New function.
652         (__libc_res_nsend): Use it to implement RES_ROTATE.
653         (get_nsaddr): Add assert with name server
654         range check.
655         * resolv/Makefile (xtests): Add tst-resolv-rotate.
656         (tst-resolv-rotate): Link against libpthread.
657         * resolv/tst-resolv-rotate.c: New file.
659 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
661         [BZ #21457]
662         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
663         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
664         [__WORDSIZE == 64] (MC_PC): Likewise.
665         [__WORDSIZE == 64] (MC_NPC): Likewise.
666         [__WORDSIZE == 64] (MC_Y): Likewise.
667         [__WORDSIZE == 64] (MC_G1): Likewise.
668         [__WORDSIZE == 64] (MC_G2): Likewise.
669         [__WORDSIZE == 64] (MC_G3): Likewise.
670         [__WORDSIZE == 64] (MC_G4): Likewise.
671         [__WORDSIZE == 64] (MC_G5): Likewise.
672         [__WORDSIZE == 64] (MC_G6): Likewise.
673         [__WORDSIZE == 64] (MC_G7): Likewise.
674         [__WORDSIZE == 64] (MC_O0): Likewise.
675         [__WORDSIZE == 64] (MC_O1): Likewise.
676         [__WORDSIZE == 64] (MC_O2): Likewise.
677         [__WORDSIZE == 64] (MC_O3): Likewise.
678         [__WORDSIZE == 64] (MC_O4): Likewise.
679         [__WORDSIZE == 64] (MC_O5): Likewise.
680         [__WORDSIZE == 64] (MC_O6): Likewise.
681         [__WORDSIZE == 64] (MC_O7): Likewise.
682         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
683         __MC_NGREG if [__USE_MISC].
684         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
685         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
686         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
687         Define fields using __ctx.
688         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
689         using __ctx.
690         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
691         (REG_PSR): Define only for [__USE_MISC].
692         (REG_PC): Likewise.
693         (REG_nPC): Likewise.
694         (REG_Y): Likewise.
695         (REG_G1): Likewise.
696         (REG_G2): Likewise.
697         (REG_G3): Likewise.
698         (REG_G4): Likewise.
699         (REG_G5): Likewise.
700         (REG_G6): Likewise.
701         (REG_G7): Likewise.
702         (REG_O0): Likewise.
703         (REG_O1): Likewise.
704         (REG_O2): Likewise.
705         (REG_O3): Likewise.
706         (REG_O4): Likewise.
707         (REG_O5): Likewise.
708         (REG_O6): Likewise.
709         (REG_O7): Likewise.
710         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
711         [__WORDSIZE == 64] (REG_FPRS): Likewise.
712         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
713         (gregset_t): Define using __NGREG.
714         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
715         __SPARC_MAXREGWINDOW if [__USE_MISC].
716         (struct rwindow): Rename to struct __rwindow.  Define fields using
717         __ctx.
718         (rw_fp): Define only for [__USE_MISC].
719         (rw_rtn): Likewise.
720         (gwindows_t): Remove struct tag.  Define fields using __ctx and
721         __SPARC_MAXREGWINDOW.
722         (MAXFPQ): Define only for [__USE_MISC].
723         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
724         (struct fq): Rename to struct __fq.  Define fields using __ctx.
725         (FPU_REGS_TYPE): Define only for [__USE_MISC].
726         (FPU_DREGS_TYPE): Likewise.
727         (V7_FPU_FSR_TYPE): Likewise.
728         (V9_FPU_FSR_TYPE): Likewise.
729         (V9_FPU_FPRS_TYPE): Likewise.
730         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
731         using __ctx.
732         [__WORDSIZE != 64] (fpregset_t): Likewise.
733         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
734         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
735         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
736         Rename field filler to __glibc_reserved1.
737         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
738         (MC_FILLER): Remove.
740 2017-06-29  Florian Weimer  <fweimer@redhat.com>
742         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
743         Adjust format string.
744         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
745         dependency.
747 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
749         * sysdeps/posix/spawni.c (__spawni_child): New function.
750         (__spawni): Rename to __spawnix.
752 2017-06-29  Florian Weimer  <fweimer@redhat.com>
754         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
755         Use it to make the temporary copy at the start of the work buffer.
756         (process_arg): Adjust call to group_number.
758 2017-06-29  Florian Weimer  <fweimer@redhat.com>
760         * stdio-common/vfprintf.c (printf_positional): Use struct
761         scratch_buffer to allocate backing storage for the args_value,
762         args_size, args_type arrays.
764 2017-06-29  Florian Weimer  <fweimer@redhat.com>
766         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
767         scratch_buffer.
769 2017-06-29  Florian Weimer  <fweimer@redhat.com>
771         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
772         wchar_t builds.
774 2017-06-29  Florian Weimer  <fweimer@redhat.com>
776         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
777         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
779 2017-06-29  Florian Weimer  <fweimer@redhat.com>
781         * stdio-common/tst-vfprintf-user-type.c: New file.
782         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
784 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
786         * posix/tst-spawn2.c (do_test): Use libsupport.
787         * posix/tst-spawn3.c (do_test): Likewise.
789 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
791         * math/gen-tgmath-tests.py (Tests.__init__): Define
792         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
794         * math/tgmath.h: Include <bits/libc-header-start.h> and
795         <bits/floatn.h>.
796         (__TGMATH_F128): New macro.
797         (__TGMATH_CF128): Likewise.
798         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
799         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
800         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
801         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
802         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
803         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
804         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
805         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
806         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
807         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
808         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
809         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
810         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
811         (__TGMATH_BINARY_REAL_IMAG): Likewise.
812         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
813         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
814         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
815         _FloatNx types if the corresponding HUGE_VAL macros are defined.
817         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
818         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
819         complex arguments.
821         [BZ #21687]
822         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
823         (totalorder): Use it.
824         (totalordermag): Likewise.
825         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
826         totalorder and totalordermag.
827         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
828         totalordermag in arguments of calls to those functions.
829         (NCALLS): Change to 134.
831         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
832         cast to return type argument.
833         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
834         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
835         (llrint): Likewise.
836         (lround): Likewise.
837         (llround): Likewise.
838         (ilogb): Likewise.
839         (llogb): Likewise.
840         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
841         (ufromfp): Likewise.
842         (fromfpx): Likewise.
843         (ufromfpx): Likewise.
845         [BZ #21607]
846         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
847         [LDBL_MANT_DIG > DBL_MANT_DIG].
848         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
849         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
850         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
851         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
852         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
853         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
854         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
855         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
856         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
857         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
858         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
859         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
860         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
861         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
862         * math/test-tgmath.c: Include <float.h>.
863         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
864         DBL_MANT_DIG].
865         * math/test-tgmath2.c: Include <float.h>.
866         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
867         DBL_MANT_DIG].
869         * math/gen-tgmath-tests.py: New file.
870         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
871         [PYTHON] (generated): Add test-tgmath3.c.
872         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
873         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
875         * configure.ac (AS): Require binutils 2.25 or later.
876         (LD): Likewise.
877         * configure: Regenerated.
878         * sysdeps/s390/configure.ac (AS): Remove version check.
879         * sysdeps/s390/configure: Regenerated.
880         * sysdeps/x86_64/configure.ac (AS): Remove version check.
881         * sysdeps/x86_64/configure: Regenerated.
882         * manual/install.texi (Tools for Compilation): Document
883         requirement for binutils 2.25 or later.
884         * INSTALL: Regenerated.
886 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
888         [BZ #14995]
889         * configure.ac: Allow gold 1.14 or above to configire glibc
890         * configure: Regenerated.
892 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
894         [BZ #21457]
895         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
896         struct tag.
897         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
898         Likewise.
899         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
900         Likewise.
901         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
902         Declare struct type with __ctx.
903         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
904         tag.
905         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
906         and regs field name.
908 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
910         * elf/loadtest.c (OUT): Define using do { } while (0).
912         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
913         (DO_NUMBER_SPACEPAD): Likewise.
915 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
917         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
918         sysdep_routines.
919         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
920         __memchr_neon.
921         Add ifunc definitions for __memchr_neon and __memchr_noneon.
922         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
923         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
924         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
926 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
928         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
929         Use vector and cu21 instruction.
930         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
931         Add __to_utf8_loop_vx_cu in ifunc resolver.
933 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
935         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
936         Use vector and cu24 instruction.
938 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
940         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
941         Use vector and cu42 instruction.
942         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
943         Add __to_utf16_loop_vx_cu in ifunc resolver.
945 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
947         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
948         Use vector and cu41 instruction.
949         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
950         in ifunc resolver.
952 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
954         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
955         Add vxd, vxe, gs flag.
956         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
957         HWCAP_S390_GS capability.
958         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
959         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
961 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
963         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
964         the first 32 bytes before checking size when size >= 32 bytes.
965         Replace vpmovmskb/subl/jnz with vptest/jnc.
967 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
969         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
970         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
972 2017-06-27  Florian Weimer  <fweimer@redhat.com>
974         Work around test timeouts with ICMP rate limiting on localhost.
975         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
976         function.
977         (do_test): Call it.
979 2017-06-27  Florian Weimer  <fweimer@redhat.com>
981         Call _res_hconf_init from __res_vinit.
982         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
983         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
984         (NEED__RES): Define.
985         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
986         (NEED__RES): Define.
987         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
988         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
989         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
990         (NEED__RES): Define.
991         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
992         _res_hconf_init.
993         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
994         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
996         _res_hconf_init.
998 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
1000         * sysdeps/ia64/Implies: Add ieee754/float128.
1001         * sysdeps/ia64/bits/floatn.h: New file.
1002         * sysdeps/ia64/float128-abi.h: Likewise.
1003         * manual/math.texi (Mathematics): Document support for _Float128
1004         on ia64.
1005         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1006         Makefile variable.
1007         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1008         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1009         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
1010         * sysdeps/ia64/math-tests.h: New file.
1011         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1012         based on TEST_COND_binary128 for [__ia64__].
1013         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1014         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1016         [BZ #21457]
1017         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1018         ucontext_t.
1019         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1020         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1021         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1022         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1023         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1024         ucontext): Likewise.
1025         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1026         Likewise.
1027         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1028         Likewise.
1029         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1030         Likewise.
1031         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1032         Likewise.
1033         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1034         Likewise.
1035         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1036         Likewise.
1037         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1038         Likewise.
1039         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1040         ucontext): Likewise.
1041         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1042         Likewise.
1043         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1044         Likewise.
1045         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1046         Likewise.
1047         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1048         Likewise.
1049         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1050         Likewise.
1051         * sysdeps/powerpc/powerpc32/backtrace.c (struct
1052         rt_signal_frame_32): Likewise.
1053         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1054         Likewise.
1055         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1056         kernel_rt_sigframe): Likewise.
1057         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1058         Likewise.
1059         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1060         Likewise.
1061         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1062         Likewise.
1063         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1064         (__profil_counter): Likewise.
1065         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1066         (SIGCONTEXT): Likewise.
1067         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1068         kernel_rt_sigframe): Likewise.
1069         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1070         kernel_rt_sigframe): Likewise.
1071         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1072         Likewise.
1073         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1074         Likewise.
1075         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1076         (__start_context): Likewise.
1077         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1078         Likewise.
1079         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1080         Likewise.
1081         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1082         Likewise.
1084         * sysdeps/i386/Implies: Add ieee754/float128.
1085         * sysdeps/x86_64/Implies: Likewise.
1086         * sysdeps/x86/bits/floatn.h: New file.
1087         * sysdeps/x86/float128-abi.h: Likewise.
1088         * manual/math.texi (Mathematics): Document support for _Float128
1089         on x86_64 and x86.
1090         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1091         (math_opt_barrier): Do not put _Float128 values in floating-point
1092         registers.
1093         (math_force_eval): Likewise.
1094         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1095         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1096         to Makefile variable.
1097         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1098         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
1099         * sysdeps/x86/math-tests.h: New file.
1100         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1101         * math/libm-test-getpayload.inc (getpayload_test_data): Use
1102         XFAIL_FLOAT128_PAYLOAD.
1103         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1104         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1105         * math/libm-test-totalordermag.inc (totalordermag_test_data):
1106         Likewise.
1107         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1108         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1109         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1110         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1111         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1112         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1113         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1114         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1117 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1119         [BZ #21512]
1120         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1121         syscall instead of jump to _exit.
1122         (CLONE_VM_BIT): Remove unused define.
1123         (CLONE_VM): Likewise.
1124         (CLONE_THREAD_BIT): Likewise.
1125         (CLONE_THREAD): Likewise.
1126         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1127         (CLONE_VM): Remove unused define.
1128         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1129         (CLONE_VM): Remove unused define.
1130         (CLONE_THREAD): Likewise.
1131         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1132         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1133         syscall instead of jump to _exit.
1134         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1135         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1136         (CLONE_VM): Remove unused define.
1137         (CLONE_THREAD): Likewise.
1138         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1139         (CLONE_VM): Remove unused define.
1140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1141         Likewise.
1142         (CLONE_VM): Remove unused define.
1143         (CLONE_THREAD): Likewise.
1144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1145         Likewise.
1146         (CLONE_VM): Remove unused define.
1147         (CLONE_THREAD): Likewise.
1148         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
1149         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1150         (CLONE_VM): Remove unused define.
1151         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1152         (CLONE_VM): Remove unused define.
1153         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1154         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1155         (CLONE_VM): Remove unused define.
1156         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1157         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1159 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1160             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1162         * manual/math.texi (Mathematics): Mention the enabling of float128
1163         for powerpc64le.
1164         * sysdeps/powerpc/bits/floatn.h: New file.
1165         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1166         * sysdeps/powerpc/fpu/math_private.h:
1167         (__ieee754_sqrtf128): New inline override.
1168         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1169         * sysdeps/powerpc/powerpc64le/Makefile: New file.
1170         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1171         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1172         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1174         Updated.
1175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1176         Likewise.
1177         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1178         New file.
1180 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1182         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1183         * sysdeps/powerpc/powerpc64le/configure: Update.
1185 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1186             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1188         * INSTALL: Regenerate.
1189         * manual/install.texi (Recommended Tools for Compilation): Mention
1190         the powerpc64le-specific requirement in the manual.
1191         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1192         for the compiler features required for building float128.
1193         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1195 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1197         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1198         before comparing with another char.
1200 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
1202         * manual/math.texi: Fix a grammatical error.
1204 2017-06-24  Florian Weimer  <fweimer@redhat.com>
1206         [BZ #21295]
1207         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1209 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
1211         [BZ #21295]
1212         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1213         Append addresses at the end of the list.
1215 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1217         [BZ #21666]
1218         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1219         (loc2): Likewise.
1220         (locs): Likewise.
1222 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1224         [BZ #16637]
1225         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1226         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1227         digits between colons.
1228         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1230 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1231             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
1233         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1234         (__sched_get_prioriry_min): Likewise.
1235         * include/sys/mman.h (__mmap): Likewise.
1236         (__mmap64): Likewise.
1237         (__munmap): Likewise.
1238         (__mprotect): Likewise.
1239         * include/termios.h (__tcsetattr): Likewise.
1240         * include/time.h (__nanosleep): Use hidden_proto instead of
1241         libc_hidden_proto.
1242         * posix/nanosleep.c (__nanosleep): Likewise.
1243         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1244         __sched_get_priority_min, and __sched_get_priority_max under
1245         GLIBC_PRIVATE.
1246         * nptl/allocatestack.c (__free_stacks): Use internal definition for
1247         libc symbols.
1248         (change_stack_perm): Likewise.
1249         (change_stack_perm): Likewise.
1250         (allocate_stack): Likewise.
1251         * sysdeps/posix/gethostname.c: Likewise.
1252         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1253         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1254         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1255         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1256         (__pthread_key_delete): Likewise.
1257         (__pthread_detach): Likewise.
1258         (__pthread_cancel): Likewise.
1259         (__pthread_mutex_trylock): Likewise.
1260         (__pthread_mutexattr_init): Likewise.
1261         (__pthread_mutexattr_settype): Likewise.
1262         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1263         create alias for exported one.
1264         * nptl/pthread_join.c (pthread_join): Likewise.
1265         * nptl/pthread_detach.c (pthread_detach): Likewise.
1266         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1267         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1268         * nptl/pthread_create.c: Change static requirements for pthread
1269         symbols.
1270         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1271         for internal definition.
1272         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1273         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1274         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1275         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1276         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1277         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1278         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1279         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1280         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1281         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1282         Likewise.
1283         * nptl/pthread_self.c (__pthread_self): Likewise.
1284         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1285         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1286         * misc/mmap.c (__mmap): Add internal symbol definition.
1287         * misc/mmap.c (__mmap64): Likewise.
1288         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1289         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1290         (__mmap64): Likewise.
1291         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1292         Add __uname.
1294 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
1296         * sysdeps/i386/fpu/libm-test-ulps: Update.
1297         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1299         * libm-test-support.c (check_float_internal): Clear exceptions at
1300         end of function.
1301         (check_int): Likewise.
1302         (check_long): Likewise.
1303         (check_bool): Likewise.
1304         (check_longlong): Likewise.
1305         (check_intmax_t): Likewise.
1306         (check_uintmax_t): Likewise.
1308         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1309         Do not declare.
1310         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1311         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1312         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1314 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1316         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1317         Replace movzbl and orl with movb.
1319 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1321         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1322         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1323         and HUGE_VAL_FNx.
1324         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1325         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1326         are in math.h, to avoid having to list the _FloatN and _FloatNx
1327         variants as well.  Likewise for the cabs functions.
1328         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1329         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1330         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1331         come from TS 18661-3, since this section explicitly states that
1332         these functions come from BSD.
1333         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1334         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1335         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1336         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1337         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1338         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1339         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1340         remainderfNx.
1341         (Setting and modifying single bits of FP values): Document
1342         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1343         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1344         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1345         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1346         (Floating-Point Comparison Functions): Document totalorderfN,
1347         totalorderfNx, totalordermagfN, totalordermagfNx.
1348         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1349         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1350         fdimfN, fdimfNx, fmafN, fmafNx.
1351         (Complex Numbers): Document the complex types: _FloatN complex and
1352         _FloatNx complex.
1353         (rojections, Conjugates, and Decomposing of Complex Numbers):
1354         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1355         cargfN, cargfNx, cprojfN, cprojfNx.
1356         * manual/math.texi (Mathematics): Mention that the _FloatN and
1357         _FloatNx variants of the math functions come from TS 18661-3,
1358         unless otherwise stated.
1359         (Predefined Mathematical Constants): Document the _FloatN and
1360         _FloatNx variants of the macros prefixed with M_.
1361         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1362         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1363         ccosfNx, ctanfN, ctanfNx.
1364         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1365         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1366         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1367         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1368         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1369         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1370         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1371         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1372         cpowfNx.
1373         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1374         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1375         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1376         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1377         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1378         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1379         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1380         ynfN, ynfNx.
1382 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1384         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1386 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1388         * resolv/res_libc.c: Reformat to GNU style.
1390 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1392         * resolv/resolv-internal.h (__res_initstamp): Declare.
1393         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1394         It is implied by the declaration.
1395         * resolv/res_libc.c (__res_initstamp): Remove declaration.
1397 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1399         [BZ #21662]
1400         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1401         Use only 24 bits of the register before the subtraction.
1402         * string/test-memcmp.c (check1): Check with different lengths.
1404 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1406         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1407         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1409 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1411         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1412         Enable generation of float128 entries on the error table.
1414 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1416         * include/float.h: Include libc-header-start.h to get the
1417         definition of __GLIBC_USE.
1419 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1421         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1422         rearranged code and doubles float types.
1424 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
1426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1427         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1429 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1431         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1432         to errno, and simplify remaining related code.
1434 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1436         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1437         PPC_FEATURE2_SCV.
1438         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1439         and darn.
1441 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1443         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1444         the implementation-specific function name and remove unneeded macros
1445         definition.
1446         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1447         function name if not defined and pass as parameter to macros
1448         accordingly.
1450 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1453         (libm-sysdep_routines): Add s_llroundf-ppc64.
1454         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1455         (__llroundf): Define as strong alias of __llround.
1456         (llroundf):  Define as weak alias of __llround.
1457         (__lroundf): Define as strong alias of __llround.
1458         (lroundf):  Define as weak alias of __llround.
1459         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
1460         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1463         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1464         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1465         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1467 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
1469         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1470         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1472         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1473         (MATH_TESTS_TG): New macro.
1474         (SNAN_TESTS_float128): Likewise.
1475         (ROUNDING_TESTS_float128): Likewise.
1476         (EXCEPTION_TESTS_float128): Likewise.
1477         (SNAN_TESTS): Define using MATH_TESTS_TG.
1478         (ROUNDING_TESTS): Likewise.
1479         (EXCEPTION_TESTS): Likewise.
1481         * sysdeps/ieee754/float128/float128_private.h
1482         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1483         pass it to SET_RESTORE_ROUNDF128.
1485         * sysdeps/ieee754/float128/float128_private.h: Include
1486         <ieee754.h>.
1488         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1489         typeof to argument passed to __builtin_types_compatible_p.
1490         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1492         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1493         <errno.h>.
1494         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1495         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1496         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1497         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1498         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1499         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1500         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1501         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1502         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1503         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1504         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1505         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1506         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1507         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1508         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1509         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1510         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1511         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1512         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1513         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1514         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1515         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1517         * sysdeps/ieee754/float128/strtof128_l.c: Include
1518         <bits/types/locale_t.h> instead of <xlocale.h>.
1519         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1520         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1522 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1524         * benchtests/scripts/benchout_strings.schema.json: New file.
1525         * benchtests/scripts/compare_strings.py: New file.
1527         * benchtests/bench-memcpy-large.c: Include json-lib.h.
1528         (do_one_test): Print json.
1529         (do_test): Likewise.
1530         (test_main): Likewise.
1531         * benchtests/bench-memcpy-random.c: Include json-lib.h.
1532         (do_one_test): Print json.
1533         (do_test): Likewise.
1534         (test_main): Likewise.
1535         * benchtests/bench-memcpy.c: Include json-lib.h.
1536         (do_one_test): Print json.
1537         (do_test): Likewise.
1538         (test_main): Likewise.
1540         * benchtests/json-lib.h: Include inttypes.h.
1541         (json_attr_int, json_attr_int, json_element_string,
1542         json_element_int, json_element_uint): New functions.
1543         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1544         json_element_string, json_element_int, json_element_uint): New
1545         functions.
1547 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1549         * manual/arith.texi (Remainder Functions): Describe remainder as
1550         primary and drem as an alternative name.  Change the comment on
1551         remainder to ISO, since it is defined in ISO C99.
1553 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1555         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1556         macro expansion.
1557         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1559 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1561         [BZ #21533]
1562         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1563         201706L for Unicode 10.0.
1565 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1567         [BZ #21657]
1568         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1569         on node-local addresses.
1570         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1572 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1574         * intl/loadmsgcat.c: Remove alloca support.
1575         (_nl_load_domain): Use calloc instead of alloca.
1577 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1579         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1580         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1581         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1582         alloc_buffer_create_failure.
1583         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1584         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1585         (__libc_alloc_buffer_copy_string)
1586         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1587         * malloc/alloc_buffer_alloc_array.c: New file.
1588         * malloc/alloc_buffer_allocate.c: Likewise.
1589         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1590         * malloc/alloc_buffer_copy_string.c: Likewise.
1591         * malloc/alloc_buffer_create_failure.c: Likewise.
1592         * malloc/tst-alloc_buffer.c: Likewise.
1594 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1597         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1598         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1599         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1600         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1601         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1602         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1603         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1604         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1605         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1606         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1607         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1608         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1609         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1610         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1611         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1612         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1613         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1614         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1615         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1616         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1617         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1618         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1619         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1620         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1621         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1622         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1623         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1624         "locale-defines.h".
1625         (UPDATE_STRNCMP_COUNTER): New.
1626         (SECTION): Likewise.
1627         (GLABEL): Likewise.
1628         (LABEL): Likewise.
1629         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1630         for libc.a.
1632 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
1634         [BZ #21622]
1635         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1636         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1637         __USE_MISC].
1638         (SA_NODEFER): Likewise.
1639         (SA_RESETHAND): Likewise.
1641 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1643         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1644         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1645         Remove security_level on all fields.
1646         * manual/tunables.texi: Replace ifunc with hwcaps.
1647         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1648         Renamed to ..
1649         (TUNABLE_CALLBACK (set_hwcaps)): This.
1650         (init_cpu_features): Updated.
1651         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1652         data_cache_size, data_cache_size and non_temporal_threshold to
1653         unsigned long int.
1654         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1655         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1656         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
1657         use DEFAULT_STRLEN.
1659 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1661         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1662         asprintf to construct an absolute pathname.
1664 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1666         * misc/tst-preadvwritev2-common.c: New file.
1667         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1668         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1670 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1672         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1673         annotation.
1674         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1676 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1678         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1679         hidden __GI__dl_argv symbol.
1681 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1684         to parse addresses with IPv6 scope IDs.
1686 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1688         Add the __inet_pton_length helper function.
1689         * resolv/resolv-internal.h (__inet_pton_length): Declare.
1690         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1691         Add length argument.
1692         (__inet_pton): New function.
1693         (inet_pton4): Add length argument.
1694         (hex_digit_value): New function.
1695         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
1696         memmove and memset to fill :: gap.
1697         * resolv/Makefile (tests, tsts-static, tests-internal): Add
1698         tst-inet_pton.
1699         * resolv/tst-inet_pton.c: New file.
1700         * support/Makefile (libsupport-routines): Add xmprotect.
1701         * support/xunistd.h (xmprotect): Declare.
1702         * support/xmprotect.c: New file.
1704 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1706         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1707         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1708         (call_gai, check_ai): New functions.
1709         (expect_failure, expect_success): Use them.  Add logging.
1711 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1713         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1714         (sysdep_routines): Add memchr_power8.
1715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1716         (memchr): Add __memchr_power8 to list of memchr functions.
1717         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1718         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1719         (memchr): Add __memchr_power8 to ifunc list.
1720         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1722 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1724         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1725         (__llrintf): Define as strong alias of __llrint.
1726         (llrintf):  Define as weak alias of __llrint.
1727         (__lrintf): Define as strong alias of __llrint.
1728         (lrintf):  Define as weak alias of __llrint.
1729         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
1730         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1731         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
1732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1734 2017-06-20  Zack Weinberg  <zackw@panix.com>
1736         * bits/signum-generic.h: Renamed from bits/signum.h.
1737         Add proper multiple include guard and misuse check.
1738         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1739         Move definition of SIGIO to "archaic names for compatibility" section.
1740         * bits/signum.h: New file which just includes bits/signum-generic.h.
1741         * sysdeps/unix/bsd/bits/signum.h
1742         * sysdeps/unix/sysv/linux/bits/signum.h
1743         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1744         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1745         * sysdeps/unix/sysv/linux/mips/bits/signum.h
1746         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1747         Just include <bits/signum-generic.h> and then add or adjust
1748         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1750         * signal/Makefile: Install bits/signum-generic.h.
1751         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1753         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1754         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1756         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1757         * sysdeps/unix/sysv/linux/Makefile: Run it.
1759 2017-06-20  Zack Weinberg  <zackw@panix.com>
1761         * locale/xlocale.h: Rename to...
1762         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
1763         Only define struct __locale_struct and __locale_t, not locale_t.
1764         * locale/bits/types/locale_t.h: New file; define locale_t here.
1765         * locale/Makefile (headers): Update to match.
1767         * include/xlocale.h: Delete wrapper.
1768         * include/bits/types/__locale_t.h: New wrapper.
1769         * include/bits/types/locale_t.h: New wrapper.
1771         * ctype/ctype.h, include/printf.h, include/time.h
1772         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1773         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1774         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1775         Correct outdated comments regarding the standardization status of
1776         the functions that take locale_t arguments.
1778         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1779         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1780         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1781         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1782         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1783         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1784         Don't include xlocale.h. If necessary, include locale.h instead.
1786         * stdlib/strtold_l.c: Unconditionally include wchar.h.
1788         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1789         * include/monetary.h, include/stdlib.h, include/time.h
1790         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1791         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1792         * locale/localeinfo.h, locale/newlocale.c
1793         * locale/nl_langinfo_l.c, locale/uselocale.c
1794         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1795         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1796         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1797         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1798         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1799         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1800         * string/strings.h, string/strncase.c, string/strxfrm_l.c
1801         * sysdeps/ieee754/float128/strtof128_l.c
1802         * sysdeps/ieee754/float128/wcstof128.c
1803         * sysdeps/ieee754/float128/wcstof128_l.c
1804         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1805         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1806         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1807         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1808         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1809         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1810         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1811         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1812         * sysdeps/x86_64/strcasecmp_l-nonascii.c
1813         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1814         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1815         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1816         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1817         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1818         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1819         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1820         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1821         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1822         Change all uses of __locale_t to locale_t.
1824 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1826         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1827         for !__OFF_T_MATCHES_OFF64_T.
1828         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1829         implementation based on open64.
1830         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1831         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1833 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1835         * elf/dl-tunables.list: Move x86 specific tunables to ...
1836         * sysdeps/x86/dl-tunables.list: Here.  New file.
1838 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
1840         [BZ #21635]
1841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1842         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1843         * conform/data/signal.h-data (uc_mcontext): XFAIL for
1844         powerpc32-linux.
1845         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1847         [BZ #21634]
1848         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1849         (conformtest-xfail-conds): New variable.
1850         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1851         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1853 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1855         * benchtests/powf-inputs: Add reduced trace from wrf.
1857 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1858             Erich Elsen  <eriche@google.com>
1860         * elf/dl-tunables.list (tune): Add ifunc,
1861         x86_non_temporal_threshold,
1862         x86_data_cache_size and x86_shared_cache_size.
1863         * manual/tunables.texi: Document glibc.tune.ifunc,
1864         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1865         and glibc.tune.x86_non_temporal_threshold.
1866         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1867         * sysdeps/x86/cpu-tunables.c: Likewise.
1868         * sysdeps/x86/cacheinfo.c
1869         (init_cacheinfo): Check and get data cache size, shared cache
1870         size and non temporal threshold from cpu_features.
1871         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1872         New.
1873         [HAVE_TUNABLES] Include <unistd.h>.
1874         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1875         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1876         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1877         IFUNC selection, data cache size, shared cache size and non
1878         temporal threshold.
1879         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1880         shared_cache_size and non_temporal_threshold.
1882 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1884         * benchtests/README: Describe workload feature.
1885         * benchtests/bench-skeleton.c (main): Add support for
1886         benchmarking traces from workloads.
1888 2017-06-20  Zack Weinberg  <zackw@panix.com>
1890         * string/string.h (__mempcpy_inline): Delete.
1891         * sysdeps/x86_64/multiarch/mempcpy.c
1892         * sysdeps/x86_64/multiarch/stpcpy.c:
1893         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1894         before including string.h.
1896 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
1898         * benchtests/Makefile (bench-math): Add powf.
1899         * benchtests/powf-inputs: New file.
1901 2017-06-20  Zack Weinberg  <zackw@panix.com>
1903         * bits/string.h, string/bits/string.h
1904         * sysdeps/aarch64/bits/string.h
1905         * sysdeps/m68k/m680x0/m68020/bits/string.h
1906         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1907         * sysdeps/x86/bits/string.h: Delete file.
1909         * string/string.h: Don't include bits/string.h.
1910         * string/bits/string3.h: Rename to bits/string_fortified.h.
1911         No need to undef various symbols that the removed headers
1912         might have defined as macros.
1913         * string/Makefile (headers): Remove bits/string.h, change
1914         bits/string3.h to bits/string_fortified.h.
1915         * string/string-inlines.c: Update commentary.  Remove definitions
1916         of various macros that nothing looks at anymore.  Don't directly
1917         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1918         compiler-predefined macros.
1919         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1920         _is_ defined, provide internal hidden alias __strncat.
1921         * include/string.h: Declare internal hidden alias __strncat.
1922         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1923         not defined.
1924         * include/bits/string3.h: Rename to bits/string_fortified.h,
1925         update to match above.
1927         * sysdeps/i386/string-inlines.c: Define compat symbols for
1928         everything formerly defined by sysdeps/x86/bits/string.h.
1929         Make existing definitions into compat symbols as well.
1930         Remove some no-longer-necessary messing around with macros.
1932         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1933         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1934         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1935         * sysdeps/s390/multiarch/mempcpy.c
1936         No need to define _HAVE_STRING_ARCH_mempcpy.
1937         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1939         * sysdeps/i386/i686/multiarch/strncat-c.c
1940         * sysdeps/s390/multiarch/strncat-c.c
1941         * sysdeps/x86_64/multiarch/strncat-c.c
1942         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
1944 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
1946         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1947         (LDBL_DIG): Likewise.
1948         (LDBL_MIN_EXP): Likewise.
1949         (LDBL_MIN_10_EXP): Likewise.
1950         (LDBL_MAX_EXP): Likewise.
1951         (LDBL_MAX_10_EXP): Likewise.
1952         (LDBL_MAX): Likewise.
1953         (LDBL_MIN): Likewise.
1954         (LDBL_EPSILON): Likewise.
1955         (FLT_ROUNDS): Change standard from ISO to C90.
1956         (FLT_RADIX): Likewise.
1957         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1958         (FLT_DIG, DBL_DIG): Likewise.
1959         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1960         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1961         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1962         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1963         (FLT_MAX, DBL_MAX): Likewise.
1964         (FLT_MIN, DBL_MIN): Likewise.
1965         (FLT_EPSILON, DBL_EPSILON): Likewise.
1967 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1969         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1970         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1971         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1972         * sysdeps/mips/math-tests.h
1973         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1974         conditional code.
1976 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1978         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1979         It cannot change while __libc_setlocale_lock is acquired.
1981 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1983         * elf/rtld.c (audit_list_string): New variable.
1984         (audit_list): Update comment.
1985         (struct audit_list_iter): Define.
1986         (audit_list_iter_init, audit_list_iter_next): New function.
1987         (dl_main): Use struct audit_list_iter to process audit modules.
1988         (process_dl_audit): Call dso_name_valid_for_suid.
1989         (process_envvars): Set audit_list_string instead of calling
1990         process_dl_audit.
1992 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1994         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1995         (dso_name_valid_for_suid): New function.
1996         (handle_ld_preload): Likewise.
1997         (dl_main): Call it.  Remove alloca.
1999 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2001         [BZ #21625]
2002         * posix/sys/wait.h (strust rusage forward declaration): Change
2003         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2004         !__USE_XOPEN2K].
2005         (wait3): Likewise.
2007         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2008         * configure: Regenerated.
2009         * manual/install.texi (Tools for Compilation): Document
2010         requirement for GCC 4.9 or later.
2011         * INSTALL: Regenerated.
2013 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2015         [BZ #21624]
2016         CVE-2017-1000366
2017         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2018         __libc_enable_secure.
2020 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2022         [BZ #21539]
2023         * NEWS: Mention s390 ptrace request changes.
2024         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2025         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2026         PTRACE_SETFPREGS): Remove enum constant.
2027         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2028         Remove defines.
2029         (PTRACE_SINGLEBLOCK): New enum constant.
2030         (PT_STEPBLOCK): New define.
2031         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2032         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2033         PTRACE_TE_ABORT_RAND): New enum constant and define.
2034         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2035         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2036         New file.
2037         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2039 2017-06-16  Florian Weimer  <fweimer@redhat.com>
2041         * resolv/res_init.c (res_vinit_1): Use getline to read from the
2042         configuration file.
2043         (__res_vinit): Adjust.
2045 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2047         * resolv/res_init.c (res_vinit_1): New function.
2048         (__res_vinit): Call it.  Handle file open and memory allocation
2049         failures.
2050         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2051         erno from __res_maybe_init failure.
2052         (_nss_dns_gethostbyname4_r): Likewise.
2053         (_nss_dns_gethostbyaddr2_r): Likewise.
2054         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2055         (_nss_dns_getnetbyaddr_r): Likewise.
2057 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2059         * resolv/res_init.c: Reformat to GNU style.
2061 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2063         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2064         (is_sort_mask): New function.
2065         (__res_vinit): Use it.
2067 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2069         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2070         conditionals.
2072 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2074         * resolv/res-close.c: New file.
2075         * resolv/res_init.c (__res_iclose, res_nclose)
2076         (res_thread_freeres): Remove definitions.
2077         * resolv/Makefile (routines): Add res-close.
2079 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2081         * resolv/res_randomid.c: New file.
2082         * resolv/res_init.c (res_randomid): Remove definition.
2083         * resolv/Makefile (routines): Add res_randomid.
2085 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2087         * include/resolv.h (__res_vinit): Declare as hidden.
2088         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2089         * resolv/res_libc.c (res_init): Likewise.
2091 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2093         [BZ #21457]
2094         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2095         _libc_xmmreg): Use __ctx in defining field.
2097         [BZ #21597]
2098         * signal/signal.h (siginterrupt): Make declaration conditional on
2099         [__USE_XOPEN_EXTENDED || __USE_MISC].
2101         [BZ #21584]
2102         * signal/signal.h: Make includes of <bits/sigstack.h> and
2103         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2104         __USE_MISC].
2105         (sigaltstack): Make declaration conditional on
2106         [__USE_XOPEN_EXTENDED || __USE_MISC].
2108         [BZ #21575]
2109         * resource/bits/types/struct_rusage.h: New file.
2110         * include/bits/types/struct_rusage.h: Likewise.
2111         * bits/resource.h (struct rusage): Include
2112         <bits/types/struct_rusage.h> instead of defining here.
2113         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2114         Likewise.
2115         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2116         Likewise.
2117         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2118         Likewise.
2119         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2120         Likewise.
2121         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2122         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2123         Include <bits/types/struct_rusage.h>
2125 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2127         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2129 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2131         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2133 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2135         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2137 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2139         [BZ #21537]
2140         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2141         Check SHARED instead of PIC.
2142         (SYSCALL_PIC_SETUP): Add missing semicolons.
2143         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2144         Check SHARED instead of PIC.
2145         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2146         (__makecontext_ret): Adjust code to jump to exit.
2148 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
2150         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2151         Simplify code by always using SVC 0 instead of EX.
2152         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2154 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
2156         * elf/Versions (ld): Remove _dl_out_of_memory.
2158 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
2160         * timezone/private.h: Update from tzcode 2017b.
2161         * timezone/tzfile.h: Likewise.
2162         * timezone/tzselect.ksh: Likewise.
2163         * timezone/zdump.c: Likewise.
2164         * timezone/zic.c: Likewise.
2165         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2166         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2167         * time/tzset.c (SECSPERDAY): New macro.
2169 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2171         * manual/string.texi (strdup): Complete header and standards
2172         annotation.
2173         (strncpy): Likewise.
2175 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2177         * manual/arith.texi (FP_NAN): Add or complete header and standard
2178         annotations.
2179         (FP_INFINITE): Likewise.
2180         (FP_ZERO): Likewise.
2181         (FP_SUBNORMAL): Likewise.
2182         (FP_NORMAL): Likewise.
2183         (SNAN): Likewise.
2184         (SNANL): Likewise.
2185         (totalorderf): Likewise.
2186         (totalorderl): Likewise.
2187         (totalordermagf): Likewise.
2188         (totalordermagl): Likewise.
2189         (_Complex_I): Likewise.
2190         (I): Likewise.
2192 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2194         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2195         standard annotation.
2196         (ARGP_HELP_SHORT_USAGE): Likewise.
2197         (ARGP_HELP_SEE): Likewise.
2198         (ARGP_HELP_LONG): Likewise.
2199         (ARGP_HELP_PRE_DOC): Likewise.
2200         (ARGP_HELP_POST_DOC): Likewise.
2201         (ARGP_HELP_DOC): Likewise.
2202         (ARGP_HELP_BUG_ADDR): Likewise.
2203         (ARGP_HELP_LONG_ONLY): Likewise.
2204         (ARGP_HELP_EXIT_ERR): Likewise.
2205         (ARGP_HELP_EXIT_OK): Likewise.
2206         (ARGP_HELP_STD_ERR): Likewise.
2207         (ARGP_HELP_STD_USAGE): Likewise.
2208         (ARGP_HELP_STD_HELP): Likewise.
2210 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2212         * manual/Makefile: Generate summary.texi with summary.pl.  Force
2213         use of the C locale.  Update Perl dependency comment.
2214         * manual/header.texi: Update reference to summary.awk.
2215         * manual/macros.texi: Refer authors to `summary.pl --help'.
2216         * manual/summary.awk: Remove file.
2217         * manual/summary.pl: New file.  Generate summary.texi, and check
2218         for @standards-related syntax errors.
2219         * manual/argp.texi: Convert header and standards @comments to
2220         @standards.
2221         * manual/arith.texi: Likewise.
2222         * manual/charset.texi: Likewise.
2223         * manual/conf.texi: Likewise.
2224         * manual/creature.texi: Likewise.
2225         * manual/crypt.texi: Likewise.
2226         * manual/ctype.texi: Likewise.
2227         * manual/debug.texi: Likewise.
2228         * manual/errno.texi: Likewise.
2229         * manual/filesys.texi: Likewise.
2230         * manual/getopt.texi: Likewise.
2231         * manual/job.texi: Likewise.
2232         * manual/lang.texi: Likewise.
2233         * manual/llio.texi: Likewise.
2234         * manual/locale.texi: Likewise.
2235         * manual/math.texi: Likewise.
2236         * manual/memory.texi: Likewise.
2237         * manual/message.texi: Likewise.
2238         * manual/pattern.texi: Likewise.
2239         * manual/pipe.texi: Likewise.
2240         * manual/process.texi: Likewise.
2241         * manual/resource.texi: Likewise.
2242         * manual/search.texi: Likewise.
2243         * manual/setjmp.texi: Likewise.
2244         * manual/signal.texi: Likewise.
2245         * manual/socket.texi: Likewise.
2246         * manual/startup.texi: Likewise.
2247         * manual/stdio.texi: Likewise.
2248         * manual/string.texi: Likewise.
2249         * manual/sysinfo.texi: Likewise.
2250         * manual/syslog.texi: Likewise.
2251         * manual/terminal.texi: Likewise.
2252         * manual/threads.texi: Likewise.
2253         * manual/time.texi: Likewise.
2254         * manual/users.texi: Likewise.
2256 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2258         * manual/macros.texi (@standards): New macro.  Provide placeholder
2259         for header and standards annotations.
2260         (@standardsx): New macro.  Likewise, for lists of @*x elements.
2262 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2264         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2265         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2266         rule.
2267         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2268         sync_file_range.
2270          * support/support_test_main.c (support_test_main):  Use optstring
2271          member for option string in getopt_long.
2272          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2273          (CMDLINE_OPTSTRING): New define.
2274          * support/test-driver.h (test_config): Add optstring member.
2276 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2279         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2280         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2281         Check USE_AS_STRPBRK instead of STRPBRK_P.
2282         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2283         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2284         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2285         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2286         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2287         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2288         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2289         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2290         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2291         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2292         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2293         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2294         and "#endif".
2296 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2298         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2299         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2301 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2303         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2304         strcat-sse2.
2305         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2306         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2307         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2308         * sysdeps/x86_64/multiarch/strcat.S: Removed.
2309         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2311 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2312             Erich Elsen  <eriche@google.com>
2314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2315         memcmp-sse2.
2316         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2317         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2318         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2319         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2320         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2321         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2323 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2324             Erich Elsen  <eriche@google.com>
2326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2327         memset-sse2-unaligned-erms, and memset_chk-nonshared.
2328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2329         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2330         Update comments.
2331         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2332         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2333         * sysdeps/x86_64/multiarch/memset.c: Likewise.
2334         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2335         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2336         * sysdeps/x86_64/multiarch/memset.S: Removed.
2337         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2338         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2339         (__memset_chk_erms): New function.
2341 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2343         * configure.ac(--enable-tunables): Enable by default.
2344         * configure: Regenerate.
2345         * NEWS: Mention change.
2346         * manual/install.texi (enable-tunables): Adjust documentation.
2347         * INSTALL: Regenerate.
2349 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2351         [BZ #18988]
2352         * benchtests/thread_create-inputs: New file.
2353         * benchtests/thread_create-source.c: Likewise.
2354         * support/xpthread_attr_setguardsize.c: Likewise.
2355         * support/Makefile (libsupport-routines): Add
2356         xpthread_attr_setguardsize object.
2357         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2358         * benchtests/Makefile (bench-pthread): Add thread_create.
2359         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2360         then mprotect the required area.
2361         (guard_position): New function.
2362         (setup_stack_prot): Likewise.
2364 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2365             Erich Elsen  <eriche@google.com>
2366             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2369         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2370         mempcpy_chk-nonshared and memmove_chk-nonshared.
2371         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2372         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2373         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
2374         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2375         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2376         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2377         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2378         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2379         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2380         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2381         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2382         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2383         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2384         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2385         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2386         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2387         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2388         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2389         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2390         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2391         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2392         (__mempcpy_chk_erms): New function.
2393         (__memmove_chk_erms): Likewise.
2394         (__memcpy_chk_erms): New alias.
2396 2017-06-14  Florian Weimer  <fweimer@redhat.com>
2398         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2399         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2401 2017-06-14  Zack Weinberg  <zackw@panix.com>
2403         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2404         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
2405         defined, don't declare anything other than the E-constants.
2407         * include/errno.h: Change conditional for exposing internal
2408         declarations to (not _ISOMAC and not __ASSEMBLER__).
2409         * bits/errno.h: Remove logic for __need_Emath.  Document
2410         requirements for a port-specific bits/errno.h.
2412         * sysdeps/unix/sysv/linux/bits/errno.h
2413         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2414         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2415         * sysdeps/unix/sysv/linux/mips/bits/errno.h
2416         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2417         Add multiple-include guard and check against improper inclusion.
2418         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
2419         constants are defined as simple integer literals.  Consistent
2420         formatting.
2421         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
2422         enum __error_t_codes if __ASSEMBLER__ is not defined.
2423         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2425         * argp/argp.h, string/argz.h: Don't define __need_error_t before
2426         including errno.h.
2427         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2428         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2429         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2430         * sysdeps/x86_64/fpu/s_cosf.S
2431         * sysdeps/x86_64/fpu/s_sincosf.S
2432         * sysdeps/x86_64/fpu/s_sinf.S:
2433         Just include errno.h; don't define __need_Emath or include
2434         bits/errno.h directly.
2436 2017-06-14  Zack Weinberg  <zackw@panix.com>
2438         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2439         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2440         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2442         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2443         for IOV_MAX.
2444         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2445         Don't install bits/uio.h.
2446         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
2447         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
2448         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2450         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2451         and __need_IOV_MAX.  Don't define IOV_MAX at all.
2452         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2454         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2455         Include bits/types/struct_iovec.h, not bits/uio.h.
2456         Use __ssize_t, not ssize_t, in function prototypes.
2457         Don't use hard TAB for double space after period in comments.
2459 2017-06-14  Alan Modra  <amodra@gmail.com>
2461         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2462         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2463         refsym and sym parameters.  Adjust callers.
2464         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2465         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2466         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2467         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2468         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2469         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2470         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2471         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2472         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2473         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2474         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2475         Likewise.
2476         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2477         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2478         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2480         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2481         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2482         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2483         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2484         (_dl_reloc_overflow): Increase buffser size.  Formatting.
2485         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2486         Delete reloc param, add refsym and sym.  Check optimized plt
2487         call stubs for localentry:0 functions.  Adjust callers.
2488         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2489         and sym parameters.  Adjust callers.
2490         (_dl_reloc_overflow): Move attribute.
2491         (_dl_error_localentry): Declare.
2492         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
2493         refsym and sym to elf_machine_fixup_plt.
2494         * elf/testobj6.c (preload): Call printf.
2496 2017-06-14  Alan Modra  <amodra@gmail.com>
2498         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2499         (NOPS, ENTRY_3): New macros.
2500         (ENTRY): Rewrite.
2501         (ENTRY_TOCLESS): Define.
2502         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2503         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2504         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2505         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2506         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2507         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2508         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2509         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2510         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2511         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2512         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2513         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2514         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2515         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2516         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2517         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2518         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2519         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2520         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2521         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2522         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2523         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2524         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2525         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2526         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2527         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2528         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2529         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2530         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2531         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2532         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2533         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2534         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2535         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2536         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2537         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2538         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2539         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2540         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2541         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2542         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2543         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2544         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2545         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2546         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2547         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2548         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2549         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2550         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2551         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2552         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2553         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2554         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2555         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2556         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2557         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2558         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2559         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2560         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2561         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2562         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2563         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2564         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2565         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2566         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2567         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2568         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2569         Likewise.
2570         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2571         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2572         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2573         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2574         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2575         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2576         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2577         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2578         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2579         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2580         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2581         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2582         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2583         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2584         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2585         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2586         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2587         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2588         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2589         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2590         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2591         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2592         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2593         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2594         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2595         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2596         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2597         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2598         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2599         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2600         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2601         add nop when SHARED.
2602         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2603         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2604         define.
2605         (ENTRY_TOCLESS): Define.
2606         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2607         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2608         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2610 2017-06-14  Alan Modra  <amodra@gmail.com>
2612         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2613         MEMSET_is_local.
2614         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2615         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2616         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2617         Define MEMSET.
2618         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2619         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2620         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2621         nop after local calls.
2622         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2623         Don't add nop after local call.
2624         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
2625         CALL_MCOUNT.
2627 2017-06-14  Alan Modra  <amodra@gmail.com>
2629         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2630         (FUNC_LABEL): Rename from DOT_LABEL.
2631         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2632         Use .p2align rather than .align.
2633         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2634         (ABORT_TRANSACTION): Likewise.
2635         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2636         particularly at end.  Add semicolon at invocation as necessary.
2637         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2638         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2639         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2640         END): Adjust to suit.
2642 2017-06-14  Alan Modra  <amodra@gmail.com>
2644         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2645         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2646         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2647         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2648         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2650         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2652 2017-06-14  Alan Modra  <amodra@gmail.com>
2654         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2655         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2657 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
2659         [BZ #21548]
2660         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2661         8 and use it when copying general purpose registers.
2662         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2663         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2664         mips o32.
2665         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2666         new test for mips o32.
2667         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2668         8 and use it when copying general purpose registers.
2669         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2671 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2673         * configure.ac (find_cxx_header): Suppress compiler error message.
2675 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2677         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2678         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2679         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2680         begin/end.
2681         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2682         dynarray_int_end.
2683         (test_str): Test dynarray_str_begin, dynarray_str_end.
2685 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
2687         [BZ #21573]
2688         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2689         $(common-objpfx)bits/std_abs.h.
2690         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2691         New target.
2692         * config.make.in (c++-bits-std_abs-h): New.
2693         * configure.ac (find_cxx_header): Use "\,$1," with sed.
2694         (CXX_BITS_STD_ABS_H): New.
2695         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2696         * configure: Regenerated.
2698 2017-06-13  Zack Weinberg  <zackw@panix.com>
2700         * posix/bits/cpu-set.h: Correct indentation of preprocessor
2701         directives.
2703 2017-06-12  Zack Weinberg  <zackw@panix.com>
2705         * bits/sched.h: Remove __need_schedparam logic and replace with a
2706         normal multiple-include guard.  Change field name in struct
2707         sched_param from __sched_priority to sched_priority.  Delete
2708         everything under #ifndef __cpu_set_t_defined.
2709         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
2710         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2712         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2713         For compatibility, #define sched_priority to itself, and #define
2714         __sched_priority as sched_priority.
2715         * posix/bits/cpu-set.h: New file containing, verbatim, the code
2716         that was under #ifndef __cpu_set_t_defined in
2717         sysdeps/unix/sysv/linux/bits/sched.h.
2718         * include/bits/cpu-set.h: New wrapper.
2719         * posix/Makefile: Install bits/cpu-set.h.
2721 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2722             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2723             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2725         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2726         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2727         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2728         * math/libm-test-isfinite.inc (finite_test): Likewise.
2729         * math/libm-test-lgamma.inc (gamma_test): Likewise.
2730         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2731         (nexttoward_test_data}: Likewise.
2732         * math/libm-test-remainder.inc (drem_test): Likewise.
2733         * math/libm-test-scalb.inc (scalb_test): Likewise.
2734         (scalb_test_data): Likewise.
2735         * math/libm-test-significand.inc (significand_test): Likewise.
2736         (significand_test_data): Likewise.
2737         * math/libm-test-support.c (check_complex): Replace __complex__
2738         FLOAT with CFLOAT to get the support for old compiler.
2739         * math/libm-test-support.h (check_complex): Likewise.
2740         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2741         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2742         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2743         * math/test-float128.h: New file.
2744         * math/test-math-floatn.h: New file.
2746 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2748         * include/float.h: Allow the definition of macros prefixed with
2749         FLT128 even if _ISOMAC is defined, but provided that
2750         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2752 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2754         * manual/math.texi (Mathematics): Add description for _FloatN and
2755         _FloatNx types and mentions that they are not support in glibc for
2756         any architecture, so far.
2757         * manual/arith.texi (wcstof, wcstold): Replace the mention to
2758         stdlib.h with wchar.h.
2759         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2760         (Printing of Floats): Add description for strfromfN.
2762 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2763             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2764             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2766         * include/gmp.h (__mpn_construct_float128): New declaration.
2767         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2768         (__strtof128_l): New declaration.
2769         (__strtof128_nan): Likewise.
2770         (__wcstof128_nan): Likewise.
2771         (__strtof128_internal): Likewise.
2772         (____strtof128_l_internal): Likewise.
2773         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2774         (__wcstof128_l): New declaration.
2775         (__wcstof128_internal): Likewise.
2777         * stdlib/Makefile (bug-strtod2): Link libm too.
2779         * stdlib/stdlib.h (strtof128): New declaration.
2780         (strtof128_l): Likewise.
2782         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2783         tst-strtod.h macros to ensure float128 gets tested too.
2785         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2787         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2788         tests.
2789         (IF_FLOAT128): New macro.
2790         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2791         the tests.
2792         (STRTOD_TEST_FOREACH): Likewise.
2794         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2795         wcstof128 functions into libc.
2797         * sysdeps/ieee754/float128/Versions: Add exports for the above
2798         new functions.
2800         * sysdeps/ieee754/float128/mpn2float128.c: New file.
2801         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2802         * sysdeps/ieee754/float128/strtof128.c: New file.
2803         * sysdeps/ieee754/float128/strtof128_l.c: New file.
2804         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2805         * sysdeps/ieee754/float128/wcstof128.c: New file.
2806         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2807         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2808         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2809         (CFLAGS-wcstof128_l): Likewise.
2811         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2812         (wcstof128): New declaration.
2813         (wcstof128_l): Likewise.
2815 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
2817         [BZ #21552]
2818         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2819         not [__USE_XOPEN].
2820         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2822         [BZ #21550]
2823         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2825 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2828         strcpy-sse2 and stpcpy-sse2.
2829         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2830         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2831         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2832         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2833         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2834         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2835         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2836         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2837         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2838         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2839         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2840         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2841         (libc_hidden_def): Always defined as empty.
2842         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2843         Always Defined as empty.
2845 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2847         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2849 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2851         [BZ #15105]
2852         [BZ #19463]
2853         * include/string.h: Add internal redirect for __stpcpy.
2854         * string/Makefile: Remove bits/string2.h.
2855         * string/string.h: Update comment.
2856         * string/string-inlines.c: Remove bits/string2.h include and comment.
2857         * string/bits/string2.h: Remove file.
2859 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2861         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2862         * sunrpc/clnt_gen.c (clnt_create): Likewise.
2863         * sunrpc/des_impl.c (_des_crypt): Likewise.
2864         * sunrpc/key_call.c (key_gendes): Likewise.
2865         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2866         * sunrpc/svc_simple.c (universal): Likewise.
2867         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2868         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2869         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2871 2017-06-10  Zack Weinberg  <zackw@panix.com>
2873         * stdlib/errno.h: Correct an outdated comment.
2875 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
2877         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2878         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2879         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2880         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2881         New file.  Invoke newly supported sysconf values for powerpc,
2882         and report results.  If none are supported, report so.
2883         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
2884         tst-sysconf.
2886 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2888         * include/sys/auxv.h (__getauxval): Add a prototype and its
2889         libc_hidden_proto.
2890         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2892 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
2894         [BZ #21561]
2895         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2896         [__USE_XOPEN_EXTENDED].
2897         (id_t): Likewise.
2898         (include of <bits/types/siginfo_t.h): Likewise.
2899         (waitid): Likewise.
2900         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2901         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2902         (WEXITED): Likewise.
2903         (WCONTINUED): Likewise.
2904         (WNOWAIT): Likewise.
2905         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2906         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2907         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2909         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2910         libc.so PLT entry optional.
2911         (__gtsf2): Likewise.
2912         (__unorddf2): Likewise.
2913         (__unordsf2): Likewise.
2914         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2915         New optional libc.so PLT entry.
2917         [BZ #21554]
2918         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2919         not [__USE_XOPEN].
2921         [BZ #21560]
2922         * posix/sys/wait.h: Condition include of <signal.h> on
2923         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
2924         unconditionally.
2925         [!__pid_t_defined] (pid_t): Define typedef.
2927 2017-06-09  Zack Weinberg  <zackw@panix.com>
2929         * include/errno.h (__errno_location): Use __attribute_const__
2930         instead of bare __attribute__.
2932 2017-06-09  Zack Weinberg  <zackw@panix.com>
2934         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2935         (common-generated): Add libc-modules.h and libc-modules.stmp in a
2936         more appropriate location. Also add dl-tunable-list.h and
2937         dl-tunable-list.stmp.
2939 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2943 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2946         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2948         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2949         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2950         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2951         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2952         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2953         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2954         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2955         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2957 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2960         memrchr-sse2 and memrchr-avx2.
2961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2962         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2963         __memrchr_sse2.
2964         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2965         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2966         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2968 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2971         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2972         wcschr-sse2 and wcschr-avx2.
2973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2974         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2975         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2976         __wcschr_sse2.
2977         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2978         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2979         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2980         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2981         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2982         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2983         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2984         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2985         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2986         * sysdeps/x86_64/multiarch/strchr.S: Removed.
2988 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2991         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2992         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2994         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2995         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2996         __wcslen_sse2 and __wcsnlen_avx2.
2997         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2998         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2999         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3000         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3001         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3002         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3003         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3004         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3005         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3006         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3007         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3008         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3009         vzeroupper is preferred and AVX unaligned load is fast.
3011 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3013         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
3014         USE_AS_WMEMCHR is defined.
3015         (PCMPEQ): Likewise.
3016         (memchr): Renamed to ...
3017         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
3018         Replace pcmpeqb with PCMPEQ.
3019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3020         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3021         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3022         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3023         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3024         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3025         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3026         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3027         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3028         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3029         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3030         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3031         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3032         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3033         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3034         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3035         __wmemchr_sse2.
3037 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3039         * malloc/Makefile (test-srcs): Remove tst-dynarray,
3040         tst-dynarray-fail.
3042 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3044         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3045         * support/support_test_verify_impl.c
3046         (support_test_verify_exit_impl): Split from
3047         support_test_verify_impl.
3048         * support/check.h (TEST_VERIFY): Drop status argument from
3049         support_test_verify_impl call.
3050         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3051         (support_test_verify_impl): Remove status argument.
3052         (support_test_verify_exit_impl): Declare.
3054 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3056         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3057         mention of magic numbers in comments.
3058         (_dl_procinfo): Fix undefined behavior
3060 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
3062         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3063         [XPG4].
3064         (WEXITED): Likewise.
3065         (WSTOPPED): Likewise.
3066         (WCONTINUED): Likewise.
3067         (WNOHANG): Likewise.
3068         (WNOWAIT): Likewise.
3069         (idtype_t): Likewise.
3070         (P_ALL): Likewise.
3071         (P_PID): Likewise.
3072         (P_PGID): Likewise.
3073         (id_t): Likewise.
3074         (siginfo_t): Likewise.
3075         (wait3): Likewise.
3076         (waitid): Likewise.
3077         (signal.h): Do not allow header for [XPG4].
3078         (sys/resource.h): Likewise.
3079         (si_*): Do not allow for [XPG4].
3080         (W*): Likewise.
3081         (P_*): Likewise.
3082         (BUS_): Likewise.
3083         (CLD_): Likewise.
3084         (FPE_): Likewise.
3085         (ILL_): Likewise.
3086         (POLL_): Likewise.
3087         (SEGV_): Likewise.
3088         (SI_): Likewise.
3089         (TRAP_): Likewise.
3090         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3091         variable.
3093 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3095         [BZ #21528]
3096         * elf/dl-minimal.c (__strtoul_internal): Removed.
3097         (strtoul): Likewise.
3098         * elf/dl-misc.c (_dl_strtoul): New function.
3099         * elf/dl-tunables.c (tunables_strtoul): Removed.
3100         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3101         * elf/rtld.c (process_envvars): Likewise.
3102         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3103         Likewise.
3104         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3106 2017-06-08  Zack Weinberg  <zackw@panix.com>
3108         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3109         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3110         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3111         * wctype/bits/wctype-wchar.h: New file holding declarations shared
3112         between wctype.h and wchar.h.
3114         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3115         Install them.
3117         * include/bits/types/FILE.h, include/bits/types/__FILE.h
3118         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3119         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3120         New wrappers.
3121         * include/stdio.h, include/wchar.h, include/wctype.h:
3122         No need to handle __need macros.
3124         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3125         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3126         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3127         * wcsmbs/wchar.h, wctype/wctype.h
3128         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3129         Use the new files instead of __need macros.
3131 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3133         * string/test-memrchr.c (test_main): Add tests for len == 0
3134         and tests for positions close to the beginning, which are
3135         equivalent to positions close to the end for memchr.
3137 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3139         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3140         comments.
3141         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3142         instead of wmemset.h.
3143         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3144         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3145         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3147 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3149         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3150         spec->info.is_binary128 to zero.
3151         * stdio-common/printf.h (printf_info): Add new member is_binary128
3152         to indicate that the number being converted to string is compatible
3153         with the IEC 60559 binary128 format.
3154         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3155         _Float128 numbers.
3156         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3157         ldbl-128/printf_fphex_macros.h
3158         (__printf_fphex): Add code to deal with _Float128 numbers.
3159         * stdio-common/printf_size.c (__printf_size): Likewise.
3160         * stdio-common/vfprintf.c (process_arg): Initialize member
3161         info.is_binary128 to zero.
3162         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3163         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3164         (strfromf128): New declaration.
3165         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3166         to one.
3167         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3168         * sysdeps/ieee754/float128/Versions: Likewise.
3169         * sysdeps/ieee754/float128/strfromf128.c: New file.
3171 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3173         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3174         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3175         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3176         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3177         (PRINT_FPHEX): New function-like macro that can be used for long
3178         double, as well as for _Float128
3180 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3182         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3183         (__printf_fp_l): Use the new macro to avoid duplicating code.
3184         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3185         (__printf_fphex): Use the new macro to avoid duplicating code.
3186         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3187         (__printf_size): Use the new macro to avoid duplicating code.
3189 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3191         * include/gmp.h: Include bits/floatn.h
3192         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3193         * stdlib/gmp-impl.h: Also check if alloca is not defined before
3194         including stack-alloc.h.  It could have been defined by other header
3195         which not necessarily defines HAVE_ALLOCA.
3196         * sysdeps/ieee754/float128/Makefile: New file.
3197         * sysdeps/ieee754/float128/float1282mpn.c: New file.
3198         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3199         redefining __mpn_extract_long_double to __mpn_extract_float128, then
3200         redefine __mpn_extract_long_double to __mpn_extract_float128.
3201         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3202         _Float128 to allow float128_private.h overrides.
3204 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3206         * stdlib/fpioconst.h: Include bits/floatn.h.
3207         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3208         power of ten table should be.
3209         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3210         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3211         to include larger tables when _Float128 support is enabled.
3212         (_fpioconst_pow10): Likewise.
3214 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
3216         * include/bits/types/clock_t.h: Use #include <path> instead of
3217         #include "../../path".
3218         * include/bits/types/clockid_t.h: Likewise.
3219         * include/bits/types/struct_iovec.h: Likewise.
3220         * include/bits/types/struct_itimerspec.h: Likewise.
3221         * include/bits/types/struct_osockaddr.h: Likewise.
3222         * include/bits/types/struct_sigstack.h: Likewise.
3223         * include/bits/types/struct_timespec.h: Likewise.
3224         * include/bits/types/struct_timeval.h: Likewise.
3225         * include/bits/types/struct_tm.h: Likewise.
3226         * include/bits/types/time_t.h: Likewise.
3227         * include/bits/types/timer_t.h: Likewise.
3229         [BZ #14096]
3230         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3231         America/New_York.
3233 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3235         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3236         into ...
3237         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
3238         ifunc-sse4_1.h.
3240 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3242         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3243         Remove check for NULL 'buf'.
3244         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3246 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3248         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3249         include test-skeleton.c.
3250         Include support/check.h and support/test-driver.c.
3252 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3254         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3255         (_dl_aarch64_cap_flags): New array.
3256         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3257         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3258         functions.
3260         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3261         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3262         Likewise.
3263         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3264         up hwcap and hwcap_mask.
3266         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3267         (init_cpu_features): Use glibc.tune.hwcap_mask.
3268         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3270         * elf/dl-hwcaps.h: New file.
3271         * elf/dl-hwcaps.c: Include it.
3272         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3273         glibc.tune.hwcap_mask.
3274         * elf/dl-cache.c: Include dl-hwcaps.h.
3275         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3276         glibc.tune.hwcap_mask.
3277         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3278         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3279         _dl_hwcap_mask.
3280         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3281         _dl_hwcap_mask.
3282         (process_envvars)[HAVE_TUNABLES]: Likewise.
3283         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3284         Likewise.
3285         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3286         initialize dl_hwcap_mask when tunables are enabled.
3288         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3289         guard.
3290         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3292         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3293         * scripts/gen-tunables.awk: Include dl-procinfo.h.
3294         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3296         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3297         * elf/dl-tunables.c: Likewise.
3298         (do_tunable_update_val): New function.
3299         (__tunable_set_val): New function.
3300         (__tunable_get_val): Call CB only if the tunable was externally
3301         initialized.
3302         (tunables_strtoul): Replace strval with initialized.
3303         * elf/dl-tunables.h (strval): Replace with a bool initialized.
3304         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3305         prevent collision.
3306         (__tunable_set_val): New function.
3307         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3308         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3309         (TUNABLE_SET_VAL): Remove.
3310         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3311         * README.tunables: Document the new macros.
3312         * malloc/arena.c (ptmalloc_init): Adjust.
3314 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3316         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3317         wcsnlen-sse4_1 and wcsnlen-c.
3318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3319         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3320         __wcsnlen_sse2.
3321         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3322         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3323         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3324         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3325         * sysdeps/x86_64/wcsnlen.S: Removed.
3327 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3329         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3330         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3331         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3332         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3334 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3336         * NEWS: Mention new spinlock implementation.
3337         * include/atomic.h:
3338         (__atomic_val_bysize): Cast type to omit volatile qualifier.
3339         (atomic_exchange_acq): Likewise.
3340         (atomic_load_relaxed): Likewise.
3341         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3342         * nptl/pthread_spin_init.c (pthread_spin_init):
3343         Use atomic_store_relaxed.
3344         * nptl/pthread_spin_lock.c (pthread_spin_lock):
3345         Use C11-like atomic macros.
3346         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3347         Likewise.
3348         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3349         Use atomic_store_release.
3350         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3351         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3352         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3353         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3354         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3355         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3356         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3357         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3358         * sysdeps/alpha/atomic-machine.h: Likewise.
3359         * sysdeps/arm/atomic-machine.h: Likewise.
3360         * sysdeps/i386/atomic-machine.h: Likewise.
3361         * sysdeps/ia64/atomic-machine.h: Likewise.
3362         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3363         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3364         * sysdeps/microblaze/atomic-machine.h: Likewise.
3365         * sysdeps/mips/atomic-machine.h: Likewise.
3366         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3367         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3368         * sysdeps/s390/atomic-machine.h: Likewise.
3369         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3370         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3371         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3372         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3373         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3374         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3375         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3376         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3377         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3378         * sysdeps/x86_64/atomic-machine.h: Likewise.
3380 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3382         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3383         and use it instead of dl_x86_cpu_features.
3384         (handle_intel): Replace maxidx with cpu_features.  Pass
3385         cpu_features to intel_check_word.
3386         (__cache_sysconf): Pass cpu_features to handle_intel.
3387         (init_cacheinfo): Likewise.  Use cpu_features instead of
3388         dl_x86_cpu_features.
3390 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3392         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3394         memcmp-avx2 and wmemcmp-avx2.
3395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3396         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3397         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3398         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3399         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3400         2 machines if AVX unaligned load is fast and vzeroupper is
3401         preferred.
3402         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3403         2 machines if AVX unaligned load is fast and vzeroupper is
3404         preferred.
3406 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3408         * include/wchar.h (__wmemset_chk): New.
3409         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3410         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3411         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3412         (WMEMSET_CHK_SYMBOL): Likewise.
3413         (WMEMSET_SYMBOL): Likewise.
3414         (__wmemset): Add hidden definition.
3415         (wmemset): Add weak hidden definition.
3416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3417         wmemset_chk-nonshared.
3418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3419         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3420         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3421         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3422         and __wmemset_chk_avx512_unaligned.
3423         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3424         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3425         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3426         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3427         (WMEMSET_SYMBOL): Likewise.
3428         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3429         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3430         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3431         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3432         (WMEMSET_SYMBOL): Likewise.
3433         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3434         (WMEMSET_CHK_SYMBOL): New.
3435         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3436         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3437         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3438         (libc_hidden_builtin_def): Also define __GI_wmemset and
3439         __GI___wmemset.
3440         (weak_alias): New.
3441         * sysdeps/x86_64/multiarch/wmemset.c: New file.
3442         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3443         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3444         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3445         * sysdeps/x86_64/wmemset.c: Likewise.
3446         * sysdeps/x86_64/wmemset_chk.c: Likewise.
3448 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3449             H.J. Lu  <hongjiu.lu@intel.com>
3451         * sysdeps/x86/init-arch.h (PASTER1): New.
3452         (EVALUATOR1): Likewise.
3453         (PASTER2): Likewise.
3454         (EVALUATOR2): Likewise.
3455         (REDIRECT_NAME): Likewise.
3456         (OPTIMIZE): Likewise.
3457         (IFUNC_SELECTOR): Likewise.
3459 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3461         * sysdeps/x86_64/strlen.S (PMINU): New.
3462         (PCMPEQ): Likewise.
3463         (SHIFT_RETURN): Likewise.
3464         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3465         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
3466         pminub with PCMPEQ and PMINU.
3467         * sysdeps/x86_64/wcsnlen.S: New file.
3469 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3471         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3472         the lower 32 bits.  Remove redundant instructions.
3474 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3476         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3477         0 as the high part of offset.
3478         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3480 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
3482         [BZ #21538]
3483         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3484         [__USE_UNIX98].
3485         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3486         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3487         Likewise.
3488         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3489         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3490         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3491         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3492         Likewise.
3494         [BZ #21517]
3495         * bits/types/stack_t.h (stack_t): Remove struct tag.
3496         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3497         Likewise.
3498         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3499         Likewise.
3500         * debug/segfault.c (install_handler): Use stack_t instead of
3501         struct sigaltstack.
3502         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3503         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3504         * include/signal.h (__sigaltstack): Likwise.
3505         * signal/sigaltstack.c (__sigaltstack): Likewise.
3506         * signal/signal.h (sigaltstack): Likewise.
3507         * sysdeps/mach/hurd/i386/signal-defines.sym
3508         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3509         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3510         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3511         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3512         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3513         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3514         elf_prstatus): Likewise.
3515         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3516         Likewise.
3517         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3518         Likewise.
3519         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3520         Likewise.
3521         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3522         elf_prstatus): Likewise.
3523         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3524         Likewise.
3525         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3526         Likewise.
3528 2017-06-04  Zack Weinberg  <zackw@panix.com>
3530         * sysdeps/gnu/errlist.c: Regenerate.
3532 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3534         * benchtests/bench-memchr.c (do_test): Print out both length
3535         and position.
3536         (test_main): Also test the position close to the beginning for
3537         memrchr.
3539 2017-06-04  Zack Weinberg  <zackw@panix.com>
3541         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3542         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3543         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3544         * nis/nis_destroygroup.c, nis/nis_domain_of.c
3545         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3546         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3547         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3548         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3549         * nis/nis_print_group_entry.c, nis/nis_remove.c
3550         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3551         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3552         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3553         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3554         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3555         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3556         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3557         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3558         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3559         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3560         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3561         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3562         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3563         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3564         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3565         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3566         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3567         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3568         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3569         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3571         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3572         abi-versions.h as well as shlib-compat.h.
3573         * sunrpc/get_myaddr.c: Remove obsolete comment.
3574         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3575         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3576         * resolv/res_libc.c: Include shlib-compat.h only once.
3578 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3581         of strdup.
3583 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3585         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3586         Set to the 3/4 of the total shared cache size.
3588 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3590         * manual/errno.texi: Remove redundant error strings.
3591         * manual/macros.texi (@errno): Render the error string in every
3592         description.
3594 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3596         [BZ #21543]
3597         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3598         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3599         [__USE_XOPEN_EXTENDED].
3601 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3603         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3604         strdupa.
3605         (getcanonname): Use __strdup instead of strdup.
3607 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3609         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3610         (CFLAGS-preadv64v2.c): Likewise.
3611         (CFLAGS-pwritev2.c): Likewise.
3612         (CFLAGS-pwritev64v2.c): Likewise.
3614 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3616         Test res_init with several configuration files.
3617         * resolv/Makefile [build-shared] (tests-internal): Add
3618         tst-resolv-res_init, tst-resolv-res_init-thread.
3619         (tst-resolv-res_init): Link against libdl, libresolv.
3620         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3621         libpthread.
3622         * resolv/tst-resolv-res_init.c: New file.
3623         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3624         * resolv/tst-resolv-res_init-thread.c: Likewise.
3625         * support/Makefile (libsupport-routines): Add support-xstat,
3626         support_can_chroot, support_capture_subprocess_check,
3627         support_isolate_in_subprocess, support_shared_allocate,
3628         support_write_file_string, xchroot, xmkdir, xopen.
3629         * support/capture_subprocess.h (enum support_capture_allow): Define.
3630         (support_capture_subprocess_check): Declare.
3631         * support/namespace.h (support_can_chroot)
3632         (support_isolate_in_subprocess): Declare.
3633         * support/support-xstat.c: New file.
3634         * support/support.h (support_shared_allocate, support_shared_free)
3635         (support_write_file_string): Declare.
3636         * support/support_can_chroot.c: New file.
3637         * support/support_capture_subprocess_check.c: Likewise.
3638         * support/support_isolate_in_subprocess.c: Likewise.
3639         * support/support_shared_allocate.c: Likewise.
3640         * support/support_write_file_string.c: Likewise.
3641         * support/xchroot.c: Likwise.
3642         * support/xmkdir.c: Likwise.
3643         * support/xopen.c: Likwise.
3644         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3646 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3648         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3649         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
3651 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3653         * malloc/Makefile (routines): Add dynarray_at_failure,
3654         dynarray_emplace_enlarge, dynarray_finalize.
3655         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3656         tst-dynarray-at-fail.
3657         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3658         (tests-special): Add tst-dynarray-mem.out,
3659         tst-dynarray-mem-fail.out.
3660         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3661         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3662         mtrace.
3663         * malloc/Versions (__libc_dynarray_at_failure)
3664         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3665         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3666         GLIBC_PRIVATE.
3667         * malloc/dynarray.h: New file.
3668         * malloc/dynarray-skeleton.c: Likewise.
3669         * malloc/dynarray_at_failure.c: Likewise.
3670         * malloc/dynarray_emplace_enlarge.c: Likewise.
3671         * malloc/dynarray_finalize.c: Likewise.
3672         * malloc/dynarray_resize.c: Likewise.
3673         * malloc/dynarray_resize_clear.c: Likewise.
3674         * malloc/tst-dynarray.c: Likewise.
3675         * malloc/tst-dynarray-fail.c: Likewise.
3676         * malloc/tst-dynarray-at-fail.c: Likewise.
3677         * malloc/tst-dynarray-shared.h: Likewise.
3678         * support/Makefile (libsupport-routines): Add
3679         support_capture_subprocess, xdup2, xpipe.
3680         (tests): Add tst-support_capture_subprocess.
3681         * support/capture_subprocess.h: New file.
3682         * support/support_capture_subprocess.c: Likewise.
3683         * support/tst-support_capture_subprocess.c: Likewise.
3684         * support/xdup2.c: Likewise.
3685         * support/xpipe.c: Likewise.
3686         * support/xunistd.h (xdup2, xpipe): Declare.
3688 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3690         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3691         macros MAX and MIN.
3693 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3695         * conform/data/signal.h-data (sa_sigaction): Do not expect for
3696         [XPG4].
3697         (SA_SIGINFO): Likewise.
3698         (SA_ONSTACK): Likewise.
3699         (SA_RESETHAND): Likewise.
3700         (SA_RESTART): Likewise.
3701         (SA_NOCLDWAIT): Likewise.
3702         (SA_NODEFER): Likewise.
3703         (SS_ONSTACK): Likewise.
3704         (SS_DISABLE): Likewise.
3705         (MINSIGSTKSZ): Likewise.
3706         (SIGSTKSZ): Likewise.
3707         (ucontext_t): Likewise.
3708         (stack_t): Likewise.
3709         (struct sigstack): Likewise.
3710         (SI_USER): Do not expect for [XPG4 || XPG42].
3711         (SI_QUEUE): Likewise.
3712         (SI_TIMER): Likewise.
3713         (SI_ASYNCIO): Likewise.
3714         (SI_MESGQ): Likewise.
3715         (bsd_signal): Do not expect for [XPG4].
3716         (killpg): Likewise.
3717         (sigaltstack): Likewise.
3718         (sighold): Likewise.
3719         (sigignore): Likewise.
3720         (siginterrupt): Likewise.
3721         (sigpause): Likewise.
3722         (sigrelse): Likewise.
3723         (sigset): Likewise.
3724         (sigwait): Do not expect for [XPG4 || XPG42].
3726 2017-06-01  Zack Weinberg  <zackw@panix.com>
3728         [BZ #21514]
3729         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3730         pointing to the generated file in <builddir>/misc/bits/syscall.h.
3732 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3734         [BZ #21457]
3735         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3736         NGREG to __NGREG if [__USE_MISC].
3737         (gregset_t): Define using __NGREG.
3738         (__ctx): New macro.
3739         (mcontext_t): Use __ctx in defining fields.
3740         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3741         define NGREG to __NGREG if [__USE_MISC].
3742         (gregset_t): Define using __NGREG.
3743         (__ctx): New macro.
3744         (__ctxt): Likewise.
3745         (fpregset_t): Use __ctx and __ctxt in defining fields.
3746         (mcontext_t): Likewise.
3747         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3748         define NGREG to __NGREG if [__USE_MISC].
3749         (gregset_t): Define using __NGREG.
3750         (__ctx): New macro.
3751         (mcontext_t): Use __ctx in defining fields.
3752         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3753         define NGREG to __NGREG if [__USE_MISC].
3754         (gregset_t): Define using __NGREG.
3755         (__ctx): New macro.
3756         (fpregset_t): Use __ctx in defining fields.
3757         (mcontext_t): Likewise.
3758         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3759         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3760         (gregset_t): Define using __NGREG.
3761         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3762         [__USE_MISC].
3763         (fpregset_t): Define using __NFPREG.
3764         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3765         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3766         (gregset_t): Define using __NGREG.
3767         (__ctx): New macro.
3768         (fpregset_t): Use __ctx in defining fields.
3769         (mcontext_t): Likewise.
3770         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3771         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3772         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3773         [__USE_MISC].
3774         (gregset_t): Define using __NGREG.
3775         (__ctx): New macro.
3776         (fpregset_t): Use __ctx in defining fields.
3777         (mcontext_t): Likewise.
3778         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3779         (mcontext_t): Use __ctx in defining fields.
3780         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3781         macro.
3782         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3783         __NGREG if [__USE_MISC].
3784         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3785         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3786         (mcontext_t): Likewise.
3787         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3788         __NGREG if [__USE_MISC].
3789         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3790         to __NFPREG if [__USE_MISC].
3791         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3792         to __NVRREG if [__USE_MISC].
3793         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3794         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3795         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3796         [__WORDSIZE != 32] (vrregset_t): Likewise.
3797         [__WORDSIZE != 32] (mcontext_t): Likewise.
3798         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3799         (__psw_t): Use __ctx in defining fields.
3800         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3801         [__USE_MISC].
3802         (gregset_t): Define using __NGREG.
3803         (fpreg_t): Use __ctx in defining fields.
3804         (fpregset_t): Likewise.
3805         (mcontext_t): Likewise.
3806         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3807         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3808         (gregset_t): Define using __NGREG.
3809         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3810         [__USE_MISC].
3811         (fpregset_t): Define using __NFPREG.
3812         (__ctx): New macro.
3813         (mcontext_t): Use __ctx in defining fields.
3814         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3815         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3816         __NGREG if [__USE_MISC].
3817         [__x86_64__] (gregset_t): Define using __NGREG.
3818         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3819         [__x86_64__] (struct _libc_fpstate): Likewise.
3820         [__x86_64__] (mcontext_t): Likewise.
3821         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3822         __NGREG if [__USE_MISC].
3823         [!__x86_64__] (gregset_t): Define using __NGREG.
3824         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3825         [!__x86_64__] (struct _libc_fpstate): Likewise.
3826         [!__x86_64__] (mcontext_t): Likewise.
3828 2017-06-01  Zack Weinberg  <zackw@panix.com>
3830         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3831         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
3832         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3833         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3834         libpthread.so no longer references __errno_location.
3836 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3838         * NEWS: Add note about pwritev2 and preadv2 inclusion.
3839         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3840         pwritev64v2.
3841         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3842         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3843         pwritev64v2.
3844         * misc/preadv2.c: New file.
3845         * misc/preadv64v2.c: Likewise.
3846         * misc/pwritev2.c: Likewise.
3847         * misc/pwritev64v2.c: Likewise.
3848         * misc/tst-preadvwritev2.c: Likewise.
3849         * misc/tst-preadvwritev64v2.c: Likewise.
3850         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3851         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3852         prototype.
3853         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3854         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3855         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3856         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3857         (PWRITEV): Likewise.
3858         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3859         ENOSYS.
3860         * nptl/tst-cancel4.c (tf_pwritev2): New test.
3861         (tf_preadv2): Likewise.
3862         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3863         * sysdeps/posix/preadv2.c: Likewise.
3864         * sysdeps/posix/preadv64v2.c: Likewise.
3865         * sysdeps/posix/pwritev2.c: Likewise.
3866         * sysdeps/posix/pwritev64v2.c: Likewise.
3867         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3868         support in kernel.
3869         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3870         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3871         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3872         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3873         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3874         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3875         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3876         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3877         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3878         support flags on Linux.
3879         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3880         preadv2, preadv64v2, pwritev2, pwritev64v2.
3881         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3882         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3883         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3884         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3885         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3886         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3887         Likewise.
3888         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3889         Likewise.
3890         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3891         Likewise.
3892         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3893         Likewise.
3894         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3895         Likewise.
3896         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3897         Likewise.
3898         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3899         Likewise.
3900         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3902         (GLIBC_2.26): Likewise.
3903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3904         (GLIBC_2.26): Likewise.
3905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3906         Likewise.
3907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3908         (GLIBC_2.26): Likewise.
3909         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3910         Likewise.
3911         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3912         Likewise.
3913         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3914         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3915         Likewise.
3916         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3917         Likewise.
3918         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3919         Likewise.
3920         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3921         Likewise.
3922         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3923         Likewise.
3924         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3925         Likewise.
3926         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3927         Likewise.
3929 2017-05-31  Andreas Schwab  <schwab@suse.de>
3931         * nptl/tst-fork3.c: Include <support/test-driver.c>.
3932         (main): Rename to do_test and make static.
3934 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3936         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3937         ARCH_INIT_CPU_FEATURES.
3938         (LIBC_START_MAIN): Call it.
3939         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3940         (__libc_start_main): Remove.
3941         (ARCH_INIT_CPU_FEATURES): New macro.
3942         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3943         (ARCH_INIT_CPU_FEATURES): New macro.
3945 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
3946             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3948         * include/stdlib.h (__libc_reallocarray): New declaration.
3949         * malloc/Makefile (routines): Add reallocarray.
3950         (tests): Add tst-reallocarray.c.
3951         * malloc/Versions: Add reallocarray and __libc_reallocarray.
3952         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3953         function.
3954         * malloc/malloc.h (reallocarray): New declaration.
3955         * stdlib/stdlib.h (reallocarray): Likewise.
3956         * malloc/reallocarray.c: New file.
3957         * malloc/tst-reallocarray.c: New test file.
3958         * manual/memory.texi: Document reallocarray.
3959         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3960         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3961         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3962         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3963         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3964         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3965         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3966         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3967         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3968         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3969         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3970         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3971         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3972         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3974         Likewise.
3975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3976         Likewise.
3977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3979         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3980         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3981         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3982         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3983         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3986         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3987         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3988         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3990 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3992         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3993         the lower 32 bits.
3995 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
3997         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3998         $(build-pie-default) = yes]: Define.
4000 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4002         * string/test-memchr.c (test_main): Add tests for n == 0.
4004 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4006         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4007         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4008         (tests-internal): ... here.
4010 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
4011              H.J. Lu  <hongjiu.lu@intel.com>
4013         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4014         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4015         (__tunable_set_val): Likewise.
4017 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4019         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4020         dl-tunables.list in subdirectories.
4022 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4023             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4024             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4026         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4027         (SNANF128): New macro.
4028         * math/e_sqrtf128.c: New file.
4029         * math/s_fmaxmag_template.c: Include math_private.h in order to
4030         make inline expansion of fabs128().
4031         * math/s_fminmag_template.c: Likewise.
4033         * sysdeps/ieee754/float128/e_acosf128.c: New file.
4034         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4035         * sysdeps/ieee754/float128/e_asinf128.c: New file.
4036         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4037         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4038         * sysdeps/ieee754/float128/e_coshf128.c: New file.
4039         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4040         * sysdeps/ieee754/float128/e_expf128.c: New file.
4041         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4042         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4043         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4044         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4045         * sysdeps/ieee754/float128/e_j0f128.c: New file.
4046         * sysdeps/ieee754/float128/e_j1f128.c: New file.
4047         * sysdeps/ieee754/float128/e_jnf128.c: New file.
4048         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4049         * sysdeps/ieee754/float128/e_log10f128.c: New file.
4050         * sysdeps/ieee754/float128/e_log2f128.c: New file.
4051         * sysdeps/ieee754/float128/e_logf128.c: New file.
4052         * sysdeps/ieee754/float128/e_powf128.c: New file.
4053         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4054         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4055         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4056         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4057         * sysdeps/ieee754/float128/float128_private.h: New file.
4058         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4059         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4060         * sysdeps/ieee754/float128/k_cosf128.c: New file.
4061         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4062         * sysdeps/ieee754/float128/k_sinf128.c: New file.
4063         * sysdeps/ieee754/float128/k_tanf128.c: New file.
4064         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4065         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4066         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4067         * sysdeps/ieee754/float128/s_atanf128.c: New file.
4068         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4069         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4070         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4071         * sysdeps/ieee754/float128/s_cosf128.c: New file.
4072         * sysdeps/ieee754/float128/s_erff128.c: New file.
4073         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4074         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4075         * sysdeps/ieee754/float128/s_finitef128.c: New file.
4076         * sysdeps/ieee754/float128/s_floorf128.c: New file.
4077         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4078         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4079         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4080         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4081         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4082         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4083         * sysdeps/ieee754/float128/s_isinff128.c: New file.
4084         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4085         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4086         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4087         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4088         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4089         * sysdeps/ieee754/float128/s_logbf128.c: New file.
4090         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4091         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4092         * sysdeps/ieee754/float128/s_modff128.c: New file.
4093         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4094         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4095         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4096         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4097         * sysdeps/ieee754/float128/s_remquof128.c: New file.
4098         * sysdeps/ieee754/float128/s_rintf128.c: New file.
4099         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4100         * sysdeps/ieee754/float128/s_roundf128.c: New file.
4101         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4102         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4103         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4104         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4105         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4106         * sysdeps/ieee754/float128/s_significandf128.c: New file.
4107         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4108         * sysdeps/ieee754/float128/s_sinf128.c: New file.
4109         * sysdeps/ieee754/float128/s_tanf128.c: New file.
4110         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4111         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4112         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4113         * sysdeps/ieee754/float128/s_truncf128.c: New file.
4114         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4115         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4116         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4117         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4119         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4120         (__iscanonicalf128): Define as a macro.
4122 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4124         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4125         (memmove): Use MEMMOVE for name.
4126         (memcpy): Use MEMCPY for name.  Change internal labels
4127         to external labels.
4128         * sysdeps/aarch64/multiarch/Makefile: New file.
4129         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4130         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4131         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4132         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4133         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4134         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4136 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4138         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4139         (_dl_arm_cap_flags): Fix array subscript.
4140         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4141         Fix count.
4143 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4145         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4147 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4149         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4150         (is_amd): Likewise.
4151         (max_cpuid): Likewise.
4152         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4153         (init_cacheinfo): Likewise.
4155 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
4157         [BZ #21511]
4158         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4159         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4160         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4161         !__USE_XOPEN2K) || __USE_MISC].
4162         * conform/data/signal.h-data (struct sigstack): Expect type only
4163         if [!XOPEN2K8 && !POSIX2008].
4164         (sigstack): Expect function only if [XPG42 || UNIX98].
4166         [BZ #21457]
4167         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4168         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4169         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4170         <bits/types/__sigset_t.h>.
4171         (ucontext_t): Use sigset_t instead of __sigset_t.
4172         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4173         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4174         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4175         <bits/types/__sigset_t.h>.
4176         (ucontext_t): Use sigset_t instead of __sigset_t.
4177         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4178         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4179         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4180         <bits/types/__sigset_t.h>.
4181         (ucontext_t): Use sigset_t instead of __sigset_t.
4182         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4183         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4184         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4185         <bits/types/__sigset_t.h>.
4186         (ucontext_t): Use sigset_t instead of __sigset_t.
4187         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4188         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4189         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4190         <bits/types/__sigset_t.h>.
4191         (ucontext_t): Use sigset_t instead of __sigset_t.
4192         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4193         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4194         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4195         <bits/types/__sigset_t.h>.
4196         (ucontext_t): Use sigset_t instead of __sigset_t.
4197         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4198         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4199         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4200         <bits/types/__sigset_t.h>.
4201         (ucontext_t): Use sigset_t instead of __sigset_t.
4202         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4203         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4204         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4205         <bits/types/__sigset_t.h>.
4206         (ucontext_t): Use sigset_t instead of __sigset_t.
4207         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4208         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4209         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4210         <bits/types/__sigset_t.h>.
4211         (ucontext_t): Use sigset_t instead of __sigset_t.
4212         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4213         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4214         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
4215         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4216         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4217         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4218         <bits/types/__sigset_t.h>.
4219         (ucontext_t): Use sigset_t instead of __sigset_t.
4220         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4221         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4222         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4223         <bits/types/__sigset_t.h>.
4224         (ucontext_t): Use sigset_t instead of __sigset_t.
4225         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4226         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4227         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4228         <bits/types/__sigset_t.h>.
4229         (ucontext_t): Use sigset_t instead of __sigset_t.
4230         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4231         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4232         <bits/ss_flags.h>.
4233         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4234         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4235         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4236         <bits/types/__sigset_t.h>.
4237         (ucontext_t): Use sigset_t instead of __sigset_t.
4238         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4239         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4240         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4241         <bits/types/__sigset_t.h>.
4242         (ucontext_t): Use sigset_t instead of __sigset_t.
4243         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4244         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4245         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4246         <bits/types/__sigset_t.h>.
4247         (ucontext_t): Use sigset_t instead of __sigset_t.
4248         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4249         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4250         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4251         <bits/types/__sigset_t.h>.
4252         (ucontext_t): Use sigset_t instead of __sigset_t.
4253         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4254         <bits/types.h>.
4255         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4256         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4257         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4258         <bits/types/__sigset_t.h>.
4259         (ucontext_t): Use sigset_t instead of __sigset_t.
4261 2017-05-22  Zack Weinberg  <zackw@panix.com>
4263         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4264         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4265         bits/siginfo-arch.h, only if not already defined.
4266         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4267         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4268         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4269         Likewise.
4271         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4272         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4273         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4274         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4275         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4276         Unconditionally define __SI_* macros.
4278 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4280         [BZ #21393]
4281         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4282         and add a check for dup3 failure.
4283         * libio/freopen64.c (freopen64): Likewise.
4284         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4285         libsupport.
4286         (do_test_bz21398): New test.
4287         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4289 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4291         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4292         Remove invalid comment.
4294 2017-05-21  Zack Weinberg  <zackw@panix.com>
4296         * signal/Makefile (headers): Add bits/types/sigval_t.h.
4298 2017-05-20  Zack Weinberg  <zackw@panix.com>
4300         * bits/sigevent-consts.h
4301         * bits/siginfo-consts.h
4302         * bits/types/__sigset_t.h
4303         * bits/types/sigevent_t.h
4304         * bits/types/siginfo_t.h
4305         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4306         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4307         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4308         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4309         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4310         New system-dependent bits headers.
4312         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4313         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4314         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4315         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4316         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4317         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4318         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4319         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4320         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4321         New Linux-only system-dependent bits headers.
4323         * signal/bits/types/sig_atomic_t.h
4324         * signal/bits/types/sigset_t.h
4325         * signal/bits/types/sigval_t.h:
4326         New non-system-dependent bits headers.
4328         * sysdeps/generic/sigsetops.h
4329         * sysdeps/unix/sysv/linux/sigsetops.h:
4330         New internal headers.
4332         * include/bits/types/sig_atomic_t.h
4333         * include/bits/types/sigset_t.h
4334         * include/bits/types/sigval_t.h:
4335         New wrappers.
4337         * signal/sigsetops.h
4338         * bits/siginfo.h
4339         * bits/sigset.h
4340         * sysdeps/unix/sysv/linux/bits/siginfo.h
4341         * sysdeps/unix/sysv/linux/bits/sigset.h
4342         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4343         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4344         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4345         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4346         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4347         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4348         Deleted.
4350         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4351         Update lists of installed headers.
4353         * posix/bits/types.h: Define __sig_atomic_t here.
4354         * signal/signal.h: Use the new bits headers; no need to handle
4355         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
4356         to define sigmask.
4357         * include/signal.h: No need to handle __need_sig_atomic_t
4358         nor __need_sigset_t.  Don't define __sigemptyset.
4360         * io/sys/poll.h, setjmp/setjmp.h
4361         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4362         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4363         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4364         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4365         * sysdeps/pthread/bits/sigthread.h
4366         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4367         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4368         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4369         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4370         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4371         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4372         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4373         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4374         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4375         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4376         Use bits/types/__sigset_t.h.
4378         * misc/sys/select.h, posix/spawn.h
4379         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4380         * sysdeps/unix/sysv/linux/sys/epoll.h
4381         * sysdeps/unix/sysv/linux/sys/signalfd.h:
4382         Use bits/types/sigset_t.h.
4384         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4385         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4386         * socket/sys/socket.h: Don't include bits/sigset.h.
4388         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4389         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4390         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4391         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4392         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4393         * sysdeps/unix/sysv/linux/nptl-signals.h:
4394         Include sigsetops.h.
4396         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4397         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4398         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4399         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4400         now return no value.
4402         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4403         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4404         "sigsetops.h".
4406         * signal/sigsetops.c: Explicitly define __sigismember,
4407         __sigaddset, and __sigdelset as compatibility symbols.
4409         * signal/Versions: Correct commentary on __sigpause,
4410         __sigaddset, __sigdelset, __sigismember.
4412         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
4413         __sigblock/__sigsetmask to use __sigprocmask and friends.
4415         * resolv/resolv.h: Remove __need_res_state logic.
4416         Move definition of res_state and related constants to ...
4417         * resolv/bits/types/res_state.h: ...this new file.
4418         * resolv/Makefile: Install bits/types/res_state.h.
4419         * include/bits/types/res_state.h: New wrapper.
4420         * include/list.h: Remove __need_list_t logic.
4421         Move definition of list_t to ...
4422         * include/list_t.h: ...this new file.
4424         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4425         instead of list.h and resolv.h.
4427         * resolv/resolv.h: Remove __need_res_state logic.
4428         Move definition of res_state and related constants to ...
4429         * resolv/bits/types/res_state.h: ...this new file.
4430         * resolv/Makefile: Install bits/types/res_state.h.
4431         * include/bits/types/res_state.h: New wrapper.
4432         * include/list.h: Remove __need_list_t logic.
4433         Move definition of list_t to ...
4434         * include/list_t.h: ...this new file.
4436         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4437         instead of list.h and resolv.h.
4439 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4441         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4443 2017-05-20  Zack Weinberg  <zackw@panix.com>
4445         * sysdeps/arm/sysdep.h
4446         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4448         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4449         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4450         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4451         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4452         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4453         * sysdeps/arm/armv6t2/strlen.S
4454         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4455         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4456         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4457         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4458         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4459         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4461 2017-05-20  Zack Weinberg  <zackw@panix.com>
4463         Remove the NaCl port.
4464         * sysdeps/arm/nacl: Remove directory and contents.
4465         * sysdeps/nacl: Remove directory and contents.
4466         * abi-tags: Remove .*-.*-nacl.* entry.
4468 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
4470         * manual/errno.texi: Convert @comment-based errno documentation to
4471         @errno.
4472         * manual/macros.texi (@errno): New macro.  Consolidate errors,
4473         their values, and messages, adding the error string to the Concept
4474         Index.  Provide a warning in the comment about external (to the
4475         manual) dependencies.
4476         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4477         * sysdeps/mach/hurd/errnos.awk: Likewise.
4479 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4481         * bits/ss_flags.h: New file.
4482         * bits/types/stack_t.h: Likewise.
4483         * include/bits/types/struct_sigstack.h: Likewise.
4484         * signal/bits/types/struct_sigstack.h: Likewise.
4485         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4486         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4487         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4488         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4489         bits/types/stack_t.h and bits/ss_flags.h.
4490         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4491         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4492         <bits/ss_flags.h>.
4493         * bits/sigstack.h (struct sigstack): Remove.
4494         (stack_t): Likewise.
4495         (SS_ONSTACK): Likewise.
4496         (SS_DISABLE): Likewise.
4497         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4498         (struct sigstack): Likewise.
4499         (stack_t): Likewise.
4500         (SS_ONSTACK): Likewise.
4501         (SS_DISABLE): Likewise.
4502         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4503         Likewise.
4504         (stack_t): Likewise.
4505         (SS_ONSTACK): Likewise.
4506         (SS_DISABLE): Likewise.
4507         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4508         Likewise.
4509         (stack_t): Likewise.
4510         (SS_ONSTACK): Likewise.
4511         (SS_DISABLE): Likewise.
4512         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4513         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4514         Likewise.
4515         (stack_t): Likewise.
4516         (SS_ONSTACK): Likewise.
4517         (SS_DISABLE): Likewise.
4518         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4519         (struct sigstack): Likewise.
4520         (stack_t): Likewise.
4521         (SS_ONSTACK): Likewise.
4522         (SS_DISABLE): Likewise.
4523         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4524         Likewise.
4525         (stack_t): Likewise.
4526         (SS_ONSTACK): Likewise.
4527         (SS_DISABLE): Likewise.
4528         * sysdeps/arm/sys/ucontext.h: Include
4529         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4530         <bits/ss_flags.h>.
4531         * sysdeps/generic/sys/ucontext.h: Likewise.
4532         * sysdeps/i386/sys/ucontext.h: Likewise.
4533         * sysdeps/m68k/sys/ucontext.h: Likewise.
4534         * sysdeps/mips/sys/ucontext.h: Likewise.
4535         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4536         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4537         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4538         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4539         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4540         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4541         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4542         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4543         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4544         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4545         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4546         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4547         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4548         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4549         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4551 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4553         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4554         "edx + ecx - 16" to avoid possible addition overflow.
4555         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4557 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4559         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4560         (CFLAGS-splice.c): Likewise.
4561         (CFLAGS-open_by_handle_at.c): Likewise.
4562         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4563         (CFLAGS-splice.c): Likewise.
4564         (CFLAGS-open_by_handle_at.c): Likewise.
4566 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4568         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4569         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4570         <ldbl-compat-choose.h>.
4571         (maybe_long_double_symbol): New macro.
4572         [!declare_mgen_alias] (declare_mgen_alias): Use
4573         maybe_long_double_symbol.
4574         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4575         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4576         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4577         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4578         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4579         * Makerules [$(build-shared) = yes && !avoid-generated]
4580         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4581         [$(build-shared) = yes && !avoid-generated]
4582         ($(common-objpfx)ldbl-compat-choose.h): New target.
4584         * scripts/versions.awk: Generate first-versions.h.
4585         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4586         <first-versions.h>.
4587         (LDOUBLE_cabsl_libm_version): Remove macro.
4588         (LDOUBLE_cargl_libm_version): Likewise.
4589         (LDOUBLE_cimagl_libm_version): Likewise.
4590         (LDOUBLE_conjl_libm_version): Likewise.
4591         (LDOUBLE_creall_libm_version): Likewise.
4592         (LDOUBLE_cacosl_libm_version): Likewise.
4593         (LDOUBLE_cacoshl_libm_version): Likewise.
4594         (LDOUBLE_ccosl_libm_version): Likewise.
4595         (LDOUBLE_ccoshl_libm_version): Likewise.
4596         (LDOUBLE_casinl_libm_version): Likewise.
4597         (LDOUBLE_csinl_libm_version): Likewise.
4598         (LDOUBLE_casinhl_libm_version): Likewise.
4599         (LDOUBLE_csinhl_libm_version): Likewise.
4600         (LDOUBLE_catanl_libm_version): Likewise.
4601         (LDOUBLE_catanhl_libm_version): Likewise.
4602         (LDOUBLE_ctanl_libm_version): Likewise.
4603         (LDOUBLE_ctanhl_libm_version): Likewise.
4604         (LDOUBLE_cexpl_libm_version): Likewise.
4605         (LDOUBLE_clogl_libm_version): Likewise.
4606         (LDOUBLE_cprojl_libm_version): Likewise.
4607         (LDOUBLE_csqrtl_libm_version): Likewise.
4608         (LDOUBLE_cpowl_libm_version): Likewise.
4609         (LDOUBLE_clog10l_libm_version): Likewise.
4610         (LDOUBLE___clog10l_libm_version): Likewise.
4611         (LDOUBLE_fdiml_libm_version): Likewise.
4612         (LDOUBLE_fmaxl_libm_version): Likewise.
4613         (LDOUBLE_fminl_libm_version): Likewise.
4614         (LDOUBLE_ilogbl_libm_version): Likewise.
4615         (LDOUBLE_nanl_libm_version): Likewise.
4616         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4617         FIRST_VERSION_libm_* macros.
4618         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4619         * Makerules [$(build-shared) = yes && !avoid-generated]
4620         (before-compile): Add $(common-objpfx)first-versions.h.
4621         [$(build-shared) = yes && !avoid-generated]
4622         ($(common-objpfx)first-versions.h): New target.
4623         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4624         building $(common-objpfx)versions.stmp.
4626 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4628         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4629         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4630         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4631         auto-generation list.
4633         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4634         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4635         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4636         from auto-generation list.
4638         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4639         open_by_handle_at.
4640         (CFLAGS-open_by_handle_at.c): New flag.
4641         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4642         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4643         file.
4644         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4646         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4647         (CFLAGS-splice.c): New flag.
4648         * sysdeps/unix/sysv/linux/splice.c: New file.
4649         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4650         auto-generation syscall list.
4651         * misc/Makefile (CFLAGS-splice.c): New rule.
4653         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4654         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4655         auto-generation syscall list.
4656         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4657         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4659         * misc/Makefile (CFLAGS-fsync.c): New flag.
4660         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4661         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4662         syscall list.
4663         * sysdeps/unix/sysv/linux/fsync.c: New file.
4664         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4665         (__errno_location): Remove.
4667         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4668         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4669         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4670         list.
4671         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4673         * misc/Makefile (CFLAGS-msync.c): New rule.
4674         * nptl/Makefile (CFLAGS-msync.c): Likewise.
4675         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4676         * sysdeps/unix/sysv/linux/msync.c: New file.
4678         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4679         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4680         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4681         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4682         (CFLAGS-sigsuspend.c): Remove rule.
4684         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4685         (CFLAGS-tee.c): New rule.
4686         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4687         auto-generated list.
4688         * sysdeps/unix/sysv/linux/tee.c: New file.
4690         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4691         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4692         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4693         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4694         auto-generated list.
4696         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4697         auto-generated list.
4698         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4699         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4700         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4701         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4702         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4704         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4705         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4706         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4707         (__NR_pause): Undefine.
4708         * sysdeps/unix/sysv/linux/pause.c: New file.
4709         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4710         auto-generation list.
4711         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4712         Remove rule.
4713         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4715 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4717         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4718         comments.
4720 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4722         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4723         LD_HWCAP_MASK.
4725 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4727         * manual/conf.texi: Convert @tables of annotated @items to
4728         @vtables.
4729         * manual/lang.texi: Likewise.
4730         * manual/pattern.texi: Likewise.
4731         * manual/resource.texi: Likewise.
4732         * manual/socket.texi: Likewise.
4734 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4736         * manual/crypt.texi: Move a comment out of an @*x list.
4737         * manual/filesys.texi: Refactor some comments, one of which looks
4738         like a standard.  Fix incorrectly separated standards.
4739         * manual/locale.texi: Invert an annotation.
4740         * manual/resource.texi: Fix incorrectly separated standards.
4741         * manual/time.texi: Refactor a @vtable that obscures an
4742         annotation.
4743         * manual/users.texi: Refactor multiple headers to occupy a single
4744         @comment.
4746 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4748         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4749         (sysdep_routines): Add memcmp-power8.
4750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4751         (memcmp): Add __memcmp_power8 to list of memcmp functions.
4752         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4753         (memcmp): Add __memcmp_power8 to ifunc list.
4754         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4755         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4757 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4758             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4760         * math/math.h (__MATH_TG): Extend the conditions to add
4761         _Float128 support.
4762         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4764 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
4766         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4767         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4768         s_cosf-ppc64.
4769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4772         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4774 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4776         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4777         (gen-libm-calls): Add e_exp2F to use the template.
4778         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4779         * math/e_exp2_template.c: New file, renamed from
4780         math/e_exp2l.c, and made into a template.
4781         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4783 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4785         * elf/dl-tunable-types.h (tunable_type_code_t): New type
4786         TUNABLE_TYPE_UINT_64.
4787         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4788         Simplify computation of overflow.
4789         (tunable_set_val_if_valid_range_signed,
4790         tunable_set_val_if_valid_range_unsigned): Remove and replace
4791         with this...
4792         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4793         (tunable_initialize): Adjust.  Add uint64_t support.
4794         (__tunable_set_val): Add uint64_t support.
4795         * README.tunables: Document it.
4797         * scripts/gen-tunables.awk: Recognize 'default' keyword in
4798         dl-tunables.list.
4799         * README.tunables: Document it.
4801 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4803         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4804         * sysdeps/posix/preadv64.c: Likewise.
4805         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4806         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4807         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4808         * sysdeps/posix/pwritev64.c: Likewise.
4809         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4810         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4811         * sysdeps/posix/preadv_common.c: New file.
4812         * sysdeps/posix/pwritev_common.c: Likewise.
4814 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4816         * sysdeps/generic/math-type-macros-float128.h
4817         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4818         wrapper templates.
4820 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4821             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4823         * include/complex.h (__kernel_casinhf128): New declaration.
4824         * include/float.h: New file.
4825         * include/math.h (__finitef128): Add a hidden def.
4826         (__isinff128): Likewise.
4827         (__isnanf128): Likewise.
4828         (__fpclassify): Likewise.
4829         (__issignalling): Likewise.
4830         (__expf128): Likewise.
4831         (__expm1f128): Likewise.
4833         * sysdeps/generic/fix-fp-int-convert-overflow.h:
4834         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4835         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4837         * sysdeps/generic/math-type-macros-float128.h: New file.
4839         * sysdeps/generic/math_private.h: Include bits/floatn.h and
4840         math_private_calls.h for _Float128.
4841         (__isinff128): New inline implementation used when GCC < 7.0,
4842         since in this case __builtin_isinf_sign is broken.
4843         (fabsf128): New inline implementation that calls the builtin.
4844         (__EXPR_FLT128): New macro.
4845         (min_of_type): Optionally include _Float128 types too.
4847         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4848         Declare for _Float128.
4849         (__kernel_rem_pio2): Likewise.
4851         * sysdeps/ieee754/ldbl-opt/s_sin.c:
4852         (__DECL_SIMD_sincos_disablef128): New macro.
4854 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4856         * math/math.h: Include bits/math-finite.h for float128.
4857         (__MATH_DECLARING_FLOATN): Define to control declaration of
4858         float128 functions.
4859         * math/bits/math-finite.h (pow10): Do not declare for float128.
4860         (gamma): Likewise.
4861         (scalb): Likewise.
4863 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4864             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4866         * bits/floatn.h: New file.
4867         * bits/huge_val_flt128.h: Likewise.
4869         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4870         (__DECL_SIMD_sinf128): Likewise.
4871         (__DECL_SIMD_sincosf128): Likewise.
4872         (__DECL_SIMD_logf128): Likewise.
4873         (__DECL_SIMD_expf128): Likewise.
4874         (__DECL_SIMD_powf128): Likewise.
4876         * math/Makefile (headers): Install bits/floatn.h and
4877         bits/huge_val_flt128.h.
4879         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4880         defined.
4882         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4883         (isnan, gamma, nexttoward, scalb): Only define if not
4884         __MATH_DECLARING_FLOATN.
4885         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4886         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4887         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4888         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4890         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4891         Include bits/cmathcalls.h to get the declarations of _Float128
4892         versions of complex functions.
4893         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4894         Define macro.
4896         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4897         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4898         get the declarations of _Float128 versions of math functions.
4899         (__MATH_DECLARING_FLOATN): New macro to control declaration of
4900         _FloatN types.
4901         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4902         is type-generic, so use it without __MATH_TG.
4903         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4904         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
4905         _Float128 type and GCC < 7.0, otherwise use the builtin.
4906         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4907         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4908         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4909         New _GNU_SOURCE enabled macros.
4911 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
4913         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4914         (signbitf): Likewise.
4915         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4916         Likewise.
4917         (signbitl): Likewise.
4918         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4919         Likewise.
4920         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4921         (signbitl): Likewise.
4922         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4924 2017-05-12  Florian Weimer  <fweimer@redhat.com>
4926         [BZ #21386]
4927         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4928         parent PID.  The assertion in the child is incorrect with PID
4929         namespaces.
4931 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
4933         * sysdeps/unix/sysv/linux/kernel-features.h
4934         (__ASSUME_STATFS_F_FLAGS): Remove macro.
4935         * sysdeps/unix/sysv/linux/internal_statvfs.c
4936         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4938 2017-05-11  Zack Weinberg  <zackw@panix.com>
4940         * Makerules: New subdir configuration variables 'tests-internal'
4941         and 'test-internal-extras'.  Test files in these categories will
4942         still be compiled with MODULE_NAME=nonlib.  Test files in the
4943         existing categories (tests, xtests, test-srcs, test-extras) are
4944         now compiled with MODULE_NAME=testsuite.
4945         New subdir configuration variable 'modules-names-tests'.  Files
4946         which are in both 'modules-names' and 'modules-names-tests' will
4947         be compiled with MODULE_NAME=testsuite instead of
4948         MODULE_NAME=extramodules.
4949         (gen-as-const-headers): Move to tests-internal.
4950         (do-tests-clean, common-mostlyclean): Support tests-internal.
4951         * Makeconfig (built-modules): Add testsuite.
4952         * Makefile: Change libof-check-installed-headers-c and
4953         libof-check-installed-headers-cxx to 'testsuite'.
4954         * Rules: Likewise.  Support tests-internal.
4955         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4956         Remove extra-modules.mk.
4958         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4959         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4960         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4961         very top of the file and rationalize their order.
4962         If MODULE_NAME is not defined at all, define IS_IN to always be
4963         false, and don't define _ISOMAC.
4964         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4965         true, define _ISOMAC and suppress everything else in this file,
4966         starting with the inclusion of config.h.
4967         Do check for inappropriate definitions of __OPTIMIZE__ and
4968         __FAST_MATH__ here, but only if _ISOMAC is not defined.
4969         Correct some out-of-date commentary.
4971         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4972         and _Mlong_double_ before including math.h.
4973         * include/string.h: If _ISOMAC is defined, don't expose
4974         _STRING_ARCH_unaligned. Move a comment to a more appropriate
4975         location.
4977         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4978         * include/time.h, include/unistd.h, include/wchar.h: No need to
4979         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4981         * misc/sys/cdefs.h (__NTHNL): New macro.
4982         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4983         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4985         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4986         defined, for HAVE_TUNABLES.
4987         * inet/tst-checks-posix.c: No need to define _ISOMAC.
4988         * intl/tst-gettext2.c: Provide own definition of N_.
4989         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4990         * math/test-signgam-main.c: No need to define _ISOMAC.
4991         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4992         * stdlib/tst-strtod1i.c: ...this new file.
4993         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4994         Split tests of __strtod_internal to...
4995         * stdlib/tst-strtod5i.c: ...this new file.
4996         * string/test-string.h: Include stdint.h. Duplicate definition of
4997         inhibit_loop_to_libcall here (from libc-symbols.h).
4998         * string/test-strstr.c: Provide dummy definition of
4999         libc_hidden_builtin_def when including strstr.c.
5000         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5001         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5002         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5003         Don't include init-arch.h.
5004         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5005         Don't include init-arch.h.
5007         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5008         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5009         unload, unload2, circleload1, neededtest, neededtest2,
5010         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5011         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5012         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5013         ifunc tests to tests-internal.
5014         Don't add $(modules-names) to test-extras.
5015         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5016         Add tst-deadline to tests-static-internal.
5017         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5018         tests-internal.
5019         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5020         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5021         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5022         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5023         tst-sem12-static, and tst-stackguard1-static to tests-internal.
5024         Link tests-internal with libpthread also.
5025         Don't add $(modules-names) to test-extras.
5026         * nss/Makefile: Move tst-field to tests-internal.
5027         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5028         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5029         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5030         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5031         tests-internal.
5032         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5033         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5034         test-get_hwcap-static to tests-internal.
5035         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5036         tests-internal.
5037         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5038         modules-names-tests.
5040 2017-05-11  Zack Weinberg  <zackw@panix.com>
5042         * libio/libio.h: Condition dummy definition of _IO_lock_t on
5043         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5044         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5045         _IO_funlockfile, and _IO_ftrylockfile.  Only define
5046         _IO_cleanup_region_start and _IO_cleanup_region_end if not
5047         already defined.
5048         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5049         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5050         appropriately.
5051         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5052         Define _IO_lock_t_defined after defining _IO_lock_t.
5054 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5056         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5057         void* for argument type and use VDSO_SYMBOL macro.
5058         (is_sigtramp_address_rt): Likewise.
5059         (__backtrace): Setup expected frame pointer address for signal
5060         handling.
5061         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5062         void* for argumetn type and use VSDO_SYMBOL macro.
5063         (__backtrace): Setup expected frame pointer address for signal
5064         handling.
5066         * sysdeps/unix/sysv/linux/writev.c: New file.
5068         * sysdeps/unix/sysv/linux/readv.c: New file.
5070         * include/unistd.h (write): Add hidden proto.
5071         * io/Makefile (CFLAGS-write.c): New define.
5072         * nptl/Makefile (CFLAGS-write.c): Likewise.
5073         * sysdeps/unix/sysv/linux/write.c: New file.
5075         [BZ #21428]
5076         * include/unistd.h (read): Add hidden proto.
5077         * io/Makefile (CFLAGS-read.c): New define.
5078         * nptl/Makefile (CFLAGS-read.c): Likewise.
5079         * sysdeps/unix/sysv/linux/read.c: New file.
5081         * io/Makefile (CFLAGS-creat.c): New rule.
5082         (CFLAGS-creat64.c): Likewise.
5083         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5084         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5085         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5086         * sysdeps/unix/sysv/linux/creat.c: New file.
5087         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5088         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5089         auto-generated list.
5090         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5092         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5093         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5094         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5095         * sysdeps/unix/sysv/linux/open.c: New file.
5096         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5097         iff __WORDSIZE != 64 and use __NR_openat when available.
5098         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5099         from auto-generated list.
5101         * nptl/Makefile (CFLAGS-close.c): New flag.
5102         * sysdeps/unix/sysv/linux/close.c: New file.
5104 2017-05-11  DJ Delorie  <dj@redhat.com>
5106         * MAINTAINERS: New.  Points to wiki.
5108 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5110         * scripts/gen-tunables.awk: Add attribute_relro to
5111         tunable_list.
5113 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
5115         [BZ #21457]
5116         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5117         (R1): Likewise.
5118         (R2): Likewise.
5119         (R3): Likewise.
5120         (R4): Likewise.
5121         (R5): Likewise.
5122         (R6): Likewise.
5123         (R7): Likewise.
5124         (R8): Likewise.
5125         (R9): Likewise.
5126         (R10): Likewise.
5127         (R11): Likewise.
5128         (R12): Likewise.
5129         (R13): Likewise.
5130         (R14): Likewise.
5131         (R15): Likewise.
5132         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5133         (REG_FS): Likewise.
5134         (REG_ES): Likewise.
5135         (REG_DS): Likewise.
5136         (REG_EDI): Likewise.
5137         (REG_ESI): Likewise.
5138         (REG_EBP): Likewise.
5139         (REG_ESP): Likewise.
5140         (REG_EBX): Likewise.
5141         (REG_EDX): Likewise.
5142         (REG_ECX): Likewise.
5143         (REG_EAX): Likewise.
5144         (REG_TRAPNO): Likewise.
5145         (REG_ERR): Likewise.
5146         (REG_EIP): Likewise.
5147         (REG_CS): Likewise.
5148         (REG_EFL): Likewise.
5149         (REG_UESP): Likewise.
5150         (REG_SS): Likewise.
5151         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5152         (R_D1): Likewise.
5153         (R_D2): Likewise.
5154         (R_D3): Likewise.
5155         (R_D4): Likewise.
5156         (R_D5): Likewise.
5157         (R_D6): Likewise.
5158         (R_D7): Likewise.
5159         (R_A0): Likewise.
5160         (R_A1): Likewise.
5161         (R_A2): Likewise.
5162         (R_A3): Likewise.
5163         (R_A4): Likewise.
5164         (R_A5): Likewise.
5165         (R_A6): Likewise.
5166         (R_A7): Likewise.
5167         (R_SP): Likewise.
5168         (R_PC): Likewise.
5169         (R_PS): Likewise.
5170         (fpregset_t): Likewise.
5171         (MCONTEXT_VERSION): Likewise.
5172         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5173         (CTX_AT): Likewise.
5174         (CTX_V0): Likewise.
5175         (CTX_V1): Likewise.
5176         (CTX_A0): Likewise.
5177         (CTX_A1): Likewise.
5178         (CTX_A2): Likewise.
5179         (CTX_A3): Likewise.
5180         (CTX_T0): Likewise.
5181         (CTX_T1): Likewise.
5182         (CTX_T2): Likewise.
5183         (CTX_T3): Likewise.
5184         (CTX_T4): Likewise.
5185         (CTX_T5): Likewise.
5186         (CTX_T6): Likewise.
5187         (CTX_T7): Likewise.
5188         (CTX_S0): Likewise.
5189         (CTX_S1): Likewise.
5190         (CTX_S2): Likewise.
5191         (CTX_S3): Likewise.
5192         (CTX_S4): Likewise.
5193         (CTX_S5): Likewise.
5194         (CTX_S6): Likewise.
5195         (CTX_S7): Likewise.
5196         (CTX_T8): Likewise.
5197         (CTX_T9): Likewise.
5198         (CTX_K0): Likewise.
5199         (CTX_K1): Likewise.
5200         (CTX_GP): Likewise.
5201         (CTX_SP): Likewise.
5202         (CTX_S8): Likewise.
5203         (CTX_RA): Likewise.
5204         (CTX_MDLO): Likewise.
5205         (CTX_MDHI): Likewise.
5206         (CTX_CAUSE): Likewise.
5207         (CTX_EPC): Likewise.
5208         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5209         inclusion of <sys/procfs.h> on [__USE_MISC].
5210         (greg_t): Condition on [__USE_MISC].
5211         (gregset_t): Likewise.
5212         (fpregset_t): Likewise.
5213         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5214         (NGREG): Likewise.
5215         (gregset_t): Likewise.
5216         (REG_R0): Likewise.
5217         (REG_R1): Likewise.
5218         (REG_R2): Likewise.
5219         (REG_R3): Likewise.
5220         (REG_R4): Likewise.
5221         (REG_R5): Likewise.
5222         (REG_R6): Likewise.
5223         (REG_R7): Likewise.
5224         (REG_R8): Likewise.
5225         (REG_R9): Likewise.
5226         (REG_R10): Likewise.
5227         (REG_R11): Likewise.
5228         (REG_R12): Likewise.
5229         (REG_R13): Likewise.
5230         (REG_R14): Likewise.
5231         (REG_R15): Likewise.
5232         (struct _libc_fpstate): Likewise.
5233         (fpregset_t): Likewise.
5234         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5235         (NFPREG): Likewise.
5236         (gregset_t): Likewise.
5237         (fpregset_t): Likewise.
5238         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5239         (R_D1): Likewise.
5240         (R_D2): Likewise.
5241         (R_D3): Likewise.
5242         (R_D4): Likewise.
5243         (R_D5): Likewise.
5244         (R_D6): Likewise.
5245         (R_D7): Likewise.
5246         (R_A0): Likewise.
5247         (R_A1): Likewise.
5248         (R_A2): Likewise.
5249         (R_A3): Likewise.
5250         (R_A4): Likewise.
5251         (R_A5): Likewise.
5252         (R_A6): Likewise.
5253         (R_A7): Likewise.
5254         (R_SP): Likewise.
5255         (R_PC): Likewise.
5256         (R_PS): Likewise.
5257         (fpregset_t): Likewise.
5258         (MCONTEXT_VERSION): Likewise.
5259         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5260         Likewise.
5261         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5262         (REG_R1): Likewise.
5263         (REG_R2): Likewise.
5264         (REG_R3): Likewise.
5265         (REG_R4): Likewise.
5266         (REG_R5): Likewise.
5267         (REG_R6): Likewise.
5268         (REG_R7): Likewise.
5269         (REG_R8): Likewise.
5270         (REG_R9): Likewise.
5271         (REG_R10): Likewise.
5272         (REG_R11): Likewise.
5273         (REG_R12): Likewise.
5274         (REG_R13): Likewise.
5275         (REG_R14): Likewise.
5276         (REG_R15): Likewise.
5277         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5278         of <arch/abi.h> on [__USE_MISC].
5279         (greg_t): Condition on [__USE_MISC].
5280         (NGREG): Likewise.
5281         (gregset_t): Likewise.
5283 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5285         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5286         (__pthread_rwlock_arch_t): Remove __data definition.
5287         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5288         (__pthread_rwlock_arch_t): Likewise.
5290 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5292         * resolv/inet_pton.c: Reformat in GNU style.  Remove
5293         internal_function on static functions.
5295 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5297         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5298         from format_ai_flags.
5299         (format_ai_flags): New function.  Incorporate flag formatting code
5300         from format_ai_one.
5301         (format_ai_canonname): New function.
5302         (format_ai_one): Remove flags parameter.
5303         (format_ai_family): Likewise.
5304         (support_format_addrinfo): Call format_ai_flags,
5305         format_ai_canonname.
5306         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5307         check_ai.
5308         (check_ai): Call check_ai_hints.
5309         (do_test): Add AI_CANONNAME tests.
5311 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5313         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5314         (gaih_inet): Likewise.
5316 2017-05-10  Andreas Schwab  <schwab@suse.de>
5318         * nptl/tst-fork1.c: Include <support/test-driver.c>.
5319         (main): Rename to do_test and make static.
5321 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
5323         * string/rawmemchr.c: Include <libc-diag.h>.
5324         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5325         with size (size_t)-1.
5327 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5329         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5330         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5331         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5333         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5334         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5335         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5336         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5337         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5338         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5339         * sysdeps/unix/sysv/linux/kernel-features.h
5340         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5341         socket syscalls.
5342         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5343         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5344         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5345         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5346         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5347         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5348         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5349         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5350         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5351         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5352         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5353         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5354         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5355         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5356         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5358 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5360         * posix/Makefile (headers): Add pthreadtypes-arch.h and
5361         thread-shared-types.h.
5362         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5363         specific thread definition.
5364         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5365         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5366         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5367         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5368         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5369         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5370         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5371         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5372         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5373         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5374         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5375         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5376         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5377         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5378         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5379         thread definition between POSIX and C11.
5380         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5381         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5382         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5383         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5384         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5385         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5386         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5387         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5388         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5389         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5390         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5391         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5392         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5393         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5394         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5395         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5396         definitions shared across all architectures.
5398 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5400         * sysdeps/unix/sysv/linux/kernel-features.h
5401         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5402         (__ASSUME_SENDMMSG): Likewise.
5403         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5404         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5405         sendmmsg syscall if that can be assumed to be present, socketcall
5406         otherwise, with no fallback for runtime failure.
5408         * sysdeps/unix/sysv/linux/kernel-features.h
5409         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5410         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5411         (__ASSUME_RECVMMSG): Likewise.
5412         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5413         recvmmsg syscall if it can be assumed to be present, socketcall
5414         otherwise, with no fallback for runtime failure.
5416 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5417             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5419         * bits/libc-header-start.h:
5420         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5421         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5422         * manual/creature.texi: Likewise.
5424 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5425             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5427         * math/Makefile:
5428         (type-float128-suffix): New variable
5429         (type-float128-routines): Likewise
5430         (type-float128-yes): Likewise
5431         (types): Append float128 if supported
5432         (types-basic): New variable to control the use of templates for
5433         float, double, and long double, but not for float128 or newer types.
5434         (type-basic-foreach): Likewise.
5436         * sysdeps/ieee754/float128/Makeconfig: New file.
5437         * sysdeps/ieee754/float128/Versions: New file.
5439 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5441         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5442         Remove macro.
5443         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5444         prlimit64 is always available and does not give an ENOSYS error.
5445         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5446         unconditional.
5447         [!__NR_prlimit64]: Remove conditional code.
5448         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5449         prlimit64 is always available and does not give an ENOSYS error.
5450         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5452 2017-05-09  Zack Weinberg  <zackw@panix.com>
5454         * sunrpc/tst-xdrmem2.c: Include stdint.h.
5456 2017-05-09  Florian Weimer  <fweimer@redhat.com>
5458         [BZ #21474]
5459         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5460         (__res_maybe_init): Likewise.
5462 2017-05-09  Zack Weinberg  <zackw@panix.com>
5464         * extra-modules.mk: Delete file.
5465         * cppflags-iterator.mk: Rename to ...
5466         * libof-iterator.mk: ...this.  Adjust comments.
5468         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5469         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5470         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5471         Use libof-iterator.mk instead of cppflags-iterator.mk or
5472         extra-modules.mk.
5474         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5475         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5477 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5479         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5481 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
5483         * stdio-common/vfprintf.c (EXTSIZ): Define.
5484         (vfprintf): Use EXTSIZ.
5485         (printf_positional): Likewise.
5487 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5489         * sysdeps/unix/sysv/linux/kernel-features.h
5490         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5491         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5492         <kernel-features.h>.
5493         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5495         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5496         (__ASSUME_GETCPU_SYSCALL): Remove macro.
5498 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5500         Prevent multiple deletion of temporary files.
5501         * support/temp_file.c (struct temp_name_list): Add owner member.
5502         (add_temp_file): Record owner.
5503         (support_delete_temp_files): Delete file only if owner matches.
5504         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5505         (do_prepare): Use create_temp_file instead of add_temp_file.
5506         Initialize temp_fd1, temp_fd2.
5507         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
5508         framework remove the temporary files.
5509         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5510         (do_prepare): Use create_temp_file instead of add_temp_file.
5511         Initialize temp_fd1, temp_fd2, temp_fd3.
5512         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
5513         the test framework remove the temporary files.
5514         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5515         deletion.
5516         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5517         temporary directory.  It is removed by the test framework.
5518         * dirent/tst-scandir.c (do_test): Likewise.
5520 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5522         Delete temporary files in LIFO order.
5523         * support/temp_file.c (struct temp_name_list): Replace q member
5524         with next.
5525         (add_temp_file): Add new file to front of linked list.
5526         (support_delete_temp_files): Use next member.
5527         (support_print_temp_files): Likewise.
5529 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5531         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5532         sys/ultrasound.h.
5533         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5535 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5537         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5538         Remove.
5539         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5540         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5541         (arch_minimum_kernel): Remove.
5542         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5543         * README: Update statement about Linux kernel requirements.
5545 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5547         * manual/llio.texi: Add preadv and pwritev documentation.
5549 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5551         [BZ #21455]
5552         * bits/stdint-intn.h: New file.
5553         * bits/stdint-uintn.h: Likewise.
5554         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5555         bits/stdint-uintn.h.
5556         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5557         <stdint.h>.
5558         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5559         (__int8_t_defined): Do not define here.
5560         (int8_t): Likewise.
5561         (int16_t): Likewise.
5562         (int32_t): Likewise.
5563         (int64_t): Likewise.
5564         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5565         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5566         <stdint.h>.
5567         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5568         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5569         <bits/stdint-uintn.h>.
5570         (int8_t): Do not define here.
5571         (int16_t): Likewise.
5572         (int32_t): Likewise.
5573         (int64_t): Likewise.
5574         (uint8_t): Likewise.
5575         (uint16_t): Likewise.
5576         (uint32_t): Likewise.
5577         (uint64_t): Likewise.
5578         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5579         variable.
5580         (test-xfail-XPG42/netdb.h/conform): Likewise.
5581         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5582         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5583         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5584         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5586 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5588         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5589         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5590         the above.
5591         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5592         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5594 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5596         [BZ #21445]
5597         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5599         [BZ #21457]
5600         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5601         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5602         __glibc_reserved1.
5603         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5604         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5605         (struct _fpxreg): Likewise.
5606         [!__x86_64__] (struct _fpstate): Rename field reserved to
5607         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5608         [__x86_64__] (struct _fpstate): Rename field padding to
5609         __glibc_reserved1.
5610         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5611         Rename field reserved2 to __glibc_reserved2.
5612         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5613         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5614         __glibc_reserved1.
5615         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5616         __glibc_reserved1.
5618 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5620         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5621         variable name.
5623 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
5625         [BZ #21391]
5626         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5627         Only call init_cpu_features.
5628         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5629         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5630         * sysdeps/i386/dl-procinfo.h: Removed.
5631         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5632         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
5633         <sysdeps/x86/dl-procinfo.h>.
5634         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5635         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5636         Include <sysdeps/x86/dl-procinfo.h> instead of
5637          <sysdeps/generic/dl-procinfo.h>.
5638         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5639         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5640         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5641         (bit_cpu_MOVBE): Likewise.
5642         (bit_cpu_BMI1): Likewise.
5643         (bit_cpu_BMI2): Likewise.
5644         (index_cpu_BMI1): Likewise.
5645         (index_cpu_BMI2): Likewise.
5646         (index_cpu_LZCNT): Likewise.
5647         (index_cpu_MOVBE): Likewise.
5648         (index_cpu_POPCNT): Likewise.
5649         (reg_BMI1): Likewise.
5650         (reg_BMI2): Likewise.
5651         (reg_LZCNT): Likewise.
5652         (reg_MOVBE): Likewise.
5653         (reg_POPCNT): Likewise.
5654         * sysdeps/x86/dl-hwcap.h: New file.
5655         * sysdeps/x86/dl-procinfo.h: Likewise.
5656         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5657         (_dl_x86_platforms): Likewise.
5659 2017-05-03  DJ Delorie  <dj@redhat.com>
5661         [BZ #21411]
5662         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5664 2017-05-03  Phil Blundell  <pb@pbcl.net>
5666         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5667         comments.
5669 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
5671         [BZ #20116]
5672         * nptl/pthread_create.c: Expand comments to describe
5673         semaphore-like and mutex-like uses of PD->lock.
5675 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5677         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5678         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5679         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5680         auto-generation list.
5681         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5682         epoll_wait.
5683         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5684         Remove epoll_wait.
5686         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5687         osf_select.
5688         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5689         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5690         osf_select from auto-generation list.
5691         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5692         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5693         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5694         * sysdeps/unix/sysv/linux/select.c: New file.
5696         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5697         * sysdeps/unix/sysv/linux/poll.c: New file.
5698         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5699         auto-generation list.
5701 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
5703         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5704         New macro.
5706 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5708         [BZ #21179]
5709         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5710         R_SPARC_REGISTER relocations.
5712 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5714         * include/unistd.h (__pread): Add libc_hidden_proto.
5715         (__pread64): Likewise.
5716         (__pwrite): Likewise.
5717         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5718         (__pread64): Remove.
5719         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5720         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5721         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5723 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5727 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5729         * nptl/tst-cancel4-common.c: Use libsupport.
5730         * nptl/tst-cancel4-common.h: Likewise.
5731         * nptl/tst-cancel4.c (tf_read): Likewise.
5732         (tf_readv): Likewise.
5733         (tf_write): Likewise.
5734         (tf_writev): Likewise.
5735         (tf_sleep): Likewise.
5736         (tf_usleep): Likewise.
5737         (tf_nanosleep): Likewise.
5738         (tf_select): Likewise.
5739         (tf_pselect): Likewise.
5740         (tf_poll): Likewise.
5741         (tf_ppoll): Likewise.
5742         (tf_wait): Likewise.
5743         (tf_waitpid): Likewise.
5744         (tf_waitid): Likewise.
5745         (tf_sigpause): Likewise.
5746         (tf_sigsuspend): Likewise.
5747         (tf_sigwait): Likewise.
5748         (tf_sigwaitinfo): Likewise.
5749         (tf_sigtimedwait): Likewise.
5750         (tf_pause): Likewise.
5751         (tf_accept): Likewise.
5752         (tf_send): Likewise.
5753         (tf_recv): Likewise.
5754         (tf_recvfrom): Likewise.
5755         (tf_recvmsg): Likewise.
5756         (tf_open): Likewise.
5757         (tf_close): Likewise.
5758         (tf_pread): Likewise.
5759         (tf_pwrite): Likewise.
5760         (tf_preadv): Likewise.
5761         (tf_pwritev): Likewise.
5762         (tf_fsync): Likewise.
5763         (tf_fdatasync): Likewise.
5764         (tf_msync): Likewise.
5765         (tf_sendto): Likewise.
5766         (tf_sendmsg): Likewise.
5767         (tf_creat): Likewise.
5768         (tf_connect): Likewise.
5769         (tf_tcdrain): Likewise.
5770         (tf_msgrcv): Likewise.
5771         (tf_msgsnd): Likewise.
5772         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5773         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5775         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5776         expected arguments.
5777         (do_test): Adapt to use libsupport.
5779 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
5781         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5783         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5784         (PF_MAX): Set to 44.
5785         (AF_SMC): New macro.
5787         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5788         kernel version to 4.11.
5790 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5792         [BZ #21280]
5793         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5794         signal of subnormals and adjust the exponent of power of 2 down
5795         when low part has opposite sign.
5797 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5799         * sysdeps/powerpc/powerpc64le/Implies: New file.
5800         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5801         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5802         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5803         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5804         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5805         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5806         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5807         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5808         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5809         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5810         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5811         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5812         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5813         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5814         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5815         * sysdeps/powerpc/preconfigure: New file.
5816         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5817         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5819 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
5821         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5822         inclusion.
5823         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5824         Remove.
5826 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
5828         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5829         (XPG3): Rename standard to XPG4.
5830         * conform/Makefile: Likewise.
5831         * conform/list-header-symbols.pl: Likewise.
5832         * conform/data/aio.h-data: Likewise.
5833         * conform/data/arpa/inet.h-data: Likewise.
5834         * conform/data/complex.h-data: Likewise.
5835         * conform/data/ctype.h-data: Likewise.
5836         * conform/data/dlfcn.h-data: Likewise.
5837         * conform/data/fcntl.h-data: Likewise.
5838         * conform/data/fenv.h-data: Likewise.
5839         * conform/data/float.h-data: Likewise.
5840         * conform/data/fmtmsg.h-data: Likewise.
5841         * conform/data/ftw.h-data: Likewise.
5842         * conform/data/grp.h-data: Likewise.
5843         * conform/data/inttypes.h-data: Likewise.
5844         * conform/data/iso646.h-data: Likewise.
5845         * conform/data/langinfo.h-data: Likewise.
5846         * conform/data/libgen.h-data: Likewise.
5847         * conform/data/limits.h-data: Likewise.
5848         * conform/data/locale.h-data: Likewise.
5849         * conform/data/math.h-data: Likewise.
5850         * conform/data/mqueue.h-data: Likewise.
5851         * conform/data/ndbm.h-data: Likewise.
5852         * conform/data/net/if.h-data: Likewise.
5853         * conform/data/netdb.h-data: Likewise.
5854         * conform/data/netinet/in.h-data: Likewise.
5855         * conform/data/poll.h-data: Likewise.
5856         * conform/data/pthread.h-data: Likewise.
5857         * conform/data/pwd.h-data: Likewise.
5858         * conform/data/sched.h-data: Likewise.
5859         * conform/data/search.h-data: Likewise.
5860         * conform/data/semaphore.h-data: Likewise.
5861         * conform/data/signal.h-data: Likewise.
5862         * conform/data/spawn.h-data: Likewise.
5863         * conform/data/stdbool.h-data: Likewise.
5864         * conform/data/stdint.h-data: Likewise.
5865         * conform/data/stdio.h-data: Likewise.
5866         * conform/data/stdlib.h-data: Likewise.
5867         * conform/data/string.h-data: Likewise.
5868         * conform/data/strings.h-data: Likewise.
5869         * conform/data/stropts.h-data: Likewise.
5870         * conform/data/sys/mman.h-data: Likewise.
5871         * conform/data/sys/resource.h-data: Likewise.
5872         * conform/data/sys/select.h-data: Likewise.
5873         * conform/data/sys/socket.h-data: Likewise.
5874         * conform/data/sys/stat.h-data: Likewise.
5875         * conform/data/sys/statvfs.h-data: Likewise.
5876         * conform/data/sys/time.h-data: Likewise.
5877         * conform/data/sys/timeb.h-data: Likewise.
5878         * conform/data/sys/types.h-data: Likewise.
5879         * conform/data/sys/uio.h-data: Likewise.
5880         * conform/data/sys/un.h-data: Likewise.
5881         * conform/data/sys/wait.h-data: Likewise.
5882         * conform/data/syslog.h-data: Likewise.
5883         * conform/data/termios.h-data: Likewise.
5884         * conform/data/tgmath.h-data: Likewise.
5885         * conform/data/time.h-data: Likewise.
5886         * conform/data/ucontext.h-data: Likewise.
5887         * conform/data/unistd.h-data: Likewise.
5888         * conform/data/utmpx.h-data: Likewise.
5889         * conform/data/varargs.h-data: Likewise.
5890         * conform/data/wchar.h-data: Likewise.
5891         * conform/data/wctype.h-data: Likewise.
5893 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
5895         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5896         version to 7 branch.
5898 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
5900         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5901         earlyclobber to output operand of sqrt insn.
5902         (__ieee754_sqrtf): Ditto.
5904 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
5906         [BZ #21426]
5907         * misc/bits/types/struct_iovec.h: New file.
5908         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5909         * include/bits/types/struct_iovec.h: New file.
5910         * bits/uio.h (struct iovec): Replace by inclusion of
5911         <bits/types/struct_iovec.h>.
5912         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5913         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5914         of <sys/uio.h>.
5915         * nptl/tst-cancel4.c: Include <sys/uio.h>
5916         * posix/test-errno.c: Likewise.
5917         * support/resolv_test.c: Likewise.
5918         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5919         Remove.
5920         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5921         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5922         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5924         * conform/data/sys/socket.h-data (*_t): Allow.
5926 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5928         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5929         assignment.
5931 2017-04-24  Daurnimator  <quae@daurnimator.com>
5932             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5934         [BZ #21340]
5935         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5936         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5937         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5938         valid flags.
5939         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5940         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5941         POSIX_SPAWN_SETSID.
5942         * sysdeps/posix/spawni.c (__spawni): Likewise.
5943         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5944         * NEWS: Add note about POSIX_SPAWN_SETSID support.
5946 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5948         * sysdeps/generic/math_private.h: Move the declaration of many
5949         functions to sysdeps/generic/math_private_calls.h.
5950         * sysdeps/generic/math_private_calls.h: New file with the
5951         declarations of the functions removed from math_private.h
5952         macroized by floating-point type.
5954 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5956         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5957         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5958         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5959         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5960         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5961         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5963 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5965         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5966         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5967         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5968         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5969         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5970         New Define.
5972 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5974         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5975         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5976         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5977         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5978         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5979         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5981 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5983         * sysdeps/s390/multiarch/ifunc-resolve.h
5984         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5985         * sysdeps/s390/multiarch/8bit-generic.c
5986         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5987         define ifunc resolvers.
5989 2017-04-21  Florian Weimer  <fweimer@redhat.com>
5991         [BZ #20424]
5992         * manual/memory.texi (Replacing malloc): New section.
5993         (Allocating Storage For Program Data): Reference it.
5994         (The GNU Allocator): Likewise.
5996 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
5998         * stdlib/Versions (__strtod_internal): List explicitly, not as
5999         wildcard.
6000         (__strtof_internal): Likewise.
6001         (__strtold_internal): Likewise.
6002         (__strtol_internal): Likewise.
6003         (__strtoll_internal): Likewise.
6004         (__strtoul_internal): Likewise.
6005         (__strtoull_internal): Likewise.
6006         (__strtoq_internal): Likewise.
6007         (__strtouq_internal): Likewise.
6008         * wcsmbs/Versions (__wcstod_internal): Likewise.
6009         (__wcstof_internal): Likewise.
6010         (__wcstold_internal): Likewise.
6011         (__wcstol_internal): Likewise.
6012         (__wcstoll_internal): Likewise.
6013         (__wcstoul_internal): Likewise.
6014         (__wcstoull_internal): Likewise.
6016 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6018         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6019         struct timespec definition.
6021 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6023         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6025 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6027         * inet/rcmd.c (rresvport_af): Fix typo in comment.
6028         * inet/rexec.c (rexec_af): Likewise.
6030 2017-04-19  Zack Weinberg  <zackw@panix.com>
6032         * posix/tst-mmap-offset.c: Include stdint.h.
6033         * resolv/tst-ns_name_compress.c: Include string.h.
6034         * resolv/tst-resolv-edns.c: Include resolv.h.
6036 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6038         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6039         with __glibc_likely.
6040         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6041         Replace __builtin_expect with __glibc_unlikely.
6042         * resolv/res_init.c (__res_vinit): Likewise.
6043         * resolv/res_query.c (__libc_res_nquery): Likewise.
6044         * resolv/res_send.c (__libc_res_nsend): Likewise.
6046 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6048         [BZ #15722]
6049         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6050         with SOCK_CLOEXEC.
6051         * resolv/res_send.c (send_vc, reopen): Likewise.
6052         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6053         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6054         Likewise.
6055         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6056         * inet/rexec.c (rexec_af): Add comment.
6057         * inet/rcmd.c (rresvport_af): Likewise.
6059 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6061         * nscd/connections.c (have_accept4): Removed definition.
6062         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6063         accept4 works.
6064         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6065         ia64 because that was the first version with accept4 support.
6066         * support/Makefile (libsupport-routines): Add xaccept4.
6067         * support/xsocket.h (xaccept4): Declare.
6068         * support/xaccept4.c: New file.
6069         * socket/tst-accept4.c: New file.
6070         * socket/Makefile (tests): Add tst-accept4.
6071         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6072         definition.
6073         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6074         comment.
6075         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6076         implementation is available.
6077         (accept4): Use the system call if available, otherwise use the
6078         socket call.
6079         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6080         Set to 3.2.18.
6081         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6082         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6083         accept4 is unconditionally available in later 3.2 stable kernels.
6084         (__ASSUME_ACCEPT4_SYSCALL): Define.
6085         * sysdeps/unix/sysv/linux/kernel-features.h
6086         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6087         definitions.
6088         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6089         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6091 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
6093         * conform/Makefile (tests-special): Do not make addition of
6094         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6095         (generated): Do not make addition of $(conformtest-header-base)
6096         conditional on [$(cross-compiling) = no].
6098         [BZ #21267]
6099         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6100         if defined by <asm/socket.h> and not previously defined.
6101         (IOCSIZE_SHIFT): Likewise.
6102         (IOC_IN): Likewise.
6103         (IOC_INOUT): Likewise.
6104         (IOC_OUT): Likewise.
6106 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6108         [BZ #21396]
6109         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6110         Prefer_No_AVX512 if AVX512ER isn't available.
6111         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6112         (index_arch_Prefer_No_AVX512): Likewise.
6113         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6114         AVX512 version if Prefer_No_AVX512 is set.
6115         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6116         Likewise.
6117         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6118         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6119         Likewise.
6120         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6121         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6122         Likewise.
6123         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6124         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6125         Likewise.
6127 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6129         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6130         Prefer_No_VZEROUPPER if AVX512ER is available.
6131         * sysdeps/x86/cpu-features.h
6132         (bit_cpu_AVX512PF): New.
6133         (bit_cpu_AVX512ER): Likewise.
6134         (bit_cpu_AVX512CD): Likewise.
6135         (bit_cpu_AVX512BW): Likewise.
6136         (bit_cpu_AVX512VL): Likewise.
6137         (index_cpu_AVX512PF): Likewise.
6138         (index_cpu_AVX512ER): Likewise.
6139         (index_cpu_AVX512CD): Likewise.
6140         (index_cpu_AVX512BW): Likewise.
6141         (index_cpu_AVX512VL): Likewise.
6142         (reg_AVX512PF): Likewise.
6143         (reg_AVX512ER): Likewise.
6144         (reg_AVX512CD): Likewise.
6145         (reg_AVX512BW): Likewise.
6146         (reg_AVX512VL): Likewise.
6148 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6150         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6151         O_CLOEXEC is defined.
6152         * include/fcntl.h (__have_o_cloexec): Remove declaration.
6153         * io/Makefile (aux): Remove.
6154         * io/have_o_cloexec.c: Remove file.
6155         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6156         defined and works.
6157         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6158         defined.
6159         * login/utmp_file.c (O_flags): Remove definition.
6160         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
6161         O_CLOEXEC works.
6162         (pututline_file): Likewise.
6163         * malloc/mtrace.c: Assume that O_CLOEXEC works.
6164         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6165         definition.
6166         (internal_setgrent): Assume that O_CLOEXEC works.
6167         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6168         Remove definition.
6169         (internal_setgrent): Assume that O_CLOEXEC works.
6170         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6171         definition.
6172         (internal_setpwent): Assume that O_CLOEXEC works.
6173         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6174         definition.
6175         (internal_setspent): Assume that O_CLOEXEC works.
6176         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6177         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
6178         O_CLOEXEC is defined and works.
6179         * nss/Makefile (libnss_files-routines): Remove
6180         files-have_o_cloexec.
6181         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6182         defined.
6183         * nss/nss_files/files-XXX.c (internal_setent): Assume that
6184         O_CLOEXEC is defined and works.
6185         * nss/nss_files/files-alias.c (internal_setent): Likewise.
6186         * nss/nss_files/files-have_o_cloexec.c: Remove.
6187         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6188         defined.
6189         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6190         and works.
6191         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6192         definition.
6193         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6194         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6195         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6196         (__opendirat, __opendir): Adjust opendir_oflags call.
6197         (check_have_o_cloexec): Remove.
6198         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6199         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6200         defined.
6201         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6202         Remove definition.
6204 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6206         * include/unistd.h (__have_dup3): Remove declaration.
6207         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6208         dup3 is available.
6209         * libio/freopen64.c (freopen64): Likewise.
6210         * socket/Makefile (aux): Remove have_sock_cloexec.
6211         * socket/have_sock_cloexec.c: Remove file.
6212         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6213         definition.
6214         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6215         Likewise.
6216         * sysdeps/nacl/kernel-features.h: Update comment.
6218 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6220         * include/unistd.h (__have_pipe2): Remove declaration.
6221         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6222         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6223         available.
6224         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6226         Remove definition.
6228 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6230         * malloc/malloc.c (cfree): Turn into compat symbol.
6231         (__cfree): Remove alias.
6232         * stdlib/stdlib.h (cfree): Remove declaration.
6233         * malloc/malloc.h (cfree): Likewise.
6234         * manual/memory.texi (Freeing after Malloc): Remove cfree.
6235         * malloc/Versions (GLIBC_2.26): Add.
6237 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6239         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6240         (sysdep_routines): Add strrchr-power8.
6241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6242         (strrchr): Add __strrchr_power8 to list of strrchr functions.
6243         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6244         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6245         (strrchr): Add __strrchr_power8 to ifunc list.
6246         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6248 2017-04-17  Rabin Vincent  <rabinv@axis.com>
6250         [BZ #21357]
6251         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6252         Call free() outside of mutex.
6254 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6256         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6257         is defined.
6258         * elf/rtld.c (process_envvars): Likewise.
6259         * sysdeps/posix/shm_open.c (shm_open): Likewise.
6260         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
6261         O_NOFOLLOW directly.
6262         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6264 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6266         [BZ #21369]
6267         Remove EDNS fallback.
6268         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6269         handling.
6270         * resolv/res_send.c (send_dg): Likewise.
6271         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6272         "tcp." prefixes.
6273         (do_test): Send a "formerr."-prefixed query in an attempt to
6274         trigger EDNS fallback.
6276 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6278         [BZ #21361]
6279         Limit EDNS buffer size to 1200 bytes.
6280         * include/resolv.h (__res_nopt): Remove declaration.
6281         * resolv/Makefile (tests): tst-resolv-edns.
6282         (tst-resolv-edns): Link with -lresolv, -lpthread.
6283         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6284         interval [512, 1200].
6285         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6286         we can resize the buffer.
6287         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6288         (__res_nopt): Declare.
6289         * resolv/tst-resolv-edns.c: New file.
6290         * resolv/resolv_test.h (struct resolv_edns_info): Define.
6291         (struct resolv_response_context): Add edns member.
6292         * resolv/resolv_test.c (struct query_info): Add edns member.
6293         (parse_query): Extract EDNS information from the query.
6294         (server_thread_udp_process_one): Propagate EDNS data.
6295         (server_thread_tcp_client): Likewise.
6297 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6299         [BZ #21359]
6300         * resolv/ns_name.c (ns_name_pack): Do not require an additional
6301         byte in the destination buffer.  Avoid out-of-bounds pointer
6302         arithmetic.
6303         * resolv/Makefile (tests): Add tst-ns_name_compress.
6304         (tst-ns_name_compress): Link with -lresolv.
6305         * resolv/tst-ns_name_compress.c: New file.
6306         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6307         (response): Recognize LONG_NAME.
6308         (do_test): Add LONG_NAME tests.
6309         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6310         for ns_name_unpack.  Add tests for ns_name_pton and
6311         ns_name_compress.
6313 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6315         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6316         (res_nisourserver): Remove definition.
6317         (p_section, res_npquery, res_nisourserver): Remove declaration.
6318         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6319         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6320         ... here.
6321         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6322         <resolv.h>.
6323         * resolv/res_query.c: Likewise.
6324         * resolv/res_debug.c (p_section): Define as static.
6326 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6328         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6329         strncat-power8.
6330         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6331         __strncat_power8 to ifunc list.
6332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6333         (strncat): Add __strncat_power8 to list of strncat functions.
6334         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6336 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6338         [BZ #21270]
6339         * posix/tst-mmap-offset.c (do_prepare): New function.
6340         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6341         (do_test_bz21270): New function.
6342         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6343         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6344         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6345         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6346         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6347         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6348         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6349         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6350         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6351         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6352         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6353         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6354         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6355         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6356         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6357         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6358         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6359         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6360         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6361         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6362         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6363         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6364         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6365         from auto-generation list.
6366         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6367         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6368         * sysdeps/unix/sysv/linux/mmap.c: New file.
6369         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6370         offsets and support for mmap2 syscall.
6372         * posix/globtest.sh: Add cleanup routine on trap 0.
6374 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6376         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6377         implementation-specific function name and remove unneeded
6378         macros definition.
6379         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6380         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6381         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6382         name if not defined and pass as parameter to macros accordingly.
6383         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6384         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6386         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6387         implementation-specific function name and remove unneeded
6388         macros definition.
6389         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6390         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6391         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6392         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6394         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6395         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6396         name if not defined and pass as parameter to macros accordingly.
6397         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6398         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6399         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6400         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6401         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6402         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6404         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6405         implementation-specific function name and remove unneeded macros
6406         definition.
6407         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6408         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6409         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6410         function name if not defined and pass as parameter to macros
6411         accordingly.
6412         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6413         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6415         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6416         implementation-specific function name and remove unneeded macros
6417         definition.
6418         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6419         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6420         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6421         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6422         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6423         not defined and pass as parameter to macros accordingly.
6424         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6425         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6426         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6427         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6429         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6430         strcasestr implementation name and remove unneeded macros definition.
6431         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6432         strstr implementation name and remove unneeded macros definition.
6433         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6434         name if not defined and pass as parameter to macros accordingly.
6435         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6437         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6438         implementation-specific function name and remove unneeded macros
6439         definition.
6440         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6441         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6442         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6443         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6444         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6445         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6446         function name if not defined and pass as parameter to macros
6447         accordingly.
6448         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6449         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6450         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6451         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6453         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6454         the strlen implementation name and remove unneeded macros definition.
6455         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6456         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6457         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6458         the strnlen implementation name and remove unneeded macros definition.
6459         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6460         name if not defined and pass as parameter to macros accordingly.
6461         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6462         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6463         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6465         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6466         the implementation-specific function name and remove unneeded
6467         macros definition.
6468         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6469         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6470         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6471         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6472         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6473         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6474         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6475         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6476         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6477         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6478         name if not defined and pass as parameter to macros accordingly.
6479         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6480         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6481         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6482         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6483         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6484         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6485         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6486         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6488         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6489         implementation-specific function name and remove unneeded macros
6490         definition.
6491         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6492         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6493         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6494         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6495         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6496         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6497         function name if not defined.
6498         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6499         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6501 2017-04-11  Paul Clarke  <pc@us.ibm.com>
6503         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6504         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6505         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
6506         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6508 2017-04-11  Florian Weimer  <fweimer@redhat.com>
6509             Zack Weinberg  <zackw@panix.com>
6511         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6512         readdir64 as thread-safe.  Update warning about readdir_r.
6514 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6516         * sysdeps/unix/sysv/linux/x86/Implies: New file.
6517         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6518         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6519         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6520         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6521         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6522         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6524 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6526         * sysdeps/i386/dl-procinfo.c: Include
6527         <sysdeps/x86/dl-procinfo.c>.
6528         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6529         * sysdeps/x86/dl-procinfo.c: New file.
6531 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6533         * sysdeps/generic/math_private.h: Remove declarations of
6534         many functions that are already declared in math.h.
6535         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6536         declaration for __frexpl.
6537         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6538         the declarations for __scalbnl and fabsl.
6540 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
6542         [BZ #20831]
6543         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6544         of __mprotect to change protection on the excess portion
6545         to disallow all access.
6547 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6549         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6550         HAS_CPU_FEATURE to check for SSE.
6551         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6552         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6553         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6554         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6555         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6556         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6557         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6558         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6559         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6560         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6561         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6562         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6563         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6564         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6565         (index_cpu_SSE): Likewise.
6566         (reg_SSE): Likewise.
6568 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6570         * posix/getopt1.c: Include <config.h>, not "config.h".
6572 2017-04-07  Zack Weinberg  <zackw@panix.com>
6574         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6575         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6576         Mention in top-of-file boilerplate that these files are shared
6577         with gnulib.
6578         * posix/getopt.h, posix/bits/getopt_posix.h:
6579         Mention in top-of-file boilerplate that these files are NOT shared
6580         with gnulib, unlike the rest of the getopt implementation.
6582         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6583         New files, intended to be shared with gnulib.
6584         * posix/bits/getopt_posix.h:
6585         New file, not intended to be shared with gnulib.
6586         * posix/getopt.h: Now just includes features.h,
6587         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6588         no longer be shared with gnulib.
6589         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6590         * include/bits/getopt_posix.h: New wrappers.
6591         * posix/Makefile: Install new headers.
6592         * posix/unistd.h, libio/stdio.h:
6593         Include bits/getopt_posix.h instead of getopt.h.
6595         * include/libc-symbols.h: For gnulib compatibility, define
6596         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6597         _GL_ATTRIBUTE_CONST.
6598         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6599         parameters with _GL_UNUSED.
6601         * posix/getopt.c: When used standalone, define __libc_use_alloca
6602         as always false and alloca to abort if called.
6603         (process_long_option): Rewrite handling of ambiguous long options
6604         to use a single boolean vector, not a linked list; use
6605         __libc_use_alloca to decide whether to allocate this using alloca.
6606         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6608         * posix/getopt.c (process_long_option): New function split out
6609         from _getopt_internal_r.
6610         (_getopt_internal_r): Replace both copies of the long-option
6611         processing code with calls to process_long_option.
6612         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6613         (do_test): Differentiate argv[0] in the two subtests.
6615         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6616         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6617         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6619         * posix/getopt.h: Add backup definition of __nonnull for
6620         consistency with gnulib.  Define __getopt_argv_const to const
6621         if not already defined.
6622         (getopt): Update doc comment from gnulib.  Prototype
6623         unconditionally.  Add __nonnull annotation.
6624         (__posix_getopt): Add __nonnull annotation.
6625         (getopt_long, getopt_long_only): Use __getopt_argv_const in
6626         prototypes for consistency with gnulib.  Add __nonnull
6627         annotations.
6628         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6629         (getopt_internal): Change 'argv' argument to type 'char **'.
6630         Remove now-unnecessary casts.
6631         (getopt, __posix_getopt): Eliminate repetition with a macro.
6632         Cast 'argv' to 'char **' when calling _getopt_internal.
6633         * posix/getopt1.c (getopt_long, getopt_long_only):
6634         Use __getopt_argv_const for consistency with gnulib.
6635         Cast 'argv' to 'char **' when calling _getopt_internal.
6636         (_getopt_long_r, _getopt_long_only_r):
6637         Change 'argv' argument to type 'char **'.
6638         (main): Constify 'long_options'.
6639         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6640         (_getopt_long_r, _getopt_long_only_r):
6641         Change 'argv' argument to type 'char **'.
6643         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6644         (locked_vfxprintf): New helper function. Handle arbitrary
6645         multibyte strings, not just ASCII.
6646         * include/stdio.h: Declare __fxprintf_nocancel.
6647         * posix/getopt.c: When _LIBC is defined, define fprintf to
6648         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6649         to _IO_funlockfile.  When neither _LIBC nor
6650         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6651         funlockfile as no-ops.
6652         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6653         the standalone error-printing code can now be used for libc as
6654         well.  Add an flockfile/funlockfile pair around one case where
6655         the error message is printed in several chunks.  Don't use fputc.
6656         * posix/tst-getopt-cancel.c: New test.
6657         * posix/Makefile: Run it.
6659         * posix/getopt.c (_getopt_internal_r): Don't increment
6660         d->optind a second time when reporting ambiguous -W options.
6662         * posix/getopt_int.h: Include getopt.h.
6663         Use impl-namespace names for all arguments to _getopt_internal and
6664         _getopt_internal_r.
6665         Declare __ordering enum outside the struct.
6666         Harmonize comments with gnulib.
6667         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6668         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
6669         #ifdef TEST block and make unconditional.  Do not define NULL.
6670         * posix/getopt.c: Partial merge from gnulib, covering the
6671         initial includes and global declarations, commentary, and
6672         a couple of semantically-neutral code changes.
6674         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6675         Use '...' instead of `...' for quotation marks inside
6676         comments and strings.
6678         * config.h.in (USE_NONOPTION_FLAGS): Remove.
6679         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6680         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6681         * posix/getopt_int.h: Likewise.
6682         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6683         __libc_argc and __libc_argv externs, which were only used by
6684         #ifdef USE_NONOPTION_FLAGS blocks.
6685         * posix/getopt_init.c: Remove file.
6686         * posix/Makefile (routines): Remove getopt_init.
6687         * include/getopt.h: Don't declare __getopt_initialize_environment.
6688         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6689         a comment.
6691 2017-04-07  Florian Weimer  <fweimer@redhat.com>
6693         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6695 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6697         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6698         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6699         to __wrap_.udiv.
6700         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6701         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6703         * sysdeps/i386/symbol-hacks.h: New file.
6704         * sysdeps/m68k/symbol-hacks.h: New file.
6705         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6706         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6707         * sysdeps/unix/sysv/linux/i386/Makefile
6708         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6709         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6710         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6711         * sysdeps/unix/sysv/linux/m68k/Makefile
6712         [$(subdir) = csu] (sysdep_routines): Likewise.
6713         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6714         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6716         [$(subdir) = csu] (sysdep_routines): Likewise.
6717         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6718         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6719         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6720         [$(subdir) = csu] (sysdep_routines): Likewise.
6721         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6722         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6723         * sysdeps/wordsize-32/Makefile: Remove file.
6724         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6725         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6727 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
6729         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6730         (TEST_FUNCTION_ARGV): New.
6732 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6734         * elf/next.c: Import support/test-driver.c instead of
6735         test-skeleton.c and delete TEST_FUNCTION macro definition.
6736         * elf/nodelete.c: Likewise.
6737         * elf/order2.c: Likewise.
6738         * elf/tst-_dl_addr_inside_object.c: Likewise.
6739         * elf/tst-addr1.c: Likewise.
6740         * elf/tst-align.c: Likewise.
6741         * elf/tst-align2.c: Likewise.
6742         * elf/tst-audit11.c: Likewise.
6743         * elf/tst-audit12.c: Likewise.
6744         * elf/tst-audit2.c: Likewise.
6745         * elf/tst-audit9.c: Likewise.
6746         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6747         * elf/tst-deep1.c: Likewise.
6748         * elf/tst-dl-iter-static.c: Likewise.
6749         * elf/tst-dlmodcount.c: Likewise.
6750         * elf/tst-dlmopen1.c: Likewise.
6751         * elf/tst-dlmopen2.c: Likewise.
6752         * elf/tst-dlmopen3.c: Likewise.
6753         * elf/tst-dlopen-aout.c: Likewise.
6754         * elf/tst-dlopenrpath.c: Likewise.
6755         * elf/tst-dlsym-error.c: Likewise.
6756         * elf/tst-execstack-needed.c: Likewise.
6757         * elf/tst-execstack-prog.c: Likewise.
6758         * elf/tst-execstack.c: Likewise.
6759         * elf/tst-global1.c: Likewise.
6760         * elf/tst-gnu2-tls1.c: Likewise.
6761         * elf/tst-latepthread.c: Likewise.
6762         * elf/tst-leaks1.c: Likewise.
6763         * elf/tst-linkall-static.c: Likewise.
6764         (do_test): New function.
6765         * elf/tst-nodelete-opened.c: Likewise.
6766         * elf/tst-nodelete.cc: Likewise.
6767         * elf/tst-nodelete2.c: Likewise.
6768         * elf/tst-noload.c: Likewise.
6769         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6770         * elf/tst-order-main.c: Likewise.
6771         * elf/tst-pathopt.c: Likewise.
6772         * elf/tst-pie2.c: Likewise.
6773         * elf/tst-piemod1.c: Likewise.
6774         * elf/tst-prelink.c: Likewise.
6775         * elf/tst-protected1a.c: Likewise.
6776         * elf/tst-protected1b.c: Likewise.
6777         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6778         and define _GNU_SOURCE macro.
6779         (cmdline_process_function): New function.
6780         * elf/tst-relsort1.c: Likewise.
6781         * elf/tst-stackguard1.c: Likewise, import getopt.h,
6782         and define _GNU_SOURCE macro.
6783         (cmdline_process_function): New function.
6784         * elf/tst-thrlock.c: Likewise.
6785         * elf/tst-tls-dlinfo.c: Likewise.
6786         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6787         * elf/tst-tls1.c: Likewise.
6788         * elf/tst-tls10.c: Likewise.
6789         * elf/tst-tls11.c: Likewise.
6790         * elf/tst-tls12.c: Likewise.
6791         * elf/tst-tls13.c: Likewise.
6792         * elf/tst-tls14.c: Likewise.
6793         * elf/tst-tls15.c: Likewise.
6794         * elf/tst-tls16.c: Likewise.
6795         * elf/tst-tls17.c: Likewise.
6796         * elf/tst-tls18.c: Likewise.
6797         * elf/tst-tls19.c: Likewise.
6798         * elf/tst-tls2.c: Likewise.
6799         * elf/tst-tls3.c: Likewise.
6800         * elf/tst-tls4.c: Likewise.
6801         * elf/tst-tls5.c: Likewise.
6802         * elf/tst-tls6.c: Likewise.
6803         * elf/tst-tls7.c: Likewise.
6804         * elf/tst-tls8.c: Likewise.
6805         * elf/tst-tls9.c: Likewise.
6806         * elf/tst-tlsalign-extern.c: Likewise.
6807         * elf/tst-tlsalign.c: Likewise.
6808         * elf/tst-unique1.c: Likewise.
6809         * elf/tst-unique2.c: Likewise.
6810         * elf/vismain.c: Likewise.
6812 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6814         * string/test-strnlen.c (do_page_tests): New function
6815         to check length of strings ending at the page boundary.
6816         (test_main): Added call to the do_page_tests function.
6818 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6819             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6821         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6822         (sysdep_routines): Add strnlen-power8.
6823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6824         (strnlen): Add __strnlen_power8 to list of strnlen functions.
6825         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6826         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6827         (__strnlen): Add __strnlen_power8 to ifunc list.
6828         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6830 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6832         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6833         the TEST_FUNCTION macro definition.
6834         * wcsmbs/tst-mbrtowc2.c: Likewise.
6835         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6836         * wcsmbs/tst-wchar-h.c: Likewise.
6837         * wcsmbs/tst-wcpncpy.c: Likewise.
6838         * wcsmbs/tst-wcrtomb.c: Likewise.
6839         * wcsmbs/tst-wcsnlen.c: Likewise.
6840         * wcsmbs/tst-wcstof.c: Likewise.
6842 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6844         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6845         CALL_THREAD_FCT macro usage.
6846         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6847         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6848         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6850         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6851         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6852         (__ASSUME_REQUEUE_PI): Likewise.
6853         * sysdeps/unix/sysv/linux/kernel-features.h
6854         (__ASSUME_REQUEUE_PI): Likewise.
6855         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6856         (__ASSUME_REQUEUE_PI): Likewise.
6857         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6858         (__ASSUME_REQUEUE_PI): Likewise.
6859         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6860         (__ASSUME_REQUEUE_PI): Likewise.
6862 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6864         * resolv/tst-resolv-canonname.c: New file.
6865         * resolv/Makefile (tests): Add tst-resolv-canonname.
6866         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6868 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6870         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6871         Declare.
6872         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6873         (NS_MAXCDNAME): Remove definition.
6874         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6875         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6876         (NS_MAXCDNAME): Remove definition.
6877         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6879 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6881         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6882         call whose result is not used.
6884 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6886         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6887         * resolv/Makefile (tests): Add tst-ns_name.
6888         (tst-ns_name): Link with -lresolv.
6889         (tst-ns_name.out): Depend on the input data file.
6891 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
6893         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6894         Clobber also r14.
6896 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
6898         [BZ #21253]
6899         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6900         slack space by 32KiB.
6902 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
6904         [BZ #21338]
6905         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6906         instead of incorrect do_set_arena_test
6908 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6910         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6911         * math/bits/math-finite.h: Likewise.
6913 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
6915         [BZ #21289]
6916         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6918 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6920         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6921         non expected inotify_add_watch and quotactl return.
6923 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6925         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6926         to int32_t.
6927         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6928         as returning int32_t.
6930 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6932         * math/math.h: Include bits/math-finite.h once per
6933         floating-point type.
6934         * math/bits/math-finite.h: Macroize all declarations by
6935         floating-point type.
6937 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6939         [BZ #21182]
6940         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6941         near end of a page.
6942         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6943         overflow calculation.
6945 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6947         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6948         (IMPL) Call with 1 instead of 0 as argument.
6950 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6952         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6953         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6954         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6955         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6956         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6957         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6958         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6959         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6960         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6961         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6962         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6963         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6964         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6965         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6966         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6967         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6968         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6969         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6970         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6971         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6972         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6973         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6974         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6975         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6976         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6977         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6978         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6979         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6980         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6981         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6982         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6983         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6984         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6985         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6986         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6987         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6988         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6989         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6990         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6991         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6992         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6993         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6994         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6995         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6996         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6997         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6998         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6999         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7000         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7001         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7002         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7003         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7004         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7005         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7006         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7007         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7008         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7009         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7010         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7011         defined.
7012         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7013         __NR_setgroups32 if defined.
7014         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7015         if defined.
7016         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7017         __NR_setresgid32 is defined.
7018         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7019         __NR_setresuid32 if defined.
7020         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7021         __NR_setreuid32 if defined.
7022         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7023         defined.
7024         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7025         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7026         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7027         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7028         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7029         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7030         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7031         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7032         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7033         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7034         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7035         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7036         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7037         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7038         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7039         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7040         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7041         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7042         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7043         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7044         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7045         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7046         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7047         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7048         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7049         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7050         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7051         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7052         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7053         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7054         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7055         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7056         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7057         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7058         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7059         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7060         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7061         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7062         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7063         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7064         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7065         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7066         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7067         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7068         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7069         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7070         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7071         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7072         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7073         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7074         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7075         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7076         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7077         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7078         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7079         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7080         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7081         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7082         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7083         defined.
7084         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7085         __NR_setgroups32 if defined.
7086         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7087         if defined.
7088         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7089         __NR_setresgid32 is defined.
7090         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7091         __NR_setresuid32 if defined.
7092         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7093         __NR_setreuid32 if defined.
7094         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7095         defined.
7097 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
7099         [BZ #21277]
7100         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7101         unconditionally.
7102         (IMAXBEL): Likewise.
7103         (IUTF8): Likewise.
7105 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7107         * sysdeps/aarch64/libm-test-ulps: Update.
7109 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
7111         * README.tunables: Updated descriptions.
7112         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7113         * scripts/gen-tunables.awk: Updated the code related to the
7114         commit.
7116 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
7118         * benchtests/Makefile (string-benchset): Add memcpy-random.
7119         * benchtests/bench-memcpy-random.c: New file.
7121 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7123         * stdio-common/printf.h (register_printf_modifier): Change the
7124         order of __wur and __THROW.
7125         (register_printf_type): Likewise.
7127 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7129         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7130         test_main ().
7131         (CMDLINE_PROCESS): Use function instead of defined macro.
7132         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7133         <suppport/support.h> to use set_fortify_handler().
7134         * string/bug-envz1.c: Import support/test-driver.c instead of
7135         test-skeleton.c.
7136         * string/bug-strcoll2.c: Likewise.
7137         * string/bug-strtok1.c: Likewise.
7138         * string/stratcliff.c: Likewise.
7139         * string/test-ffs.c: Likewise.
7140         * string/test-memccpy.c: Likewise.
7141         * string/test-memchr.c: Likewise.
7142         * string/test-memcmp.c: Likewise.
7143         * string/test-memcpy.c: Likewise.
7144         * string/test-memmem.c: Likewise.
7145         * string/test-memmove.c: Likewise.
7146         * string/test-memrchr.c: Likewise.
7147         * string/test-memset.c: Likewise.
7148         * string/test-rawmemchr.c: Likewise.
7149         * string/test-strcasecmp.c: Likewise.
7150         * string/test-strcasestr.c: Likewise.
7151         * string/test-strcat.c: Likewise.
7152         * string/test-strchr.c: Likewise.
7153         * string/test-strcmp.c: Likewise.
7154         * string/test-strcpy.c: Likewise.
7155         * string/test-string.h: Likewise.
7156         * string/test-strlen.c: Likewise.
7157         * string/test-strncasecmp.c: Likewise.
7158         * string/test-strncat.c: Likewise.
7159         * string/test-strncmp.c: Likewise.
7160         * string/test-strncpy.c: Likewise.
7161         * string/test-strnlen.c: Likewise.
7162         * string/test-strpbrk.c: Likewise.
7163         * string/test-strrchr.c: Likewise.
7164         * string/test-strspn.c: Likewise.
7165         * string/test-strstr.c: Likewise.
7166         * string/tst-bswap.c: Likewise.
7167         * string/tst-cmp.c: Likewise.
7168         * string/tst-endian.c: Likewise.
7169         * string/tst-inlcall.c: Likewise.
7170         * string/tst-strcoll-overflow.c: Likewise.
7171         * string/tst-strfry.c: Likewise.
7172         * string/tst-strlen.c: Likewise.
7173         * string/tst-strtok.c: Likewise.
7174         * string/tst-strtok_r.c: Likewise.
7175         * string/tst-strxfrm.c: Likewise.
7176         * string/tst-strxfrm2.c: Likewise.
7177         * string/tst-svc.c: Likewise.
7178         * string/tst-svc2.c: Likewise.
7180 2017-03-22  Zack Weinberg  <zackw@panix.com>
7182         * stdio-common/bug25.c: Include stdlib.h.
7183         * support/tst-support_format_dns_packet.c: Include stdio.h,
7184         stdlib.h, and string.h.
7185         * support/tst-support_record_failure.c: Include string.h.
7186         * support/tst-support_record_failure-2.sh: Adjust line number
7187         expectations and correct a typo in an error message.
7189 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7191         [BZ #21258]
7192         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7193         Define only if _dl_runtime_resolve is defined to
7194         _dl_runtime_resolve_sse_vex.
7195         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7196         Fallthrough to _dl_runtime_resolve_sse_vex.
7198 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
7200         * INSTALL: Regenerated.
7202 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
7204         * config.h.in: Add LINK_OBSOLETE_NSL.
7205         * config.make.in: Add build-obsolete-nsl.
7206         * configure.ac: Add obsolete-nsl option.
7207         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7208         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7209         * include/rpcsvc/nislib.h: Likewise.
7210         * include/rpcsvc/ypclnt.h: Likewise.
7211         * manual/install.texi: Document --enable-obsolete-nsl.
7212         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7213         * nis/nis_add.c: Replace libnsl_hidden_def with
7214         libnsl_hidden_nolink_def.
7215         * nis/nis_addmember.c: Likewise.
7216         * nis/nis_call.c: Likewise.
7217         * nis/nis_clone_obj.c: Likewise.
7218         * nis/nis_defaults.c: Likeise.
7219         * nis/nis_domain_of_r.c: Likewise.
7220         * nis/nis_error.c: Likewise.
7221         * nis/nis_file.c: Likewise.
7222         * nis/nis_free.c: Likewise.
7223         * nis_local_names.c: Likewise.
7224         * nis/nis_lookup.c: Likewise.
7225         * nis/nis_modify.c: Likewise.
7226         * nis/nis_print.c: Likewise.
7227         * nis/nis_remove.c: Likewise.
7228         * nis/nis_table.c: Likewise.
7229         * nis/nis_util.c: Likewise.
7230         * nis/nis_xdr.c: Likewise.
7231         * nis/yp_xdr.c: Likewise.
7232         * nis/ypclnt.c: Likewise.
7233         * nis/ypupdate_xdr.c: Likewise.
7234         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7235         * nis/nis_clone_dir.c: Likewise.
7236         * nis/nis_clone_res.c: Likewise.
7237         * nis/nis_creategroup.c: Likewise.
7238         * nis/nis_destroygroup.c: Likewise.
7239         * nis/nis_domain_of.c: Likewise.
7240         * nis/nis_getservlist.c: Likewise.
7241         * nis/nis_ismember.c: Likewise.
7242         * nis/nis_mkdir.c: Likewise.
7243         * nis/nis_ping.c: Likewise.
7244         * nis/nis_print_group_entry.c: Likewise.
7245         * nis/nis_removemember.c: Likewise.
7246         * nis/nis_rmdir.c: Likewise.
7247         * nis/nis_server.c: Likewise.
7248         * nis/nis_subr.c: Likewise.
7249         * nis/nis_verifygroup.c: Likewise.
7251 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
7253         * malloc/tst-interpose-aux.c (check_for_allocations):
7254         Move compiler barrier before free.
7256 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
7258         [BZ #21279]
7259         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7260         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7261         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7262         x86_64-x32-linux.
7263         (mq_attr.mq_maxmsg): Likewise.
7264         (mq_attr.mq_msgsize): Likewise.
7265         (mq_attr.mq_curmsgs): Likewise.
7267         [BZ #21278]
7268         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7269         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7270         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7271         mips-o32-linux.
7273         [BZ #21268]
7274         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7275         if [__USE_MISC]
7276         (NL3): Likewise.
7278 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
7280         [BZ #21275]
7281         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7282         __stack to __stackbase.
7283         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7284         checks so we can include defined(__ia64__) first.
7286 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
7288         * sysdeps/unix/sysv/linux/ttyname.h: New file.
7289         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7290         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7291         Call is_pty when the link does not exist or does not match, fail
7292         with ENODEV when it returns true.
7293         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7294         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7295         Call is_pty when the link does not exist or does not match, fail
7296         with ENODEV when it returns true.
7298 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
7300         [BZ #16437]
7301         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7302         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7303         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7304         x86_64-x32-linux.
7305         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7306         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7307         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7309         [BZ #21261]
7310         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7311         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7312         names for all fields.
7313         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7314         for jmp_buf field renaming.
7315         (_JMPBUF_UNWINDS_ADJ): Likewise.
7317         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7318         with allow-header.
7320 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
7322         * malloc/malloc.c (unlink): Add consistency check between size and
7323         next->prev->size, to further harden against 1-byte overflows.
7325 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
7327         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7328         CPU_FEATURES_CPU_P.
7330 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
7332         [BZ #21259]
7333         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7334         unconditionally, not just for [__USE_MISC].
7336         [BZ #17786]
7337         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7338         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7339         mips-o32-linux.
7341         [BZ #21260]
7342         * sysdeps/unix/sysv/linux/alpha/Makefile
7343         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7344         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7346         * conform/conformtest.pl ($cross): New variable.
7347         (--cross): New command-line option.
7348         (runtest): Skip test execution when cross-compiling.
7349         * conform/Makefile (conformtest-cross): New variable.
7350         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7351         conformtest.pl.
7353         * conform/conformtest.pl ($xfail_str): New variable.
7354         (--xfail=): New command-line option.
7355         (top level): Handle expectations starting xfail[cond]-.
7356         * conform/Makefile (conformtest-xfail): New variable.
7357         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7358         conformtest.pl.
7360 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7362         * conform/conformtest.pl: Use compilation instead of execution
7363         tests for testing values of constants and usability in #if.
7365 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7367         * math/auto-libm-test-in: Mark some catan and catanh as
7368         xfail-rounding:ibm128-libgcc.
7369         * math/auto-libm-test-out-catan: Regenerate.
7370         * math/auto-libm-test-out-catanh: Likewise.
7372 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7374         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7375         (__END_NAMESPACE_STD): Likewise.
7376         (__USING_NAMESPACE_STD): Likewise.
7377         (__BEGIN_NAMESPACE_C99): Likewise.
7378         (__END_NAMESPACE_C99): Likewise.
7379         (__USING_NAMESPACE_C99): Likewise.
7380         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7381         undefine macro.
7382         (_Mdouble_END_NAMESPACE): Likewise.
7383         * ctype/ctype.h: Do not handle C++ namespaces.
7384         * libio/bits/stdio-ldbl.h: Likewise.
7385         * libio/stdio.h: Likewise.
7386         * locale/locale.h: Likewise.
7387         * math/bits/mathcalls.h: Likewise.
7388         * setjmp/setjmp.h: Likewise.
7389         * signal/signal.h: Likewise.
7390         * stdlib/bits/stdlib-float.h: Likewise.
7391         * stdlib/bits/stdlib-ldbl.h: Likewise.
7392         * stdlib/stdlib.h: Likewise.
7393         * string/string.h: Likewise.
7394         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7395         * time/bits/types/clock_t.h: Likewise.
7396         * time/bits/types/struct_tm.h: Likewise.
7397         * time/bits/types/time_t.h: Likewise.
7398         * time/time.h: Likewise.
7399         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7400         * wcsmbs/uchar.h: Likewise.
7401         * wcsmbs/wchar.h: Likewise.
7402         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7403         * wctype/wctype.h: Do not handle C++ namespaces.
7404         * scripts/begin-end-check.pl: Remove.
7405         * Makefile (installed-headers): Likewise.
7406         (tests-special): Do not add $(objpfx)begin-end-check.out.
7407         ($(objpfx)begin-end-check.out): Remove.
7409 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
7410             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7412         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7413         (DL_PLATFORM_INIT): New define.
7414         (dl_platform_init): New function.
7415         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7416         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7417         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7418         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7419         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7421 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
7423         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7424         instead of PIC.
7426 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7428         [BZ #21094]
7429         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7430         24+24+24-bit pi for wider range of values around pi/2.
7431         * math/auto-libm-test-in: Add more tests of cos and tan.
7432         * math/auto-libm-test-out-cos: Regenerated.
7433         * math/auto-libm-test-out-tan: Likewise.
7435 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
7437         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7438         (RTLD_START): Don't record stack end address in _dl_start_user.
7440 2017-03-15  Alexey Neyman  <stilor@att.net>
7442         [BZ #21088]
7443         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7444         around definitions match those around use.
7446 2017-03-15  Alexey Neyman  <stilor@att.net>
7448         * configure.ac: Avoid empty subexpression in grep.
7449         * configure: Regenerate.
7451 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7453         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7454         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7455         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7456         (test_wrp_rv): Fix format.
7457         (test_wrp_rv2): New macro.
7458         (do_test): Handle mlock return on 64 bits kernels with 32 bits
7459         binaries.
7461 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7463         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7464         Use a union when storing pointers.
7465         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7466         cast result when passing to INIT_VEC_PTRS_LOOP.
7467         (VECTOR_WRAPPER_fFF_3): Likewise.
7468         (VECTOR_WRAPPER_fFF_4): Likewise.
7470 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7472         * include/bits/mathcalls-helper-functions.h: New file.
7473         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7474         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7475         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7476         math/bits/mathcalls-helper-functions.h.
7477         * math/bits/mathcalls-helper-functions.h: New file.
7478         * math/math.h: Include bits/mathcalls-helper-functions.h for
7479         float, double, and long double.
7481 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7483         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7484         instead of feraiseexcept.
7486 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7488         [BZ #21243]
7489         * support/temp_file.c (support_delete_temp_files): Add comment
7490         about ignored errors.
7492 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7494         [BZ #21244]
7495         * support/xclose.c: New file.
7496         * support/Makefile (libsupport-routines): Add xclose.
7497         * support/xunistd.h (xclose): Declare.
7498         * support/resolv_test.c (server_thread_tcp_client)
7499         (server_thread_tcp, make_server_sockets, resolv_test_start)
7500         (resolv_test_end): Call xclose instead of close.
7501         * support/support_enter_network_namespace.c
7502         (support_enter_network_namespace): Likewise.
7503         * support/support_run_diff.c (write_to_temp_file): Likewise.
7505 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7507         * support/support_format_dns_packet.c (support_format_dns_packet):
7508         Handle CNAME records in the response.  Extract RDATA names from
7509         rdata, not the whole packet.  Check AAAA record length.
7510         * support/tst-support_format_dns_packet.c: New file.
7511         * support/Makefile (tests): Add tst-support_format_dns_packet.
7512         (tst-support_format_dns_packet): Link against libresolv.
7514 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7516         [BZ #21232]
7517         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7518         posix_fadvise64 weak_alias for static build.
7520 2017-03-14  Andreas Schwab  <schwab@suse.de>
7522         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7523         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7524         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7525         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7526         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7527         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7528         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7529         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7531 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7533         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7534         posix error code.
7535         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7537 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7539         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7540         no_isolate usage for SH.
7542 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
7544         [BZ #15105]
7545         [BZ #19463]
7546         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7547         * inet/rcmd.c (rcmd_af): Likewise.
7548         * inet/rexec.c   (rexec_af): Likewise.
7549         * intl/dcigettext.c (_LIBC): Likewise.
7550         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7551         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7552         * locale/setlocale.c (setlocale): Likewise.
7553         * posix/spawn_faction_addopen.c
7554         (posix_spawn_file_actions_addopen): Likewise.
7555         * stdlib/putenv.c (putenv): Use __strndup.
7556         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7558         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7559         (__Need_M_And_C) Remove define/undef.
7560         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7561         (__malloc_and_calloc_defined): Remove define.
7562         * string/bits/string2.h (__strdup): Remove define.
7563         (strdup): Likewise.
7564         (__strndup): Likewise.
7565         (strndup): Likewise.
7567 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7569         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7570         macro.
7571         (IPV6_ADDR_PREFERENCES): Likewise.
7572         (IPV6_MINHOPCOUNT): Likewise.
7573         (IPV6_ORIGDSTADDR): Likewise.
7574         (IPV6_RECVORIGDSTADDR): Likewise.
7575         (IPV6_TRANSPARENT): Likewise.
7576         (IPV6_UNICAST_IF): Likewise.
7577         (IPV6_RECVFRAGSIZE): Likewise.
7579 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7581         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7583 2017-03-12  Alexey Neyman <stilor@att.net>
7585         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7586         in R_SH_DIR32 case is always false when inlined from
7587         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7589 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7591         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7592         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7593         __ASSUME_SEND_SYSCALL.
7595 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7597         * sunrpc/Makefile: don't build and install rpcsvc header
7598         files, rpcgen and librpcsvc.a by default.
7600 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7602         * math/auto-libm-test-out-catan: Regenerated.
7603         * math/auto-libm-test-out-catanh: Likewise.
7604         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7606 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7608         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7609         for long double with corrected test expectations.
7611 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7613         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7614         Define.
7615         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7616         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7617         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7618         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7619         * sysdeps/unix/sysv/linux/tile/sysdep.h
7620         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7621         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7622         (__ASSUME_RECV_SYSCALL): Define.
7623         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7624         (__ASSUME_RECV_SYSCALL): Likewise.
7625         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7626         (__ASSUME_RECV_SYSCALL): Likewise.
7627         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7628         (__ASSUME_RECV_SYSCALL): Likewise.
7629         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7630         (__ASSUME_RECV_SYSCALL): Likewise.
7631         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7632         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7633         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7634         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7635         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7636         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7637         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7638         auto-generation list.
7639         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7640         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7641         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7642         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7643         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7644         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7645         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7646         __ASSUME_SENDTO_SYSCALL.
7647         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7648         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7649         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7651         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7652         auto-generation list.
7653         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7654         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7655         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7656         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7657         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7658         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7659         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7660         * sysdeps/unix/sysv/linux/kernel-features.h
7661         (__ASSUME_SENDTO_SYSCALL): Define by default.
7662         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7663         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7664         __NR_sendto.
7665         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7666         (__ASSUME_SENDTO_SYSCALL): Likewise.
7667         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7668         (__ASSUME_SENDTO_SYSCALL): Likewise.
7669         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7670         (__ASSUME_SENDTO_SYSCALL): Remove definition.
7671         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7672         (__ASSUME_SENDTO_SYSCALL): Likewise.
7673         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7674         (__ASSUME_SENDTO_SYSCALL): Likewise.
7675         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7677         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7678         auto-generation list.
7679         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7680         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7681         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7682         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7683         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7684         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7685         (__ASSUME_RECV_SYSCALL): New define.
7686         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7687         (__ASSUME_RECV_SYSCALL): Likewise.
7688         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7689         (__ASSUME_RECV_SYSCALL): Likewise.
7690         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7691         (__ASSUME_RECV_SYSCALL): Likewise.
7692         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7693         (__ASSUME_RECV_SYSCALL): Likewise.
7694         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7695         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7696         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7697         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7698         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7699         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7700         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7701         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7702         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7703         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7704         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7705         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7707         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7708         auto-generation list.
7709         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7710         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7711         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7712         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7713         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7714         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7715         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7716         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7717         (__ASSUME_RECVFROM_SYSCALL): Define by default.
7718         * sysdeps/unix/sysv/linux/kernel-features.h
7719         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7720         __NR_recvfrom.
7721         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7722         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7723         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7724         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7726         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7727         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7728         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7729         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7730         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7731         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7732         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7733         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7735         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7736         auto-generation list.
7737         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7738         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7739         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7740         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7741         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7742         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7743         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7744         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7745         * sysdeps/unix/sysv/linux/kernel-features.h
7746         (__ASSUME_CONNECT_SYSCALL): Define.
7747         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7748         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7749         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7750         (__ASSUME_CONNECT_SYSCALL): Likewise.
7751         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7752         (__ASSUME_CONNECT_SYSCALL): Likewise.
7753         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7754         (__ASSUME_CONNECT_SYSCALL): Likewise.
7756         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7757         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7758         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7759         auto-generation list.
7760         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7761         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7762         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7763         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7764         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7765         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7766         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7767         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7768         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7769         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7770         * sysdeps/unix/sysv/linux/kernel-features.h
7771         (__ASSUME_ACCEPT_SYSCALL): New define.
7772         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7773         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7774         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7775         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7776         (__ASSUME_ACCEPT_SYSCALL): Define.
7777         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7778         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7779         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7780         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7781         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7782         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7783         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7784         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7785         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7787 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
7788             Zack Weinberg  <zackw@panix.com>
7790         * posix/test-errno.c: New file.
7791         * posix/Makefile (tests): Add test-errno.
7792         * sysdeps/unix/sysv/linux/test-errno.c: New file.
7793         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7795 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
7797         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7799 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7801         * time/tzset.c (compute_offset): Open-code min macro.
7802         (min, max, sign): Remove.
7804 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7806         [BZ #15576]
7807         Remove TZNAME_MAX limit from sysconf.
7808         * include/time.h (__tzname_cur_max, __tzname_max): Remove
7809         declaration.
7810         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7811         compute_tzname_max.
7812         (compute_tzname_max): Remove.
7813         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7814         (update_vars): Do not update __tzname_cur_max.
7815         (tzset_internal): Remove argument.
7816         (__tzset): Adjust call to tzset_internal.
7817         (__tz_convert): Likewise.
7819         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7820         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7821         * manual/conf.texi (Sysconf Definition): Update comment.
7823 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7825         [BZ #21209]
7826         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7827         AT_SECURE processes.
7828         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7829         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7830         (test_child): Likewise.
7831         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7833 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7835         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7837 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7839         * sysdeps/s390/atomic-machine.h
7840         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7841         (__arch_compare_and_exchange_val_8_acq,
7842         __arch_compare_and_exchange_val_16_acq,
7843         __arch_compare_and_exchange_val_32_acq,
7844         __arch_compare_and_exchange_val_64_acq):
7845         Delete macro.
7846         (atomic_compare_and_exchange_val_acq,
7847         atomic_compare_and_exchange_val_rel,
7848         atomic_compare_and_exchange_bool_acq,
7849         catomic_compare_and_exchange_bool_acq,
7850         atomic_exchange_acq, atomic_exchange_rel,
7851         atomic_exchange_and_add_acq,
7852         atomic_exchange_and_add_rel,
7853         catomic_exchange_and_add, atomic_or_val,
7854         atomic_or, catomic_or, atomic_bit_test_set,
7855         atomic_and_val, atomic_and, catomic_and):
7856         Define macros with help of C11 atomic builtins.
7858 2017-03-03  Justus Winter <justus@gnupg.org>
7860         * sysdeps/mach/hurd/ftruncate64.c: New file.
7861         * sysdeps/mach/hurd/truncate64.c: Likewise.
7863 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7865         * time/tzfile.c (NOID): Do not define.
7866         * time/tzset.c (NOID): Likewise.
7868 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7870         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7872 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7874         * elf/get-dynamic-info.h: Remove header file inclusion guard.
7876 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7878         [BZ #21015]
7879         * manual/install.texi (Configuring and compiling): Document
7880         --enable-bind-now.
7881         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7882         (build-shlib-helper): Use $(LDFLAGS-lib.so).
7883         (format.lds): Likewise.
7884         [bind-now] (LDFLAGS-c.so): Remove.
7885         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7886         be R_X86_64_GLOB_DAT.
7887         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7888         relocation can be R_386_GLOB_DAT.
7889         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7890         relocaiton can be R_ALPHA_GLOB_DAT.
7891         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7893 2017-03-01  Zack Weinberg  <zackw@panix.com>
7895         * include/libc-pointer-arith.h: New file.  Define
7896         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7897         PTR_ALIGN_DOWN here.
7898         * include/libc-internal.h: Definitions of above macros
7899         moved from here.  Don't include libc-diag.h anymore either.
7900         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7901         Don't include libc-internal.h.
7903         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7904         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7905         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7906         * string/strcoll_l.c, sysdeps/nacl/brk.c
7907         * sysdeps/unix/clock_settime.c
7908         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7909         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7910         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7911         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7912         Don't include libc-internal.h.
7914         * elf/get-dynamic-info.h, iconv/loop.c
7915         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7916         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7917         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7918         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7919         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7920         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7921         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7922         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7923         * sysdeps/ieee754/ldbl-128/k_tanl.c
7924         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7925         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7926         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7927         Include libc-diag.h instead of libc-internal.h.
7929         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7930         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7931         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7932         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7933         * sysdeps/unix/sysv/linux/spawni.c
7934         * sysdeps/x86_64/nptl/tls.h:
7935         Include libc-pointer-arith.h instead of libc-internal.h.
7937         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7938         * sysdeps/x86_64/atomic-machine.h:
7939         Add multiple include guard.
7941         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7942         * string/strcasestr.c: No need to include config.h.
7943         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7944         sys/auxv.h. Don't include sysdep.h.
7945         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7947         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
7948         DL_LOOKUP_ADDRESS.
7949         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7950         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7951         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7952         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7953         of ARTIFICIAL_LIMIT.
7954         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7955         declaration of __clone2.
7957 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7959         * scripts/backport-support.sh (latest_commit): New file.
7961 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7963         [BZ #20257]
7964         * inet/Makefile (routines): Add deadline.
7965         (tests-static): Add tst-deadline.
7966         * inet/net-internal.h (struct deadline_current_time)
7967         (__deadline_current_time, struct deadline, __deadline_is_infinite)
7968         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7969         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7970         * inet/deadline.c: New file.
7971         * inet/tst-deadline.c: Likewise.
7972         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7973         tst-udp-timeout, tst-udp-garbage.
7974         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7975         explicitly.
7976         (tst-udp-garbage): Likewise.  Also link against thread library.
7977         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7978         struct layout is part of the ABI.
7979         (clntudp_call): Rework timeout handling.
7980         * sunrpc/tst-udp-garbage.c: New file.
7981         * sunrpc/tst-udp-nonblocking.c: Likewise.
7982         * sunrpc/tst-udp-timeout.c: Likewise.
7984 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7986         [BZ #5010]
7987         * sunrpc/svc.c (svc_is_mapped): Remove.
7988         (svc_unregister): Obtain mapped status while the service is still
7989         registered.
7990         * sunrpc/Makefile [have-thread-library] (tests): Add
7991         tst-svc_register.
7992         (tst-svc_register): Link against libc.so explicitly and the thread
7993         library.
7994         * sunrpc/tst-svc_register.c: New file.
7996 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
7998         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7999         * sysdeps/pthread/bits/sigthread.h: Likewise.
8001 2017-02-27  Florian Weimer  <fweimer@redhat.com>
8003         [BZ #21115]
8004         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8005         * sunrpc/Makefile (tests): Add tst-udp-error.
8006         (tst-udp-error): Link against libc.so explicitly.
8007         * sunrpc/tst-udp-error: New file.
8009 2017-02-25  Zack Weinberg  <zackw@panix.com>
8011         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8012         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8014         * sysdeps/generic/math_ldbl.h
8015         * sysdeps/ia64/fpu/math_ldbl.h
8016         * sysdeps/ieee754/ldbl-128/math_ldbl.h
8017         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8018         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8019         * sysdeps/powerpc/fpu/math_ldbl.h
8020         * sysdeps/x86_64/fpu/math_ldbl.h:
8021         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
8022         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8023         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
8024         Add copyright notices.
8026         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8027         Don't use EXTRACT_WORDS64.
8029         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8030         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8031         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8032         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8033         Include math_ldbl.h, not math_private.h.
8035 2017-02-25  Zack Weinberg  <zackw@panix.com>
8037         * include/libc-diag.h: New file.  Define ignore_value,
8038         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8039         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8041         * include/libc-internal.h: Definitions of above macros moved from
8042         here.  Include libc-diag.h.  Add copyright notice.
8044         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8045         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8046         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8047         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8048         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8049         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8050         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8051         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8052         Include libc-diag.h instead of libc-internal.h.
8054         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
8055         call to unsetenv (NULL).
8056         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
8057         call to pthread_mutexattr_destroy (NULL).
8059 2017-02-25  Zack Weinberg  <zackw@panix.com>
8061         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8062         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8063         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
8064         gets was removed from C++ in C++14.
8065         * include/stdio.h: Remove redundant declaration of gets.
8066         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8067         be declared, since we are testing it.
8068         * stdio-common/Makefile (tst-gets.c): Compile with
8069         -Wno-deprecated-declarations.
8070         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8071         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8072         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8073         Compile with -Wno-deprecated-declarations.
8075 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8077         * math/libm-test-support.c (check_ulp): Use LIT() around literal
8078         numbers.
8080 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8082         * resolv/tst-resolv-qtypes.c (domain):
8083         Change type to const pointer to const char.
8085 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
8087         * math/Makefile (libm-tests-generated): Remove variable.
8088         (libm-tests-base-normal): New variable.
8089         (libm-tests-base-finite): Likewise.
8090         (libm-tests-base-inline): Likewise.
8091         (libm-tests-base): Likewise.
8092         (libm-tests-normal): Likewise.
8093         (libm-tests-finite): Likewise.
8094         (libm-tests-inline): Likewise.
8095         (libm-tests-vector): Likewise.
8096         (libm-tests): Define in terms of these new variables.
8097         (libm-tests-for-type): New variable.
8098         (libm-tests.o): Move definition.
8099         (tests): Move addition of $(libm-tests).
8100         (generated): Update for new and removed libm test files.
8101         ($(objpfx)libm-test.c): Remove target.
8102         ($(objpfx)libm-have-vector-test.h): Likewise.
8103         (CFLAGS-test-double-vlen2.c): Remove variable.
8104         (CFLAGS-test-double-vlen4.c): Likewise.
8105         (CFLAGS-test-double-vlen8.c): Likewise.
8106         (CFLAGS-test-float-vlen4.c): Likewise.
8107         (CFLAGS-test-float-vlen8.c): Likewise.
8108         (CFLAGS-test-float-vlen16.c): Likewise.
8109         (CFLAGS-test-float.c): Likewise.
8110         (CFLAGS-test-float-finite.c): Likewise.
8111         (CFLAGS-libm-test-support-float.c): Likewise.
8112         (CFLAGS-test-double.c): Likewise.
8113         (CFLAGS-test-double-finite.c): Likewise.
8114         (CFLAGS-libm-test-support-double.c): Likewise.
8115         (CFLAGS-test-ldouble.c): Likewise.
8116         (CFLAGS-test-ldouble-finite.c): Likewise.
8117         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8118         (libm-test-inline-cflags): New variable.
8119         (CFLAGS-test-ifloat.c): Remove variable.
8120         (CFLAGS-test-idouble.c): Likewise.
8121         (CFLAGS-test-ildouble.c): Likewise.
8122         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8123         dependencies.
8124         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8125         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8126         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8127         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8128         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8129         Likewise.
8130         (dependencies on libm-test-support-*.o): Remove.
8131         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8132         rules using iterators.
8133         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8134         Likewise.
8135         ($(objpfx)libm-test-support-$(o).o): Likewise.
8136         ($(addprefix $(objpfx),$(filter-out $(tests-static)
8137         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8138         instead.
8139         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8140         define rule instead.
8141         * math/README.libm-test: Update.
8142         * math/libm-test-acos.inc: Include libm-test-driver.c.
8143         (do_test): New function.
8144         * math/libm-test-acosh.inc: Include libm-test-driver.c.
8145         (do_test): New function.
8146         * math/libm-test-asin.inc: Include libm-test-driver.c.
8147         (do_test): New function.
8148         * math/libm-test-asinh.inc: Include libm-test-driver.c.
8149         (do_test): New function.
8150         * math/libm-test-atan.inc: Include libm-test-driver.c.
8151         (do_test): New function.
8152         * math/libm-test-atan2.inc: Include libm-test-driver.c.
8153         (do_test): New function.
8154         * math/libm-test-atanh.inc: Include libm-test-driver.c.
8155         (do_test): New function.
8156         * math/libm-test-cabs.inc: Include libm-test-driver.c.
8157         (do_test): New function.
8158         * math/libm-test-cacos.inc: Include libm-test-driver.c.
8159         (do_test): New function.
8160         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8161         (do_test): New function.
8162         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8163         (do_test): New function.
8164         * math/libm-test-carg.inc: Include libm-test-driver.c.
8165         (do_test): New function.
8166         * math/libm-test-casin.inc: Include libm-test-driver.c.
8167         (do_test): New function.
8168         * math/libm-test-casinh.inc: Include libm-test-driver.c.
8169         (do_test): New function.
8170         * math/libm-test-catan.inc: Include libm-test-driver.c.
8171         (do_test): New function.
8172         * math/libm-test-catanh.inc: Include libm-test-driver.c.
8173         (do_test): New function.
8174         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8175         (do_test): New function.
8176         * math/libm-test-ccos.inc: Include libm-test-driver.c.
8177         (do_test): New function.
8178         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8179         (do_test): New function.
8180         * math/libm-test-ceil.inc: Include libm-test-driver.c.
8181         (do_test): New function.
8182         * math/libm-test-cexp.inc: Include libm-test-driver.c.
8183         (do_test): New function.
8184         * math/libm-test-cimag.inc: Include libm-test-driver.c.
8185         (do_test): New function.
8186         * math/libm-test-clog.inc: Include libm-test-driver.c.
8187         (do_test): New function.
8188         * math/libm-test-clog10.inc: Include libm-test-driver.c.
8189         (do_test): New function.
8190         * math/libm-test-conj.inc: Include libm-test-driver.c.
8191         (do_test): New function.
8192         * math/libm-test-copysign.inc: Include libm-test-driver.c.
8193         (do_test): New function.
8194         * math/libm-test-cos.inc: Include libm-test-driver.c.
8195         (do_test): New function.
8196         * math/libm-test-cosh.inc: Include libm-test-driver.c.
8197         (do_test): New function.
8198         * math/libm-test-cpow.inc: Include libm-test-driver.c.
8199         (do_test): New function.
8200         * math/libm-test-cproj.inc: Include libm-test-driver.c.
8201         (do_test): New function.
8202         * math/libm-test-creal.inc: Include libm-test-driver.c.
8203         (do_test): New function.
8204         * math/libm-test-csin.inc: Include libm-test-driver.c.
8205         (do_test): New function.
8206         * math/libm-test-csinh.inc: Include libm-test-driver.c.
8207         (do_test): New function.
8208         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8209         (do_test): New function.
8210         * math/libm-test-ctan.inc: Include libm-test-driver.c.
8211         (do_test): New function.
8212         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8213         (do_test): New function.
8214         * math/libm-test-erf.inc: Include libm-test-driver.c.
8215         (do_test): New function.
8216         * math/libm-test-erfc.inc: Include libm-test-driver.c.
8217         (do_test): New function.
8218         * math/libm-test-exp.inc: Include libm-test-driver.c.
8219         (do_test): New function.
8220         * math/libm-test-exp10.inc: Include libm-test-driver.c.
8221         (do_test): New function.
8222         * math/libm-test-exp2.inc: Include libm-test-driver.c.
8223         (do_test): New function.
8224         * math/libm-test-expm1.inc: Include libm-test-driver.c.
8225         (do_test): New function.
8226         * math/libm-test-fabs.inc: Include libm-test-driver.c.
8227         (do_test): New function.
8228         * math/libm-test-fdim.inc: Include libm-test-driver.c.
8229         (do_test): New function.
8230         * math/libm-test-floor.inc: Include libm-test-driver.c.
8231         (do_test): New function.
8232         * math/libm-test-fma.inc: Include libm-test-driver.c.
8233         (do_test): New function.
8234         * math/libm-test-fmax.inc: Include libm-test-driver.c.
8235         (do_test): New function.
8236         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8237         (do_test): New function.
8238         * math/libm-test-fmin.inc: Include libm-test-driver.c.
8239         (do_test): New function.
8240         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8241         (do_test): New function.
8242         * math/libm-test-fmod.inc: Include libm-test-driver.c.
8243         (do_test): New function.
8244         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8245         (do_test): New function.
8246         * math/libm-test-frexp.inc: Include libm-test-driver.c.
8247         (do_test): New function.
8248         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8249         (do_test): New function.
8250         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8251         (do_test): New function.
8252         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8253         (do_test): New function.
8254         * math/libm-test-hypot.inc: Include libm-test-driver.c.
8255         (do_test): New function.
8256         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8257         (do_test): New function.
8258         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8259         (do_test): New function.
8260         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8261         (do_test): New function.
8262         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8263         (do_test): New function.
8264         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8265         (do_test): New function.
8266         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8267         (do_test): New function.
8268         * math/libm-test-isinf.inc: Include libm-test-driver.c.
8269         (do_test): New function.
8270         * math/libm-test-isless.inc: Include libm-test-driver.c.
8271         (do_test): New function.
8272         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8273         (do_test): New function.
8274         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8275         (do_test): New function.
8276         * math/libm-test-isnan.inc: Include libm-test-driver.c.
8277         (do_test): New function.
8278         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8279         (do_test): New function.
8280         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8281         (do_test): New function.
8282         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8283         (do_test): New function.
8284         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8285         (do_test): New function.
8286         * math/libm-test-iszero.inc: Include libm-test-driver.c.
8287         (do_test): New function.
8288         * math/libm-test-j0.inc: Include libm-test-driver.c.
8289         (do_test): New function.
8290         * math/libm-test-j1.inc: Include libm-test-driver.c.
8291         (do_test): New function.
8292         * math/libm-test-jn.inc: Include libm-test-driver.c.
8293         (do_test): New function.
8294         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8295         (do_test): New function.
8296         * math/libm-test-llogb.inc: Include libm-test-driver.c.
8297         (do_test): New function.
8298         * math/libm-test-llrint.inc: Include libm-test-driver.c.
8299         (do_test): New function.
8300         * math/libm-test-llround.inc: Include libm-test-driver.c.
8301         (do_test): New function.
8302         * math/libm-test-log.inc: Include libm-test-driver.c.
8303         (do_test): New function.
8304         * math/libm-test-log10.inc: Include libm-test-driver.c.
8305         (do_test): New function.
8306         * math/libm-test-log1p.inc: Include libm-test-driver.c.
8307         (do_test): New function.
8308         * math/libm-test-log2.inc: Include libm-test-driver.c.
8309         (do_test): New function.
8310         * math/libm-test-logb.inc: Include libm-test-driver.c.
8311         (do_test): New function.
8312         * math/libm-test-lrint.inc: Include libm-test-driver.c.
8313         (do_test): New function.
8314         * math/libm-test-lround.inc: Include libm-test-driver.c.
8315         (do_test): New function.
8316         * math/libm-test-modf.inc: Include libm-test-driver.c.
8317         (do_test): New function.
8318         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8319         (do_test): New function.
8320         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8321         (do_test): New function.
8322         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8323         (do_test): New function.
8324         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8325         (do_test): New function.
8326         * math/libm-test-nextup.inc: Include libm-test-driver.c.
8327         (do_test): New function.
8328         * math/libm-test-pow.inc: Include libm-test-driver.c.
8329         (do_test): New function.
8330         * math/libm-test-remainder.inc: Include libm-test-driver.c.
8331         (do_test): New function.
8332         * math/libm-test-remquo.inc: Include libm-test-driver.c.
8333         (do_test): New function.
8334         * math/libm-test-rint.inc: Include libm-test-driver.c.
8335         (do_test): New function.
8336         * math/libm-test-round.inc: Include libm-test-driver.c.
8337         (do_test): New function.
8338         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8339         (do_test): New function.
8340         * math/libm-test-scalb.inc: Include libm-test-driver.c.
8341         (do_test): New function.
8342         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8343         (do_test): New function.
8344         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8345         (do_test): New function.
8346         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8347         (do_test): New function.
8348         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8349         (do_test): New function.
8350         * math/libm-test-signbit.inc: Include libm-test-driver.c.
8351         (do_test): New function.
8352         * math/libm-test-significand.inc: Include libm-test-driver.c.
8353         (do_test): New function.
8354         * math/libm-test-sin.inc: Include libm-test-driver.c.
8355         (do_test): New function.
8356         * math/libm-test-sincos.inc: Include libm-test-driver.c.
8357         (do_test): New function.
8358         * math/libm-test-sinh.inc: Include libm-test-driver.c.
8359         (do_test): New function.
8360         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8361         (do_test): New function.
8362         * math/libm-test-tan.inc: Include libm-test-driver.c.
8363         (do_test): New function.
8364         * math/libm-test-tanh.inc: Include libm-test-driver.c.
8365         (do_test): New function.
8366         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8367         (do_test): New function.
8368         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8369         (do_test): New function.
8370         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8371         (do_test): New function.
8372         * math/libm-test-trunc.inc: Include libm-test-driver.c.
8373         (do_test): New function.
8374         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8375         (do_test): New function.
8376         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8377         (do_test): New function.
8378         * math/libm-test-y0.inc: Include libm-test-driver.c.
8379         (do_test): New function.
8380         * math/libm-test-y1.inc: Include libm-test-driver.c.
8381         (do_test): New function.
8382         * math/libm-test-yn.inc: Include libm-test-driver.c.
8383         (do_test): New function.
8384         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8385         (HAVE_VECTOR): Remove macro.
8386         (START): Do not call HAVE_VECTOR.
8387         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8388         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8389         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8390         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8391         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8392         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8393         * math/test-math-vector.h (FUNC_TEST): New macro.
8394         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8395         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8396         (double-vlen4-funcs): Likewise.
8397         (double-vlen4-avx2-funcs): Likewise.
8398         (double-vlen8-funcs): Likewise.
8399         (float-vlen4-funcs): Likewise.
8400         (float-vlen8-funcs): Likewise.
8401         (float-vlen8-avx2-funcs): Likewise.
8402         (float-vlen16-funcs): Likewise.
8403         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8404         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8405         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8406         macro.
8407         (TEST_VECTOR_sin): Likewise.
8408         (TEST_VECTOR_sincos): Likewise.
8409         (TEST_VECTOR_log): Likewise.
8410         (TEST_VECTOR_exp): Likewise.
8411         (TEST_VECTOR_pow): Likewise.
8412         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8413         Likewise.
8414         (TEST_VECTOR_sin): Likewise.
8415         (TEST_VECTOR_sincos): Likewise.
8416         (TEST_VECTOR_log): Likewise.
8417         (TEST_VECTOR_exp): Likewise.
8418         (TEST_VECTOR_pow): Likewise.
8419         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8420         Likewise.
8421         (TEST_VECTOR_sinf): Likewise.
8422         (TEST_VECTOR_sincosf): Likewise.
8423         (TEST_VECTOR_logf): Likewise.
8424         (TEST_VECTOR_expf): Likewise.
8425         (TEST_VECTOR_powf): Likewise.
8426         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8427         Likewise.
8428         (TEST_VECTOR_sinf): Likewise.
8429         (TEST_VECTOR_sincosf): Likewise.
8430         (TEST_VECTOR_logf): Likewise.
8431         (TEST_VECTOR_expf): Likewise.
8432         (TEST_VECTOR_powf): Likewise.
8433         * math/gen-libm-have-vector-test.sh: Remove file.
8434         * math/libm-test.inc: Likewise.
8435         * math/libm-test-support-double.c: Likewise.
8436         * math/libm-test-support-float.c: Likewise.
8437         * math/libm-test-support-ldouble.c: Likewise.
8438         * math/test-double-finite.c: Likewise.: Likewise.
8439         * math/test-double.c: Likewise.
8440         * math/test-float-finite.c: Likewise.
8441         * math/test-float.c: Likewise.
8442         * math/test-idouble.c: Likewise.
8443         * math/test-ifloat.c: Likewise.
8444         * math/test-ildouble.c: Likewise.
8445         * math/test-ldouble-finite.c: Likewise.
8446         * math/test-ldouble.c: Likewise.
8447         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8448         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8449         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8450         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8451         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8452         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8453         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8454         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8455         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8456         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8458 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8459            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8461         * math/Makefile: Add wrappers to gen-libm-calls.
8462         * math/w_acos_template.c: New file.
8463         * math/w_acosh_template.c: Likewise.
8464         * math/w_asin_template.c: Likewise.
8465         * math/w_atan2_template.c: Likewise.
8466         * math/w_atanh_template.c: Likewise.
8467         * math/w_cosh_template.c: Likewise.
8468         * math/w_exp10_template.c: Likewise.
8469         * math/w_exp2_template.c: Likewise.
8470         * math/w_exp_template.c: Likewise.
8471         * math/w_fmod_template.c: Likewise.
8472         * math/w_hypot_template.c: Likewise.
8473         * math/w_j0_template.c: Likewise.
8474         * math/w_j1_template.c: Likewise.
8475         * math/w_jn_template.c: Likewise.
8476         * math/w_lgamma_r_template.c: Likewise.
8477         * math/w_lgamma_template.c: Likewise.
8478         * math/w_log10_template.c: Likewise.
8479         * math/w_log2_template.c: Likewise.
8480         * math/w_log_template.c: Likewise.
8481         * math/w_pow_template.c: Likewise.
8482         * math/w_remainder_template.c: Likewise.
8483         * math/w_sinh_template.c: Likewise.
8484         * math/w_sqrt_template.c: Likewise.
8485         * math/w_tgamma_template.c: Likewise.: Likewise.
8486         * sysdeps/generic/math-type-macros-double.h
8487         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8488         the new wrappers.
8489         * sysdeps/generic/math-type-macros-float.h: Likewise.
8490         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8492 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
8494         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8495         New enum constant and macro.
8497         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8498         kernel version to 4.10.
8500 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
8502         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8504 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8508 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8510         * sysdeps/powerpc/tst-set_ppr.c: New file.
8511         Implement test cases for __ppc_set_ppr_* functions.
8512         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8513         in the list of tests.
8515 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8517         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8518         instead of test-skeleton.c.
8519         (do_test): Replaced pthread_create and pthread_join with
8520         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
8521         Removed unneeded status variable.
8522         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8523         instead of test-skeleton.c.
8524         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8526 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
8528         [BZ #20313]
8529         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8530         201605L, for Unicode 9.
8532 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
8534         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8535         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8536         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8537         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8538         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8539         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8541 2017-02-19  Zack Weinberg  <zackw@panix.com>
8543         * rt/tst-mqueue4.c: Include stdint.h.
8545 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8547         * sysdeps/arm/libm-test-ulps: Update.
8548         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8549         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8550         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8552 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8554         [BZ #21029]
8555         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8556         * sysdeps/unix/sysv/linux/i386/Makefile
8557         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8558         (uses-6-syscall-arguments): Remove.
8559         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8560         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8561         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8562         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8563         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8564         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8565         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8566         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8567         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8568         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8569         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8570         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8571         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8572         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8573         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8574         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8575         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8576         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8577         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8578         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8579         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8580         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8581         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8582         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8583         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8584         Likewise.
8585         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8586         Likewise.
8587         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8588         Likewise.
8589         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8590         Likewise.
8591         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8592         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8593         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8594         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8595         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8596         ebp on inline assembly.
8597         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8598         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8599         Set if CAN_USE_REGISTER_ASM_EBP is set.
8601 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8603         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8604         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8606 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8608         * math/auto-libm-test-in: Add tests of catan and catanh.
8609         * math/auto-libm-test-out-catan: New generated file.
8610         * math/auto-libm-test-out-catanh: Likewise.
8611         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8612         Move tests with finite inputs, except divide-by-zero cases, to
8613         auto-libm-test-in.
8614         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8615         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8616         (libm-test-funcs-noauto): Remove catan and catanh.
8617         * sysdeps/i386/fpu/libm-test-ulps: Update.
8618         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8621         * math/auto-libm-test-in: Add tests of casin and casinh.
8622         * math/auto-libm-test-out-casin: New generated file.
8623         * math/auto-libm-test-out-casinh: Likewise.
8624         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8625         Move tests with finite inputs to auto-libm-test-in.
8626         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8627         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8628         (libm-test-funcs-noauto): Remove casin and casinh.
8629         * sysdeps/i386/fpu/libm-test-ulps: Update.
8630         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8633         * math/auto-libm-test-in: Add tests of cacos and cacosh.
8634         * math/auto-libm-test-out-cacos: New generated file.
8635         * math/auto-libm-test-out-cacosh: Likewise.
8636         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8637         Move tests with finite inputs to auto-libm-test-in.
8638         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8639         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8640         (libm-test-funcs-noauto): Remove cacos and cacosh.
8641         * sysdeps/i386/fpu/libm-test-ulps: Update.
8642         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8645         Revert:
8646         2017-02-16  Zack Weinberg  <zackw@panix.com>
8648         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8649         Don't include init-arch.h.
8650         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8651         Don't include init-arch.h.
8653 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8655         [BZ #21171]
8656         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8657         +Inf and raise divide-by-zero when x is negative.
8658         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8659         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8660         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
8661         -Inf and raise divide-by-zero when x = +-0.
8662         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8663         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8664         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8665         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8666         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8667         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8668         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8670 2017-02-16  Zack Weinberg  <zackw@panix.com>
8672         * scripts/build-many-glibcs.py (bot_build_mail): If the
8673         bot_config does not contain all of the necessary email-
8674         related settings, just print a warning and continue.
8676 2017-02-16  Zack Weinberg  <zackw@panix.com>
8678         * crypt/md5.h: Test _LIBC with #if defined, not #if.
8679         * dirent/opendir-tst1.c: Include sys/stat.h.
8680         * dirent/tst-fdopendir.c: Include sys/stat.h.
8681         * dirent/tst-fdopendir2.c: Include stdlib.h.
8682         * dirent/tst-scandir.c: Include stdbool.h.
8683         * elf/tst-auditmod1.c: Include link.h and stddef.h.
8684         * elf/tst-tls15.c: Include stdlib.h.
8685         * elf/tst-tls16.c: Include stdlib.h.
8686         * elf/tst-tls17.c: Include stdlib.h.
8687         * elf/tst-tls18.c: Include stdlib.h.
8688         * iconv/tst-iconv6.c: Include endian.h.
8689         * iconvdata/bug-iconv11.c: Include limits.h.
8690         * io/test-utime.c: Include stdint.h.
8691         * io/tst-faccessat.c: Include sys/stat.h.
8692         * io/tst-fchmodat.c: Include sys/stat.h.
8693         * io/tst-fchownat.c: Include sys/stat.h.
8694         * io/tst-fstatat.c: Include sys/stat.h.
8695         * io/tst-futimesat.c: Include sys/stat.h.
8696         * io/tst-linkat.c: Include sys/stat.h.
8697         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8698         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8699         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8700         * io/tst-openat.c: Include stdbool.h.
8701         * io/tst-readlinkat.c: Include sys/stat.h.
8702         * io/tst-renameat.c: Include sys/stat.h.
8703         * io/tst-symlinkat.c: Include sys/stat.h.
8704         * io/tst-unlinkat.c: Include stdbool.h.
8705         * libio/bug-memstream1.c: Include stdlib.h.
8706         * libio/bug-wmemstream1.c: Include stdlib.h.
8707         * libio/tst-fwrite-error.c: Include stdlib.h.
8708         * libio/tst-memstream1.c: Include stdlib.h.
8709         * libio/tst-memstream2.c: Include stdlib.h.
8710         * libio/tst-memstream3.c: Include stdlib.h.
8711         * malloc/tst-interpose-aux.c: Include stdint.h.
8712         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8713         * nptl/tst-basic7.c: Include limits.h.
8714         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8715         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8716         * nptl/tst-cancel4_1.c: Include stddef.h.
8717         * nptl/tst-cancel4_2.c: Include stddef.h.
8718         * nptl/tst-cond16.c: Include limits.h.
8719         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8720         * nptl/tst-cond18.c: Include limits.h.
8721         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8722         * nptl/tst-cond4.c: Include stdint.h.
8723         * nptl/tst-cond6.c: Include stdint.h.
8724         * nptl/tst-stack2.c: Include limits.h.
8725         * nptl/tst-stackguard1.c: Include stddef.h.
8726         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8727         * nptl/tst-tls4moda.c: Include stddef.h.
8728         Don't include stdio.h, unistd.h, or tls.h.
8729         * nptl/tst-tls4modb.c: Include stddef.h.
8730         Don't include stdio.h, unistd.h, or tls.h.
8731         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8732         * posix/tst-getaddrinfo2.c: Include stdio.h.
8733         * posix/tst-getaddrinfo5.c: Include stdio.h.
8734         * posix/tst-pathconf.c: Include sys/stat.h.
8735         * posix/tst-posix_fadvise-common.c: Include stdint.h.
8736         * posix/tst-preadwrite-common.c: Include sys/stat.h.
8737         * posix/tst-regex.c: Include stdint.h.
8738         Don't include spawn.h or spawn_int.h.
8739         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8740         * posix/tst-vfork3.c: Include sys/stat.h.
8741         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8742         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8743         * resolv/tst-resolv-search.c: Include stdlib.h.
8744         * stdio-common/tst-fmemopen2.c: Include stdint.h.
8745         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8746         * stdlib/test-canon.c: Include sys/stat.h.
8747         * stdlib/tst-tls-atexit.c: Include stdbool.h.
8748         * string/test-memchr.c: Include stdint.h.
8749         * string/tst-cmp.c: Include stdint.h.
8750         * sysdeps/pthread/tst-timer.c: Include stdint.h.
8751         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8752         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8753         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8754         Don't include init-arch.h.
8755         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8756         Don't include init-arch.h.
8757         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8758         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8759         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8760         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8761         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8762         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8763         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8764         * time/clocktest.c: Include stdint.h.
8765         * time/tst-posixtz.c: Include stdint.h.
8766         * timezone/tst-timezone.c: Include stdint.h.
8768 2017-02-16  Zack Weinberg  <zackw@panix.com>
8770         * string/string.h [__USE_MISC]: Include strings.h.
8771         (__bzero, bcmp, bcopy, bzero, index, rindex)
8772         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8773         (ffs, ffsl, ffsll): Don't declare.
8774         * string/strings.h: Do not suppress the file if string.h has
8775         already been included.
8776         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8777         annotations.
8778         (index, rindex): Define inline forwarders even if
8779         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8780         (ffs): Use __attribute_const__.
8781         (ffsl, ffsll): Declare here.
8782         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8783         have now been standardized.
8784         * include/string.h (__bzero): Declare here.
8786         * bits/types.h: Move to posix/bits.
8787         * include/bits/types.h: New wrapper.
8789 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8791         * string/bits/string2.h (strcmp): Remove define.
8792         (__strcmp_cg): Likewise.
8793         (strncmp): Likewise.
8795 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8797         * include/string.h: Add __cplusplus check.
8799 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8801         [BZ #21134]
8802         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8803         "divide by zero" exception when the input is zero.
8804         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8805         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8806         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8807         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8808         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8810 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
8812         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8813         and include ...
8814         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
8815         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8816         to, and include ...
8817         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
8818         file.
8819         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8820         and include ...
8821         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
8822         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8823         and include ...
8824         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
8825         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8826         and include ...
8827         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
8828         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8829         and include ...
8830         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
8831         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8832         to, and include ...
8833         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
8834         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8835         and include ...
8836         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
8838 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
8840         * math/libm-test-support.h: Do not include <math-tests-arch.h>
8841         here.
8842         * math/libm-test-support.c (libm_test_init): Do not call
8843         INIT_ARCH_EXT here.
8844         * math/libm-test-driver.c: Include <math-tests-arch.h>.
8845         (main): Call INIT_ARCH_EXT.
8847 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8849         [BZ #21130]
8850         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8851         with the "invalid" exception raised when x is -Inf.
8852         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8854 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
8856         * string/bits/string2.h (strchr): Remove define.
8858 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
8860         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8861         tst-avx512.
8862         (test-extras): Add tst-avx-aux and tst-avx512-aux.
8863         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8864         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8865         ($(objpfx)tst-sse): New rule.
8866         ($(objpfx)tst-avx): Likewise.
8867         ($(objpfx)tst-avx512): Likewise.
8868         (CFLAGS-tst-avx-aux.c): New.
8869         (CFLAGS-tst-avxmod.c): Likewise.
8870         (CFLAGS-tst-avx512-aux.c): Likewise.
8871         (CFLAGS-tst-avx512mod.c): Likewise.
8872         * sysdeps/x86_64/tst-avx-aux.c: New file.
8873         * sysdeps/x86_64/tst-avx.c: Likewise.
8874         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8875         * sysdeps/x86_64/tst-avx512.c: Likewise.
8876         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8877         * sysdeps/x86_64/tst-avxmod.c: Likewise.
8878         * sysdeps/x86_64/tst-sse.c: Likewise.
8879         * sysdeps/x86_64/tst-ssemod.c: Likewise.
8881 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8883         * math/auto-libm-test-in: Add more tests of csin and csinh.
8884         * math/auto-libm-test-out-csin: Regenerated.
8885         * math/auto-libm-test-out-csinh: Likewise.
8886         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8887         auto-libm-test-in.
8888         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8890 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8892         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8893         libm-compat-calls-auto.
8894         (libm-compat-calls): Likewise.
8895         (libm-compat-calls-auto): Rename to libm-compat-calls and add
8896         w_lgamma_compatF and k_standardF (merged from the items above).
8897         (libm-routines): Use libm-compat-calls, instead of
8898         libm-compat-calls-auto, with type-foreach.
8900 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8902         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8903         macro.
8904         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8905         (CFLAGS-test-ifloat.c): ... this.  Remove
8906         -U__LIBC_INTERNAL_MATH_INLINES.
8907         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8908         (CFLAGS-test-idouble.c): ... this.  Remove
8909         -U__LIBC_INTERNAL_MATH_INLINES.
8910         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8911         (CFLAGS-test-ildouble.c): ... this.  Remove
8912         -U__LIBC_INTERNAL_MATH_INLINES.
8914 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
8916         * math/libm-test-support.c: New file.  Content from
8917         math/libm-test-driver.c.
8918         * math/libm-test-support.h: Likewise.
8919         * math/libm-test-support-double.c: New file.
8920         * math/libm-test-support-float.c: Likewise.
8921         * math/libm-test-support-ldouble.c: Likewise.
8922         * math/libm-test-driver.c: Remove main comment and header
8923         includes.  Include libm-test-support.h.
8924         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8925         (flag_test_errno): Remove static.
8926         (flag_test_exceptions): Likewise.
8927         (flag_test_finite): Likewise.
8928         (flag_test_inline): Likewise.
8929         (flag_test_mathvec): Likewise.
8930         (test_msg): Likewise.
8931         (NO_EXCEPTION): Remove.
8932         (INVALID_EXCEPTION): Likewise.
8933         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8934         (OVERFLOW_EXCEPTION): Likewise.
8935         (UNDERFLOW_EXCEPTION): Likewise.
8936         (INEXACT_EXCEPTION): Likewise.
8937         (INVALID_EXCEPTION_OK): Likewise.
8938         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8939         (OVERFLOW_EXCEPTION_OK): Likewise.
8940         (UNDERFLOW_EXCEPTION_OK): Likewise.
8941         (NO_INEXACT_EXCEPTION): Likewise.
8942         (EXCEPTIONS_OK): Likewise.
8943         (IGNORE_ZERO_INF_SIGN): Likewise.
8944         (TEST_NAN_SIGN): Likewise.
8945         (TEST_NAN_PAYLOAD): Likewise.
8946         (NO_TEST_INLINE): Likewise.
8947         (XFAIL_TEST): Likewise.
8948         (ERRNO_UNCHANGED): Likewise.
8949         (ERRNO_EDOM): Likewise.
8950         (ERRNO_ERANGE): Likewise.
8951         (IGNORE_RESULT): Likewise.
8952         (NON_FINITE): Likewise.
8953         (TEST_SNAN): Likewise.
8954         (NO_TEST_MATHVEC): Likewise.
8955         (__CONCATX): Likewise.
8956         (TYPE_MIN): Likewise.
8957         (TYPE_TRUE_MIN): Likewise.
8958         (TYPE_MAX): Likewise.
8959         (MIN_EXP): Likewise.
8960         (MAX_EXP): Likewise.
8961         (MANT_DIG): Likewise.
8962         (FSTR_MAX): Likewise.
8963         (ulp_idx): Likewise.
8964         (qtype_str): Remove static.
8965         (TEST_COND_binary32): Remove.
8966         (TEST_COND_binary64): Likewise.
8967         (TEST_COND_binary128): Likewise.
8968         (TEST_COND_ibm128): Likewise.
8969         (TEST_COND_intel96): Likewise.
8970         (TEST_COND_m68k96): Likewise.
8971         (TEST_COND_ibm128_libgcc): Likewise.
8972         (XFAIL_IBM128_LIBGCC): Likewise.
8973         (PAYLOAD_DIG): Likewise.
8974         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8975         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8976         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8977         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8978         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8979         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8980         (TEST_COND_long32): Likewise.
8981         (TEST_COND_long64): Likewise.
8982         (TEST_COND_before_rounding): Likewise.
8983         (TEST_COND_after_rounding): Likewise.
8984         (ulps_file_name): Likewise.
8985         (ulps_file): Likewise.
8986         (output_ulps): Likewise.
8987         (output_dir): Likewise.
8988         (noErrors): Likewise.
8989         (noTests): Likewise.
8990         (noExcTests): Likewise.
8991         (noErrnoTests): Likewise.
8992         (verbose): Likewise.
8993         (output_max_error): Likewise.
8994         (output_points): Likewise.
8995         (ignore_max_ulp): Likewise.
8996         (max_error): Likewise.
8997         (real_max_error): Likewise.
8998         (imag_max_error): Likewise.
8999         (prev_max_error): Likewise.
9000         (prev_real_max_error): Likewise.
9001         (prev_imag_max_error): Likewise.
9002         (max_valid_error): Likewise.
9003         (TYPE_DECIMAL_DIG): Likewise.
9004         (TYPE_HEX_DIG): Likewise.
9005         (fmt_ftostr): Likewise.
9006         (compare_ulp_data): Likewise.
9007         (find_ulps): Likewise.
9008         (init_max_error): Likewise.
9009         (set_max_error): Likewise.
9010         (print_float): Likewise.
9011         (print_screen): Likewise.
9012         (print_screen_max_error): Likewise.
9013         (update_stats): Likewise.
9014         (print_function_ulps): Likewise.
9015         (print_complex_function_ulps): Likewise.
9016         (fpstack_test): Likewise.
9017         (print_max_error): Likewise.
9018         (print_complex_max_error): Likewise.
9019         (test_single_exception): Likewise.
9020         (test_exceptions): Likewise.
9021         (test_single_errno): Likewise.
9022         (test_errno): Likewise.
9023         (ULPDIFF): Likewise.
9024         (ulp): Likewise.
9025         (check_float_internal): Likewise.
9026         (check_float): Likewise.
9027         (check_complex): Likewise.
9028         (check_int): Likewise.
9029         (check_long): Likewise.
9030         (check_bool): Likewise.
9031         (check_longlong): Likewise.
9032         (check_intmax_t): Likewise.
9033         (check_uintmax_t): Likewise.
9034         (enable_test): Likewise.
9035         (matherr): Likewise.
9036         (initialize): Likewise.
9037         (options): Likewise.
9038         (doc): Remove static.
9039         (argp): Likewise.
9040         (parse_opt): Remove.
9041         (check_ulp): Likewise.
9042         (libm_test_init): Likewise.
9043         (libm_test_finish): Likewise.
9044         * math/Makefile (libm-test-support): New variable.
9045         (test-extras): Add libm-test-support files.
9046         (extra-test-objs): Likewise.
9047         (CFLAGS-libm-test-support-float.c): New variable.
9048         (CFLAGS-libm-test-support-double.c): Likewise.
9049         (CFLAGS-libm-test-support-ldouble.c): Likewise.
9050         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9051         libm-test-support objects.
9053 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9055         * math/Makefile (libm-calls): Move w_exp...
9056         (libm-compat-calls-auto): Here.
9058         * math/w_expl.c: Add suffix "_compat" to filename.
9059         * sysdeps/ia64/fpu/w_expl.c: Likewise.
9060         * sysdeps/ia64/fpu/w_expf.c: Likewise.
9061         * sysdeps/ia64/fpu/w_exp.c: Likewise.
9062         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9063         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9064         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9065         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9066         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9068         * math/w_expl_compat.c: New file, copied from above.
9069         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9070         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9071         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9072         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9073         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9074         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9075         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9076         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9078         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9079         to filename.
9080         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9082         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9083         copied from above and adjusted for the new filenames.
9084         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9086 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9088         * math/Makefile (libm-calls): Move w_lgammaF...
9089         (libm-compat-calls-auto): Here.
9091         * math/w_lgamma.c: Add suffix "_compat2" to filename.
9092         * math/w_lgammaf.c: Likewise.
9093         * math/w_lgammal.c: Likewise.
9095         * math/w_lgamma_compat2.c: New file, copied from above.
9096         * math/w_lgammaf_compat2.c: Likewise.
9097         * math/w_lgammal_compat2.c: Likewise.
9099 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9101         * math/Makefile (libm-calls): Move w_lgammaF_r...
9102         (libm-compat-calls-auto): Here.
9104         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9105         * math/w_lgammaf_r.c: Likewise.
9106         * math/w_lgammal_r.c: Likewise.
9107         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9108         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9109         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9111         * math/w_lgamma_r_compat.c: New file, copied from above.
9112         * math/w_lgammaf_r_compat.c: Likewise.
9113         * math/w_lgammal_r_compat.c: Likewise.
9114         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9115         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9116         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9118         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9119         to filename.
9120         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9122         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9123         copied from above and adjusted for the new filenames.
9124         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9126 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
9128         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9129         calculation in SYSCALL_ERROR_HANDLER().
9131 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
9133         * manual/contrib.texi: Fix typo.
9135 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9137         [BZ #21109]
9138         * elf/dl-tunable-types.h (tunable_callback_t): Accept
9139         tunable_val_t as argument.
9140         * elf/dl-tunables.c (__tunable_set_val): Add comment.
9141         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9142         argument.
9143         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9145 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
9147         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9148         Add PTRACE_EVENT_STOP.
9149         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9150         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9151         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9152         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9153         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9154         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9156 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
9158         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9159         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9160         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9161         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9162         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9163         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9164         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9165         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9166         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9167         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9169         [BZ #21112]
9170         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9171         12 bits zero.
9172         (cp_l): Update for new value of cp_h.
9173         * math/auto-libm-test-in: Add another test of pow.
9174         * math/auto-libm-test-out-pow: Regenerated.
9176 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9178         * manual/contrib.texi: Fix typo.
9180 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9182         [BZ #15998]
9183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9184         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9187 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9189         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9190         STRCHR as __strchr_power8.
9191         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9192         strlen as __strlen_power8.
9194 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9196         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9197         unaligned load for shorter strings.
9198         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9200 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9202         * math/libm-test-driver.c (flag_test_errno): New variable.
9203         (flag_test_exceptions): Likewise.
9204         (flag_test_finite): Likewise.
9205         (flag_test_inline): Likewise.
9206         (flag_test_mathvec): Likewise.
9207         (test_msg): Likewise.
9208         (ulp_idx): Likewise.
9209         (qtype_str): Likewise.
9210         (ULP_IDX): Remove macro.
9211         (QTYPE_STR): Likewise.
9212         (find_ulps): Use ulp_idx not ULP_IDX.
9213         (print_function_ulps): Use qtype_str, printed with %s, not
9214         QTYPE_STR, printed with concatentation to format string.
9215         (print_complex_function_ulps): Likewise.
9216         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9217         (test_errno): Use flag_test_errno not TEST_ERRNO.
9218         (enable_test): Use flag_test_inline, flag_test_finite and
9219         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9220         TEST_MATHVEC.
9221         (libm_test_init): New function.  Factored out of main.
9222         (libm_test_finish): Likewise.
9223         (main): Call libm_test_init and libm_test_finish and move most
9224         code to those functions.
9226         * math/libm-test-driver.c (STRX): New macro.
9227         (STR): Likewise.
9228         (STR_FLOAT): Likewise.
9229         (STR_VEC_LEN): Likewise.
9230         (TEST_MSG): Likewise.  Define here instead of expecting to be
9231         defined by including file.
9232         * math/test-double-finite.c (TEST_MSG): Remove macro.
9233         * math/test-double-vlen2.h (TEST_MSG): Likewise.
9234         * math/test-double-vlen4.h (TEST_MSG): Likewise.
9235         * math/test-double-vlen8.h (TEST_MSG): Likewise.
9236         * math/test-double.c (TEST_MSG): Likewise.
9237         * math/test-float-finite.c (TEST_MSG): Likewise.
9238         * math/test-float-vlen16.h (TEST_MSG): Likewise.
9239         * math/test-float-vlen4.h (TEST_MSG): Likewise.
9240         * math/test-float-vlen8.h (TEST_MSG): Likewise.
9241         * math/test-float.c (TEST_MSG): Likewise.
9242         * math/test-idouble.c (TEST_MSG): Likewise.
9243         * math/test-ifloat.c (TEST_MSG): Likewise.
9244         * math/test-ildouble.c (TEST_MSG): Likewise.
9245         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9246         * math/test-ldouble.c (TEST_MSG): Likewise.
9248         * math/libm-test.inc: Move all tests of individual functions to
9249         libm-test-*.inc and #include libm-test-*.c files.
9250         (acos_test_data): Remove.
9251         (acos_test): Likewise.
9252         (acosh_test_data): Likewise.
9253         (acosh_test): Likewise.
9254         (asin_test_data): Likewise.
9255         (asin_test): Likewise.
9256         (asinh_test_data): Likewise.
9257         (asinh_test): Likewise.
9258         (atan_test_data): Likewise.
9259         (atan_test): Likewise.
9260         (atanh_test_data): Likewise.
9261         (atanh_test): Likewise.
9262         (atan2_test_data): Likewise.
9263         (atan2_test): Likewise.
9264         (cabs_test_data): Likewise.
9265         (cabs_test): Likewise.
9266         (cacos_test_data): Likewise.
9267         (cacos_test): Likewise.
9268         (cacosh_test_data): Likewise.
9269         (cacosh_test): Likewise.
9270         (canonicalize_test_data): Likewise.
9271         (canonicalize_test): Likewise.
9272         (carg_test_data): Likewise.
9273         (carg_test): Likewise.
9274         (casin_test_data): Likewise.
9275         (casin_test): Likewise.
9276         (casinh_test_data): Likewise.
9277         (casinh_test): Likewise.
9278         (catan_test_data): Likewise.
9279         (catan_test): Likewise.
9280         (catanh_test_data): Likewise.
9281         (catanh_test): Likewise.
9282         (cbrt_test_data): Likewise.
9283         (cbrt_test): Likewise.
9284         (ccos_test_data): Likewise.
9285         (ccos_test): Likewise.
9286         (ccosh_test_data): Likewise.
9287         (ccosh_test): Likewise.
9288         (ceil_test_data): Likewise.
9289         (ceil_test): Likewise.
9290         (cexp_test_data): Likewise.
9291         (cexp_test): Likewise.
9292         (cimag_test_data): Likewise.
9293         (cimag_test): Likewise.
9294         (clog_test_data): Likewise.
9295         (clog_test): Likewise.
9296         (clog10_test_data): Likewise.
9297         (clog10_test): Likewise.
9298         (conj_test_data): Likewise.
9299         (conj_test): Likewise.
9300         (copysign_test_data): Likewise.
9301         (copysign_test): Likewise.
9302         (cos_test_data): Likewise.
9303         (cos_test): Likewise.
9304         (cosh_test_data): Likewise.
9305         (cosh_test): Likewise.
9306         (cpow_test_data): Likewise.
9307         (cpow_test): Likewise.
9308         (cproj_test_data): Likewise.
9309         (cproj_test): Likewise.
9310         (creal_test_data): Likewise.
9311         (creal_test): Likewise.
9312         (csin_test_data): Likewise.
9313         (csin_test): Likewise.
9314         (csinh_test_data): Likewise.
9315         (csinh_test): Likewise.
9316         (csqrt_test_data): Likewise.
9317         (csqrt_test): Likewise.
9318         (ctan_test_data): Likewise.
9319         (ctan_test): Likewise.
9320         (ctanh_test_data): Likewise.
9321         (ctanh_test): Likewise.
9322         (erf_test_data): Likewise.
9323         (erf_test): Likewise.
9324         (erfc_test_data): Likewise.
9325         (erfc_test): Likewise.
9326         (exp_test_data): Likewise.
9327         (exp_test): Likewise.
9328         (exp10_test_data): Likewise.
9329         (exp10_test): Likewise.
9330         (pow10_test): Likewise.
9331         (exp2_test_data): Likewise.
9332         (exp2_test): Likewise.
9333         (expm1_test_data): Likewise.
9334         (expm1_test): Likewise.
9335         (fabs_test_data): Likewise.
9336         (fabs_test): Likewise.
9337         (fdim_test_data): Likewise.
9338         (fdim_test): Likewise.
9339         (floor_test_data): Likewise.
9340         (floor_test): Likewise.
9341         (fma_test_data): Likewise.
9342         (fma_test): Likewise.
9343         (fmax_test_data): Likewise.
9344         (fmax_test): Likewise.
9345         (fmaxmag_test_data): Likewise.
9346         (fmaxmag_test): Likewise.
9347         (fmin_test_data): Likewise.
9348         (fmin_test): Likewise.
9349         (fminmag_test_data): Likewise.
9350         (fminmag_test): Likewise.
9351         (fmod_test_data): Likewise.
9352         (fmod_test): Likewise.
9353         (fpclassify_test_data): Likewise.
9354         (fpclassify_test): Likewise.
9355         (frexp_test_data): Likewise.
9356         (frexp_test): Likewise.
9357         (fromfp_test_data): Likewise.
9358         (fromfp_test): Likewise.
9359         (fromfpx_test_data): Likewise.
9360         (fromfpx_test): Likewise.
9361         (getpayload_test_data): Likewise.
9362         (getpayload_test): Likewise.
9363         (hypot_test_data): Likewise.
9364         (hypot_test): Likewise.
9365         (ilogb_test_data): Likewise.
9366         (ilogb_test): Likewise.
9367         (iscanonical_test_data): Likewise.
9368         (iscanonical_test): Likewise.
9369         (iseqsig_test_data): Likewise.
9370         (iseqsig_test): Likewise.
9371         (isfinite_test_data): Likewise.
9372         (isfinite_test): Likewise.
9373         (finite_test): Likewise.
9374         (isgreater_test_data): Likewise.
9375         (isgreater_test): Likewise.
9376         (isgreaterequal_test_data): Likewise.
9377         (isgreaterequal_test): Likewise.
9378         (isinf_test_data): Likewise.
9379         (isinf_test): Likewise.
9380         (isless_test_data): Likewise.
9381         (isless_test): Likewise.
9382         (islessequal_test_data): Likewise.
9383         (islessequal_test): Likewise.
9384         (islessgreater_test_data): Likewise.
9385         (islessgreater_test): Likewise.
9386         (isnan_test_data): Likewise.
9387         (isnan_test): Likewise.
9388         (isnormal_test_data): Likewise.
9389         (isnormal_test): Likewise.
9390         (issignaling_test_data): Likewise.
9391         (issignaling_test): Likewise.
9392         (issubnormal_test_data): Likewise.
9393         (issubnormal_test): Likewise.
9394         (isunordered_test_data): Likewise.
9395         (isunordered_test): Likewise.
9396         (iszero_test_data): Likewise.
9397         (iszero_test): Likewise.
9398         (j0_test_data): Likewise.
9399         (j0_test): Likewise.
9400         (j1_test_data): Likewise.
9401         (j1_test): Likewise.
9402         (jn_test_data): Likewise.
9403         (jn_test): Likewise.
9404         (lgamma_test_data): Likewise.
9405         (lgamma_test): Likewise.
9406         (gamma_test): Likewise.
9407         (llogb_test_data): Likewise.
9408         (llogb_test): Likewise.
9409         (lrint_test_data): Likewise.
9410         (lrint_test): Likewise.
9411         (llrint_test_data): Likewise.
9412         (llrint_test): Likewise.
9413         (log_test_data): Likewise.
9414         (log_test): Likewise.
9415         (log10_test_data): Likewise.
9416         (log10_test): Likewise.
9417         (log1p_test_data): Likewise.
9418         (log1p_test): Likewise.
9419         (log2_test_data): Likewise.
9420         (log2_test): Likewise.
9421         (logb_test_data): Likewise.
9422         (logb_test): Likewise.
9423         (lround_test_data): Likewise.
9424         (lround_test): Likewise.
9425         (llround_test_data): Likewise.
9426         (llround_test): Likewise.
9427         (modf_test_data): Likewise.
9428         (modf_test): Likewise.
9429         (nearbyint_test_data): Likewise.
9430         (nearbyint_test): Likewise.
9431         (nextafter_test_data): Likewise.
9432         (nextafter_test): Likewise.
9433         (nextup_test_data): Likewise.
9434         (nextup_test): Likewise.
9435         (nextdown_test_data): Likewise.
9436         (nextdown_test): Likewise.
9437         (nexttoward_test_data): Likewise.
9438         (nexttoward_test): Likewise.
9439         (pow_test_data): Likewise.
9440         (pow_test): Likewise.
9441         (remainder_test_data): Likewise.
9442         (remainder_test): Likewise.
9443         (drem_test): Likewise.
9444         (remquo_test_data): Likewise.
9445         (remquo_test): Likewise.
9446         (rint_test_data): Likewise.
9447         (rint_test): Likewise.
9448         (round_test_data): Likewise.
9449         (round_test): Likewise.
9450         (roundeven_test_data): Likewise.
9451         (roundeven_test): Likewise.
9452         (scalb_test_data): Likewise.
9453         (scalb_test): Likewise.
9454         (scalbn_test_data): Likewise.
9455         (scalbn_test): Likewise.
9456         (ldexp_test): Likewise.
9457         (scalbln_test_data): Likewise.
9458         (scalbln_test): Likewise.
9459         (setpayload_test_data): Likewise.
9460         (setpayload_test): Likewise.
9461         (setpayloadsig_test_data): Likewise.
9462         (setpayloadsig_test): Likewise.
9463         (signbit_test_data): Likewise.
9464         (signbit_test): Likewise.
9465         (sin_test_data): Likewise.
9466         (sin_test): Likewise.
9467         (sincos_test_data): Likewise.
9468         (sincos_test): Likewise.
9469         (sinh_test_data): Likewise.
9470         (sinh_test): Likewise.
9471         (sqrt_test_data): Likewise.
9472         (sqrt_test): Likewise.
9473         (tan_test_data): Likewise.
9474         (tan_test): Likewise.
9475         (tanh_test_data): Likewise.
9476         (tanh_test): Likewise.
9477         (tgamma_test_data): Likewise.
9478         (tgamma_test): Likewise.
9479         (totalorder_test_data): Likewise.
9480         (totalorder_test): Likewise.
9481         (totalordermag_test_data): Likewise.
9482         (totalordermag_test): Likewise.
9483         (trunc_test_data): Likewise.
9484         (trunc_test): Likewise.
9485         (ufromfp_test_data): Likewise.
9486         (ufromfp_test): Likewise.
9487         (ufromfpx_test_data): Likewise.
9488         (ufromfpx_test): Likewise.
9489         (y0_test_data): Likewise.
9490         (y0_test): Likewise.
9491         (y1_test_data): Likewise.
9492         (y1_test): Likewise.
9493         (yn_test_data): Likewise.
9494         (yn_test): Likewise.
9495         (significand_test_data): Likewise.
9496         (significand_test): Likewise.
9497         * math/Makefile (auto-libm-test-out-files): Remove variable.
9498         (libm-test-funcs-noauto): New variable.
9499         (libm-test-funcs-all): Likewise.
9500         (libm-test-c-auto): Likewise.
9501         (libm-test-c-noauto): Likewise.
9502         (libm-tests-generated): Add $(libm-test-c-auto) and
9503         $(libm-test-c-noauto).
9504         (generated): Do not add auto-libm-test-out.
9505         (libm-test-c-auto-obj): New variable.
9506         (libm-test-c-noauto-obj): Likewise.
9507         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9508         ($(libm-test-c-noauto-obj)): New static pattern rule.
9509         ($(libm-test-c-auto-obj)): Likewise.
9510         (libm-test-incs): New variable.
9511         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9512         and pass it to gen-libm-have-vector-test.sh.
9513         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9514         be passed on command line.
9515         * math/libm-test-acos.inc: New file.  Content from
9516         math/libm-test.inc.
9517         * math/libm-test-acosh.inc: Likewise.
9518         * math/libm-test-asin.inc: Likewise.
9519         * math/libm-test-asinh.inc: Likewise.
9520         * math/libm-test-atan.inc: Likewise.
9521         * math/libm-test-atan2.inc: Likewise.
9522         * math/libm-test-atanh.inc: Likewise.
9523         * math/libm-test-cabs.inc: Likewise.
9524         * math/libm-test-cacos.inc: Likewise.
9525         * math/libm-test-cacosh.inc: Likewise.
9526         * math/libm-test-canonicalize.inc: Likewise.
9527         * math/libm-test-carg.inc: Likewise.
9528         * math/libm-test-casin.inc: Likewise.
9529         * math/libm-test-casinh.inc: Likewise.
9530         * math/libm-test-catan.inc: Likewise.
9531         * math/libm-test-catanh.inc: Likewise.
9532         * math/libm-test-cbrt.inc: Likewise.
9533         * math/libm-test-ccos.inc: Likewise.
9534         * math/libm-test-ccosh.inc: Likewise.
9535         * math/libm-test-ceil.inc: Likewise.
9536         * math/libm-test-cexp.inc: Likewise.
9537         * math/libm-test-cimag.inc: Likewise.
9538         * math/libm-test-clog.inc: Likewise.
9539         * math/libm-test-clog10.inc: Likewise.
9540         * math/libm-test-conj.inc: Likewise.
9541         * math/libm-test-copysign.inc: Likewise.
9542         * math/libm-test-cos.inc: Likewise.
9543         * math/libm-test-cosh.inc: Likewise.
9544         * math/libm-test-cpow.inc: Likewise.
9545         * math/libm-test-cproj.inc: Likewise.
9546         * math/libm-test-creal.inc: Likewise.
9547         * math/libm-test-csin.inc: Likewise.
9548         * math/libm-test-csinh.inc: Likewise.
9549         * math/libm-test-csqrt.inc: Likewise.
9550         * math/libm-test-ctan.inc: Likewise.
9551         * math/libm-test-ctanh.inc: Likewise.
9552         * math/libm-test-erf.inc: Likewise.
9553         * math/libm-test-erfc.inc: Likewise.
9554         * math/libm-test-exp.inc: Likewise.
9555         * math/libm-test-exp10.inc: Likewise.
9556         * math/libm-test-exp2.inc: Likewise.
9557         * math/libm-test-expm1.inc: Likewise.
9558         * math/libm-test-fabs.inc: Likewise.
9559         * math/libm-test-fdim.inc: Likewise.
9560         * math/libm-test-floor.inc: Likewise.
9561         * math/libm-test-fma.inc: Likewise.
9562         * math/libm-test-fmax.inc: Likewise.
9563         * math/libm-test-fmaxmag.inc: Likewise.
9564         * math/libm-test-fmin.inc: Likewise.
9565         * math/libm-test-fminmag.inc: Likewise.
9566         * math/libm-test-fmod.inc: Likewise.
9567         * math/libm-test-fpclassify.inc: Likewise.
9568         * math/libm-test-frexp.inc: Likewise.
9569         * math/libm-test-fromfp.inc: Likewise.
9570         * math/libm-test-fromfpx.inc: Likewise.
9571         * math/libm-test-getpayload.inc: Likewise.
9572         * math/libm-test-hypot.inc: Likewise.
9573         * math/libm-test-ilogb.inc: Likewise.
9574         * math/libm-test-iscanonical.inc: Likewise.
9575         * math/libm-test-iseqsig.inc: Likewise.
9576         * math/libm-test-isfinite.inc: Likewise.
9577         * math/libm-test-isgreater.inc: Likewise.
9578         * math/libm-test-isgreaterequal.inc: Likewise.
9579         * math/libm-test-isinf.inc: Likewise.
9580         * math/libm-test-isless.inc: Likewise.
9581         * math/libm-test-islessequal.inc: Likewise.
9582         * math/libm-test-islessgreater.inc: Likewise.
9583         * math/libm-test-isnan.inc: Likewise.
9584         * math/libm-test-isnormal.inc: Likewise.
9585         * math/libm-test-issignaling.inc: Likewise.
9586         * math/libm-test-issubnormal.inc: Likewise.
9587         * math/libm-test-isunordered.inc: Likewise.
9588         * math/libm-test-iszero.inc: Likewise.
9589         * math/libm-test-j0.inc: Likewise.
9590         * math/libm-test-j1.inc: Likewise.
9591         * math/libm-test-jn.inc: Likewise.
9592         * math/libm-test-lgamma.inc: Likewise.
9593         * math/libm-test-llogb.inc: Likewise.
9594         * math/libm-test-llrint.inc: Likewise.
9595         * math/libm-test-llround.inc: Likewise.
9596         * math/libm-test-log.inc: Likewise.
9597         * math/libm-test-log10.inc: Likewise.
9598         * math/libm-test-log1p.inc: Likewise.
9599         * math/libm-test-log2.inc: Likewise.
9600         * math/libm-test-logb.inc: Likewise.
9601         * math/libm-test-lrint.inc: Likewise.
9602         * math/libm-test-lround.inc: Likewise.
9603         * math/libm-test-modf.inc: Likewise.
9604         * math/libm-test-nearbyint.inc: Likewise.
9605         * math/libm-test-nextafter.inc: Likewise.
9606         * math/libm-test-nextdown.inc: Likewise.
9607         * math/libm-test-nexttoward.inc: Likewise.
9608         * math/libm-test-nextup.inc: Likewise.
9609         * math/libm-test-pow.inc: Likewise.
9610         * math/libm-test-remainder.inc: Likewise.
9611         * math/libm-test-remquo.inc: Likewise.
9612         * math/libm-test-rint.inc: Likewise.
9613         * math/libm-test-round.inc: Likewise.
9614         * math/libm-test-roundeven.inc: Likewise.
9615         * math/libm-test-scalb.inc: Likewise.
9616         * math/libm-test-scalbln.inc: Likewise.
9617         * math/libm-test-scalbn.inc: Likewise.
9618         * math/libm-test-setpayload.inc: Likewise.
9619         * math/libm-test-setpayloadsig.inc: Likewise.
9620         * math/libm-test-signbit.inc: Likewise.
9621         * math/libm-test-significand.inc: Likewise.
9622         * math/libm-test-sin.inc: Likewise.
9623         * math/libm-test-sincos.inc: Likewise.
9624         * math/libm-test-sinh.inc: Likewise.
9625         * math/libm-test-sqrt.inc: Likewise.
9626         * math/libm-test-tan.inc: Likewise.
9627         * math/libm-test-tanh.inc: Likewise.
9628         * math/libm-test-tgamma.inc: Likewise.
9629         * math/libm-test-totalorder.inc: Likewise.
9630         * math/libm-test-totalordermag.inc: Likewise.
9631         * math/libm-test-trunc.inc: Likewise.
9632         * math/libm-test-ufromfp.inc: Likewise.
9633         * math/libm-test-ufromfpx.inc: Likewise.
9634         * math/libm-test-y0.inc: Likewise.
9635         * math/libm-test-y1.inc: Likewise.
9636         * math/libm-test-yn.inc: Likewise.
9637         * math/README.libm-test: Update.
9639         * math/gen-auto-libm-tests.c: Update comment about use of program.
9640         (generate_output): Add argument FUNCTION.
9641         (main): Require extra argument.  Pass function name to
9642         generate_output.
9643         * math/Makefile (generated): Add auto-libm-test-out.
9644         (libm-test-funcs-auto): New variable.
9645         (auto-libm-test-out-files): New variable.
9646         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9647         Concatenate those files to form $(objpfx)auto-libm-test-out and
9648         use it as input to gen-libm-test.pl.
9649         * math/README.libm-test: Update.
9650         * math/auto-libm-test-out: Remove.
9651         * math/auto-libm-test-out-acos: New generated file.
9652         * math/auto-libm-test-out-acosh: Likewise.
9653         * math/auto-libm-test-out-asin: Likewise.
9654         * math/auto-libm-test-out-asinh: Likewise.
9655         * math/auto-libm-test-out-atan: Likewise.
9656         * math/auto-libm-test-out-atan2: Likewise.
9657         * math/auto-libm-test-out-atanh: Likewise.
9658         * math/auto-libm-test-out-cabs: Likewise.
9659         * math/auto-libm-test-out-carg: Likewise.
9660         * math/auto-libm-test-out-cbrt: Likewise.
9661         * math/auto-libm-test-out-ccos: Likewise.
9662         * math/auto-libm-test-out-ccosh: Likewise.
9663         * math/auto-libm-test-out-cexp: Likewise.
9664         * math/auto-libm-test-out-clog: Likewise.
9665         * math/auto-libm-test-out-clog10: Likewise.
9666         * math/auto-libm-test-out-cos: Likewise.
9667         * math/auto-libm-test-out-cosh: Likewise.
9668         * math/auto-libm-test-out-cpow: Likewise.
9669         * math/auto-libm-test-out-csin: Likewise.
9670         * math/auto-libm-test-out-csinh: Likewise.
9671         * math/auto-libm-test-out-csqrt: Likewise.
9672         * math/auto-libm-test-out-ctan: Likewise.
9673         * math/auto-libm-test-out-ctanh: Likewise.
9674         * math/auto-libm-test-out-erf: Likewise.
9675         * math/auto-libm-test-out-erfc: Likewise.
9676         * math/auto-libm-test-out-exp: Likewise.
9677         * math/auto-libm-test-out-exp10: Likewise.
9678         * math/auto-libm-test-out-exp2: Likewise.
9679         * math/auto-libm-test-out-expm1: Likewise.
9680         * math/auto-libm-test-out-fma: Likewise.
9681         * math/auto-libm-test-out-hypot: Likewise.
9682         * math/auto-libm-test-out-j0: Likewise.
9683         * math/auto-libm-test-out-j1: Likewise.
9684         * math/auto-libm-test-out-jn: Likewise.
9685         * math/auto-libm-test-out-lgamma: Likewise.
9686         * math/auto-libm-test-out-log: Likewise.
9687         * math/auto-libm-test-out-log10: Likewise.
9688         * math/auto-libm-test-out-log1p: Likewise.
9689         * math/auto-libm-test-out-log2: Likewise.
9690         * math/auto-libm-test-out-pow: Likewise.
9691         * math/auto-libm-test-out-sin: Likewise.
9692         * math/auto-libm-test-out-sincos: Likewise.
9693         * math/auto-libm-test-out-sinh: Likewise.
9694         * math/auto-libm-test-out-sqrt: Likewise.
9695         * math/auto-libm-test-out-tan: Likewise.
9696         * math/auto-libm-test-out-tanh: Likewise.
9697         * math/auto-libm-test-out-tgamma: Likewise.
9698         * math/auto-libm-test-out-y0: Likewise.
9699         * math/auto-libm-test-out-y1: Likewise.
9700         * math/auto-libm-test-out-yn: Likewise.
9702         * math/Makefile (generated): Do not include libm-test.stmp.
9703         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9704         on $(objpfx)libm-test.stmp.
9705         ($(objpfx)libm-test.stmp): Remove rule.
9706         ($(objpfx)libm-test-ulps.h): New rule.
9707         ($(objpfx)libm-test.c): Likewise.
9708         ($(objpfx)libm-have-vector-test.h): Likewise.
9709         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9710         individual generated files, not libm-test.stmp.
9712         * math/gen-libm-test.pl ($output_dir): Remove variable.
9713         ($srcdir): Likewise.
9714         ($opt_a): New variable.
9715         ($opt_c): Likewise.
9716         ($opt_C): Likewise.
9717         ($opt_H): Likewise.
9718         (-n): Make option take argument and use it as NewUlps output.
9719         (-a): New option.  Use its argument for auto-libm-test-out input.
9720         (-c): New option.  Use its argument for libm-test.inc input.
9721         (-C): New option.  Use its argument for libm-test.c output.
9722         (-H): New option.  Use its argument for libm-test-ulps.h output.
9723         (top level): Only process inputs needed to generate outputs
9724         specified by command-line options.  Only generate outputs
9725         specified by command-line options.
9726         * math/README.libm-test: Update example gen-libm-test.pl command.
9727         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9728         commands.
9729         (regen-ulps): Likewise.
9731 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
9733         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9734         * include/string.h (index): Remove define.
9735         (rindex): Likewise.
9736         * misc/getttyent.c (__getttyent): Rename index to strchr.
9737         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9738         * sunrpc/rpc_main.c (mkfile_output): Likewise.
9740 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9742         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
9743         * math/libm-test.inc: Move all contents, other than tests of
9744         individual functions, to libm-test-driver.c.
9745         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9746         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9747         [!FE_UPWARD] (FE_UPWARD): Likewise.
9748         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9749         (NO_EXCEPTION): Likewise.
9750         (INVALID_EXCEPTION): Likewise.
9751         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9752         (OVERFLOW_EXCEPTION): Likewise.
9753         (UNDERFLOW_EXCEPTION): Likewise.
9754         (INEXACT_EXCEPTION): Likewise.
9755         (INVALID_EXCEPTION_OK): Likewise.
9756         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9757         (OVERFLOW_EXCEPTION_OK): Likewise.
9758         (UNDERFLOW_EXCEPTION_OK): Likewise.
9759         (NO_INEXACT_EXCEPTION): Likewise.
9760         (EXCEPTIONS_OK): Likewise.
9761         (IGNORE_ZERO_INF_SIGN): Likewise.
9762         (TEST_NAN_SIGN): Likewise.
9763         (TEST_NAN_PAYLOAD): Likewise.
9764         (NO_TEST_INLINE): Likewise.
9765         (XFAIL_TEST): Likewise.
9766         (ERRNO_UNCHANGED): Likewise.
9767         (ERRNO_EDOM): Likewise.
9768         (ERRNO_ERANGE): Likewise.
9769         (IGNORE_RESULT): Likewise.
9770         (NON_FINITE): Likewise.
9771         (TEST_SNAN): Likewise.
9772         (NO_TEST_MATHVEC): Likewise.
9773         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9774         (__CONCATX): Likewise.
9775         (TYPE_MIN): Likewise.
9776         (TYPE_TRUE_MIN): Likewise.
9777         (TYPE_MAX): Likewise.
9778         (MIN_EXP): Likewise.
9779         (MAX_EXP): Likewise.
9780         (MANT_DIG): Likewise.
9781         (FSTR_MAX): Likewise.
9782         (ULP_IDX): Likewise.
9783         (QTYPE_STR): Likewise.
9784         (TEST_COND_binary32): Likewise.
9785         (TEST_COND_binary64): Likewise.
9786         (TEST_COND_binary128): Likewise.
9787         (TEST_COND_ibm128): Likewise.
9788         (TEST_COND_intel96): Likewise.
9789         (TEST_COND_m68k96): Likewise.
9790         (TEST_COND_ibm128_libgcc): Likewise.
9791         (XFAIL_IBM128_LIBGCC): Likewise.
9792         (PAYLOAD_DIG): Likewise.
9793         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9794         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9795         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9796         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9797         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9798         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9799         (TEST_COND_long32): Likewise.
9800         (TEST_COND_long64): Likewise.
9801         (TEST_COND_before_rounding): Likewise.
9802         (TEST_COND_after_rounding): Likewise.
9803         (lit_pi_3_m_4_d): Likewise.
9804         (lit_pi_3_m_4_ln10_m_d): Likewise.
9805         (lit_pi_2_ln10_m_d): Likewise.
9806         (lit_pi_4_ln10_m_d): Likewise.
9807         (lit_pi_ln10_d): Likewise.
9808         (lit_pi_2_d): Likewise.
9809         (lit_pi_4_d): Likewise.
9810         (lit_pi): Likewise.
9811         (lit_e): Likewise.
9812         (ulps_file_name): Likewise.
9813         (ulps_file): Likewise.
9814         (output_ulps): Likewise.
9815         (output_dir): Likewise.
9816         (noErrors): Likewise.
9817         (noTests): Likewise.
9818         (noExcTests): Likewise.
9819         (noErrnoTests): Likewise.
9820         (verbose): Likewise.
9821         (output_max_error): Likewise.
9822         (output_points): Likewise.
9823         (ignore_max_ulp): Likewise.
9824         (plus_zero): Likewise.
9825         (minus_zero): Likewise.
9826         (plus_infty): Likewise.
9827         (minus_infty): Likewise.
9828         (qnan_value_pl): Likewise.
9829         (qnan_value): Likewise.
9830         (snan_value_pl): Likewise.
9831         (snan_value): Likewise.
9832         (max_value): Likewise.
9833         (min_value): Likewise.
9834         (min_subnorm_value): Likewise.
9835         (snan_value_ld): Likewise.
9836         (max_error): Likewise.
9837         (real_max_error): Likewise.
9838         (imag_max_error): Likewise.
9839         (prev_max_error): Likewise.
9840         (prev_real_max_error): Likewise.
9841         (prev_imag_max_error): Likewise.
9842         (max_valid_error): Likewise.
9843         (TYPE_DECIMAL_DIG): Likewise.
9844         (TYPE_HEX_DIG): Likewise.
9845         (fmt_ftostr): Likewise.
9846         (compare_ulp_data): Likewise.
9847         (find_ulps): Likewise.
9848         (init_max_error): Likewise.
9849         (set_max_error): Likewise.
9850         (print_float): Likewise.
9851         (print_screen): Likewise.
9852         (print_screen_max_error): Likewise.
9853         (update_stats): Likewise.
9854         (print_function_ulps): Likewise.
9855         (print_complex_function_ulps): Likewise.
9856         (fpstack_test): Likewise.
9857         (print_max_error): Likewise.
9858         (print_complex_max_error): Likewise.
9859         (test_single_exception): Likewise.
9860         (test_exceptions): Likewise.
9861         (test_single_errno): Likewise.
9862         (test_errno): Likewise.
9863         (ULPDIFF): Likewise.
9864         (ulp): Likewise.
9865         (check_float_internal): Likewise.
9866         (check_float): Likewise.
9867         (check_complex): Likewise.
9868         (check_int): Likewise.
9869         (check_long): Likewise.
9870         (check_bool): Likewise.
9871         (check_longlong): Likewise.
9872         (check_intmax_t): Likewise.
9873         (check_uintmax_t): Likewise.
9874         (enable_test): Likewise.
9875         (struct test_f_f_data): Likewise.
9876         (struct test_ff_f_data): Likewise.
9877         (struct test_fj_f_data): Likewise.
9878         (struct test_fi_f_data): Likewise.
9879         (struct test_fl_f_data): Likewise.
9880         (struct test_if_f_data): Likewise.
9881         (struct test_fff_f_data): Likewise.
9882         (struct test_fiu_M_data): Likewise.
9883         (struct test_fiu_U_data): Likewise.
9884         (struct test_c_f_data): Likewise.
9885         (struct test_f_f1_data): Likewise.
9886         (struct test_fF_f1_data): Likewise.
9887         (struct test_ffI_f1_data): Likewise.
9888         (struct test_c_c_data): Likewise.
9889         (struct test_cc_c_data): Likewise.
9890         (struct test_f_i_data): Likewise.
9891         (struct test_ff_i_data): Likewise.
9892         (struct test_f_l_data): Likewise.
9893         (struct test_f_L_data): Likewise.
9894         (struct test_fFF_11_data): Likewise.
9895         (struct test_Ff_b1_data): Likewise.
9896         (IF_ROUND_INIT_): Likewise.
9897         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9898         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9899         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9900         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9901         (ROUND_RESTORE_): Likewise.
9902         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9903         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9904         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9905         (ROUND_RESTORE_FE_UPWARD): Likewise.
9906         (RM_): Likewise.
9907         (RM_FE_DOWNWARD): Likewise.
9908         (RM_FE_TONEAREST): Likewise.
9909         (RM_FE_TOWARDZERO): Likewise.
9910         (RM_FE_UPWARD): Likewise.
9911         (COMMON_TEST_SETUP): Likewise.
9912         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9913         (COMMON_TEST_CLEANUP): Likewise.
9914         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9915         (RUN_TEST_f_f): Likewise.
9916         (RUN_TEST_LOOP_f_f): Likewise.
9917         (RUN_TEST_fp_f): Likewise.
9918         (RUN_TEST_LOOP_fp_f): Likewise.
9919         (RUN_TEST_2_f): Likewise.
9920         (RUN_TEST_LOOP_2_f): Likewise.
9921         (RUN_TEST_ff_f): Likewise.
9922         (RUN_TEST_LOOP_ff_f): Likewise.
9923         (RUN_TEST_LOOP_fj_f): Likewise.
9924         (RUN_TEST_fi_f): Likewise.
9925         (RUN_TEST_LOOP_fi_f): Likewise.
9926         (RUN_TEST_fl_f): Likewise.
9927         (RUN_TEST_LOOP_fl_f): Likewise.
9928         (RUN_TEST_if_f): Likewise.
9929         (RUN_TEST_LOOP_if_f): Likewise.
9930         (RUN_TEST_fff_f): Likewise.
9931         (RUN_TEST_LOOP_fff_f): Likewise.
9932         (RUN_TEST_fiu_M): Likewise.
9933         (RUN_TEST_LOOP_fiu_M): Likewise.
9934         (RUN_TEST_fiu_U): Likewise.
9935         (RUN_TEST_LOOP_fiu_U): Likewise.
9936         (RUN_TEST_c_f): Likewise.
9937         (RUN_TEST_LOOP_c_f): Likewise.
9938         (RUN_TEST_f_f1): Likewise.
9939         (RUN_TEST_LOOP_f_f1): Likewise.
9940         (RUN_TEST_fF_f1): Likewise.
9941         (RUN_TEST_LOOP_fF_f1): Likewise.
9942         (RUN_TEST_fI_f1): Likewise.
9943         (RUN_TEST_LOOP_fI_f1): Likewise.
9944         (RUN_TEST_ffI_f1_mod8): Likewise.
9945         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9946         (RUN_TEST_Ff_b1): Likewise.
9947         (RUN_TEST_LOOP_Ff_b1): Likewise.
9948         (RUN_TEST_Ffp_b1): Likewise.
9949         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9950         (RUN_TEST_c_c): Likewise.
9951         (RUN_TEST_LOOP_c_c): Likewise.
9952         (RUN_TEST_cc_c): Likewise.
9953         (RUN_TEST_LOOP_cc_c): Likewise.
9954         (RUN_TEST_f_i): Likewise.
9955         (RUN_TEST_LOOP_f_i): Likewise.
9956         (RUN_TEST_f_i_tg): Likewise.
9957         (RUN_TEST_LOOP_f_i_tg): Likewise.
9958         (RUN_TEST_ff_b): Likewise.
9959         (RUN_TEST_LOOP_ff_b): Likewise.
9960         (RUN_TEST_ff_i_tg): Likewise.
9961         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9962         (RUN_TEST_f_b): Likewise.
9963         (RUN_TEST_LOOP_f_b): Likewise.
9964         (RUN_TEST_f_b_tg): Likewise.
9965         (RUN_TEST_LOOP_f_b_tg): Likewise.
9966         (RUN_TEST_f_l): Likewise.
9967         (RUN_TEST_LOOP_f_l): Likewise.
9968         (RUN_TEST_f_L): Likewise.
9969         (RUN_TEST_LOOP_f_L): Likewise.
9970         (RUN_TEST_fFF_11): Likewise.
9971         (RUN_TEST_LOOP_fFF_11): Likewise.
9972         (VEC_SUFF): Likewise.
9973         (STR_CONCAT): Likewise.
9974         (STR_CON3): Likewise.
9975         (HAVE_VECTOR): Likewise.
9976         (START): Likewise.
9977         (END): Likewise.
9978         (END_COMPLEX): Likewise.
9979         (ALL_RM_TEST): Likewise.
9980         (matherr): Likewise.
9981         (initialize): Likewise.
9982         (options): Likewise.
9983         (doc): Likewise.
9984         (parse_opt): Likewise.
9985         (argp): Likewise.
9986         (check_ulp): Likewise.
9987         (main): Likewise.
9988         (do_test): New function.  Call tests of individual functions
9989         previously called from main.
9991         * math/libm-test.inc: Remove comment listing functions tested and
9992         not tested.
9994 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9996         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9997         (allocate_stack): Remove COLORING_INCREMENT usage.
9998         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9999         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10001 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10003         * manual/libm-err-tab.pl (@all_functions): Change to
10004         %all_functions.  Initialize as empty.
10005         (parse_ulps): Add to %all_functions based on functions found in
10006         ulps files.  Ignore results for non-default rounding modes and
10007         vector functions.
10008         (print_platforms): Use %all_platforms.
10009         * manual/math.texi (Errors in Math Functions): Document omissions
10010         from the table.
10012         * math/Makefile (before-compile): Remove.
10014 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
10016         [BZ #21075]
10017         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10018         unused assignment.
10019         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10021 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10023         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10024         Add __glibc_unlikely hint.
10026 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10028         [BZ #16640]
10029         * sysdeps/i386/i686/strtok.S: Remove file.
10030         * sysdeps/i386/i686/strtok_r.S: Likewise.
10031         * sysdeps/i386/strtok.S: Likewise.
10032         * sysdeps/i386/strtok_r.S: Likewise.
10033         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10034         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10035         * sysdeps/x86_64/strtok.S: Likewise.
10036         * sysdeps/x86_64/strtok_r.S: Likewise.
10038         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10039         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10040         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10041         (__ASSUME_FADVISE64_AS_64_64): Define.
10042         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10043         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10044         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10045         __ALIGNMENT_ARG usage.
10046         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10047         __NR_fadvise64_64 if it is not defined.
10049 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10051         * version.h (RELEASE): Set to "development"
10052         (VERSION): Set to 2.25.90.
10053         * NEWS: Add 2.26 section.
10055         * version.h (RELEASE): Set to "stable"
10056         (VERSION): Set to 2.25.
10057         * include/features.h (__GLIBC_MINOR__): Set to 25.
10059         * manual/contrib.texi: Add more contributors from this release
10060         and past releases.
10062         * NEWS (2.25): Add list of bugs fixed.
10064         * NEWS: Add missing news items.
10066 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10068         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10069         parent if child exited in that manner.  Print WEXITSTATUS
10070         instead of the raw status.
10071         (do_test_prep): Rename to do_test.
10072         (do_test): Return the result of run_executable_sgid.
10073         (TEST_FUNCTION_ARGV): Adjust.
10075 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
10076             Florian Weimer  <fweimer@redhat.com>
10077             Carlos O'Donell  <carlos@redhat.com>
10079         [BZ #20915]
10080         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10081         Do not initialize DTV.
10082         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10084 2017-02-03  David S. Miller  <davem@davemloft.net>
10086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10094         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10095         (libm-sysdep_routines): Update.
10096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10101         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10102         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10103         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10104         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10106         Likewise.
10107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10109         Likewise.
10110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10112         Likewise.
10113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10115         Likewise.
10116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10118         (libm-sysdep_routines): Update.
10120 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10122         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10123         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10124         against unrelocated shared library.
10125         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10127 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10129         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10130         * elf/tst-env-setuid-tunables.c
10131         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10132         GLIBC_TUNABLES is removed in a setgid process.
10134         [BZ #21073]
10135         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10136         * elf/dl-tunables.c (tunables_strdup): Remove.
10137         (get_next_env): Also return the previous envp.
10138         (parse_tunables): Erase tunables of category
10139         TUNABLES_SECLEVEL_SXID_ERASE.
10140         (maybe_enable_malloc_check): Make MALLOC_CHECK_
10141         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10142         (__tunables_init)[TUNABLES_FRONTEND ==
10143         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10144         after parsing.
10145         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10146         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10147         * elf/dl-tunables.h (struct _tunable): Change member is_secure
10148         to security_level.
10149         * elf/dl-tunables.list: Add security_level annotations for all
10150         tunables.
10151         * scripts/gen-tunables.awk: Recognize and generate enum values
10152         for security_level.
10153         * elf/tst-env-setuid.c: New test case.
10154         * elf/tst-env-setuid-tunables: new test case.
10155         * elf/Makefile (tests-static): Add them.
10157 2017-02-01  Richard Henderson  <rth@twiddle.net>
10159         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10160         adjusting the byte count.
10162 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
10164         * conform/Makefile (linknamespace-libs): Define.
10166         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10167         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10168         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10169         operands.
10171 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
10173         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10175 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10177         [BZ #21081]
10178         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10179         (L(stosb)): Add VZEROUPPER before ret.
10181 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
10182             Alexey Makhalov <amakhalov@vmware.com>
10183             Florian Weimer <fweimer@redhat.com>
10185         [BZ #20116]
10186         * nptl/pthread_create.c: Document concurrency notes.
10187         Enhance thread creation notes.
10188         (create_thread): Use bool *stopped_start.
10189         (START_THREAD_DEFN): Comment ownership of PD.
10190         (__pthread_create_2_1): Add local bool stopped_start and use
10191         that instead of pd->stopped_start where appropriate.
10192         * nptl/createthread.c (create_thread): Use bool *stopped_start.
10193         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10194         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10195         * nptl/tst-create-detached.c: New file.
10196         * nptl/Makefile (tests): Add tst-create-detached.
10197         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10198         Reference the enhanced thread creation notes.
10199         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10200         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10201         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10202         (__pthread_current_priority): Likewise.
10203         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10204         xpthread_attr_init, xpthread_attr_setdetachstate, and
10205         xpthread_attr_setstacksize.
10206         * support/xpthread_attr_destroy.c: New file.
10207         * support/xpthread_attr_init.c: New file.
10208         * support/xpthread_attr_setdetachstate.c: New file.
10209         * support/xpthread_attr_setstacksize.c: New file.
10210         * support/xthread.h: Define prototypes for xpthread_attr_destroy
10211         xpthread_attr_init, xpthread_attr_setdetachstate, and
10212         xpthread_attr_setstacksize.
10214 2017-01-27  Florian Weimer  <fweimer@redhat.com>
10216         * nptl/Makefile (tests): Add tst-robust-fork.
10217         * nptl/tst-robust-fork.c: New file.
10218         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10219         xpthread_mutex_consistent, xpthread_mutex_destroy,
10220         xpthread_mutex_init, xpthread_mutexattr_destroy,
10221         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10222         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10223         xpthread_mutexattr_settype.
10224         * support/xmmap.c: New file.
10225         * support/xmunmap.c: Likewise.
10226         * support/xpthread_mutex_consistent.c: Likewise.
10227         * support/xpthread_mutex_destroy.c: Likewise.
10228         * support/xpthread_mutex_init.c: Likewise.
10229         * support/xpthread_mutexattr_destroy.c: Likewise.
10230         * support/xpthread_mutexattr_init.c: Likewise.
10231         * support/xpthread_mutexattr_setprotocol.c: Likewise.
10232         * support/xpthread_mutexattr_setpshared.c: Likewise.
10233         * support/xpthread_mutexattr_setrobust.c: Likewise.
10234         * support/xpthread_mutexattr_settype.c: Likewise.
10235         * support/xthread.h (xpthread_mutexattr_destroy)
10236         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10237         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10238         (xpthread_mutexattr_settype, xpthread_mutex_init)
10239         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10240         * support/xunistd.h (xmmap, xmunmap): Likewise.
10242 2017-01-25  Florian Weimer  <fweimer@redhat.com>
10244         * string/Makefile (xtests): Add comment.
10245         (LOCALES): Add en_GB.UTF-8.
10246         (tst-strcoll-overflow.out): Depend on generated locales.
10247         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10248         (SIZE, TIMEOUT): Update comments.
10249         (do_test): Define as static.  Fail test if setlocale fails.
10250         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
10251         messages.
10252         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10253         TIMEOUT at 300 seconds should be enough to run this test
10254         successfully.
10256 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
10258         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10259         /* FALLTHRU */ comments.
10261 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
10263         [BZ #21053]
10264         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10265         constants instead of the old R* ones.
10266         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10267         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10268         (NGREG): ... to this, to fit in with other architectures.
10269         (gpregset_t): Use new NGREG macro.
10270         [__USE_GNU]: Remove condition; all architectures other than tile
10271         are unconditional.
10272         (R*): Rename to REG_R*.
10274 2017-01-20  DJ Delorie  <dj@redhat.com>
10276         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10277         (tunable_set_val_if_valid_range_signed) ... this, and ...
10278         (tunable_set_val_if_valid_range_unsigned) ... this.
10279         (tunable_initialize): Call the correct one of the above based on type.
10281 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
10283         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10284         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10285         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10286         * sysdeps/microblaze/libm-test-ulps: Likewise.
10287         * sysdeps/sh/libm-test-ulps: Likewise.
10289         * math/README.libm-test: Update list of characters for input and
10290         output types.
10292 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10294         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10295         (__lll_unlock_elision): Fix adapt_count decrement.
10297 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
10299         * README.pretty-printers (Known issues): Warn about printers not
10300         always covering everything.
10301         * nptl/nptl-printers.py (MutexPrinter): Change output.
10302         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10304 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10306         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10307         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10308         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10309         (__lll_lock_elision): Do not test futex before starting a
10310         transaction.  Use __glibc_likely instead of __builtin_expect.
10311         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10312         (__lll_trylock_elision): Do not test futex before starting a
10313         transaction.  Use __glibc_likely instead of __builtin_expect.
10315 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10317         * po/Makefile (update-translations): New target.
10319 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10321         [BZ #21061]
10322         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10324 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10326         * elf/dl-tunables (get_next_env): Always advance envp.
10327         * stdlib/tst-empty-env.c: New test case.
10328         * stdlib/Makefile (tests): Use it.
10330 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10332         [BZ #21047]
10333         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10334         name for instruction.
10335         [!__SOFTFP__] (_FPU_SETCW): Likewise.
10337 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10339         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10340         for make install.
10342 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10344         * po/bg.po: Merge from Translation Project.
10345         * po/fr.po: Likewise.
10346         * po/ko.po: Likewise.
10347         * po/nl.po: Likewise.
10348         * po/sv.po: Likewise.
10350 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10352         * manual/install.texi (Tools for Compilation): Update GCC version
10353         known to work to build glibc.
10354         * INSTALL: Regenerated.
10356 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10358         [BZ #21006]
10359         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10361 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
10363         [BZ #21045]
10364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10365         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10366         to __sigprocmask.
10368 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
10370         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10371         wrap-around.
10372         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10374         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10376 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10378         * NEWS: Fix typo.
10380 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10382         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10383         barriers and comments.
10384         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10385         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10386         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10388 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10390         [BZ #19402]
10391         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10392         mutexes.
10394 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10396         [BZ #20985]
10397         * nptl/Makefile: Adapt.
10398         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10399         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10400         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10401         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10402         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10403         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10404         lll_robust* functions and adapt.
10405         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10406         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10407         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10408         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10409         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10410         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10411         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10412         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10413         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10414         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10415         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10416         * nptl/lowlevelrobustlock.c: Remove file.
10417         * nptl/lowlevelrobustlock.sym: Likewise.
10418         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10419         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10421 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10423         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10425 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10427         * po/cs.po: Merge translations from the Translation Project.
10428         * po/de.po: Likewise.
10429         * po/pl.po: Likewise.
10430         * po/ru.po: Likewise.
10431         * po/tr.po: Likewise.
10432         * po/uk.po: Likewise.
10433         * po/vi.po: Likewise.
10434         * po/zh_CN.po: Likewise.
10436 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
10438         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10440         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10441         object.
10443 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10445         [BZ #16458]
10446         * bits/uintn-identity.h: New file.
10447         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10448         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10449         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10450         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10451         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10452         * string/endian.h: Include <bits/uintn-identity.h>.
10453         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10454         __uint16_identity.
10455         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10456         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10457         __uint32_identity.
10458         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10459         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10460         __uint64_identity.
10461         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10462         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10463         __uint16_identity.
10464         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10465         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10466         __uint32_identity.
10467         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10468         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10469         __uint64_identity.
10470         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10471         * string/Makefile (headers): Add bits/uintn-identity.h.
10472         (tests): Add test-endian-types.
10473         * string/test-endian-types.c: New file.
10474         * inet/Makefile (tests): Add test-hnto-types.
10475         * inet/test-hnto-types.c: New file.
10477 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10479         * po/be.po: Update from Translation Project.
10480         * po/bg.po: Likewise.
10481         * po/ca.po: Likewise.
10482         * po/cs.po: Likewise.
10483         * po/da.po: Likewise.
10484         * po/de.po: Likewise.
10485         * po/el.po: Likewise.
10486         * po/eo.po: Likewise.
10487         * po/es.po: Likewise.
10488         * po/fi.po: Likewise.
10489         * po/fr.po: Likewise.
10490         * po/gl.po: Likewise.
10491         * po/hr.po: Likewise.
10492         * po/hu.po: Likewise.
10493         * po/ia.po: Likewise.
10494         * po/id.po: Likewise.
10495         * po/it.po: Likewise.
10496         * po/ja.po: Likewise.
10497         * po/ko.po: Likewise.
10498         * po/lt.po: Likewise.
10499         * po/nb.po: Likewise.
10500         * po/nl.po: Likewise.
10501         * po/pl.po: Likewise.
10502         * po/pt_BR.po: Likewise.
10503         * po/ru.po: Likewise.
10504         * po/rw.po: Likewise.
10505         * po/sk.po: Likewise.
10506         * po/sl.po: Likewise.
10507         * po/sv.po: Likewise.
10508         * po/tr.po: Likewise.
10509         * po/uk.po: Likewise.
10510         * po/vi.po: Likewise.
10511         * po/zh_CN.po: Likewise.
10512         * po/zh_TW.po: Likewise.
10514 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10516         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10517         -Wformat-truncation instead of -Wformat-length.
10518         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10519         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10520         GCC 7.
10521         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10522         (do_test): Ignore -Wformat-truncation for GCC 7.
10524         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10525         buffer used to print long int value.
10527         * elf/sotruss-lib.c (init): Increase space allocated for pid by
10528         one byte.  Print it with %ld, cast to long int.
10530 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10532         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10533         (re.fullmatch, subprocess.run): Likewise.
10535 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10537         * po/libc.pot: Regenerate.
10539 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10541         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10542         (min_strlen): Likewise.
10543         (disable_tunable): Likewise.
10544         (maybe_disable_malloc_check): Rename to
10545         maybe_enable_malloc_check.
10546         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10547         if /etc/suid-debug file exists.
10548         (__tunables_init): Update caller.
10549         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10550         secure.
10552 2016-01-10  Torvald Riegel  <triegel@redhat.com>
10554         * nptl/DESIGN-rwlock.txt: Remove.
10555         * nptl/lowlevelrwlock.sym: Remove.
10556         * nptl/Makefile: Add new tests.
10557         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10558         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10559         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10560         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10561         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10562         PTHREAD_RWLOCK_FUTEX_USED): New.
10563         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10564         implementation.
10565         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10566         (__pthread_rwlock_rdlock): Adapt.
10567         * nptl/pthread_rwlock_timedrdlock.c
10568         (pthread_rwlock_timedrdlock): Adapt.
10569         * nptl/pthread_rwlock_timedwrlock.c
10570         (pthread_rwlock_timedwrlock): Adapt.
10571         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10572         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10573         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10574         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10575         (__pthread_rwlock_wrlock): Adapt.
10576         * nptl/tst-rwlock10.c: Adapt.
10577         * nptl/tst-rwlock11.c: Adapt.
10578         * nptl/tst-rwlock17.c: New file.
10579         * nptl/tst-rwlock18.c: New file.
10580         * nptl/tst-rwlock19.c: New file.
10581         * nptl/tst-rwlock2b.c: New file.
10582         * nptl/tst-rwlock8.c: Adapt.
10583         * nptl/tst-rwlock9.c: Adapt.
10584         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10585         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10586         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10587         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10588         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10589         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10590         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10591         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10592         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10593         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10594         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10595         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10596         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10597         (pthread_rwlock_t): Adapt.
10598         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10599         (pthread_rwlock_t): Adapt.
10600         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10601         * nptl/nptl-printers.py (): Adapt.
10602         * nptl/nptl_lock_constants.pysym: Adapt.
10603         * nptl/test-rwlock-printers.py: Adapt.
10604         * nptl/test-rwlockattr-printers.c: Adapt.
10605         * nptl/test-rwlockattr-printers.py: Adapt.
10607 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10609         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10610         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10611         (fma_test_data): Likewise.
10612         (hypot_test_data): Likewise.
10613         (log1p_test_data): Likewise.
10614         (modf_test_data): Likewise.
10615         (pow_test_data): Likewise.
10616         (remainder_test_data): Likewise.
10617         (remquo_test_data): Likewise.
10618         (scalb_test_data): Likewise.
10619         (scalbn_test_data): Likewise.
10620         (scalbln_test_data): Likewise.
10621         * math/gen-libm-test.pl (parse_args): Transform
10622         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10623         on the rounding mode.
10625 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
10627         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10628         xfail-rounding:ibm128-libgcc automatically to tests overflowing
10629         and those that can underflow to zero.
10630         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10631         add others.
10632         * math/auto-libm-test-out: Regenerated.
10634         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10635         supported.
10636         (feholdexcept_tests): Skip tests requiring exceptions or rounding
10637         modes support if not supported.
10639         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10640         Add libc.so PLT entry.
10641         (__tls_get_addr): Make ld.so PLT entry optional.
10643 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10645         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10646         * string/bits/string3.h: ... here.
10648 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10650         [BZ #21028]
10651         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10652         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10653         if EXCEPTION_TESTS returns false.
10655 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10657         [BZ #20558]
10658         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10659         strings_fortified.h.
10660         [__USE_MISC] (bzero): Likewise.
10661         [__USE_MISC] (explicit_bzero): Likewise.
10662         * string/strings.h: Include strings_fortified.h.
10663         * string/Makefile (headers): Add strings_fortified.h.
10664         * string/bits/strings_fortified.h: New file.
10665         * include/bits/strings_fortified.h: Likewise.
10667 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10669         * elf/tst-tls13.c (TIMEOUT): Remove.
10670         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10671         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10672         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10673         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10674         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10676         [BZ #21026]
10677         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10678         (readahead): New syscall entry.
10680 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10682         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10683         around tests of strncat with large sizes.
10685         * malloc/tst-malloc.c: Include <libc-internal.h>.
10686         (do_test): Disable -Walloc-size-larger-than= around tests of
10687         malloc with negative sizes.
10688         * malloc/tst-mcheck.c: Include <libc-internal.h>.
10689         (do_test): Disable -Walloc-size-larger-than= around tests of
10690         malloc and realloc with negative sizes.
10691         * malloc/tst-realloc.c: Include <libc-internal.h>.
10692         (do_test): Disable -Walloc-size-larger-than= around tests of
10693         realloc with negative sizes.
10695         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10696         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10697         allowed to 16 ulps.
10698         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10699         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
10700         * math/auto-libm-test-out: Regenerated.
10702 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10704         * math/Makefile (libm-calls): Move wrappers...
10705         (libm-compat-call-auto): Here.
10706         (libm-routines): Add items in libm-compat-calls-auto.
10707         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10708         the filenames of the wrappers that have been renamed.
10709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10712         * math/w_acos.c: Add _compat suffix to filename.
10713         * math/w_acosf.c: Likewise.
10714         * math/w_acosh.c: Likewise.
10715         * math/w_acoshf.c: Likewise.
10716         * math/w_acoshl.c: Likewise.
10717         * math/w_acosl.c: Likewise.
10718         * math/w_asin.c: Likewise.
10719         * math/w_asinf.c: Likewise.
10720         * math/w_asinl.c: Likewise.
10721         * math/w_atan2.c: Likewise.
10722         * math/w_atan2f.c: Likewise.
10723         * math/w_atan2l.c: Likewise.
10724         * math/w_atanh.c: Likewise.
10725         * math/w_atanhf.c: Likewise.
10726         * math/w_atanhl.c: Likewise.
10727         * math/w_cosh.c: Likewise.
10728         * math/w_coshf.c: Likewise.
10729         * math/w_coshl.c: Likewise.
10730         * math/w_exp10.c: Likewise.
10731         * math/w_exp10f.c: Likewise.
10732         * math/w_exp10l.c: Likewise.
10733         * math/w_exp2.c: Likewise.
10734         * math/w_exp2f.c: Likewise.
10735         * math/w_exp2l.c: Likewise.
10736         * math/w_fmod.c: Likewise.
10737         * math/w_fmodf.c: Likewise.
10738         * math/w_fmodl.c: Likewise.
10739         * math/w_hypot.c: Likewise.
10740         * math/w_hypotf.c: Likewise.
10741         * math/w_hypotl.c: Likewise.
10742         * math/w_j0.c: Likewise.
10743         * math/w_j0f.c: Likewise.
10744         * math/w_j0l.c: Likewise.
10745         * math/w_j1.c: Likewise.
10746         * math/w_j1f.c: Likewise.
10747         * math/w_j1l.c: Likewise.
10748         * math/w_jn.c: Likewise.
10749         * math/w_jnf.c: Likewise.
10750         * math/w_jnl.c: Likewise.
10751         * math/w_log10.c: Likewise.
10752         * math/w_log10f.c: Likewise.
10753         * math/w_log10l.c: Likewise.
10754         * math/w_log2.c: Likewise.
10755         * math/w_log2f.c: Likewise.
10756         * math/w_log2l.c: Likewise.
10757         * math/w_log.c: Likewise.
10758         * math/w_logf.c: Likewise.
10759         * math/w_logl.c: Likewise.
10760         * math/w_pow.c: Likewise.
10761         * math/w_powf.c: Likewise.
10762         * math/w_powl.c: Likewise.
10763         * math/w_remainder.c: Likewise.
10764         * math/w_remainderf.c: Likewise.
10765         * math/w_remainderl.c: Likewise.
10766         * math/w_scalb.c: Likewise.
10767         * math/w_scalbf.c: Likewise.
10768         * math/w_scalbl.c: Likewise.
10769         * math/w_sinh.c: Likewise.
10770         * math/w_sinhf.c: Likewise.
10771         * math/w_sinhl.c: Likewise.
10772         * math/w_sqrt.c: Likewise.
10773         * math/w_sqrtf.c: Likewise.
10774         * math/w_sqrtl.c: Likewise.
10775         * math/w_tgamma.c: Likewise.
10776         * math/w_tgammaf.c: Likewise.
10777         * math/w_tgammal.c: Likewise.
10779         * math/w_acos_compat.c: New file copied from above and
10780         adjusted for new #includes path
10781         * math/w_acosf_compat.c: Likewise.
10782         * math/w_acosh_compat.c: Likewise.
10783         * math/w_acoshf_compat.c: Likewise.
10784         * math/w_acoshl_compat.c: Likewise.
10785         * math/w_acosl_compat.c: Likewise.
10786         * math/w_asin_compat.c: Likewise.
10787         * math/w_asinf_compat.c: Likewise.
10788         * math/w_asinl_compat.c: Likewise.
10789         * math/w_atan2_compat.c: Likewise.
10790         * math/w_atan2f_compat.c: Likewise.
10791         * math/w_atan2l_compat.c: Likewise.
10792         * math/w_atanh_compat.c: Likewise.
10793         * math/w_atanhf_compat.c: Likewise.
10794         * math/w_atanhl_compat.c: Likewise.
10795         * math/w_cosh_compat.c: Likewise.
10796         * math/w_coshf_compat.c: Likewise.
10797         * math/w_coshl_compat.c: Likewise.
10798         * math/w_exp10_compat.c: Likewise.
10799         * math/w_exp10f_compat.c: Likewise.
10800         * math/w_exp10l_compat.c: Likewise.
10801         * math/w_exp2_compat.c: Likewise.
10802         * math/w_exp2f_compat.c: Likewise.
10803         * math/w_exp2l_compat.c: Likewise.
10804         * math/w_fmod_compat.c: Likewise.
10805         * math/w_fmodf_compat.c: Likewise.
10806         * math/w_fmodl_compat.c: Likewise.
10807         * math/w_hypot_compat.c: Likewise.
10808         * math/w_hypotf_compat.c: Likewise.
10809         * math/w_hypotl_compat.c: Likewise.
10810         * math/w_j0_compat.c: Likewise.
10811         * math/w_j0f_compat.c: Likewise.
10812         * math/w_j0l_compat.c: Likewise.
10813         * math/w_j1_compat.c: Likewise.
10814         * math/w_j1f_compat.c: Likewise.
10815         * math/w_j1l_compat.c: Likewise.
10816         * math/w_jn_compat.c: Likewise.
10817         * math/w_jnf_compat.c: Likewise.
10818         * math/w_jnl_compat.c: Likewise.
10819         * math/w_log10_compat.c: Likewise.
10820         * math/w_log10f_compat.c: Likewise.
10821         * math/w_log10l_compat.c: Likewise.
10822         * math/w_log2_compat.c: Likewise.
10823         * math/w_log2f_compat.c: Likewise.
10824         * math/w_log2l_compat.c: Likewise.
10825         * math/w_log_compat.c: Likewise.
10826         * math/w_logf_compat.c: Likewise.
10827         * math/w_logl_compat.c: Likewise.
10828         * math/w_pow_compat.c: Likewise.
10829         * math/w_powf_compat.c: Likewise.
10830         * math/w_powl_compat.c: Likewise.
10831         * math/w_remainder_compat.c: Likewise.
10832         * math/w_remainderf_compat.c: Likewise.
10833         * math/w_remainderl_compat.c: Likewise.
10834         * math/w_scalb_compat.c: Likewise.
10835         * math/w_scalbf_compat.c: Likewise.
10836         * math/w_scalbl_compat.c: Likewise.
10837         * math/w_sinh_compat.c: Likewise.
10838         * math/w_sinhf_compat.c: Likewise.
10839         * math/w_sinhl_compat.c: Likewise.
10840         * math/w_sqrt_compat.c: Likewise.
10841         * math/w_sqrtf_compat.c: Likewise.
10842         * math/w_sqrtl_compat.c: Likewise.
10843         * math/w_tgamma_compat.c: Likewise.
10844         * math/w_tgammaf_compat.c: Likewise.
10845         * math/w_tgammal_compat.c: Likewise.
10847         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10848         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10849         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10850         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10851         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10852         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10853         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10854         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10855         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10856         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10857         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10858         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10859         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10860         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10861         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10862         * sysdeps/ia64/fpu/w_powl.c: Likewise.
10863         * sysdeps/ia64/fpu/w_powf.c: Likewise.
10864         * sysdeps/ia64/fpu/w_pow.c: Likewise.
10865         * sysdeps/ia64/fpu/w_logl.c: Likewise.
10866         * sysdeps/ia64/fpu/w_logf.c: Likewise.
10867         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10868         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10869         * sysdeps/ia64/fpu/w_log2.c: Likewise.
10870         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10871         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10872         * sysdeps/ia64/fpu/w_log10.c: Likewise.
10873         * sysdeps/ia64/fpu/w_log.c: Likewise.
10874         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10875         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10876         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10877         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10878         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10879         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10880         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10881         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10882         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10883         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10884         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10885         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10886         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10887         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10888         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10889         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10890         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10891         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10892         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10893         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10894         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10895         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10896         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10897         * sysdeps/ia64/fpu/w_asin.c: Likewise.
10898         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10899         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10900         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10901         * sysdeps/ia64/fpu/w_acos.c: Likewise.
10902         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10903         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10904         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10905         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10906         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10907         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10908         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10909         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10910         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10911         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10912         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10913         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10914         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10915         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10916         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10917         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10918         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10919         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10920         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10921         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10922         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10923         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10924         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10925         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10926         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10927         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10928         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10929         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10930         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10931         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10932         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10933         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10934         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10935         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10936         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10937         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10938         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10939         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10940         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10941         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10942         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10943         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10944         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10945         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10946         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10948         Likewise.
10949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10950         Likewise.
10951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10953         Likewise.
10954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10955         Likewise.
10956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10957         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10958         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10959         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10960         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10961         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10962         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10967         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10968         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10969         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10970         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10972         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10973         and adjusted for new #includes path
10974         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10975         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10976         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10977         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10978         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10979         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10980         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10981         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10982         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10983         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10984         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10985         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10986         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10987         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10988         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10989         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10990         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10991         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10992         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10993         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10994         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10995         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10996         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10997         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10998         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10999         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11000         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11001         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11002         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11003         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11004         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11005         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11006         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11007         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11008         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11009         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11010         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11011         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11012         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11013         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11014         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11015         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11016         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11017         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11018         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11019         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11020         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11021         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11022         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11023         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11024         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11025         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11026         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11027         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11028         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11029         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11030         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11031         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11032         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11033         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11034         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11035         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11036         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11037         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11038         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11039         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11040         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11041         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11042         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11043         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11044         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11045         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11046         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11047         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11048         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11049         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11050         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11051         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11052         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11053         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11054         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11055         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11056         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11057         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11058         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11059         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11060         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11061         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11062         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11063         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11064         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11065         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11066         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11067         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11068         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11069         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11070         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11071         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11072         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11074         Likewise.
11075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11076         Likewise.
11077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11078         Likewise.
11079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11080         Likewise.
11081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11082         Likewise.
11083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11084         Likewise.
11085         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11086         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11087         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11088         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11089         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11090         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11092         Likewise.
11093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11094         Likewise.
11095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11096         Likewise.
11097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11098         Likewise.
11099         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11100         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11101         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11102         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11104 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
11106         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11107         __jmp_buf_internal_tag.
11109         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11110         preserve NaN payload if [__mips_nan2008].
11111         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11113         [BZ #21022]
11114         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11116 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11118         * sysdeps/i386/fpu/libm-test-ulps: Update.
11120 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11122         * sysdeps/ia64/strcat.c: Remove file.
11123         * sysdeps/powerpc/strcat.c: Likewise.
11124         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11125         C implementation.
11126         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11127         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11129 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11130             Steven Munroe  <sjmunroe@us.ibm.com>
11131             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11133         [BZ #20822]
11134         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11135         (__lll_lock_elision): Access adapt_count via C11 atomics.
11136         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11137         (__lll_trylock_elision): Likewise.
11138         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11139         (__lll_unlock_elision):  Update adapt_count variable inside the
11140         critical section using C11 atomics.
11142 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11144         * math/test-fenvinline.c (do_test): Disable tests of raised
11145         exceptions if !EXCEPTION_TESTS (FLOAT).
11147 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11149         [BZ #19390]
11150         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11151         maximum string size.
11152         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11153         in pointer addition.
11154         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11155         Likewise.
11157 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11159         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11160         passed to tst-ldconfig-X.sh.
11162 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
11164         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11166 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11168         [BZ #21019]
11169         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11170         New syscall entry.
11171         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11172         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11173         lseek.
11175         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11176         power4 glibc for powerpc-linux-gnu.
11178 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11180         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11181         semctl.
11183 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11185         * math/test-nearbyint-except.c: Include <stdbool.h>.
11186         (any_supported): New variable.
11187         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
11188         set any_supported.
11189         (do_test): Return 77 if no floating-point type supported
11190         exceptions.
11192         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11193         condition on [__mips_hard_float].
11195 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11197         [BZ #21014]
11198         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11199         in pointer addition.
11200         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11202 2017-01-02  Torvald Riegel  <triegel@redhat.com>
11204         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11205         new condvar.
11207 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11209         * scripts/build-many-glibcs.py (Context.checkout): Default
11210         binutils version to 2.28 branch.
11212 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11214         * support/support_format_netent.c (support_format_netent): Work
11215         around alpha struct netent definition difference.
11217 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11219         * support/xwrite.c (xwrite): Use %td for pointer difference.
11221 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11223         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11224         have-tunables only.
11225         (tests-static): Add tst-malloc-usable-static-tunables for
11226         have-tunables only.
11228 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
11230         * scripts/config.guess: Update to version 2017-01-01.
11231         * scripts/config.sub: Update to version 2017-01-01.
11233         * NEWS: Update copyright dates.
11234         * catgets/gencat.c (print_version): Likewise.
11235         * csu/version.c (banner): Likewise.
11236         * debug/catchsegv.sh: Likewise.
11237         * debug/pcprofiledump.c (print_version): Likewise.
11238         * debug/xtrace.sh (do_version): Likewise.
11239         * elf/ldconfig.c (print_version): Likewise.
11240         * elf/ldd.bash.in: Likewise.
11241         * elf/pldd.c (print_version): Likewise.
11242         * elf/sotruss.sh: Likewise.
11243         * elf/sprof.c (print_version): Likewise.
11244         * iconv/iconv_prog.c (print_version): Likewise.
11245         * iconv/iconvconfig.c (print_version): Likewise.
11246         * locale/programs/locale.c (print_version): Likewise.
11247         * locale/programs/localedef.c (print_version): Likewise.
11248         * login/programs/pt_chown.c (print_version): Likewise.
11249         * malloc/memusage.sh (do_version): Likewise.
11250         * malloc/memusagestat.c (print_version): Likewise.
11251         * malloc/mtrace.pl: Likewise.
11252         * manual/libc.texinfo: Likewise.
11253         * nptl/version.c (banner): Likewise.
11254         * nscd/nscd.c (print_version): Likewise.
11255         * nss/getent.c (print_version): Likewise.
11256         * nss/makedb.c (print_version): Likewise.
11257         * posix/getconf.c (main): Likewise.
11258         * scripts/test-installation.pl: Likewise.
11259         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11261         * All files with FSF copyright notices: Update copyright dates
11262         using scripts/update-copyrights.
11263         * intl/plural.c: Regenerated.
11264         * locale/programs/charmap-kw.h: Likewise.
11265         * locale/programs/locfile-kw.h: Likewise.
11267 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11269         [BZ #20593]
11270         Update DNS RR type definitions.
11271         * scripts/gen-rrtypes.py: New file.
11272         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11273         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
11274         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11275         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11276         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11277         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11278         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11279         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11280         ns_t_ta, ns_t_dlv.
11281         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11282         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11283         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11284         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11285         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11286         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11287         Define.
11288         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
11289         entry for ns_t_zxfr.
11291 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11293         [BZ #18784]
11294         CVE-2015-5180
11295         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11296         T_UNSPEC.  Adjust value.
11297         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11298         * resolv/res_query.c (__libc_res_nquery): Likewise.
11299         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11300         QTYPEs.
11301         * resolv/tst-resolv-qtypes.c: New file.
11302         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11303         (tst-resolv-qtypes): Link against libresolv and libpthread.
11305 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11307         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11309 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11311         * manual/tunables.texi: New chapter.
11312         * manual/Makefile (chapters): Add it.
11313         * manual/probes.texi (@node): Point to the Tunables chapter.
11315         * Makeconfig (have-tunables): Check for non-negative instead
11316         of positive.
11317         * configure.ac: Add 'valstring' as a valid value for
11318         --enable-tunables.
11319         * configure: Regenerate.
11320         * elf/Makefile (have-tunables): Check for non-negative instead
11321         of positive.
11322         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11323         dl-tunables.c.
11324         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11325         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11326         (tunables_strdup): Likewise.
11327         (disable_tunables): Likewise.
11328         (parse_tunables): Likewise.
11329         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11330         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11331         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11332         (TUNABLES_FRONTEND_yes): New macro, define as
11333         TUNABLES_FRONTEND_valstring by default.
11334         * manual/install.texi: Document new acceptable values for
11335         --enable-tunables.
11336         * INSTALL: Regenerate.
11338         * config.make.in (have-loop-to-function): Define.
11339         * elf/Makefile (CFLAGS-dl-tunables.c): Add
11340         -fno-tree-loop-distribute-patterns.
11341         * elf/dl-tunables.c: Include libc-internals.h.
11342         (GLIBC_TUNABLES): New macro.
11343         (tunables_strdup): New function.
11344         (parse_tunables): New function.
11345         (min_strlen): New function.
11346         (__tunables_init): Use the new functions and macro.
11347         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11348         * malloc/tst-malloc-usable-tunables.c: New test case.
11349         * malloc/tst-malloc-usable-static-tunables.c: New test case.
11350         * malloc/Makefile (tests, tests-static): Add tests.
11352         * manual/install.texi: Add --enable-tunables option.
11353         * INSTALL: Regenerate.
11354         * README.tunables: New file.
11355         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11356         (before-compile): Generate dl-tunable-list.h early.
11357         * config.h.in: Add HAVE_TUNABLES.
11358         * config.make.in: Add have-tunables.
11359         * configure.ac: Add --enable-tunables option.
11360         * configure: Regenerate.
11361         * csu/init-first.c (__libc_init_first): Move
11362         __libc_init_secure earlier...
11363         * csu/init-first.c (LIBC_START_MAIN):... to here.
11364         Include dl-tunables.h, libc-internal.h.
11365         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11366         binaries.
11367         * elf/Makefile (dl-routines): Add dl-tunables.
11368         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11369         namespace.
11370         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11371         only when !HAVE_TUNABLES.
11372         * elf/rtld.c (process_envvars): Likewise.
11373         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11374         (_dl_sysdep_start): Call __tunables_init.
11375         * elf/dl-tunable-types.h: New file.
11376         * elf/dl-tunables.c: New file.
11377         * elf/dl-tunables.h: New file.
11378         * elf/dl-tunables.list: New file.
11379         * malloc/tst-malloc-usable-static.c: New test case.
11380         * malloc/Makefile (tests-static): Add it.
11381         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11382         Define TUNABLE_NAMESPACE.
11383         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11384         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
11385         callback functions.
11386         (ptmalloc_init): Set tunable values.
11387         * scripts/gen-tunables.awk: New file.
11388         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11389         (_dl_sysdep_start): Call __tunables_init.
11391 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11393         * resolv/resolv.h (RES_BLAST): Deprecate.
11394         * resolv/res_debug.c (p_option): Remove RES_BLAST.
11395         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11396         to RES_BLAST.
11398 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11400         [BZ #19582]
11401         Deprecate RES_USE_INET6.
11402         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11403         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11404         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11405         RES_USE_INET6.
11406         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11407         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11408         (_nss_nisplus_gethostbyaddr_r): Likewise.
11409         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11410         of res_use_inet6.
11411         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11412         instead of RES_USE_INET6.
11413         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11414         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11415         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11416         Likewise.
11417         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11418         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11419         Likewise.
11420         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11421         (_nss_dns_gethostbyname_r): Likewise.
11422         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11423         alternate RES_USE_INET6 handling.
11424         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11425         instead of RES_USE_INET6.
11426         * resolv/res_init.c (res_setoptions): Likewise.
11427         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11428         * resolv/resolv-internal.h: New file.
11429         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11430         make the deprecation warning non-fatal.
11431         * resolv/README (Using the resolver in multi-threaded code): Drop
11432         reference to RES_USE_INET6.
11433         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11434         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11436 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11438         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11439         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11440         tst-resolv-search.
11441         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11442         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11443         with libresolv and libpthread.
11444         * resolv/tst-bug18665.c: New file.
11445         * resolv/tst-bug18665-tcp: Likewise.
11446         * resolv/tst-res_use_inet6: Likewise.
11447         * resolv/tst-resolv-basic: Likewise.
11448         * resolv/tst-resolv-network: Likewise.
11449         * resolv/tst-resolv-search: Likewise.
11450         * support/Makefile (libsupport-routines): Add check_addrinfo,
11451         check_dns_packet, check_hostent, check_netent, resolv_test,
11452         support_format_address_family, support_format_addrinfo,
11453         support_format_dns_packet, support_format_herrno,
11454         support_format_hostent, support_format_netent, support_run_diff,
11455         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11456         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11457         xstrdup, xwrite.
11458         * support/check_addrinfo.c: New file.
11459         * support/check_dns_packet.c: Likewise.
11460         * support/check_hostent.c: Likewise.
11461         * support/check_netent.c: Likewise.
11462         * support/check_nss.h: Likewise.
11463         * support/format_nss.h: Likewise.
11464         * support/resolv_test.c: Likewise.
11465         * support/resolv_test.h: Likewise.
11466         * support/run_diff.h: Likewise.
11467         * support/support_format_address_family.c: Likewise.
11468         * support/support_format_addrinfo.c: Likewise.
11469         * support/support_format_dns_packet.c: Likewise.
11470         * support/support_format_herrno.c: Likewise.
11471         * support/support_format_hostent.c: Likewise.
11472         * support/support_format_netent.c: Likewise.
11473         * support/support_run_diff.c: Likewise.
11474         * support/xaccept.c: Likewise.
11475         * support/xbind.c: Likewise.
11476         * support/xconnect.c: Likewise.
11477         * support/xfclose.c: Likewise.
11478         * support/xfopen.c: Likewise.
11479         * support/xgetsockname.c: Likewise.
11480         * support/xlisten.c: Likewise.
11481         * support/xmemstream.c: Likewise.
11482         * support/xmemstream.h: Likewise.
11483         * support/xpoll.c: Likewise.
11484         * support/xpthread_once.c: Likewise.
11485         * support/xrecvfrom.c: Likewise.
11486         * support/xsendto.c: Likewise.
11487         * support/xsetsockopt.c: Likewise.
11488         * support/xstdio.h: Likewise.
11489         * support/xstrdup.c: Likewise.
11490         * support/support.h (xstrdup): Declare.
11491         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11492         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11493         * support/xthread.h (xpthread_once): Likwise.
11494         * support/xunistd.h (xwrite): Declare.
11496 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11498         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11499         (test_verbose): Declare.
11500         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11501         * support/support_test_main.c (default_options): Likewise.
11502         (usage, support_test_main): Handle 'v'.
11503         (test_verbose): Define.
11504         * support/tst-support_record_failure.c (do_test): Use
11505         test_verbose.
11506         * support/tst-support_record_failure-2.sh (different_status): Add
11507         --verbose test.
11509 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11511         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11512         test failures are recorded.
11513         * support/check.c (support_print_failure_impl): Call
11514         support_record_failure.
11515         (support_exit_failure_impl): Call support_record_failure if status
11516         indicates failure.
11517         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11518         * support/xasprintf.c (xasprintf): Likewise.
11519         * support/xfork.c (xfork): Likewise.
11520         * support/xpthread_check_return.c (xpthread_check_return):
11521         Likewise.
11522         * support/xsocket.c (xsocket): Likeweise.
11523         * support/xwaitpid.c (xwaitpid): Likewise.
11524         * support/support_record_failure.c (struct test_failures): Adjust
11525         to coding style.
11526         * support/support_test_verify_impl.c (support_test_verify_impl):
11527         Adjust error messages.
11528         * support/tst-support_record_failure-2.sh (different_status):
11529         Adjust error messages.
11531 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11533         * support/namespace.h: New file.
11534         * support/support_become_root.c: Likewise.
11535         * support/support_enter_network_namespace.c: Likewise.
11536         * support/tst-support-namespace.c: Likewise.
11537         * support/xsocket.c: Likewise.
11538         * support/xsocket.h: Likewise.
11539         * support/Makefile (libsupport-routines): Add support_become_root,
11540         support_enter_network_namespace, xsocket.
11541         (tests): Add tst-support-namespace.
11543 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11545         [BZ #17252]
11546         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11547         __USE_GNU.
11549 2016-12-31  Torvald Riegel  <triegel@redhat.com>
11551         [BZ #13165]
11552         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11553         use new algorithm.
11554         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11555         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11556         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11557         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11558         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11559         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11560         __condvar_cleanup_waiting, __condvar_dec_grefs,
11561         __pthread_cond_wait_common): New.
11562         (__condvar_cleanup): Remove.
11563         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11564         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11565         Likewise.
11566         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11567         Likewise.
11568         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11569         * nptl/tst-cond1.c: Add comment.
11570         * nptl/tst-cond20.c (do_test): Adapt.
11571         * nptl/tst-cond22.c (do_test): Likewise.
11572         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11573         structure.
11574         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11575         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11576         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11577         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11578         Likewise.
11579         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11580         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11581         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11582         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11583         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11584         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11585         Likewise.
11586         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11587         Likewise.
11588         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11589         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11590         (COND_CLOCK_BITS): Adapt.
11591         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11592         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11593         __PTHREAD_COND_SHARED_MASK): New.
11594         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11595         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11596         * nptl/nptl_lock_constants.pysym: Adapt.
11597         * nptl/test-cond-printers.py: Adapt.
11598         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11599         cond_compat_check_and_clear): Adapt.
11600         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11601         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11602         (__pthread_cond_timedwait): ... and move here.
11603         * nptl/DESIGN-condvar.txt: Remove file.
11604         * nptl/lowlevelcond.sym: Likewise.
11605         * nptl/pthread_cond_timedwait.c: Likewise.
11606         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11607         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11608         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11609         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11610         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11611         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11612         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11613         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11614         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11615         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11616         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11617         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11618         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11619         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11620         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11621         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11623 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
11625         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11626         (fromfp): New declaration.
11627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11630         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11631         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11635         * math/math.h: Include <bits/types.h>.
11636         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11637         constant and macro.
11638         (FP_INT_DOWNWARD): Likewise.
11639         (FP_INT_TOWARDZERO): Likewise.
11640         (FP_INT_TONEARESTFROMZERO): Likewise.
11641         (FP_INT_TONEAREST): Likewise.
11642         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11643         (fromfpf): Likewise.
11644         (fromfpl): Likewise.
11645         (ufromfp): Likewise.
11646         (ufromfpf): Likewise.
11647         (ufromfpl): Likewise.
11648         (fromfpx): Likewise.
11649         (fromfpxf): Likewise.
11650         (fromfpxl): Likewise.
11651         (ufromfpx): Likewise.
11652         (ufromfpxf): Likewise.
11653         (ufromfpxl): Likewise.
11654         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11655         s_fromfpxF and s_ufromfpxF.
11656         * math/gen-fromfp-tests.py: New file.
11657         * math/gen-fromfp-tests-inputs: Likewise.
11658         * math/libm-test.inc: Include <stdint.h>
11659         (check_intmax_t): New function.
11660         (check_uintmax_t): Likewise.
11661         (struct test_fiu_M_data): New type.
11662         (struct test_fiu_U_data): Likewise.
11663         (RUN_TEST_fiu_M): New macro.
11664         (RUN_TEST_LOOP_fiu_M): Likewise.
11665         (RUN_TEST_fiu_U): Likewise.
11666         (RUN_TEST_LOOP_fiu_U): Likewise.
11667         (fromfp_test_data): New array.
11668         (fromfp_test): New function.
11669         (fromfpx_test_data): New array.
11670         (fromfpx_test): New function.
11671         (ufromfp_test_data): New array.
11672         (ufromfp_test): New function.
11673         (ufromfpx_test_data): New array.
11674         (ufromfpx_test): New function.
11675         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11676         ufromfpx_test.
11677         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11678         characters.
11679         * math/test-tgmath-ret.c: Include <stdint.h>.
11680         (rm): New variable.
11681         (width): Likewise.
11682         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11683         called function.
11684         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11685         CHECK_RET_CONST_TYPE.
11686         (CHECK_RET_CONST_DOUBLE): Likewise.
11687         (CHECK_RET_CONST_LDOUBLE): Likewise.
11688         (CHECK_RET_CONST): Take extra arguments and pass them to calls
11689         macros.
11690         (fromfp): New CHECK_RET_CONST call.
11691         (ufromfp): Likewise.
11692         (fromfpx): Likewise.
11693         (ufromfpx): Likewise.
11694         (do_test): Call check_return_fromfp, check_return_ufromfp,
11695         check_return_fromfpx and check_return_ufromfpx.
11696         * math/test-tgmath.c: Include <stdint.h>
11697         (NCALLS): Increase to 138.
11698         (F(compile_test)): Initialize i.  Call fromfp functions.
11699         (F(fromfp)): New function.
11700         (F(fromfpx)): Likewise.
11701         (F(ufromfp)): Likewise.
11702         (F(ufromfpx)): Likewise.
11703         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11704         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11705         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11706         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11707         ufromfpxl.
11708         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11709         ufromfp and ufromfpx.
11710         * math/fromfp.h: New file.
11711         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11712         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11713         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11714         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11715         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11716         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11717         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11718         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11719         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11720         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11721         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11722         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11723         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11724         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11725         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11726         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11727         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11728         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11729         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11730         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11731         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11732         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11733         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11734         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11735         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11736         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11737         ufromfp, fromfpx and ufromfpx.
11738         (CFLAGS-nldbl-fromfp.c): New variable.
11739         (CFLAGS-nldbl-fromfpx.c): Likewise.
11740         (CFLAGS-nldbl-ufromfp.c): Likewise.
11741         (CFLAGS-nldbl-ufromfpx.c): Likewise.
11742         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11743         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11744         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11745         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11746         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11747         * sysdeps/nacl/libm.abilist: Update.
11748         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11749         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11750         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11751         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11752         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11753         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11754         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11755         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11756         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11757         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11758         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11759         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11761         Likewise.
11762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11763         Likewise.
11764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11765         Likewise.
11766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11767         Likewise.
11768         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11769         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11770         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11771         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11772         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11774         Likewise.
11775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11776         Likewise.
11777         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11778         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11779         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11781 2016-12-30  Florian Weimer  <fweimer@redhat.com>
11783         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11784         compat-gethnamaddr.
11785         (CPPFLAGS): Remove.
11786         * resolv/gethnamaddr.c: Rename ...
11787         * resolv/compat-gethnamaddr.c: ... to this file.
11788         (_endhtent): Make static.
11789         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
11790         symbol.
11791         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
11792         compat symbol.
11793         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
11794         symbol.
11795         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11796         Turn into compat symbol.
11797         * include/resolv.h (_endhtent): Remove declaration.
11799 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
11801         * bits/types.h (__intmax_t): New typedef.
11802         (__uintmax_t): Likewise.
11803         * sysdeps/generic/stdint.h: Include <bits/types.h>.
11804         (intmax_t): Define using __intmax_t.
11805         (uintmax_t): Define using __uintmax_t.
11807         * support/Makefile (tests-special): Make definition conditional on
11808         [$(run-built-tests) = yes].
11809         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11810         on [$(run-built-tests) = yes].
11812 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11814         * Rules (tests): Add tests-printers-programs to tests to be
11815         built.
11817 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11819         * sysvipc/Makefile (tests): Add test-sysvshm.
11820         * sysvipc/test-sysvshm.c: New file.
11822         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11823         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11824         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11825         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11826         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11827         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11828         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11829         Likewise.
11830         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11831         Likewise.
11832         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11833         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11834         is defined.
11836         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11837         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11838         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11839         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11840         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11841         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11842         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11843         Likewise.
11844         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11845         Likewise.
11846         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11847         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11848         defined.
11850         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11851         oldshmctl.
11852         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11853         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11854         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11855         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11856         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11857         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11858         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11859         Likewise.
11860         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11861         Likewise.
11862         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11863         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11864         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11865         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11866         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11867         implementation.
11868         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11869         if it is defined.
11871         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11872         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11873         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11874         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11875         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11876         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11877         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11878         Likewise.
11879         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11880         Likewise.
11881         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11882         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11883         Define to __NR_osf_shmat.
11884         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11885         defined.
11887         * sysvipc/Makefile (tests): Add test-sysvsem.
11888         * sysvipc/test-sysvsem.c: New file.
11890         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11891         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11892         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11893         Likewise.
11894         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11895         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11896         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11897         Likewise.
11898         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11899         Likewise.
11900         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11901         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11902         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11903         add a comment about s390 syscall difference from default one.
11904         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11905         syscall if it is defined.
11907         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11908         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11909         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11910         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11911         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11912         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11913         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11914         Likewise.
11915         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11916         Likewise.
11917         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11918         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11919         defined.
11921         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11922         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11923         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11924         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11925         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11926         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11927         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11928         Likewise.
11929         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11930         Likewise.
11931         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11932         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11933         if it is defined.
11935         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11936         oldsemctl.
11937         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11938         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11939         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11940         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11941         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11942         implementation.
11943         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11944         syscall if it is defined.
11945         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11946         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11947         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11948         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11949         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11950         Likewise.
11951         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11953         * sysvipc/Makefile (tests): Add test-sysvmsg.
11954         * sysvipc/test-sysvmsg.c: New file.
11955         * support/check.h (FAIL_UNSUPPORTED): New define.
11957         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11958         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11959         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11960         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11961         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11962         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11963         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11964         Likewise.
11965         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11966         Likewise.
11967         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11968         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11969         define.
11971         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11972         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11973         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11974         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11975         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11976         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11977         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11978         Likewise.
11979         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11980         Likewise.
11981         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11982         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11983         if defined.
11985         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11986         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11987         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11988         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11989         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11990         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11991         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11992         Likewise.
11993         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11994         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11995         Likewise.
11996         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11997         if defined.
11998         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12000         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12001         oldmsgctl.
12002         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12003         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12004         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12005         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12006         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12007         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12008         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12009         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12010         Likewise.
12011         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12012         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12013         implementation.
12014         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12015         if defined.
12017         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12018         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12019         definition and define its own.
12020         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12021         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12022         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12023         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12024         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12025         definitions to common header.
12026         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12027         operation from ipc_ops.h.
12029         * sysdeps/unix/sysv/linux/kernel-features.h
12030         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12031         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12032         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12033         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12034         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12035         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12036         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12037         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12038         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12039         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12040         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12041         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12042         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12043         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12044         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12046 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12048         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12049         overflow in pointer addition.
12051 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12053         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12054         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12056         (strchr): Add __strchr_power8 to list of strchr functions.
12057         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12058         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12059         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12060         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12061         (strchr): Add __strchr_power8 to ifunc list.
12062         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12063         (__strchrnul): Add __strchrnul_power8 to ifunc list.
12064         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12065         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12067 2016-12-28  Florian Weimer  <fweimer@redhat.com>
12069         * support/Makefile (libsupport-routines): Add
12070         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12071         (tests): Add tst-support_record_failure.
12072         (tests-special): tst-support_record_failure-2.
12073         (tst-support_record_failure-2.out): Depend on
12074         tst-support_record_failure-2.sh and tst-support_record_failure.
12075         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12076         (support_test_verify_impl, support_record_failure)
12077         (support_report_failure, support_report_failure_reset): Declare.
12078         * support/support_test_main.c (adjust_exit_status): New function.
12079         (support_test_main): Call it to incorporate record test failures.
12080         * support/support_test_verify_impl.c: New file.
12081         * support/support_record_failure.c: Likewise.
12082         * support/tst-support_record_failure.c: Likewise.
12083         * support/tst-support_record_failure-2.sh: Likewise.
12084         * support/xunistd.h: Likewise.
12085         * support/xfork.c: Likewise.
12086         * support/xwaitpid.c: Likewise.
12088 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
12090         * scripts/check-c++-types.sh: Add comments.
12092 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
12094         [BZ #19514]
12095         * resolv/res_send.c: Fix typo in comment.
12096         * sysdeps/i386/i386-mcount.S: Likewise.
12097         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12098         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12099         * sysdeps/sparc/sparc-mcount.S: Likewise.
12101 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12103         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12104         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12105         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12106         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12107         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12108         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12109         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12110         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12112 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12114         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12116 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12118         [BZ #17252]
12119         * posix/unistd.h (getentropy): Declare.
12121 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12123         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12124         Remove.
12125         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12126         (cmd): Remove spoof, nospoof, spoofalert.
12127         (parse_line): Ignore spoof-related lines.
12128         (do_init): Do not process RESOLV_SPOOF_CHECK.
12130 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12132         [BZ #20964]
12133         sunrpc: Always obtain AF_INET addresses from NSS.
12134         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12135         * sunrpc/rpc_gethostbyname.c: New file.
12136         * sunrpc/Makefile (routines): Add it.
12137         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12138         * sunrpc/clnt_simp.c (callrpc): Likewise.
12139         * sunrpc/getrpcport.c (getrpcport): Likewise.
12141 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12143         * sunrpc/rpcinfo.c: Remove.
12144         * sunrpc/Makefile: Remove comments referring to rpcinfo.
12146 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12148         [BZ #19387]
12149         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12150         addition.
12151         * string/test-memchr.c (do_test): Remove alignment limitation.
12152         (test_main): Add test that trigger BZ #19387.
12154 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12156         [BZ #7065]
12157         Enable stack protectore if requested by ./configure.
12158         * Makeconfig (+stack-protector): New variable.
12159         (+cflags): Use it.
12161 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12163         [BZ #7065]
12164         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12165         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12166         (__rt_sigreturn_stub): Use inhibit_stack_protector.
12167         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12168         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12170 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12172         [BZ #7065]
12173         * login/Makefile (pt_chown-cflags): Remove.
12174         * nscd/Makefile (CFLAGS-nscd): Likewise.
12175         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12177 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12179         [BZ #7065]
12180         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12181         non-libc-linking testcase.
12183 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12184             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12185             Florian Weimer  <fweimer@redhat.com>
12187         [BZ #7065]
12188         PLT avoidance for __stack_chk_fail*.
12189         * debug/Makefile (CFLAGS-stack_chk_fail.c)
12190         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12191         * debug/stack_chk_fail.c (__stack_chk_fail): Add
12192         __stack_chk_fail_local alias.
12193         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12194         (__stack_chk_fail): Turn into hidden reference to
12195         __stack_chk_fail_local.
12197 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12199         [BZ #7065]
12200         * configure.ac: Add check for unsupported stack-protection level.
12201         (libc_cv_predef_stack_protector): Remove.
12202         (no_ssp): New variable.
12203         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12204         (stack_protector): Set to -fno-stack-protector similarly.
12205         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12206         (libc_cv_asm_set_directive): Likewise.
12207         (libc_cv_protected_data): Likewise.
12208         (libc_cv_z_combreloc): Likewise.
12209         (libc_cv_hashstyle): Likewise.
12210         (libc_cv_has_glob_dat): Likewise.
12211         (libc_cv_output_format): Likewise.
12212         (libc_cv_output_format): Likewise.
12213         (libc_cv_ehdr_start): Likewise.
12214         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12215         (LIBC_LINKER_FEATURE): Likewise.
12216         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12218 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12220         [BZ #7065]
12221         * elf/Makefile (dummy-stack-chk-fail): New.
12222         (librtld.map): Use it.
12224 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12226         [BZ #7065]
12227         Compile the dynamic linker without stack protection.
12228         * elf/Makefile (elide-stack-protector): New.
12229         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12230         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12231         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12232         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12234 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12236         [BZ #7065]
12237         * config.make.in (have-ssp, no-stack-protector): New.
12238         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12239         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12240         (CFLAGS-sbrk.op): Likewise.
12241         (CFLAGS-brk.o): Likewise.
12242         (CFLAGS-brk.op): Likewise.
12243         * string/Makefile (CFLAGS-memcpy.c): Likewise.
12244         (CFLAGS-wordcopy.c): Likewise.
12246 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12248         [BZ #7065]
12249         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12250         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12251         * include/libc-symbols.h (inhibit_stack_protector): New macro.
12252         (__ifunc_resolver): Use it.
12253         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12254         inhibit_stack_protector.
12255         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12256         * elf/ifuncmain7.c (foo_ifunc): Likewise.
12257         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12258         (foo_protected_ifunc): Likewise.
12259         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12260         (foo_protected_ifunc): Likewise.
12261         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12262         * sysdeps/nacl/nacl_interface_query.c
12263         (nacl_interface_query_ifunc): Likewise.
12264         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12265         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12266         Likewise.
12267         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12268         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12269         the generated vDSO syscall resolver.
12271 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12272             Florian Weimer  <fweimer@redhat.com>
12274         [BZ #7065]
12275         Initialize the stack guard earlier when linking statically.
12276         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12277         (__pthread_initialize_minimal): Declare.
12278         * csu/libc-start.c (__pthread_initialize_minimal): Remove
12279         declaration.
12280         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
12281         stack canary and apply_irel initialization up.  Call
12282         __pthread_initialize_minimal only if linked in.
12283         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12284         constant values.
12285         (__pthread_initialize_minimal): Remove.
12286         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12287         (__pthread_initialize_minimal_internal): Do not call
12288         __libc_setup_tls.
12290 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12292         [BZ #7065]
12293         * configure.ac (libc_cv_ssp): Move up.
12294         (libc_cv_ssp_strong): Likewise.
12295         (libc_cv_ssp_all): New.
12296         (stack_protector): Augment, adding -fstack-protector-all.
12297         (no_stack_protector): New.
12298         (STACK_PROTECTOR_LEVEL): New.
12299         (AC_ARG_ENABLE(stack-protector)): New configure flag.
12300         * manual/install.texi (--enable-stack-protector): Document it.
12301         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12303 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
12305         * README.pretty-printers: Must specify CPPFLAGS-* also.
12306         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12307         (CPPFLAGS-test-mutex-printers.c): Define.
12308         (CPPFLAGS-test-condattr-printers.c): Define.
12309         (CPPFLAGS-test-cond-printers.c): Define.
12310         (CPPFLAGS-test-rwlockattr-printers.c): Define.
12311         (CPPFLAGS-test-rwlock-printers.c): Define.
12313         * nss/Makefile [ifeq (yes,$(have-thread-library))]
12314         (tests): Add tst-cancel-getpwuid_r.
12315         * nss/tst-cancel-getpwuid_r.c: New file.
12317         [BZ #11941]
12318         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12319         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12320         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12321         tst-nodelete-dlclose.
12322         (modules-names): Add tst-nodelete-dlclose-dso and
12323         tst-nodelete-dlclose-plugin.
12324         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12325         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12326         ($(objpfx)tst-nodelete-dlclose): Define.
12327         ($(objpfx)tst-nodelete-dlclose.out): Define.
12329 2016-12-23  Florian Weimer  <fweimer@redhat.com>
12331         * scripts/test_printers_common.py: Log GDB output in case of
12332         Python detection failure.
12334 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12336         * configure.ac: Check for python3 or python.
12337         * configure: Regenerated.
12338         * config.make.in (PYTHON): New variable.
12339         * benchtests/Makefile: Don't define PYTHON.
12340         (bench): Define target only if PYTHON was defined.
12341         * Rules: Don't define PYTHON.
12342         Define pretty printer targets only if PYTHON was defined.
12343         (tests-printers): Add to tests-unsupported if PYTHON is not
12344         found.
12345         (python-flags, python-invoke): Remove.
12346         (tests-printers-out): Use PYTHON instead of python-invoke.
12348 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12350         [BZ #20978]
12351         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12352         Compare name == NULL, not name != NULL.
12354         * manual/texinfo.tex: Update to version 2016-09-18.18 with
12355         trailing whitespace removed.
12356         * scripts/config.guess: Update to version 2016-10-02.
12357         * scripts/config.sub: Update to version 2016-11-19.
12358         * scripts/install-sh: Update to version 2016-01-11.22.
12359         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12360         * scripts/move-if-change: Update to version 2016-01-11 22:04.
12362 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
12364         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12365         (do_one_test) Restore original string so iteration works.
12366         * string/string-inlines.c (do_test): Create better input strings.
12367         (test_main) Reduce number of testruns.
12368         * string/string-inlines.c (__old_strsep_1c): New function.
12369         (__old_strsep_2c): Likewise.
12370         (__old_strsep_3c): Likewise.
12371         * string/strsep.c (__strsep): Remove case of small delim string.
12372         Call strcspn directly rather than strpbrk.
12373         * string/bits/string2.h (__strsep): Remove define.
12374         (__strsep_1c): Remove.
12375         (__strsep_2c): Remove.
12376         (__strsep_3c): Remove.
12377         (strsep): Remove.
12378         * sysdeps/unix/sysv/linux/internal_statvfs.c
12379         (__statvfs_getflags): Rename to __strsep.
12381 2016-12-21  Florian Weimer  <fweimer@redhat.com>
12383         * csu/libc-tls.c (_dl_tls_setup): Remove.
12384         * elf/dl-tls.c (_dl_tls_setup): Likewise.
12385         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12386         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12388 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12390         [BZ #7065]
12391         * sysdeps/x86_64/Makefile [$(subdir) = elf]
12392         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12394 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12395             Florian Weimer  <fweimer@redhat.com>
12397         [BZ #7065]
12398         * csu/Makefile (tests): Empty assignment and document it.
12399         (tests-static): Remove.
12400         * csu/tst-empty.c: Move to...
12401         * misc/tst-empty.c: ... here.  Switch to new test driver.
12402         * csu/tst-atomic.c: Move to...
12403         * misc/tst-atomic.c: ... here.  Switch to new test driver.
12404         * csu/tst-atomic-long.c: Move to...
12405         * misc/tst-atomic-long.c: ... here.
12406         * misc/Makefile (tests): Add tst-empty, tst-atomic,
12407         tst-atomic-long.
12408         (tests-static): Add tst-empty.
12410 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
12412         * manual/nss.texi: Change incorrect @vtable to @table.
12413         * manual/arith.texi: Convert @tables of variables to @vtables
12414         and remove unnecessary indexing.
12415         * manual/filesys.texi: Likewise.
12416         * manual/llio.texi: Likewise.
12417         * manual/memory.texi: Likewise.
12418         * manual/process.texi: Likewise.
12419         * manual/resource.texi: Likewise.
12420         * manual/search.texi: Likewise.
12421         * manual/signal.texi: Likewise.
12422         * manual/socket.texi: Likewise.
12423         * manual/stdio.texi: Likewise.
12424         * manual/sysinfo.texi: Likewise.
12425         * manual/syslog.texi: Likewise.
12426         * manual/terminal.texi: Likewise.
12427         * manual/time.texi: Likewise.
12428         * manual/users.texi: Likewise.
12430 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12432         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12433         (roundeven): New declaration.
12434         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12435         macro.
12436         * math/Versions (roundeven): New libm symbol at version
12437         GLIBC_2.25.
12438         (roundevenf): Likewise.
12439         (roundevenl): Likewise.
12440         * math/Makefile (libm-calls): Add s_roundevenF.
12441         * math/libm-test.inc (roundeven_test_data): New array.
12442         (roundeven_test): New function.
12443         (main): Call roundeven_test.
12444         * math/test-tgmath.c (NCALLS): Increase to 134.
12445         (F(compile_test)): Call roundeven.
12446         (F(roundeven)): New function.
12447         * manual/arith.texi (Rounding Functions): Document roundeven,
12448         roundevenf and roundevenl.
12449         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12450         * include/math.h (roundeven): Use libm_hidden_proto.
12451         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12452         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12453         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12454         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12455         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12456         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12457         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12458         roundeven.
12459         (CFLAGS-nldbl-roundeven.c): New variable.
12460         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12461         * sysdeps/nacl/libm.abilist: Update.
12462         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12463         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12464         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12465         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12466         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12468         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12469         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12470         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12471         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12472         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12473         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12475         Likewise.
12476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12477         Likewise.
12478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12479         Likewise.
12480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12481         Likewise.
12482         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12483         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12484         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12485         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12486         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12488         Likewise.
12489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12490         Likewise.
12491         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12492         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12493         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12495 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12497         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12498         preprocessor indentation inside #if.
12500 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12502         * math/libm-test.inc (fmt_ftostr): New function.
12503         (print_float, check_float_internal): Replace some uses of
12504         FTOSTR with uses of fmt_ftostr.
12505         (print_max_error, print_complex_max_error, print_function_ulps)
12506         (print_complex_function_ulps): Remove uses of the macros
12507         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12508         * math/test-double.h (FTOSTR): Define to strfromd.
12509         (PRINTF_EXPR): Delete.
12510         (PRINTF_XEXPR): Likewise.
12511         (PRINTF_NEXPR): Likewise.
12512         * math/test-float.h (FTOSTR): Define to strfromf.
12513         (PRINTF_EXPR): Delete.
12514         (PRINTF_XEXPR): Likewise.
12515         (PRINTF_NEXPR): Likewise.
12516         * math/test-ldouble.h (FTOSTR): Define to strfroml.
12517         (PRINTF_EXPR): Delete.
12518         (PRINTF_XEXPR): Likewise.
12519         (PRINTF_NEXPR): Likewise.
12521 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12523         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12524         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12525         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12526         (__lll_lock_elision): Decrement adapt_count while unlocking
12527         instead of before locking.
12528         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12529         (__lll_trylock_elision): Likewise.
12530         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12531         (__lll_unlock_elision): Likewise.
12533 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12535         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12536         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12537         Use __libc_tbegin_retry macro.
12539 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12541         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12542         Add -msoft-float.
12543         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12544         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12545         Use __libc_t* transaction macros instead of __builtin_t*.
12546         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12547         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12549 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12551         * sysdeps/unix/sysv/linux/s390/elision-lock.c
12552         (__lll_lock_elision): Use atomics to load / store adapt_count.
12553         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12554         (__lll_trylock_elision): Likewise.
12556 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12558         Do not require memset elimination in explicit_bzero test.
12559         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12560         (enum test_expectation): Add NO_EXPECTATIONS.
12561         (subtests): NO_EXPECTATIONS for ordinary clear.
12562         (check_test_buffer): Handle NO_EXPECTATIONS.
12563         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12565 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12567         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12568         (fmaxmag): New declaration.
12569         (fminmag): Likewise.
12570         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12571         macro.
12572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12573         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12574         (fmaxmagf): Likewise.
12575         (fmaxmagl): Likewise.
12576         (fminmag): Likewise.
12577         (fminmagf): Likewise.
12578         (fminmagl): Likewise.
12579         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12580         * math/s_fmaxmag_template.c: New file.
12581         * math/s_fminmag_template.c: Likewise.
12582         * math/libm-test.inc (fmaxmag_test_data): New array.
12583         (fmaxmag_test): New function.
12584         (fminmag_test_data): New array.
12585         (fminmag_test): New function.
12586         (main): Call fmaxmag_test and fminmag_test.
12587         * math/test-tgmath.c (NCALLS): Increase to 132.
12588         (F(compile_test)): Call fmaxmag and fminmag.
12589         (F(fminmag)): New function.
12590         (F(fmaxmag)): Likewise.
12591         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12592         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12593         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12594         fminmag.
12595         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12596         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12597         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12598         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12599         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12600         and fminmag.
12601         (CFLAGS-nldbl-fmaxmag.c): New variable.
12602         (CFLAGS-nldbl-fminmag.c): Likewise.
12603         * sysdeps/nacl/libm.abilist: Update.
12604         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12605         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12606         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12607         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12608         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12609         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12610         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12611         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12612         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12613         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12614         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12615         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12617         Likewise.
12618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12619         Likewise.
12620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12621         Likewise.
12622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12623         Likewise.
12624         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12625         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12626         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12627         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12628         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12630         Likewise.
12631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12632         Likewise.
12633         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12634         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12635         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12637 2016-12-19  Torvald Riegel  <triegel@redhat.com>
12639         [BZ #20973]
12640         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12641         wake-up in robust mutexes.
12642         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12644 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12646         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12647         (CFLAGS-bench-fmaxf.c): New rule.
12648         (CFLAGS-bench-fminf.c): Likewise.
12649         * benchtests/fmaxf-inputs: New file.
12650         * benchtests/fminf-inputs: Likewise.
12652         * benchtests/Makefile (bench-math): Add fmin and fmax.
12653         (CFLAGS-bench-fmax.c): New rule.
12654         (CFLAGS-bench-fmin.c): Likewise.
12655         * benchtests/fmax-inputs: New file.
12656         * benchtests/fmin-inputs: Likewise.
12658         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12659         parenthesis.
12660         (CMDLINE_PROCESS): Define using function instead of macro.
12661         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12662         of test-skeleton.
12663         * benchtests/bench-memchr.c: Likewise.
12664         * benchtests/bench-memcmp.c: Likewise.
12665         * benchtests/bench-memcpy-large.c: Likewise.
12666         * benchtests/bench-memcpy.c: Likewise.
12667         * benchtests/bench-memmem.c: Likewise.
12668         * benchtests/bench-memmove-large.c: Likewise.
12669         * benchtests/bench-memmove.c: Likewise.
12670         * benchtests/bench-memset-large.c: Likewise.
12671         * benchtests/bench-memset.c: Likewise.
12672         * benchtests/bench-rawmemchr.c: Likewise.
12673         * benchtests/bench-strcasecmp.c: Likewise.
12674         * benchtests/bench-strcasestr.c: Likewise.
12675         * benchtests/bench-strcat.c: Likewise.
12676         * benchtests/bench-strchr.c: Likewise.
12677         * benchtests/bench-strcmp.c: Likewise.
12678         * benchtests/bench-strcpy.c: Likewise.
12679         * benchtests/bench-strcpy_chk.c: Likewise.
12680         * benchtests/bench-strlen.c: Likewise.
12681         * benchtests/bench-strncasecmp.c: Likewise.
12682         * benchtests/bench-strncmp.c: Likewise.
12683         * benchtests/bench-strncpy.c: Likewise.
12684         * benchtests/bench-strnlen.c: Likewise.
12685         * benchtests/bench-strpbrk.c: Likewise.
12686         * benchtests/bench-strrchr.c: Likewise.
12687         * benchtests/bench-strsep.c: Likewise.
12688         * benchtests/bench-strspn.c: Likewise.
12689         * benchtests/bench-strstr.c: Likewise.
12690         * benchtests/bench-strtok.c: Likewise.
12692 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12694         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12695         stepping identification.
12696         (init_cpu_features): Add handle of Haswell.
12698 2016-11-25  Jim Meyering  <meyering@fb.com>
12700         [BZ #20386]
12701         Let gcc detect assert(a = 1) errors.
12702         * assert/assert.h (assert): Rewrite, retaining the old definintion
12703         when required, but otherwise putting the expression as-is in an "if"
12704         expression (hence, with no added parentheses) within a statement
12705         expression.
12707 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12709         * benchtests/Makefile (binaries-benchset): Depend on libsupport
12710         DSO.
12712 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
12714         * Rules (python-flags, python-invoke): New.
12715         ($(test-printers-out)): Use $(python-flags).
12717 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12719         * manual/arith.texi (Math Error Reporting): Document that sNaN
12720         arguments are not considered domain errors.
12722 2016-12-16  Zack Weinberg <zackw@panix.com>
12723             Florian Weimer <fweimer@redhat.com>
12724             Nick Mathewson <nickm@torproject.org>
12726         * string/explicit_bzero.c: New routine.
12727         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12728         * string/Makefile (routines, strop-tests, tests): Add them.
12729         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12730         * string/string.h [__USE_MISC]: Declare explicit_bzero.
12732         * debug/explicit_bzero_chk.c: New routine.
12733         * debug/Makefile (routines): Add it.
12734         * debug/tst-chk1.c: Test fortification of explicit_bzero.
12735         * string/bits/string3.h: Fortify explicit_bzero.
12737         * manual/string.texi: Document explicit_bzero.
12738         * NEWS: Mention addition of explicit_bzero.
12740         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12741         data before returning, using explicit_bzero.
12742         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12743         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12744         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12746         * include/string.h: Redirect internal uses of explicit_bzero
12747         to __explicit_bzero_chk[_internal].
12748         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12749         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12750         * sysdeps/arm/nacl/libc.abilist
12751         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12752         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12753         * sysdeps/unix/sysv/linux/arm/libc.abilist
12754         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12755         * sysdeps/unix/sysv/linux/i386/libc.abilist
12756         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12757         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12758         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12759         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12760         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12761         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12762         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12763         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12764         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12769         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12770         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12771         * sysdeps/unix/sysv/linux/sh/libc.abilist
12772         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12773         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12776         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12777         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12778         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12779         Add entries for explicit_bzero and __explicit_bzero_chk.
12781 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12783         * math/fenv.h
12784         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12785         (FE_SNANS_ALWAYS_SIGNAL): New macro.
12786         * math/test-fe-snans-always-signal.c: New file.
12787         * math/Makefile (tests): Add test-fe-snans-always-signal.
12788         (CFLAGS-test-fe-snans-always-signal.c): New variable.
12789         * manual/arith.texi (Infinity and NaN): Document
12790         FE_SNANS_ALWAYS_SIGNAL.
12792 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12794         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12795         bracket.
12797 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12799         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12800         before calling execv.
12802 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12804         [BZ #20971]
12805         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12806         overflow in pointer addition.
12807         * string/test-memchr.c (do_test): Add an argument to pass as
12808         the size on memchr.
12809         (test_main): Add check for SIZE_MAX.
12811 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12813         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12814         (libm-calls): Add w_scalblnF.
12815         * math/w_scalbln.c: Remove.
12816         * math/w_scalblnf.c: Likewise.
12817         * math/w_scalblnl.c: Likewise.
12818         * math/w_scalbln_template.c: New file with type-generic
12819         implementation based on math/w_scalbln.c.
12820         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12821         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12823 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12825         [BZ #20947]
12826         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12827         either is a signaling NaN.
12828         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
12829         follow fmaxl more closely.
12830         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12831         when either is a signaling NaN.
12832         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12833         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12834         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12835         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12836         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12837         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12838         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12839         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12840         (fmin_test_data): Likewise.
12842 2016-12-15  Andreas Schwab  <schwab@suse.de>
12844         * support/support_test_main.c (support_test_main): Don't shadow
12845         file-local variable test_pid.
12847 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12849         [BZ #20947]
12850         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12851         either is a signaling NaN.
12852         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12854 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12856         [BZ #20947]
12857         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12858         when either is a signaling NaN.
12859         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12861         * bits/long-double.h: New file.
12862         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12863         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12864         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12865         * sysdeps/mips/bits/long-double.h: Likewise.
12866         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12867         * math/Makefile (headers): Add bits/long-double.h.
12868         * misc/sys/cdefs.h: Include <bits/long-double.h>.
12869         * stdlib/strtold.c: Include <bits/long-double.h> instead of
12870         <bits/wordsize.h>.
12871         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12872         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12873         * math/math.h: Do not include <bits/mathdef.h>.
12874         * sysdeps/aarch64/bits/mathdef.h: Remove file.
12875         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12876         inclusion.
12877         * sysdeps/ia64/bits/mathdef.h: Remove file.
12878         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12879         * sysdeps/mips/bits/mathdef.h: Likewise.
12880         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12881         * sysdeps/s390/bits/mathdef.h: Likewise.
12882         * sysdeps/sparc/bits/mathdef.h: Likewise.
12883         * sysdeps/x86/bits/mathdef.h: Likewise.
12884         * sysdeps/s390/s390-32/bits/wordsize.h
12885         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12886         conditional code.
12887         * sysdeps/s390/s390-64/bits/wordsize.h
12888         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12889         Likewise.
12890         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12891         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12892         Likewise.
12893         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12894         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12895         Likewise.
12896         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12897         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12898         Likewise.
12900         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12901         <linux/falloc.h>.
12902         (FALLOC_FL_KEEP_SIZE): Remove.
12903         (FALLOC_FL_PUNCH_HOLE): Likewise.
12904         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12905         (FALLOC_FL_ZERO_RANGE): Likewise.
12907 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12909         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12911 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12913         * sysdeps/unix/sysv/linux/renameat.c: New file.
12914         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12916         * sysdeps/unix/sysv/linux/rename.c: New file.
12917         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12919 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
12921         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12922         * string/strtok.c (strtok): Change to tailcall __strtok_r.
12923         * string/strtok_r.c (__strtok_r): Optimize for performance.
12924         * string/string-inlines.c (__old_strtok_r_1c): New function.
12925         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12927 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12929         * math/Makefile (gen-libm-calls): Add w_log1pF.
12930         (libm-calls): Remove w_log1pF.
12931         * math/w_log1p.c: Remove.
12932         * math/w_log1pf.c: Likewise.
12933         * math/w_log1pl.c: Likewise.
12934         * math/w_log1p_template.c: New file with type-generic
12935         implementation based on math/w_log1p.c.
12936         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12937         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12939 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
12941         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12943 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12945         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12946         kernel version to 4.9.
12948 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
12950         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12951         ($(inst_libdir)/libm.a): Fix rule to create the target only.
12953 2016-12-13  Andreas Schwab  <schwab@suse.de>
12955         * sysdeps/powerpc/dl-procinfo.c: Don't define
12956         _dl_powerpc_platforms.
12957         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12958         constants instead of referencing _dl_powerpc_platforms.
12959         (_dl_platform_string): Remove.
12961 2016-12-13  Florian Weimer  <fweimer@redhat.com>
12963         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12965 2016-12-13  Florian Weimer  <fweimer@redhat.com>
12967         * Rules (binaries-shared-tests, binaries-pie-tests)
12968         (binaries-static-tests): Link with $(link-extra-libs-tests).
12969         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12970         Remove $(link-extra-libs-tests).
12972 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12974         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12975         (sysdep_routines): Add strncmp_power9.
12976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12977         (strncmp): Add __strncmp_power9 to list of strncmp functions.
12978         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12979         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12980         (strncmp): Add __strncmp_power9 to ifunc list.
12981         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12983 2016-12-12  Florian Weimer  <fweimer@redhat.com>
12985         [BZ #17252]
12986         Add getentropy, getrandom.
12987         * stdlib/sys/random.h: New file.
12988         (headers): Add it.
12989         * stdlib/Makefile (routines): Add getentropy, getrandom.
12990         (tests): Add tst-getrandom.
12991         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12992         * stdlib/getentropy.c: New file.
12993         * stdlib/getrandom.c: Likewise.
12994         * stdlib/tst-getrandom.c: Likewise.
12995         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12996         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12997         * manual/crypt.texi (Unpredictable Bytes): New section.
12998         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12999         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13000         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13001         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13002         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13003         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13004         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13005         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13006         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13007         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13008         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13009         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13010         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13011         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13012         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13013         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13015         Likewise.
13016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13017         Likewise.
13018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13020         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13021         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13022         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13023         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13024         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13027         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13028         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13029         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13031 2016-12-10  Florian Weimer  <fweimer@redhat.com>
13033         [BZ #20956]
13034         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13035         as additional compiler barriers.
13036         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13037         (fn2, do_test): Declare with external linkage.
13038         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13039         (do_test): Declare with external linkage.
13040         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13041         (do_test): Declare with external linkage.
13042         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13043         (do_test): Declare with external linkage.
13045 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
13047         * support/support_test_main.c (support_test_main): Use correct
13048         timeout.
13050 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
13051             Florian Weimer  <fweimer@redhat.com>
13053         [BZ #16421]
13054         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13055         and __u6_addr32 members.
13056         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13057         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13058         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13059         Use __u6_addr32.
13060         * inet/tst-checks.c: Use <support/test-driver.c>
13061         * inet/tst-checks-posix.c: New file.
13062         * inet/Makefile (tests): Add it.
13063         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13065 2016-12-09  Florian Weimer  <fweimer@redhat.com>
13067         New subdirectory support for build and test infrastructure.
13068         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
13069         setting install-lib.
13070         * Makeconfig (link-extra-libs-tests): Define.
13071         (+link-pie-tests, +link-static-tests, +link-tests): Use
13072         link-extra-libs-tests.
13073         (rpath-dirs, all-subdirs): Add support.
13074         (built-modules): Add libsupport.
13075         (libsupport): Define.
13076         * support: New directory.
13077         * support/Makefile: New file.
13078         * support/check.c: Likewise.
13079         * support/check.h: Likewise.
13080         * support/delayed_exit.c: Likewise.
13081         * support/ignore_stderr.c: Likewise.
13082         * support/oom_error.c: Likewise.
13083         * support/set_fortify_handler.c: Likewise.
13084         * support/support.h: Likewise.
13085         * support/temp_file-internal.h: Likewise.
13086         * support/temp_file.c: Likewise.
13087         * support/test-driver.c: Likewise.
13088         * support/test-driver.h: Likewise.
13089         * support/test_main.c: Likewise.
13090         * support/write_message.c: Likewise.
13091         * support/xasprintf.c: Likewise.
13092         * support/xcalloc.c: Likewise.
13093         * support/xmalloc.c: Likewise.
13094         * support/xpthread_barrier_destroy.c: Likewise.
13095         * support/xpthread_barrier_init.c: Likewise.
13096         * support/xpthread_barrier_wait.c: Likewise.
13097         * support/xpthread_cancel.c: Likewise.
13098         * support/xpthread_check_return.c: Likewise.
13099         * support/xpthread_cond_wait.c: Likewise.
13100         * support/xpthread_create.c: Likewise.
13101         * support/xpthread_detach.c: Likewise.
13102         * support/xpthread_join.c: Likewise.
13103         * support/xpthread_mutex_lock.c: Likewise.
13104         * support/xpthread_mutex_unlock.c: Likewise.
13105         * support/xpthread_sigmask.c: Likewise.
13106         * support/xpthread_spin_lock.c: Likewise.
13107         * support/xpthread_spin_unlock.c: Likewise.
13108         * support/xrealloc.c: Likewise.
13109         * support/xsignal.h: Likewise.
13110         * support/xthread.h: Likewise.
13111         * support_tempfile.h: Likewise.
13112         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13113         (TEST_DATA_LIMIT): Remove unused macro.
13114         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
13115         <support/check.h>.
13116         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13117         (ignore_stderr, set_fortify_handler): Remove.  Now in
13118         <support/support.h>.
13119         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
13120         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13121         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13122         (xpthread_join): Remove.  Now in <support/xthread.h>.
13123         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13124         Introduce legacy wrappers.
13125         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13126         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13127         (write_message): Remove.
13128         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13129         test-skeleton.c.
13130         * io/test-open-tmpfile: Likewise.
13131         * io/tst-posix_fallocate-common.c: Likewise.
13132         * libio/tst-fseek.c: Likewise.
13133         * malloc/tst-malloc-backtrace.c: Likewise.
13134         * malloc/tst-malloc-fork-deadlock.c: Likewise.
13135         * malloc/tst-malloc-thread-exit.c: Likewise.
13136         * nptl/tst-cancel7.c: Likewise.
13137         * nptl/tst-cleanup0.c: Likewise.
13138         * posix/tst-posix_fadvise-common.c: Likewise.
13139         * rt/tst-shm.c: Likewise.
13140         * time/bug-getdate1.c: Likewise.
13141         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13142         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13143         * elf/Makefile (tst-piemod1.so): Link against libsupport.
13145 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
13147         * Rules [$(run-built-tests) != no] (tests-expected): Add
13148         $(tests-printers).
13149         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13151 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13153         [BZ #20539]
13154         * math/Makefile (install-lib-ldscripts): Add libm.a.
13155         (install_subdir): Remove.
13156         (install-others): Add.
13157         ($(inst_libdir)/libm.a): Add rule for installation as
13158         linker script.
13159         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13161 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
13163         * INSTALL: Regenerated.
13164         * Makeconfig: Add comments and whitespace to make the control flow
13165         clearer.
13166         (+link-printers-tests, +link-pie-printers-tests,
13167         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13168         built-rtld-LDFLAGS, link-libc-rpath,
13169         link-libc-tests-after-rpath-link,
13170         link-libc-printers-tests): New.
13171         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13172         link-libc-tests): Use the new variables as required.
13173         * Makerules ($(py-const)): New rule.
13174         generated: Add $(py-const).
13175         * README.pretty-printers: New file.
13176         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13177         (others): Depend on $(py-const).
13178         (tests): Depend on $(tests-printers-programs) or
13179         $(tests-printers-out),
13180         as required.  Pass $(tests-printers) to merge-test-results.sh.
13181         * manual/install.texi: Add requirements for testing the pretty
13182         printers.
13183         * nptl/Makefile (gen-py-const-headers, pretty-printers,
13184         tests-printers, CFLAGS-test-mutexattr-printers.c
13185         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13186         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13187         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13188         * nptl/nptl-printers.py: New file.
13189         * nptl/nptl_lock_constants.pysym: Likewise.
13190         * nptl/test-cond-printers.c: Likewise.
13191         * nptl/test-cond-printers.py: Likewise.
13192         * nptl/test-condattr-printers.c: Likewise.
13193         * nptl/test-condattr-printers.py: Likewise.
13194         * nptl/test-mutex-printers.c: Likewise.
13195         * nptl/test-mutex-printers.py: Likewise.
13196         * nptl/test-mutexattr-printers.c: Likewise.
13197         * nptl/test-mutexattr-printers.py: Likewise.
13198         * nptl/test-rwlock-printers.c: Likewise.
13199         * nptl/test-rwlock-printers.py: Likewise.
13200         * nptl/test-rwlockattr-printers.c: Likewise.
13201         * nptl/test-rwlockattr-printers.py: Likewise.
13202         * scripts/gen-py-const.awk: Likewise.
13203         * scripts/test_printers_common.py: Likewise.
13204         * scripts/test_printers_exceptions.py: Likewise.
13206 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13208         * scripts/build-many-glibcs.py (Context.__init__): Take strip
13209         argument.
13210         (Glibc.build_glibc): Strip installed shared libraries if
13211         requested.
13212         (get_parser): Add --strip option.
13213         (main): Update Context call.
13215 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13216             Dominik Vogt  <vogt@linux.vnet.ibm.com>
13218         [BZ #20847]
13219         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13220         array bounds for else branch.
13221         (__execvpe): Style fixes.
13222         * posix/tst-vfork3.c (run_script): New function.
13223         (create_script): Likewise.
13224         (do_test): Use run_script internal function.
13225         (do_prepare): Use create_script internal function.
13227 2016-12-07  Andreas Schwab  <schwab@suse.de>
13229         * sysdeps/unix/sysv/linux/x86/elision-conf.h
13230         (__elision_available): Don't declare.
13231         * sysdeps/unix/sysv/linux/x86/elision-conf.c
13232         (__elision_available): Don't define.
13233         (elision_init): Don't set __elision_available.
13235 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13237         [BZ #20940]
13238         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13239         return Inf for arguments Inf and sNaN.
13240         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13241         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13242         Likewise.
13243         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13244         Likewise.
13245         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13246         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13247         for arguments Inf and sNaN.  When returning a NaN, compute it by
13248         arithmetic on the arguments.
13249         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13250         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13251         arguments.
13253 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
13255         [BZ #20916]
13256         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13257         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
13258         to compute result.
13259         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13260         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13262 2016-12-05  Torvald Riegel  <triegel@redhat.com>
13264         * include/atomic.h (__atomic_check_size_ls): New.
13265         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13266         atomic_store_release): Use it.
13267         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13268         (elision_adapt, ELIDE_LOCK): Use atomics.
13269         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13270         atomics and improve code comments.
13271         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13272         (__lll_trylock_elision): Likewise.
13274 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13276         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13277         programs.
13279 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13281         [BZ #20916]
13282         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13283         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
13284         arguments to compute result.
13285         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13286         1 for arguments (sNaN, 0) or (1, sNaN).
13287         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13288         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13290         [BZ #20919]
13291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13292         NaN first argument when raised to power 0.
13293         * math/w_pow.c (__pow): Do not check for NaN or zero results from
13294         raising to power zero.
13295         * math/w_powf.c (__powf): Likewise.
13296         * math/w_powl.c (__powl): Likewise.
13297         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13298         pow (0, 0) or pow (NaN, 0).
13300 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
13302         [BZ #20918]
13303         * configure.ac: Test for static NSS cryptographic libraries and set
13304         libc_cv_static_nss_crypt.
13305         * configure: Regenerate.
13306         * config.make.in (static-nss-crypt): Define.
13307         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13308         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13309         (CFLAGS-tst-linkall-static.c): Define.
13310         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13311         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13312         ($(objpfx)tst-linkall-static): Define.
13313         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13314         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13316 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13318         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13319         (one-hundred, tst-tls-many-dynamic-modules): Define.
13320         (modules-names): Add $(tst-tls-many-dynamic-modules).
13321         (tst-tls-manydynamic%mod.os): Build with special preprocessor
13322         macros.
13323         (tst-tls-manydynamic): Link against libdl, libpthread.
13324         (tst-tls-manydynamic.out): The test needs the test modules at run
13325         time.
13326         * elf/tst-tls-manydynamic.c: New file.
13327         * elf/tst-tls-manydynamic.h: Likewise.
13328         * elf/tst-tls-manydynamicmod.c: Likewise.
13330 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13332         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13333         (TLS_DTV_UNALLOCATED): Add.
13334         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13335         offsets.
13337 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13339         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13341 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13343         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13344         Add -fno-optimize-sibling-calls.
13346 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13348         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13349         New declaration.
13350         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13351         macro.
13352         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13353         New macro.
13354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13356         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13357         (llogbf): Likewise.
13358         (llogbl): Likewise.
13359         * math/Makefile (gen-libm-calls): Add w_llogbF.
13360         (tests): Add test-fp-llogb-constants.
13361         * math/w_llogb_template.c: New file.  Based on
13362         math/w_ilogb_template.c.
13363         * math/libm-test.inc (llogb_test_data): New array.
13364         (llogb_test): New function.
13365         (main): Call llogb_test.
13366         * math/test-fp-llogb-constants.c: New file.  Based on
13367         math/test-fp-ilogb-constants.c.
13368         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13369         (do_test): Call check_return_llogb.
13370         * math/test-tgmath.c (NCALLS): Increase to 126.
13371         (F(compile_test)): Call llogb.
13372         (F(llogb)): New function.
13373         * manual/math.texi (Exponents and Logarithms): Document llogb,
13374         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13375         * manual/libm-err-tab.pl (@all_functions): Add llogb.
13376         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13377         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13378         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13379         (CFLAGS-nldbl-llogb.c): New variable.
13380         * sysdeps/nacl/libm.abilist: Update.
13381         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13382         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13383         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13384         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13385         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13386         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13387         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13388         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13389         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13390         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13391         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13392         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13394         Likewise.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13396         Likewise.
13397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13398         Likewise.
13399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13400         Likewise.
13401         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13402         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13403         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13404         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13405         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13407         Likewise.
13408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13409         Likewise.
13410         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13411         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13412         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13414 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13416         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13417         _Float128 instead of long double.
13418         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13420         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13421         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13422         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13423         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13424         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13425         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13426         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13427         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13428         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13429         Likewise.
13431 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13433         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13434         Remove redirection to __strrchr_ppc.
13436 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13438         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13439         (sysdep_routines): Add strcmp_power9.
13440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13441         (strcmp): Add __strcmp_power9 to list of strcmp functions.
13442         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13443         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13444         (strcmp): Add __strcmp_power9 to ifunc list.
13445         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13447 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13449         * bits/fp-logb.h: New file.
13450         * sysdeps/ia64/bits/fp-logb.h: Likewise.
13451         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13452         * sysdeps/x86/bits/fp-logb.h: Likewise.
13453         * math/Makefile (headers): Add bits/fp-logb.h.
13454         * math/math.h: Include <bits/fp-logb.h>.
13455         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13456         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13457         * bits/mathdef.h (FP_ILOGB0): Remove.
13458         (FP_ILOGBNAN): Likewise.
13459         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13460         (FP_ILOGBNAN): Likewise.
13461         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13462         (FP_ILOGBNAN): Likewise.
13463         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13464         (FP_ILOGBNAN): Likewise.
13465         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13466         (FP_ILOGBNAN): Likewise.
13467         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13468         (FP_ILOGBNAN): Likewise.
13469         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13470         (FP_ILOGBNAN): Likewise.
13471         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13472         (FP_ILOGBNAN): Likewise.
13473         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13474         (FP_ILOGBNAN): Likewise.
13475         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13476         (FP_ILOGBNAN): Likewise.
13478         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
13479         time module.
13480         (Context.__init__): Initialize self.logsdir_old.
13481         (Context.run_builds): Handle bot action.
13482         (Context.bot_cycle): Copy logs directory before running builds.
13483         (Context.bot_run_self): Take argument for whether to check
13484         subprocess result.  Flush stdout before running subprocess.
13485         (Context.bot): New function.
13486         (get_parser): Allow bot action.
13488 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
13490         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13491         Import email.mime.text, email.utils and smtplib modules.
13492         (Context.__init__): Initialize self.bot_config_json.
13493         (Context.run_builds): Handle bot-cycle action.
13494         (Context.load_bot_config_json): New function.
13495         (Context.part_build_old): Likewise.
13496         (Context.bot_cycle): Likewise.
13497         (Context.bot_build_mail): Likewise.
13498         (Context.bot_run_self): Likewise.
13499         (get_parser): Allow bot-cycle action.
13501 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13503         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13504         Remove redirection to __stpcpy_ppc.
13506 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13508         Remove __libc_memalign from ld.so because it is unused.
13509         * elf/dl-minimal.c: Update comment on the malloc implementation.
13510         (malloc): Renamed from __libc_memalign, replacing the original
13511         malloc implementation.  Replace the align parameter with
13512         MALLOC_ALIGNMENT.
13513         * elf/Versions (ld): Update comment and remove __libc_memalign.
13514         * sysdeps/nacl/ld.abilist: Likewise.
13515         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13516         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13517         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13518         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13519         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13520         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13521         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13522         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13523         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13524         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13525         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13526         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13527         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13531         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13532         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13533         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13534         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13535         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13538         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13539         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13540         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13541         * sysdeps/generic/localplt.data (ld.so): Likewise.
13542         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13543         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13544         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13545         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13546         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13547         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13548         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13549         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13550         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13552         (ld.so): Likewise.
13553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13554         (ld.so): Likewise.
13555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13556         Likewise.
13557         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13558         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13559         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13560         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13561         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13563 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13565         [BZ #16628]
13566         Implement _dl_catch_error, _dl_signal_error in libc.so.
13567         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13568         (catch_hook): Define as thread-local or regular variable,
13569         depending on DL_ERROR_BOOTSTRAP.
13570         (CATCH_HOOK): Remove.
13571         (dl_signal_error, _dl_catch_error): Use
13572         catch_hook.  Add hidden definition for libc.
13573         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13574         for DL_ERROR_BOOTSTRAP only.
13575         * elf/dl-error.c: New file.
13576         * elf/dl-error-minimal.c: Likewise.
13577         * elf/tst-latepthread.c: Likewise.
13578         * elf/tst-latepthreadmod.c: Likewise.
13579         * elf/Makefile (routines): Add dl-error.
13580         (dl-routines): Remove dl-error.
13581         (rtld-routines): Add dl-error-minimal.
13582         [build-shared] (tests): Add tst-latepthread.
13583         (module-names): Add tst-latepthreadmod.
13584         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13585         symbol.
13586         (tst-latepthreadmod.so): Link against libpthread.
13587         (tst-latepthread): Link against libdbl.
13588         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13589         _dl_catch_error.
13590         [ld] (GLIBC_PRIVATE): Likewise.
13591         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13592         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13593         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13594         directly.
13595         * elf/dl-tsd.c: Remove file.
13596         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13597         _dl_catch_error, _dl_signal_error.
13598         (_dl_initial_error_catch_tsd): Remove definition.
13599         (do_preload): Remove initialization of dl_error_catch_tsd.
13600         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13601         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13602         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13603         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13604         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13605         set dl_error_catch_tsd.
13606         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13607         _dl_error_catch_tsd member.
13608         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13609         members.
13610         (_dl_initial_error_catch_tsd): Remove declaration.
13611         (_dl_dprintf): Provide definition for use outside of ld.so.
13612         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13613         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13614         prototype for libc.
13615         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13616         _dl_catch_error.
13617         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13618         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13619         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13620         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13621         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13622         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13623         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13624         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13625         Likewise.
13626         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13628         (ld.so): Likewise.
13629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13630         (ld.so): Likewise.
13631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13632         Likewise.
13633         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13634         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13635         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13636         Likewise.
13637         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13638         Likewise.
13639         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13641 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13643         [BZ #4099]
13644         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13645         _IO_BUFSIZ (8192).
13647 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
13649         * PROJECTS: Remove file.
13651 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13653         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13655 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
13656             Steve Ellcey  <sellcey@caviumnetworks.com>
13658         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13659         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13660         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13661         fxstatat.
13662         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13663         lxstat.
13664         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13665         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13666         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13667         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13668         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13669         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13670         __xstat.
13672 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13674         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13675         Define.
13676         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13677         definition.
13679 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13681         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13682         version and turn into strong alias.  Remove compat symbol.
13684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13685         (__longjmp): Remove.
13687 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
13689         * bits/fp-fast.h: New file.
13690         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13691         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13692         * math/Makefile (headers): Add bits/fp-fast.h.
13693         * math/math.h: Include <bits/fp-fast.h>.
13694         * bits/mathdef.h (FP_FAST_FMA): Remove.
13695         (FP_FAST_FMAF): Likewise.
13696         (FP_FAST_FMAL): Likewise.
13697         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13698         (FP_FAST_FMAF): Likewise.
13699         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13700         (FP_FAST_FMAF): Likewise.
13701         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13702         (FP_FAST_FMAF): Likewise.
13703         (FP_FAST_FMAL): Likewise.
13704         * sysdeps/arm/bits/mathdef.h: Remove file.
13705         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13706         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13707         * sysdeps/tile/bits/mathdef.h: Likewise.
13709 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13711         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
13712         * math/w_ilogb.c: Remove.
13713         * math/w_ilogbf.c: Likewise.
13714         * math/w_ilogbl.c: Likewise.
13715         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13716         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13717         * math/Makefile (gen-libm-calls): Add w_ilogbF.
13718         (libm-calls): Remove w_ilogbF.
13719         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13720         (LDOUBLE_ilogbl_libm_version): New macro.
13722         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13724         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13725         [!__STRICT_ANSI__ && !__cplusplus].
13727 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13729         [BZ #20750]
13730         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13731         of PIC.
13733 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13734             Yury Norov  <ynorov@caviumnetworks.com>
13735             Steve Ellcey  <sellcey@caviumnetworks.com>
13737         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13738         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13739         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13740         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13741         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13742         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13743         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13744         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13745         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13746         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13747         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13748         to get correct reg name for ILP32.
13749         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13750         (RELA_SIZE): New Macro.
13751         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13752         to support ILP32.
13753         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13754         cast for ILP32 mode.
13755         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13756         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13757         * sysdeps/aarch64/memset.S (__memset): Ditto.
13758         * sysdeps/aarch64/strchr.S (strchr): Ditto.
13759         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13760         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13761         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13762         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13763         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13764         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13765         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13766         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13767         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13768         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13769         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13770         change PTR_MANGLE call to use register numbers instead of names.
13771         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13772         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13773         ILP32 mode, change PTR_MANGLE calls to use register numbers.
13774         * sysdeps/aarch64/start.S (_start): Ditto.
13775         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13776         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13777         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13778         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13779         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13780         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13781         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13782         Make defined values dependent on __ILP32__.
13783         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13784         (sem_t): Change __align type.
13785         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13786         PTR_SIZE): New Macros.
13787         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13788         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13789         Set when in ILP32 mode.
13790         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13791         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13792         Set elf flags for ILP32.
13793         (add_system_dir): Set ILP32 library directories.
13794         * sysdeps/unix/sysv/linux/aarch64/init-first.c
13795         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13796         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13797         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13798         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13799         New Macros.
13800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13802 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
13804         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13805         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13806         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13808 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13810         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13811         <asm/cachectl.h>.
13813 2016-11-27  Zack Weinberg  <zackw@panix.com>
13815         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13816         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13818 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13820         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13821         error_t to fix usage in C++ programs.
13823 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
13825         * scripts/build-many-glibcs.py: Import datetime module.
13826         (Context.__init__): Load JSON build state.  Initialize list of
13827         status logs.
13828         (Context.run_builds): Update saved build state.
13829         (Context.add_makefile_cmdlist): Update list of status logs.
13830         (Context.load_build_state_json): New function.
13831         (Context.store_build_state_json): Likewise.
13832         (Context.clear_last_build_state): Likewise.
13833         (Context.update_build_state): Likewise.
13834         (CommandList.status_logs): Likewise.
13836 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
13838         * scripts/build-many-glibcs.py (Context.__init__): Save text of
13839         script being executed.
13840         (Context.get_script_text): New function.
13841         (Context.exec_self): Likewise.
13842         (Context.checkout): Re-exec script if changed by checkout process.
13844 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13846         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13847         (setpayloadsig): New declaration.
13848         * math/Versions (setpayloadsig): New libm symbol at version
13849         GLIBC_2.25.
13850         (setpayloadsigf): Likewise.
13851         (setpayloadsigl): Likewise.
13852         * math/Makefile (libm-calls): Add s_setpayloadsigF.
13853         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13854         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13855         (setpayloadsig_test_data): New array.
13856         (setpayloadsig_test): New function.
13857         (main): Call setpayloadsig_test.
13858         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13859         setpayloadsigf and setpayloadsigl.
13860         * manual/libm-err-tab.pl: Update comment on interfaces without
13861         ulps tabulated.
13862         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13863         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13864         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13865         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13866         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13867         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13868         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13869         setpayloadsig.
13870         (CFLAGS-nldbl-setpayloadsig.c): New variable.
13871         * sysdeps/nacl/libm.abilist: Update.
13872         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13873         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13874         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13875         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13876         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13877         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13878         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13879         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13880         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13881         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13882         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13883         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13885         Likewise.
13886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13887         Likewise.
13888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13889         Likewise.
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13891         Likewise.
13892         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13893         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13894         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13895         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13896         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13898         Likewise.
13899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13900         Likewise.
13901         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13902         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13903         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13905         * scripts/build-many-glibcs.py: Import json module.
13906         (Context.__init__): Take replace_sources argument.  Load
13907         versions.json.
13908         (Context.load_versions_json): New function.
13909         (Context.store_json): Likewise.
13910         (Context.store_versions_json): Likewise.
13911         (Context.set_component_version): Likewise.
13912         (Context.checkout): Update versions.json.  Check for and handle
13913         changes of version.  Prefer previously explicitly specified
13914         version to default version.
13915         (Context.checkout_vcs): Return a revision identifier.
13916         (Context.git_checkout): Likewise.
13917         (Context.gcc_checkout): Likewise.
13918         (get_parser): Add --replace-sources option.
13919         (main): Pass replace_sources argument to Context call.
13921 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13923         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13924         * nptl/allocatestack.c (allocate_stack): Likewise.
13925         (__reclaim_stacks): Likewise.
13926         (setxid_signal_thread): Obtain pid through syscall.
13927         * nptl/nptl-init.c (sigcancel_handler): Likewise.
13928         (sighandle_setxid): Likewise.
13929         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13930         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13931         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13932         Likewise.
13933         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13934         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13935         comment.
13936         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13937         * nptl/descr.h (struct pthread): Change comment about pid value.
13938         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13939         pid assert.
13940         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13941         Do not set pid value.
13942         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13943         pid cache check.
13944         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13945         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13946         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13947         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13948         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13949         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13950         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13951         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13952         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13953         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13954         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13955         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13956         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13957         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13958         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13959         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13960         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13961         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13962         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13963         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13964         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13965         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13966         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13967         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13968         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13971         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13972         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13973         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13974         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13975         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13976         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13977         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13978         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13979         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13980         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13981         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13982         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13983         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13984         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13985         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13986         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13989         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13990         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13991         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13992         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13993         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13994         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13995         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13996         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13997         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13998         struct access.
13999         (clone_test): Remove function.
14000         (do_test): Rewrite to take in consideration pid is not cached anymore.
14002 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14004         * bits/flt-eval-method.h: New file.
14005         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14006         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14007         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14008         * math/Makefile (headers): Add bits/flt-eval-method.h.
14009         * math/math.h: Include <bits/flt-eval-method.h>.
14010         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14011         [__USE_ISOC99] (double_t): Likewise.
14012         * bits/mathdef.h (float_t): Remove.
14013         (double_t): Likewise.
14014         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14015         (double_t): Likewise.
14016         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14017         (double_t): Likewise.
14018         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14019         (double_t): Likewise.
14020         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14021         (double_t): Likewise.
14022         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14023         (double_t): Likewise.
14024         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14025         (double_t): Likewise.
14026         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14027         (double_t): Likewise.
14028         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14029         (double_t): Likewise.
14030         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14031         (double_t): Likewise.
14032         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14033         (double_t): Likewise.
14034         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14035         (double_t): Likewise.
14036         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14037         (double_t): Likewise.
14038         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14039         (double_t): Likewise.
14041 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
14043         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14044         instead of PIC.
14046 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14048         [BZ #20859]
14049         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14050         (-0x7fffffff) instead of 0x80000001.
14051         * math/test-fp-ilogb-constants.c: New file.
14052         * math/Makefile (tests): Add test-fp-ilogb-constants.
14054 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
14056         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14057         (_init): Use it in place of hardcoded R_MIPS_JALR.
14058         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14059         (_init): Use it in place of hardcoded R_MIPS_JALR.
14060         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14061         (_init): Use it in place of hardcoded R_MIPS_JALR.
14063 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14065         [BZ #20787]
14066         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14067         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14068         (double_t): Do not define to double if [__x86_64__] when
14069         __FLT_EVAL_METHOD__ is nonzero.
14070         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14071         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14072         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14073         test-flt-eval-method-387 and test-flt-eval-method-sse.
14074         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14075         variable.
14076         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14078 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
14080         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14081         use of -fno-isolate-erroneous-paths options for tilepro.
14083 2016-11-23  Florian Weimer  <fweimer@redhat.com>
14085         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14086         structure initialization is no longer needed.
14088 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14090         [BZ #20855]
14091         * bits/mathdef.h (float_t): Define to float.
14092         * math/test-flt-eval-method.c: New file.
14093         * math/Makefile (tests): Add test-flt-eval-method.
14094         (CFLAGS-test-flt-eval-method.c): New variable.
14096 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
14098         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14099         and __fstatfs.  Make them aliases of __fstatfs64 if
14100         STATFS_IS_STATFS64 is set to non-zero.
14101         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14102         and __statfs64.
14103         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14104         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14105         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14106         for __statfs and statfs.
14107         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14108         to 0.
14109         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14110         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14111         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14112         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14113         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14114         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14117         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14118         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14119         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14120         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14122 2016-11-22  Andreas Schwab  <schwab@suse.de>
14124         * misc/mkstemp.c: Include <fcntl.h>.
14125         * misc/mkstemps.c: Likewise.
14126         * misc/mkostemp.c: Likewise.
14127         * misc/mkostemps.c: Likewise.
14129 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
14131         [BZ #20847]
14132         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14133         array bounds.
14134         (__execvpe): Likewise.
14136 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
14138         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14139         -fno-isolate-erroneous-paths options for tilepro.
14141 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
14143         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14144         to 0 when in 32 bit mode.
14145         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14146         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14147         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14148         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14150         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14151         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14152         XSTAT_IS_XSTAT64 test.
14153         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14154         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14155         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14156         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14157         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14158         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14159         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14160         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14161         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14162         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14163         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14165 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
14167         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14168         (setpayload): New declaration.
14169         * math/Versions (setpayload): New libm symbol at version
14170         GLIBC_2.25.
14171         (setpayloadf): Likewise.
14172         (setpayloadl): Likewise.
14173         * math/Makefile (libm-calls): Add s_setpayloadF.
14174         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14175         test_Ff_b1_data.
14176         (RUN_TEST_Ff_b1): New macro.
14177         (RUN_TEST_LOOP_Ff_b1): Likewise.
14178         (canonicalize_test_data): Update type.
14179         (setpayload_test_data): New array.
14180         (setpayload_test): New function.
14181         (main): Call setpayload_test.
14182         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14183         setpayloadf and setpayloadl.
14184         * manual/libm-err-tab.pl: Update comment on interfaces without
14185         ulps tabulated.
14186         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14187         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14188         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14189         Likewise.
14190         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14191         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14192         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14193         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14194         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14195         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14196         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14197         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14198         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14199         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14200         setpayload.
14201         (CFLAGS-nldbl-setpayload.c): New variable.
14202         * sysdeps/nacl/libm.abilist: Update.
14203         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14204         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14205         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14206         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14207         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14208         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14209         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14210         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14211         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14212         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14213         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14214         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14216         Likewise.
14217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14218         Likewise.
14219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14220         Likewise.
14221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14222         Likewise.
14223         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14224         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14225         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14226         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14227         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14229         Likewise.
14230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14231         Likewise.
14232         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14233         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14234         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14236 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14238         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14239         * include/unistd.h: Extend comment about __access_noerrno return
14240         semantics.
14241         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14242         (access_common): Correct typo for EACCES.
14244 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
14246         * sysdeps/tile/math-tests.h: New file.
14248         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14249         (__old_set_dataplane): Rename from set_dataplane and make a
14250         compatibility symbol.
14251         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14252         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14253         sys/dataplane.h.
14255 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
14257         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14258         script quote words in command output to log suitably for input to
14259         the shell.
14261 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
14262             Maciej W. Rozycki  <macro@imgtec.com>
14264         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14265         `.Lno_weak_fn' label.
14266         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14267         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14269 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14270             Yury Norov  <ynorov@caviumnetworks.com>
14272         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14273         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14274         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14275         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14276         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14277         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14278         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14279         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14280         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14281         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14282         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14283         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14284         (sysdep_routines): Remove oldgetrlimit64.
14285         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14286         (sysdep_routines): Likewise.
14287         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14288         (sysdep_routines): Likewise.
14289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14290         [$(subdir) = resource] (sysdep_routines): Likewise.
14291         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14292         [$(subdir) = resource] (sysdep_routines): Likewise.
14293         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14294         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14295         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14296         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14297         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14298         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14299         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14300         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14301         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14302         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14303         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14304         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14305         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14306         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14307         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14308         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14309         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14310         setrlimit and getrlimit.
14311         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14312         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14313         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14316         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14317         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14318         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14319         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14320         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14321         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14322         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14323         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14324         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14325         (__old_getrlimit64): Add compatibility symbol.
14326         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14328 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
14330         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14331         newly built gmp, mpfr and mpc.
14333         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14335 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14337         * conform/Makefile (linknamespace-libs): Rename to
14338         linknamespace-libs-thr.
14339         (linknamespace-libs-posix): New variable.
14340         (linknamespace-libs-xsi): Likewise.
14341         (linknamespace-libs-XPG3): Include libcrypt.a.
14342         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14343         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14344         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14345         (linknamespace-libs-XOPEN2K): Likewise.
14346         (linknamespace-libs-XOPEN2K8): Likewise.
14347         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14349         [BZ #20829]
14350         * stdio-common/Versions (__snprintf): Add to version
14351         GLIBC_PRIVATE.
14352         * include/stdio.h (__snprintf): Use libc_hidden_proto.
14353         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14354         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14355         of snprintf.
14356         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14358 2016-11-16  Zack Weinberg  <zackw@panix.com>
14360         * string/string.h: Remove obsolete comment stating that
14361         strcoll_l and strxfrm_l have not yet been standardized.
14363 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14365         * hurd/hurd.h (__hurd_fail_noerrno): New function.
14366         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14367         __access_noerrno.
14368         * io/access.c (__access_noerrno): New function.
14369         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14370         (hurd_fail_seterrno): Likewise.
14371         (access_common): Likewise.
14372         (__access_noerrno): Likewise.
14373         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14374         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14375         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14376         macro.
14378 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14380         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14381         Only declare fpregs if [__SH_FPU_ANY__].
14383 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
14385         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14386         Make code unconditional.
14387         [!(__SH4__ || __SH4A__)]: Remove conditional code.
14389 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
14391         * manual/sysinfo.texi (S_APPEND): Delete.
14392         (S_IMMUTABLE): Likewise.
14394 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
14395             Magnus Granberg  <zorry@gentoo.org>
14396             Mike Frysinger  <vapier@gentoo.org>
14398         [BZ #20662]
14399         * configure.ac (libc_cv_predef_stack_protector): Also check for
14400         __stack_chk_fail_local symbols.
14401         * configure: Regenerated.
14403 2016-11-15  Florian Weimer  <fweimer@redhat.com>
14405         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14406         (libc_hidden_def): Remove redefinition.
14407         (__sigsetjmp): Add hidden definition.
14408         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14409         (libc_hidden_def): Remove redefinition.
14410         (__sigsetjmp): Add hidden definition.
14412 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
14414         * scripts/build-many-glibcs.py (os.path): Do not import.
14415         (Context): Inherit explicitly from object.  Remove blank line
14416         between class and docstring.
14417         (Config): Likewise.
14418         (Glibc): Likewise.
14419         (Command): Likewise.
14420         (CommandList): Likewise.
14421         (Context.write_files): Store chmod mode in a variable.
14423         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14424         LIBC_SLIBDIR_RTLDDIR for tilegx32.
14425         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14427 2016-11-14  Zack Weinberg  <zackw@panix.com>
14429         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14430         creating or re-creating it.
14432         * string/bits/string2.h: Fix typo in comment.
14434 2016-11-14  Zack Weinberg  <zackw@panix.com>
14436         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14437         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14438         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14439         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14440         of redirected function names.
14442         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14443         as well.  Document that MESSAGE must be a single string literal.
14445 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
14447         * scripts/build-many-glibcs.py: New file.
14449         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14450         (do_test): Disable -Wmaybe-uninitialized around uses of
14451         except_mask.
14453         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14455 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
14457         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14458         (atomic_store_release): Provide tilepro-specific implementations.
14460 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
14462         * math/math.h (__MATH_TG): New macro.
14463         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14464         [__USE_ISOC99] (signbit): Likewise.
14465         [__USE_ISOC99] (isfinite): Likewise.
14466         [__USE_ISOC99] (isnan): Likewise.
14467         [__USE_ISOC99] (isinf): Likewise.
14468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14471         __MATH_TG and __MATH_EVAL_FMT2.
14472         * sysdeps/generic/math_private.h (fabs_tg): Define using
14473         __MATH_TG.
14474         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14475         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14476         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14477         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14478         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14479         macro.
14480         (__iscanonical): Likewise.
14481         (iscanonical): Define using __MATH_TG.
14483 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14485         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14486         guards.
14488         * sysdeps/unix/sysv/linux/access.c: New file.
14489         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14491 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
14493         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14494         and __WORDSIZE32_PTRDIFF_LONG.
14496 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14498         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14500 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14502         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14503         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14504         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14505         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14506         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14508         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14509         * sysdeps/unix/sysv/linux/truncate.c: New file.
14510         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14511         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14512         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14513         Remove.
14514         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14515         Likewise.
14517         * posix/tst-truncate-common.c: New file.
14518         * posix/tst-truncate.c: Use tst-truncate-common.c.
14519         * posix/tst-truncate64.c: Likewise and add LFS tests.
14520         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14521         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14522         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14523         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14524         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14526         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14527         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14528         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14529         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14530         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14531         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14532         Remove.
14533         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14534         Likewise.
14536 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
14538         [BZ #20790]
14539         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14540         to MAXLINESIZE.
14541         * sunrpc/bug20790.x: New file.
14542         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14543         variable.
14544         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14545         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14547         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14549         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14551         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14552         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
14553         calloc, realloc, free, memalign and __libc_memalign rather than
14554         making them optional.
14556         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14557         for libc.so.
14559 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14561         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14562         ptw-lseek64.
14563         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14564         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14565         Likewise.
14566         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14567         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14568         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14569         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14570         * sysdeps/unix/sysv/linux/lseek.c: New file.
14571         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14572         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14573         __libc_lseek64 from auto-generation.
14574         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14575         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14577 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14579         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14580         * nptl/tst-cleanup1.c (do_test): Likewise.
14581         * nptl/tst-cleanup3.c (do_test): Likewise.
14582         * nptl/tst-key1.c (do_test): Likewise.
14583         * nptl/tst-key2.c (tf, do_test): Likewise.
14584         * nptl/tst-key3.c (tf, do_test): Likewise.
14585         * nptl/tst-stdio1.c (do_test): Likewise.
14586         * nptl/tst-stdio2.c (do_test): Likewise.
14588         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14589         * nptl/tst-kill6.c (handler): Likewise.
14590         * nptl/tst-tls2.c (CB): Likewise.
14591         * nptl/tst-tls3.c (CB): Likewise.
14593 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14595         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14597 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14598             Steve Ellcey  <sellcey@caviumnetworks.com>
14600         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14601           __ASSUME_ST_INO_64_BIT as 0
14602         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14603         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14604           over the code where __ASSUME_ST_INO_64_BIT is used.
14605         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14606         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14607         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14609 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14611         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14612         Document ABI exposure of the __kind offset.
14613         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14614         Mention reason for the __kind offset exposure in the ABI.
14615         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14616         Likewise.
14617         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14618         Likewise.
14619         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14620         Likewise.
14621         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14622         (struct __pthread_mutex_s): Likewise.
14623         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14624         Likewise.
14625         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14626         Likewise.
14627         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14628         Likewise.
14629         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14630         Likewise.
14631         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14632         Likewise.
14633         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14634         Likewise.
14635         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14636         (struct __pthread_mutex_s): Likewise.
14637         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14638         (struct __pthread_mutex_s): Likewise.
14639         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14640         Likewise.
14642 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
14644         * test-skeleton.c: Document do_test usage.
14646 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
14648         * iconv/gconv.h (__gconv_info): Define __data element using a
14649         zero-length array.
14651 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
14653         * math/test-tgmath2.c: Split up test function.
14655 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14657         * Rules (tests-expected): New variable, depending on
14658         $(run-built-tests).
14659         (tests): Pass $(tests-expected) to merge-test-results.sh, not
14660         $(tests).
14662         * Rules [$(run-built-tests) = no] (tests): Do not depend on
14663         $(tests-unsupported).
14665 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14667         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14668         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
14670 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14672         [BZ #20768]
14673         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14674         __fegetenv instead of fegetenv.
14676         [BZ #14139]
14677         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14678         (find_files): Obtain platform name from libm-test-ulps-name and
14679         store in %pplatforms.
14680         (canonicalize_platform): Remove.
14681         (print_platforms): Use $pplatforms directly.
14682         (by_platforms): Do not allow for platforms missing from
14683         %pplatforms.
14684         * sysdeps/aarch64/libm-test-ulps-name: New file.
14685         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14686         * sysdeps/arm/libm-test-ulps-name: Likewise.
14687         * sysdeps/generic/libm-test-ulps-name: Likewise.
14688         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14689         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14690         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14691         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14692         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14693         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14694         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14695         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14696         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14697         * sysdeps/nios2/libm-test-ulps-name: Likewise.
14698         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14699         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14700         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14701         * sysdeps/sh/libm-test-ulps-name: Likewise.
14702         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14703         * sysdeps/tile/libm-test-ulps-name: Likewise.
14704         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14706         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14708         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14709         (test-xfail-check-execstack): New variable.
14711         * sysdeps/mips/localplt.data: New file.
14713 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
14714             Steve Ellcey  <sellcey@caviumnetworks.com>
14716         * bits/wordsize.h: Add documentation.
14717         * sysdeps/aarch64/bits/wordsize.h : New file
14718         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14719         definitions.
14720         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14721         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14722         with #if instead of #ifdef.
14723         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14724         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14725         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14726         Add or change defines.
14727         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14728         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14729         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14730         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14731         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14732         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14733         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14734         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14735         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14736         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14737         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14738         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14739         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14740         * sysdeps/x86/bits/wordsize.h: Likewise.
14742 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
14743             Kevin Petit  <kevin.petit@arm.com>
14745         * sysdeps/aarch64/memchr.S (__memchr): New file.
14747 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14749         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14751 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
14753         [BZ #19398]
14754         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14755         $(linknamespace-symlists-tests).
14757 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
14759         * time/tst-strptime2.c: Ignore -Wformat-length warning.
14761 2016-11-02  Florian Weimer  <fweimer@redhat.com>
14762             Carlos O'Donell  <carlos@redhat.com>
14764         [Bug #20729]
14765         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14766         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
14767         for -Os related change.
14769 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
14771         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14773 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
14775         [BZ #19673]
14776         * manual/math.texi (Exponents and Logarithms): Correct description
14777         of clog10.
14779 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
14781         [Bz #20729]
14782         * locale/weight.h: Include libc-internal.h.
14783         * locale/weightwc.h: Likewise.
14784         * nptl/nptl_dbP.h: Likewise.
14786 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
14788         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14789         when it is MACH_PORT_NULL.
14791 2016-10-31  Andreas Schwab  <schwab@suse.de>
14793         [BZ #20707]
14794         * posix/glob.c (glob): Initialize pglob before checking for
14795         GLOB_BRACE.  Don't call glob recursively if pattern contains no
14796         valid brace expression despite GLOB_BRACE.
14797         * posix/globtest.sh: Test it.
14799 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14801         [BZ #20729]
14802         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14803         Define.
14804         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14805         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14806         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14807         for seq2.back_us and seq1.back_us only for -Os compiles.
14808         * locale/weightwc.h (findix): Likewise.
14809         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14810         DB_GET_FIELD_ADDRESS only for -Os compiles.
14811         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14812         for slen only for -Os compiles.
14813         * string/strcoll_l.c (get_next_seq): Ignore
14814         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14815         for -Os compiles.
14817         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14818         * include/crypt.h: New file.
14820 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14822         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14823         from test-skeleton.c.
14824         (statclass): Replace calls to write with calls to write_message.
14826 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14828         * math/math.h
14829         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14830         New macro.
14831         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14832         Likewise.
14833         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14834         Likewise.
14835         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14836         SNANL.
14837         * math/test-double.h (snan_value_MACRO): New macro.
14838         * math/test-float.h (snan_value_MACRO): Likewise.
14839         * math/test-ldouble.h (snan_value_MACRO): Likewise.
14840         * math/libm-test.inc (issignaling_test_data): Add tests of
14841         snan_value_MACRO.
14843 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14845         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14846         behavior when eliding a lock not held by the current thread.
14847         * sysdeps/powerpc/nptl/elide.h: Likewise.
14849 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14851         [BZ #20728]
14852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14853         branch to _exit() by a function call.
14855 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14857         * malloc/malloc.c: Update chunk layout comments.
14858         (chunk_main_arena): Update comment.
14860 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14862         * crypt/sha256.c, crypt/sha256-block.c,
14863         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14864         sha256_process_block to __sha256_process_block.
14865         * crypt/sha512.c, crypt/sha512-block.c,
14866         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14867         sha512_process_block to __sha512_process_block.
14869 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14871         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14873         * math/test-nan-overflow.c: Include stdlib.h for malloc.
14875 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
14877         [BZ #20019]
14878         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14879         definition in unrelocated shared library.
14880         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14882 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14884         [BZ #20729]
14885         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14886         * sysdeps/unix/sysv/linux/i386/Makefile
14887         (uses-6-syscall-arguments): Define.
14888         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14889         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14890         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14891         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14892         Likewise.
14893         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14894         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14895         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14896         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14897         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14898         (CFLAGS-fallocate64.os): Likewise.
14899         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14900         (CFLAGS-pthread_rwlock_timedrdlock.os)
14901         (CFLAGS-pthread_rwlock_timedwrlock.o)
14902         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14903         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14904         (CFLAGS-sem_timedwait.os): Likewise.
14906 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14908         * elf/tst-linkall-static.c: New file.
14909         * elf/Makefile (tests-static): Add tst-linkall-static.
14910         (tst-linkall-static): Link against static libraries.
14912 2016-10-27  Florian Weimer  <fweimer@redhat.com>
14914         * malloc/malloc.c (sysmalloc): Initialize previous size field of
14915         mmaped chunks.
14917 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14919         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14920         members to mchunk_prev_size, mchunk_size.
14921         (chunk_main_arena): Reverse sense and rename from
14922         chunk_non_main_arena.
14923         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14924         mchunk_size instead of size.
14925         (set_non_main_arena): Define.
14926         (chunksize): Use chunksize_nomask instead of direct member access.
14927         (chunksize_nomask): Define.
14928         (next_chunk): Use chunksize instead of direct member access.
14929         (prev_size, set_prev_size): Define.
14930         (prev_chunk): Use prev_size instead of direct member access.
14931         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14932         (inuse_bit_at_offset, set_inuse_bit_at_offset)
14933         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14934         (mchunk_prev_size, mchunk_size): Poison tokens.
14935         (unlink): Use chunksize_nomask, prev_size accessors.
14936         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14937         (do_check_free_chunk): Use prev_size accessor.
14938         (sysmalloc): Use set_prev_size, set_head accessors.
14939         (munmap_chunk, mremap_chunk): Use prev_size accessor.
14940         (__libc_free): Use chunksize_nomask accessor.
14941         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14942         chunk_main_arena accessors.
14943         (_int_free): Use chunksize_nomask, prev_size accessors.
14944         (malloc_consolidate): Use chunksize, prev_size accessors.
14945         (_int_realloc): Use chunksize_nomask accessor.
14946         (_int_memalign): Use set_prev_size accessor.
14947         (__malloc_info): Use chunksize_nomask accessor.
14948         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14949         accessors.
14950         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14951         (heap_trim): Use chunksize_nomask, prev_size accessors.
14953 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14955         [BZ #19380]
14956         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14957         for inexact results.
14958         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14959         of inexact result where mpfr_subnormalize is the only inexact
14960         step.
14961         * stdlib/tst-strtod-round-data.h: Regenerated.
14962         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14963         Define to 0.
14964         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14966 2016-10-27  David S. Miller  <davem@davemloft.net>
14968         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14970 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14972         * malloc/malloc.c (do_set_mallopt_check): New function.
14973         (do_set_mmap_threshold): Likewise.
14974         (do_set_mmaps_max): Likewise.
14975         (do_set_top_pad): Likewise.
14976         (do_set_perturb_byte): Likewise.
14977         (do_set_trim_threshold): Likewise.
14978         (do_set_arena_max): Likewise.
14979         (do_set_arena_test): Likewise.
14980         (__libc_mallopt): Use them.
14982 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
14984         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14985         (canonicalize): New declaration.
14986         * math/Versions (canonicalize): New libm symbol at version
14987         GLIBC_2.25.
14988         (canonicalizef): Likewise.
14989         (canonicalizel): Likewise.
14990         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14991         * math/s_canonicalize_template.c: New file.
14992         * math/libm-test.inc: Update comment on functions tested and
14993         testing of NaN payloads.
14994         (TEST_NAN_PAYLOAD): New macro.
14995         (NO_TEST_INLINE): Update value.
14996         (XFAIL_TEST): Likewise.
14997         (ERRNO_UNCHANGED): Likewise.
14998         (ERRNO_EDOM): Likewise.
14999         (ERRNO_ERANGE): Likewise.
15000         (IGNORE_RESULT): Likewise.
15001         (NON_FINITE): Likewise.
15002         (TEST_SNAN): Likewise.
15003         (NO_TEST_MATHVEC): Likewise.
15004         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15005         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15006         (struct test_Ffp_b1_data): New type.
15007         (RUN_TEST_Ffp_b1): New macro.
15008         (RUN_TEST_LOOP_Ffp_b1): Likewise.
15009         (canonicalize_test_data): New array.
15010         (canonicalize_test): New function.
15011         (main): Call canonicalize_test.
15012         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15013         canonicalizef and canonicalizel.
15014         * manual/libm-err-tab.pl: Update comment on interfaces without
15015         ulps tabulated.
15016         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15017         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15018         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15019         canonicalize.
15020         (CFLAGS-nldbl-canonicalize.c): New variable.
15021         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15022         to ...
15023         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15024         ... here.
15025         (do_test): Also test canonicalizel.
15026         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15027         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15028         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15029         file.
15030         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15031         Use libm_hidden_def.
15032         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15033         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15034         (do_test): Also test canonicalizel.
15035         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15036         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15037         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15038         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15039         libm_hidden_def.
15040         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15041         macro.
15042         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15043         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15044         * sysdeps/nacl/libm.abilist: Update.
15045         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15046         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15047         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15048         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15049         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15050         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15051         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15052         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15053         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15054         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15055         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15056         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15058         Likewise.
15059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15060         Likewise.
15061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15062         Likewise.
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15064         Likewise.
15065         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15066         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15067         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15068         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15069         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15071         Likewise.
15072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15073         Likewise.
15074         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15075         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15076         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15078         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15079         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15080         getpayload.
15081         (CFLAGS-nldbl-getpayload.c): New variable.
15083 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15085         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15086         integer from the format string.
15088 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15090         [BZ #19473]
15091         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15092         declarations.
15093         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15094         weak aliases.
15095         * malloc/hooks.c (__malloc_get_state): Remove definition.
15096         (malloc_get_state): New stub implementation as
15097         compatibility symbol.
15098         (malloc_set_state): Rename from __malloc_set_state.  Turn into
15099         compat symbol.
15100         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15101         malloc_set_state.
15102         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15104 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15106         * iconvdata/iso646.c (enum variant): Drop illegal_var.
15107         (names): Turn into concatenation of strings.
15108         (gconv_init): Adapt iteration over names.
15110 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15112         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15113         make const.
15114         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15115         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15116         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15117         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15118         character in sbconv.
15119         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15120         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15121         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15123 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15125         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15127         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15128         (M_TRIM_THRESHOLD): Likewise.
15130         * manual/memory.texi (M_ARENA_TEST): Add documentation.
15131         (M_ARENA_MAX): Likewise.
15132         * malloc/malloc.c: Remove obsolete comment.
15134         * manual/memory.texi: Add environment variable alternatives to
15135         setting mallopt parameters.
15137 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
15139         * include/atomic.h
15140         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15141         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15143 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15145         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15146         * stdlib/tst-strfrom.h: New file.
15147         * stdlib/tst-strfrom.c: New file.
15148         * stdlib/tst-strfrom-locale.c: New file.
15150         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15151         * stdlib/bug-strtod2.c: Likewise.
15152         * stdlib/tst-strtod-round-skeleton.c: Likewise.
15153         * stdlib/tst-strtod6.c: Likewise.
15154         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15156 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15158         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15159         * manual/arith.texi: Document strfromd, strfromf, strfroml.
15160         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15161         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15162         * stdlib/stdlib.h (strfromd): New declaration.
15163         (strfromf): Likewise.
15164         (strfroml): Likewise.
15165         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
15166         strfrom.
15167         * stdlib/strfromd.c: New file.
15168         * stdlib/strfromf.c: Likewise.
15169         * stdlib/strfroml.c: Likewise.
15170         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15171         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15172         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15173         * sysdeps/arm/nacl/libc.abilist: Update.
15174         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15175         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15176         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15177         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15178         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15179         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15180         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15181         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15182         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15183         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15184         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15185         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15186         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15187         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15192         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15193         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15194         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15195         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15196         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15199         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15200         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15201         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15203 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
15205         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15206         instead of cmpli.
15207         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15208         instead of cmpli.
15210 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
15212         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15213         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15214         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15215         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15216         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15217         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15219 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15221         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15222         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15223         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15224         SYSCALL_LL64_PRW.
15225         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15226         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15227         __ASSUME_PRW_DUMMY_ARG.
15228         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15229         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15230         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15231         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15232         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15233         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15235 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
15237         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15239 2016-10-22  Florian Weimer  <fweimer@redhat.com>
15241         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15242         "C++", to override a potential extern "C" directive around the
15243         header file inclusion.
15245 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
15247         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15249 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15251         * sysdeps/powerpc/fpu/fenv_private.h:
15252         (_FPU_MASK_ALL): Rename to...
15253         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15254         XE FPSCR bits.
15256         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15258         (_FPU_MASK_ROUNDING): Rename to...
15259         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15260         NI bits.
15262         (_FPU_MASK_EXCEPT_ROUND): Rename to...
15263         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15264         bits and rounding bits.
15266         (__libc_feholdbits_ppc): New inline function to mask, set,
15267         and pontentially clear FSPCR bits, and change MSR[FE] bits.
15268         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15269         (libc_feholdexcept_setround_ppc): Likewise.
15271         (__libc_femergeenv_ppc): New function to dynamically mask both
15272         old and new FP environments and merge.
15273         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15274         (libc_feresetround_ppc): Likewise.
15275         (libc_feupdateenv_test_ppc): Likewise.
15276         (libc_feupdateenv_ppc): Likewise.
15278         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15279         of ISA RN bits, and update macro names.
15280         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15281         effectively the same as the previously mentioned function.
15283         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15284         usage with fe_resetround_ppc.
15286         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15287         to be used.
15288         (libc_feholdexcept_setround_ctxf): Likewise.
15289         (libc_feholdexcept_setround_ctxl): Likewise.
15291 2016-10-21  Florian Weimer  <fweimer@redhat.com>
15293         [BZ #20715]
15294         * math/math.h [__cplusplus] (iszero): Define as function template.
15295         * math/Makefile [CXX] (tests): Add test-math-iszero.
15296         (CFLAGS-test-math-iszero.cc): Set.
15297         * math/test-math-iszero.cc: New file.
15299 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
15301         [BZ #20660]
15302         * sysdeps/arm/e_sqrt.c: New file.
15303         * sysdeps/arm/e_sqrtf.c: Likewise.
15305 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
15307         [BZ #20718]
15308         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15309         not use floating-point comparisons to test sign.
15310         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15311         Likewise.
15313         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15314         (getpayload): New declaration.
15315         * math/Versions (getpayload): New libm symbol at version
15316         GLIBC_2.25.
15317         (getpayloadf): Likewise.
15318         (getpayloadl): Likewise.
15319         * math/Makefile (libm-calls): Add s_getpayloadF.
15320         * math/libm-test.inc: Include <nan-high-order-bit.h>.
15321         (struct test_f_f_data): Add comment.
15322         (RUN_TEST_fp_f): New macro.
15323         (RUN_TEST_LOOP_fp_f): Likewise.
15324         (getpayload_test_data): New array.
15325         (getpayload_test): New function.
15326         (main): Call getpayload_test.
15327         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15328         descriptor.
15329         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15330         getpayloadf and getpayloadl.
15331         * manual/libm-err-tab.pl: Update comment on interfaces without
15332         ulps tabulated.
15333         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15334         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15335         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15336         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15337         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15338         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15339         * sysdeps/nacl/libm.abilist: Update.
15340         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15341         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15342         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15343         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15344         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15345         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15346         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15347         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15348         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15349         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15350         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15351         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15353         Likewise.
15354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15355         Likewise.
15356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15357         Likewise.
15358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15359         Likewise.
15360         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15361         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15362         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15363         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15364         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15366         Likewise.
15367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15368         Likewise.
15369         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15370         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15371         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15373 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15375         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15376         tst-fallocate{64}.
15377         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15378         on syscall return.
15380 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
15382         [BZ #20689]
15383         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15384         usable.
15386 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
15388         * sysdeps/generic/nan-high-order-bit.h: New file.
15389         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15390         * sysdeps/mips/nan-high-order-bit.h: Likewise.
15391         * sysdeps/hppa/math_private.h: Remove file.
15392         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15393         not define here.
15394         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15395         <nan-high-order-bit.h>.
15396         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15397         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15398         <nan-high-order-bit.h>.
15399         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15400         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15401         <nan-high-order-bit.h>.
15402         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15403         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15404         <nan-high-order-bit.h>.
15405         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15406         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15407         <nan-high-order-bit.h>.
15408         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15409         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15410         <nan-high-order-bit.h>.
15411         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15412         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15413         <nan-high-order-bit.h>.
15414         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15415         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15416         <nan-high-order-bit.h>.
15417         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15418         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15419         <nan-high-order-bit.h>.
15420         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15421         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15422         <nan-high-order-bit.h>.
15423         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15424         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15425         <nan-high-order-bit.h>.
15426         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15427         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15428         <nan-high-order-bit.h>.
15429         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15430         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15431         <nan-high-order-bit.h>.
15432         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15433         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15434         <nan-high-order-bit.h>.
15435         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15436         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15437         <nan-high-order-bit.h>.
15438         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15439         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15440         <nan-high-order-bit.h>.
15441         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15442         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15443         <nan-high-order-bit.h>.
15444         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15445         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15446         <nan-high-order-bit.h>.
15447         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15449 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15451         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15453 2016-09-22  John David Anglin  <dave.anglin@bell.net>
15455         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15456         abort-instr.h.
15457         (EFAULT): Remove conditional define.
15458         (ENOSYS): Likewise.
15459         (atomic_compare_and_exchange_val_acq): Use instruction nullification
15460         instead of conditional branch instructions.
15462 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
15464         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15465         (totalordermag): New declaration.
15466         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15467         New macro.
15468         * math/Versions (totalordermag): New libm symbol at version
15469         GLIBC_2.25.
15470         (totalordermagf): Likewise.
15471         (totalordermagl): Likewise.
15472         * math/Makefile (libm-calls): Add s_totalordermagF.
15473         * math/libm-test.inc (totalordermag_test_data): New array.
15474         (totalordermag_test): New function.
15475         (main): Call totalordermag_test.
15476         * math/test-tgmath.c (NCALLS): Increase to 125.
15477         (F(compile_test)): Call totalordermag.
15478         (F(totalordermag)): New function.
15479         * manual/arith.texi (FP Comparison Functions): Document
15480         totalordermag, totalordermagf and totalordermagl.
15481         * manual/libm-err-tab.pl: Update comment on interfaces without
15482         ulps tabulated.
15483         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15484         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15485         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15486         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15487         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15488         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15489         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15490         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15491         totalordermag.
15492         (CFLAGS-nldbl-totalordermag.c): New variable.
15493         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15494         (do_test): Also test totalordermagl.
15495         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15496         Likewise.
15497         * sysdeps/nacl/libm.abilist: Update.
15498         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15499         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15500         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15501         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15502         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15503         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15504         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15505         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15506         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15507         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15508         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15509         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15511         Likewise.
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15513         Likewise.
15514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15515         Likewise.
15516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15517         Likewise.
15518         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15519         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15520         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15521         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15522         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15524         Likewise.
15525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15526         Likewise.
15527         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15528         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15529         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15531 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
15533         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15534         boolean.
15536 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
15538         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15539         raising FE_INVALID with feraisexcept in case where part of
15540         argument is infinite, subtract that part of argument from itself.
15541         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15542         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15543         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15545 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15547         * math/libm-test.inc (totalorder_test_data): Add more tests.
15549 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15551         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15552         Undefine weak_alias and add a comment why mips64 require
15553         versioning.
15555 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15557         [BZ #20647]
15558         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15559         maximum CPUID level is less than 2.
15561 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15563         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15564         (totalorder): New declaration.
15565         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15566         New macro.
15567         * math/Versions (totalorder): New libm symbol at version
15568         GLIBC_2.25.
15569         (totalorderf): Likewise.
15570         (totalorderl): Likewise.
15571         * math/Makefile (libm-calls): Add s_totalorderF.
15572         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15573         string.
15574         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15575         (qnan_value_pl): Likewise.
15576         (snan_value_pl): Likewise.
15577         (qnan_value): Define using qnan_value_pl.
15578         (snan_value): Define using snan_value_pl.
15579         (struct test_ff_i_data): Add comment about which tests use this
15580         structure.
15581         (RUN_TEST_ff_b): New macro.
15582         (RUN_TEST_LOOP_ff_b): Likewise.
15583         (totalorder_test_data): New array.
15584         (totalorder_test): New function.
15585         (main): Call totalorder_test.
15586         * math/test-tgmath.c (NCALLS): Increase to 122.
15587         (F(compile_test)): Call totalorder.
15588         (F(totalorder)): New function.
15589         * manual/arith.texi (FP Comparison Functions): Document
15590         totalorder, totalorderf and totalorderl.
15591         * manual/libm-err-tab.pl: Update comment on interfaces without
15592         ulps tabulated.
15593         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15594         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15595         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15596         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15597         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15598         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15599         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15600         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15601         totalorder.
15602         (CFLAGS-nldbl-totalorder.c): New variable.
15603         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15604         file.
15605         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15606         Add test-totalorderl-ldbl-128ibm.
15607         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15608         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15609         test-totalorderl-ldbl-96.
15610         * sysdeps/nacl/libm.abilist: Update.
15611         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15612         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15613         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15614         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15615         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15616         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15617         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15618         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15619         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15620         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15621         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15622         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15624         Likewise.
15625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15626         Likewise.
15627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15628         Likewise.
15629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15630         Likewise.
15631         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15632         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15633         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15634         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15635         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15637         Likewise.
15638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15639         Likewise.
15640         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15641         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15642         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15644 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15646         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15647         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15648         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15649         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15650         remove ENOSYS implementation.
15651         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15652         Consolidate all Linux implementations.
15654 2016-10-11  Florian Weimer  <fweimer@redhat.com>
15656         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15657         * resolv/herror.c (herror): Cast away const-ness.
15658         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15659         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15661 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
15663         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15664         instead of M_NAN + M_NAN.
15665         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15667 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15669         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15670         unused variable 'p'.
15672 2016-10-09  Alan Modra  <amodra@gmail.com>
15673             Andreas Schwab  <schwab@linux-m68k.org>
15675         [BZ #20554]
15676         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15677         [PIC && !SHARED]: Set up PIC register for PLT call.
15679 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
15681         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15682         conditional on value of [__FLT_EVAL_METHOD__].
15683         * math/test-iseqsig-excess-precision.c: New file.
15684         * math/Makefile (tests): Add test-iseqsig-excess-precision.
15686 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15688         * math/s_iseqsig_template.c: Include math-private.h.
15690         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15691         * posix/tst-posix_fadvise.c: New file.
15692         * posix/tst-posix_fadvise64.c: Likewise.
15693         * posix/tst-posix_fadvise-common.c: Likewise.
15694         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15695         (__ASSUME_FADVISE64_64_6ARG): Define.
15696         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15697         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15698         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15699         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15700         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15701         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15702         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15703         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15704         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15705         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15706         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15707         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15710         Likewise.
15711         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15712         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15713         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15714         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15715         Alias to __posix_fadvise64_l32.
15716         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15717         Add compat definition to posix_fadvise64.
15718         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15719         Add versioned definition to posix_fadvise64.
15720         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15721         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15722         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15723         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15724         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15726         * io/Makefile (tests): Add tst-posix_fallocate and
15727         tst-posix_fallocate64.
15728         * io/tst-posix_fallocate-common.c: New file.
15729         * io/tst-posix_fallocate.c: Likewise.
15730         * io/tst-posix_fallocate64.c: Likewise.
15731         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15732         file.
15733         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15734         Likewise.
15735         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15736         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15737         Likewise.
15738         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15739         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15740         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15741         SYSCALL_LL to pass both offset and len arguments.
15742         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15743         Likewise.
15744         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15745         __libc_pwrite64 alias used by posix_fallocate64.
15747         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15748         tst-fallocate64.
15749         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15750         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15751         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15752         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15753         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15754         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15755         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15756         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15757         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15758         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15759         macro on offset argument.
15760         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15761         SYSCALL_LL64 on offset argument.
15763         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15764         tst-fallocate64.
15765         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15766         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15767         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15768         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15769         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15770         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15771         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15772         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15773         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15774         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15775         macro on offset argument.
15776         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15777         SYSCALL_LL64 on offset argument.
15778         * test-skeleton.c (FAIL_RET): Add macro.
15779         (FAIL_EXIT): Likewise.
15780         (FAIL_EXIT1): Likewise.
15781         (_FAIL): Likewise.
15783 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15785         [BZ #20629]
15786         resolv: Remove RES_USEBSTRING and its implementation.
15787         * resolv/resolv.h (RES_USEBSTRING): Remove.
15788         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15789         (digitvalue, encode_bitstring, decode_bitstring): Remove.
15790         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15791         (labellen): Remove extended label types support.
15792         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15793         * resolv/res_init.c (res_setoptions): Likewise.
15794         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15796 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15798         resolv: Remove RES_NOIP6DOTINT and its implementation.
15799         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15800         (RES_NOIP6DOTINT): Remove.
15801         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15802         handling.
15803         * resolv/res_debug.c (p_option): Likewise.
15804         * resolv/res_init.c (res_setoptions): Likewise.
15805         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15807 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15809         resolv: Deprecate unimplemented flags.
15810         * misc/sys/cdefs.h (__glibc_macro_warning1)
15811         (__glibc_macro_warning): Define.
15812         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15813         (RES_KEEPTSIG): Mark as deprecated.
15814         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15815         RES_NOCHECKNAME, RES_KEEPTSIG.
15816         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15818 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15820         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15821         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15822         Use strong_alias to create symbols for glibc verison 2.19.
15824 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15826         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15828 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15830         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15832 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15834         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15836 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15838         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15839         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15840         in header for using it as type for ifunc function because __GI_* symbols
15841         for ppc32 do not target the ifunc symbols.
15842         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15844 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15846         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15847         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15848         libc_ifunc_hidden_def.
15849         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15850         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15851         Redirect ifunced function in header for using it as type of ifunc'ed
15852         function. Redefine libc_hidden_def to use fallback non ifunc'ed
15853         function for __GI_* symbol.
15854         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15855         * include/libc-symbols.h
15856         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15858 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15860         [BZ #20478]
15861         * sysdeps/s390/multiarch/ifunc-resolve.h
15862         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15863         to create ifunc symbols.
15864         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15865         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15866         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15867         for using it as type for ifunc function.
15868         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15869         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15870         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15871         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15872         * sysdeps/s390/multiarch/strcat.c: Likewise.
15873         * sysdeps/s390/multiarch/strchr.c: Likewise.
15874         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15875         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15876         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15877         * sysdeps/s390/multiarch/strlen.c: Likewise.
15878         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15879         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15880         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15881         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15882         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15883         * sysdeps/s390/multiarch/strspn.c: Likewise.
15884         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15885         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15886         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15887         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15888         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15889         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15890         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15891         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15892         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15893         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15894         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15895         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15897 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15899         * include/libc-symbols.h (__ifunc_resolver):
15900         New macro is used by __ifunc* macros.
15901         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15902         depending on HAVE_GCC_IFUNC.
15903         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15904         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15906         Redirect ifunced function in header for using as type for ifunc function.
15907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15911         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15913         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15914         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15915         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15916         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15917         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15918         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15919         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15920         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15926         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15927         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15928         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15929         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15930         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15931         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15932         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15933         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15934         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15935         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15936         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15937         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15938         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15939         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15941         Add libc_hidden_def() and use libc_ifunc_hidden() macro
15942         instead of libc_ifunc() macro.
15943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15944         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15946 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15948         * config.h.in (HAVE_GCC_IFUNC): New undef.
15949         * configure.ac: Add check if gcc supports attribute ifunc feature.
15950         * configure: Regenerated.
15951         * manual/install.texi: Add recommendation for gcc with
15952         indirect-function support.
15953         * INSTALL: Regenerated.
15955 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
15957         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15958         macro.
15959         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15960         (__iseqsig): New declaration.
15961         * math/s_iseqsig_template.c: New file.
15962         * math/Versions (__iseqsigf): New libm symbol at version
15963         GLIBC_2.25.
15964         (__iseqsig): Likewise.
15965         (__iseqsigl): Likewise.
15966         * math/libm-test.inc (iseqsig_test_data): New array.
15967         (iseqsig_test): New function.
15968         (main): Call iseqsig_test.
15969         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15970         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15971         * manual/libm-err-tab.pl: Update comment on interfaces without
15972         ulps tabulated.
15973         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15974         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15975         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15976         * sysdeps/nacl/libm.abilist: Update.
15977         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15978         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15979         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15980         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15981         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15982         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15983         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15984         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15985         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15986         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15987         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15988         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15990         Likewise.
15991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15992         Likewise.
15993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15994         Likewise.
15995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15996         Likewise.
15997         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15998         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15999         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16000         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16001         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16003         Likewise.
16004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16005         Likewise.
16006         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16007         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16008         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16010 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16012         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16013         do_sincos_2, sloww, sloww1): Update comments.
16015         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16016         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16018         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16019         K boolean and rename it.
16020         (__sin): Adjust.
16021         (__cos): Adjust.
16023 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16024             Siddhesh Poyarekar  <siddhesh@sourceware.org>
16026         * manual/nss.texi: Fix typos in the manual.
16028 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16030         * manual/contrib.texi: Fix typos in the manual.
16032         * manual/maint.texi: Fix typos in the manual.
16034         * manual/install.texi: Fix typos in the manual.
16035         * INSTALL: Regenerated.
16037         * manual/lang.texi: Fix typos in the manual.
16039         * manual/probes.texi: Fix typos in the manual.
16041         * manual/threads.texi: Fix typos in the manual.
16043         * manual/debug.texi: Fix typos in the manual.
16045         * manual/crypt.texi: Fix typos in the manual.
16047         * manual/conf.texi: Fix typos in the manual.
16049         * manual/sysinfo.texi: Fix typos in the manual.
16051         * manual/users.texi: Fix typos in the manual.
16053         * manual/job.texi: Fix typos in the manual.
16055         * manual/process.texi: Fix typos in the manual.
16057         * manual/argp.texi: Fix typos in the manual.
16058         * manual/getopt.texi: Likewise.
16059         * manual/startup.texi: Likewise.
16061         * manual/signal.texi: Fix typos in the manual.
16063         * manual/setjmp.texi: Fix typos in the manual.
16065         * manual/resource.texi: Fix typos in the manual.
16067         * manual/time.texi: Fix typos in the manual.
16069         * manual/arith.texi: Fix typos in the manual.
16071         * manual/math.texi: Fix typos in the manual.
16073         * manual/syslog.texi: Fix typos in the manual.
16075         * manual/terminal.texi: Fix typos in the manual.
16077         * manual/socket.texi: Fix typos in the manual.
16079         * manual/filesys.texi: Fix typos in the manual.
16081         * manual/llio.texi: Fix typos in the manual.
16083         * manual/stdio.text: Fix typos in the manual.
16085 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16087         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16088         instead of K1.
16090         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16091         SHIFT_QUADRANT and make it bool.
16092         (do_sincos_2): Likewise.
16093         (sloww): Likewise.
16094         (sloww1): Likewise.
16095         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16096         (__cos): Likewise.
16098 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16100         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16102 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
16104         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16105         Define to __WORDSIZE, not conditional on [LONG_MAX ==
16106         0x7fffffffL].
16107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16109 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16111         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16112         inline by __inline__.
16113         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16114         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16115         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16116         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16117         sigset_t from signal.h.
16118         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16119         which is already required.
16121 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
16123         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16125 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
16127         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16128         (struct tcp_repair_window): New type.
16130 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16132         * libio/tst-memstream3.c: Include string.h.
16134 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16136         [BZ #18241]
16137         [BZ #20181]
16138         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16139         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16140         write position is at the end the buffer.
16141         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16142         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16143         (_IO_str_seekoff): Set correct offset from negative displacement and
16144         set EINVAL for invalid ones.
16145         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16146         buffer length.
16147         (_IO_wstr_switch_to_get_mode): New function.
16148         (_IO_wstr_seekoff): Set correct offset from negative displacement and
16149         set EINVAL for invalid ones.
16150         * libio/tst-memstream3.c: New file.
16151         * libio/tst-wmemstream3.c: Likewise.
16152         * manual/examples/memstrm.c: Remove warning when priting size_t.
16154 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16156         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16157         macro to use __builtin_fma.
16158         * sysdeps/x86_64/fpu/dla.h: Remove file.
16160         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16161         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16162         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16164 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
16166         [BZ #20292]
16167         * elf/Makefile (routines): Add dl-addr-obj.
16168         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16169         tst-_dl_addr_inside_object.
16170         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16171         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16172         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16173         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16174         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16175         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16176         * elf/dl-open.c: Likewise.
16177         * elf/dl-addr-obj.c: New file.
16178         * elf/tst-_dl_addr_inside_object.c: New file.
16180 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16182         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16183         <bits/iscanonical.h>.
16184         * bits/iscanonical.h: New file.
16185         * math/s_iscanonicall.c: Likewise.
16186         * math/Versions (__iscanonicall): New libm symbol at version
16187         GLIBC_2.25.
16188         * math/libm-test.inc (iscanonical_test_data): New array.
16189         (iscanonical_test): New function.
16190         (main): Call iscanonical_test.
16191         * math/Makefile (headers): Add bits/iscanonical.h.
16192         (type-ldouble-routines): Add s_iscanonicall.
16193         * manual/arith.texi (Floating Point Classes): Document
16194         iscanonical.
16195         * manual/libm-err-tab.pl: Update comment on interfaces without
16196         ulps tabulated.
16197         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16198         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16199         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16200         Likewise.
16201         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16202         test-iscanonical-ldbl-128ibm.
16203         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16204         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16205         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16206         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16207         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16208         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16209         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16211         Likewise.
16212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16213         Likewise.
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16215         Likewise.
16216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16217         Likewise.
16218         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16219         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16221 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16223         * string/bits/string3.h: Remove C++ style comments.
16225 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16227         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16228         instead of ternary condition.
16229         (do_sincos_2): Likewise.
16230         (__sin): Likewise.
16231         (__cos): Likewise.
16232         (slow): Likewise.
16233         (sloww): Likewise.
16234         (sloww1): Likewise.
16235         (bsloww): Likewise.
16236         (bsloww1): Likewise.
16238         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16239         instead of ternary condition.
16240         (do_sin_slow): Likewise.
16241         (do_sincos_1): Likewise.
16242         (do_sincos_2): Likewise.
16243         (__cos): Likewise.
16244         (sloww): Likewise.
16245         (sloww1): Likewise.
16246         (sloww2): Likewise.
16247         (bsloww): Likewise.
16248         (bsloww1): Likewise.
16249         (bsloww2): Likewise.
16251         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16252         check from here...
16253         (slow2): ... and here...
16254         (__sin): ... to here.
16256 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
16258         * math/math.h
16259         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16260         Cast argument to its own type.
16261         * math/test-iszero-excess-precision.c: New file.
16262         * math/Makefile (tests): Add test-iszero-excess-precision.
16263         (CFLAGS-test-iszero-excess-precision.c): New variable.
16265 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
16267         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16268         field, add err field.
16269         (__spawni_child): Report error through err member instead of pipe.
16270         (__spawnix): Likewise.
16272 2016-09-28  Zack Weinberg  <zackw@panix.com>
16274         * scripts/check-installed-headers.sh: Generalize treatment of
16275         sys/elf.h to all target architectures.
16277         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16278         deleted typedef ucontext_t.
16280 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16282         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16283         (__INTERNAL_SYSCALL1): Likewise.
16284         (__INTERNAL_SYSCALL2): Likewise.
16285         (__INTERNAL_SYSCALL3): Likewise.
16286         (__INTERNAL_SYSCALL4): Likewise.
16287         (__INTERNAL_SYSCALL5): Likewise.
16288         (__INTERNAL_SYSCALL6): Likewise.
16289         (__INTERNAL_SYSCALL7): Likewise.
16290         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16291         (__INTERNAL_SYSCALL_NARGS): Likewise.
16292         (__INTERNAL_SYSCALL_DISP): Likewise.
16293         (INTERNAL_SYSCALL_CALL): Likewise.
16294         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16295         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16296         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16297         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16298         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16299         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16300         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16301         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16302         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16303         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16304         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16305         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16306         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16308 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
16310         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16311         macro.
16312         * math/libm-test.inc (iszero_test_data): New array.
16313         (iszero_test): New function.
16314         (main): Call iszero_test.
16315         * manual/arith.texi (Floating Point Classes): Document iszero.
16316         * manual/libm-err-tab.pl: Update comment on interfaces without
16317         ulps tabulated.
16319 2016-09-23  Zack Weinberg  <zackw@panix.com>
16321         * scripts/check-installed-headers.sh: New script.
16322         * Rules: In each directory that defines header files to be installed,
16323         run check-installed-headers.sh on them as a special test.
16324         * Makefile: Likewise for the headers installed at top level.
16326         * include/aliases.h, include/alloca.h, include/argz.h
16327         * include/arpa/nameser.h, include/arpa/nameser_compat.h
16328         * include/elf.h, include/envz.h, include/err.h
16329         * include/execinfo.h, include/fpu_control.h, include/getopt.h
16330         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16331         * include/link.h, include/malloc.h, include/mcheck.h
16332         * include/mntent.h, include/netinet/ether.h
16333         * include/nss.h, include/obstack.h, include/printf.h
16334         * include/pty.h, include/resolv.h, include/rpc/auth.h
16335         * include/rpc/auth_des.h, include/rpc/auth_unix.h
16336         * include/rpc/clnt.h, include/rpc/des_crypt.h
16337         * include/rpc/key_prot.h, include/rpc/netdb.h
16338         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16339         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16340         * include/rpc/rpc_msg.h, include/rpc/svc.h
16341         * include/rpc/svc_auth.h, include/rpc/xdr.h
16342         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16343         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16344         * include/rpcsvc/ypupd.h, include/shadow.h
16345         * include/stdio_ext.h, include/sys/epoll.h
16346         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16347         * include/sys/prctl.h, include/sys/profil.h
16348         * include/sys/statfs.h, include/sys/sysctl.h
16349         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16350         * sysdeps/arm/nacl/include/bits/setjmp.h
16351         * sysdeps/mips/include/sys/asm.h
16352         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16353         * sysdeps/unix/sysv/linux/include/sys/timex.h
16354         * sysdeps/x86/fpu/include/bits/fenv.h:
16355         Add #ifndef _ISOMAC guard around internal declarations.
16356         Add multiple-inclusion guard if not already present.
16358 2016-09-23  Zack Weinberg  <zackw@panix.com>
16360         * sysdeps/generic/sys/ucontext.h
16361         * sysdeps/arm/sys/ucontext.h
16362         * sysdeps/i386/sys/ucontext.h
16363         * sysdeps/m68k/sys/ucontext.h
16364         * sysdeps/mips/sys/ucontext.h
16365         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16366         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16367         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16368         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16369         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16370         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16371         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16372         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16373         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16374         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16375         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16376         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16377         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16378         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16379         Include both bits/sigcontext.h and bits/sigstack.h.
16380         Fix grammar error in comment, if present.
16382         * bits/sigstack.h
16383         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16384         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16385         * sysdeps/unix/sysv/linux/bits/sigstack.h
16386         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16387         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16388         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16389         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16390         * bits/sigcontext.h
16391         * sysdeps/mach/hurd/i386/bits/sigcontext.h
16392         * sysdeps/unix/sysv/linux/bits/sigcontext.h
16393         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16394         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16395         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
16396         as well as signal.h, if this was not already allowed.  Request
16397         definition of size_t if necessary.  Minimize semantically-null
16398         differences across files.
16400 2016-09-23  Zack Weinberg  <zackw@panix.com>
16402         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16403         Remove all logic conditional on __need macros.  Move all the
16404         conditionally defined types to their own headers...
16405         * time/bits/types/clock_t.h: Define clock_t here.
16406         * time/bits/types/clockid_t.h: Define clockid_t here.
16407         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16408         * time/bits/types/struct_timespec.h: Define struct timespec here.
16409         * time/bits/types/struct_timeval.h: Define struct timeval here.
16410         * time/bits/types/struct_tm.h: Define struct tm here.
16411         * time/bits/types/time_t.h: Define time_t here.
16412         * time/bits/types/timer_t.h: Define timer_t here.
16413         * time/Makefile: Install the new headers.
16415         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16416         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16417         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16418         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16419         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16420         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16421         * sysdeps/unix/sysv/linux/bits/resource.h
16422         * sysdeps/unix/sysv/linux/bits/timex.h
16423         * sysdeps/unix/sysv/linux/mips/bits/resource.h
16424         * sysdeps/unix/sysv/linux/net/ppp_defs.h
16425         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16426         * sysdeps/unix/sysv/linux/sys/acct.h
16427         * sysdeps/unix/sysv/linux/sys/timerfd.h
16428         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16429         * time/sys/time.h, time/sys/timeb.h
16430         Use the new bits/types headers.
16432         * include/time.h: Remove __need logic.
16433         * include/bits/time.h
16434         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16435         * include/bits/types/time_t.h, include/bits/types/timer_t.h
16436         * include/bits/types/struct_itimerspec.h
16437         * include/bits/types/struct_timespec.h
16438         * include/bits/types/struct_timeval.h
16439         * include/bits/types/struct_tm.h:
16440         New wrapper headers.
16442 2016-09-23  Zack Weinberg  <zackw@panix.com>
16444         * sysdeps/mach/hurd/net/if_ppp.h
16445         * sysdeps/unix/sysv/linux/net/if_ppp.h:
16446         Only define struct ifpppstatsreq and struct ifpppcstatsreq
16447         if __USE_MISC is defined, to ensure struct ifreq is declared.
16449         * inet/netinet/ether.h: Condition all function prototypes
16450         on __USE_MISC, to ensure struct ether_addr is declared.
16452         * socket/bits/types/struct_osockaddr.h: New header.
16453         * include/bits/types/struct_osockaddr.h: New wrapper.
16454         * socket/Makefile: Install the new header.
16455         * socket/sys/socket.h, inet/protocols/talkd.h:
16456         Refer to bits/types/struct_osockaddr.h for the definition of
16457         struct osockaddr.
16459 2016-09-23  Zack Weinberg  <zackw@panix.com>
16461         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16462         * inet/protocols/routed.h, inet/protocols/talkd.h
16463         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16464         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16465         * sysdeps/generic/netinet/if_ether.h
16466         * sysdeps/generic/netinet/in_systm.h
16467         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16468         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16469         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16470         * sysdeps/mach/hurd/net/if_arp.h
16471         * sysdeps/mach/hurd/net/if_ppp.h
16472         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16473         * sysdeps/unix/sysv/linux/bits/in.h
16474         * sysdeps/unix/sysv/linux/net/ethernet.h
16475         * sysdeps/unix/sysv/linux/net/if_arp.h
16476         * sysdeps/unix/sysv/linux/net/if_ppp.h
16477         * sysdeps/unix/sysv/linux/net/if_shaper.h
16478         * sysdeps/unix/sysv/linux/net/route.h
16479         * sysdeps/unix/sysv/linux/netinet/if_ether.h
16480         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16481         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16482         * sysdeps/unix/sysv/linux/netipx/ipx.h
16483         * sysdeps/unix/sysv/linux/sys/acct.h
16484         * include/arpa/nameser.h, include/resolv.h:
16485         Change all uses of u_char to unsigned char,
16486         u_short and ushort to unsigned short, u_int and uint to unsigned int,
16487         u_long and ulong to unsigned long, u_int8_t to uint8_t,
16488         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16489         and u_int64_t and u_quad_t to uint64_t.
16491         * mach/sys/reboot.h: Remove two casts of integer literals
16492         to the types they already have.
16494         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16495         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16496         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16497         from referring to 'unsigned char' to 'uint8_t' for consistency with
16498         the macro definition below.
16500         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16501         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16502         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16503         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16504         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16505         * sysdeps/unix/sysv/linux/sys/acct.h
16506         * include/arpa/nameser.h, include/resolv.h:
16507         Fix indentation disrupted by mechanical edits.
16509         * inet/protocols/talkd.h, resolv/arpa/nameser.h
16510         * sysdeps/generic/netinet/in_systm.h
16511         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16512         * sysdeps/gnu/netinet/udp.h
16513         * sysdeps/unix/sysv/linux/net/ethernet.h
16514         * sysdeps/unix/sysv/linux/net/if_arp.h
16515         * sysdeps/unix/sysv/linux/net/if_ppp.h
16516         * sysdeps/unix/sysv/linux/net/if_shaper.h
16517         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16518         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16519         * sysdeps/unix/sysv/linux/netipx/ipx.h
16520         * sysdeps/unix/sysv/linux/sys/acct.h
16521         Include stdint.h for uintNN_t definitions.
16522         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16524 2016-09-23  Zack Weinberg  <zackw@panix.com>
16526         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16527         * sysdeps/unix/sysv/linux/netrose/rose.h:
16528         Include sys/socket.h and netax25/ax25.h.
16530         * inet/netinet/icmp6.h, inet/netinet/ip6.h
16531         * resolv/arpa/nameser_compat.h:
16532         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16534         * sysdeps/unix/sysv/linux/sys/quota.h:
16535         Use __caddr_t instead of caddr_t.
16536         * sysdeps/unix/sysv/linux/sys/timerfd.h:
16537         Use __clockid_t instead of clockid_t.
16539         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16541         * argp/argp.h: Check whether _LIBC is defined before expanding it.
16542         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16543         expanding it.
16545         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16546         Define __glibc_c99_flexarr_available to 1 when the compiler
16547         supports C99-compatible flexible array members, 0 otherwise.
16548         * sysdeps/unix/sysv/linux/bits/socket.h
16549         * sysdeps/mach/hurd/bits/socket.h
16550         * bits/socket.h: Use __glibc_c99_flexarr_available in
16551         definitions of struct cmsghdr and CMSG_DATA.
16553 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16555         * manual/nss.texi (NSS Modules Interface): Adjust function return
16556         type to enum nss_status.  Document errnop argument.  Clarify
16557         h_errnop semantics.  Fix cross-reference formatting.
16558         (NSS Module Function Internals): Mention that *errnop needs to be
16559         set on failure, but not to zero.
16561 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16563         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16564         (get_random_name): New functions.
16565         (check_wrapper_flags_mode): Use linkat to give the new file a name
16566         determined by get_random_name.
16567         (do_test): Add calls to test open64 and openat64.
16569 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16571         * test-skeleton.c: Remove #include <stdarg.h>.
16573 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16575         [BZ #19826]
16576         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16577         initialization of static TLS entries.
16578         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16579         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16581 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16583         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16584         _hurd_malloc_fork_prepare.
16585         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16586         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16587         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16588         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16589         (_hurd_fork_child_hook): Drop malloc_fork_child.
16590         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16591         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16592         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16593         after locking locks (notably hurd_dtable_lock). Call
16594         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16595         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16596         __malloc_fork_unlock_child.
16597         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16599 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16601         * soft-fp/extendhftf2.c: New.
16602         * soft-fp/fixhfti.c: Likewise.
16603         * soft-fp/fixunshfti.c: Likewise.
16604         * soft-fp/floattihf.c: Likewise.
16605         * soft-fp/floatuntihf.c: Likewise.
16606         * soft-fp/half.h: Likewise.
16607         * soft-fp/trunctfhf2.c: Likewise.
16609 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16611         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16612         macro.
16613         * math/libm-test.inc (issubnormal_test_data): New array.
16614         (issubnormal_test): New function.
16615         * manual/arith.texi (Floating Point Classes): Document
16616         issubnormal.
16617         * manual/libm-err-tab.pl: Update comment on interfaces without
16618         ulps tabulated.
16620         * sysdeps/generic/stdint.h: Define
16621         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16622         <bits/libc-header-start.h> instead of including <features.h>.
16623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16625         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16626         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16630         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16631         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16636         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16638         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16641         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16642         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16644         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16650         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16651         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16652         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16653         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16656         * manual/arith.texi (Integers): Document these macros for types
16657         specified by width properties.
16658         * manual/lang.texi (Width of Type): Document these macros for
16659         other standard typedefs.
16660         * stdlib/tst-width-stdint.c: New file.
16661         * stdlib/Makefile (tests): Add tst-width-stdint.
16663 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16665         [BZ #20016]
16666         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16667         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16668         Move ...
16669         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16670         ... here, as compatibility symbols in a new file.
16671         * resolv/Makefile (libresolv-routines): Add compat-hooks.
16672         * resolv/res_init.c (__res_vinit): Adjust member names.
16673         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16674         * resolv/resolv.h (res_sendhookact, res_send_qhook)
16675         (res_send_rhook): Remove.
16676         (struct __res_state): Rename qhook, rhook members.
16678 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16680         malloc: Use __libc_lock wrappers.
16681         * malloc/arena.c (list_lock, free_list_lock): Define using
16682         __libc_lock_define_initialized.
16683         (arena_lock): Adjust formatting.
16684         * malloc/malloc.c (struct malloc_state): Define mutex using
16685         __libc_lock_define.
16686         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16687         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16688         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16689         (mutex_unlock, mutex_trylock): Remove.
16690         (__pthread_initialize): Remove unused macro.
16691         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16692         (mutex_unlock, mutex_trylock): Remove.
16694 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16696         [BZ #20592]
16697         Remove RR type classification macros.
16698         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16699         (ns_t_udp_p, ns_t_xfr_p): Remove.
16701 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16703         Remove misleading version information.
16704         * resolv/arpa/nameser.h (__NAMESER): Remove.
16705         * resolv/arpa/nameser_compat.h (__BIND): Remove.
16707 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16709         Remove the always-defined BIND_4_COMPAT macro.
16710         * resolv/arpa/nameser.h: Unconditionally include
16711         <arpa/nameser_compat.h>.
16712         (BIND_4_COMPAT): Remove.
16713         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16715 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16717         [BZ #20591]
16718         Remove obsolete DNSSEC support.
16719         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16720         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16721         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16722         (ns_verify_tcp, ns_verify_tcp_init): Remove.
16723         (ns_cert_types): Add comment.
16724         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16725         separately.
16726         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16727         (dst_s_dns_key_id): Remove.
16728         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16729         variables.
16731 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16733         [BZ #20524]
16734         * manual/string.texi (String/Array Comparison): Clarify the
16735         strverscmp behavior.
16737 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16739         * test-skeleton.c (xasprintf): Add function.
16740         * io/tst-open-tmpfile.c: New test.
16741         * io/Makefile (tests): Add it.
16743 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16745         Avoid running $(CXX) during build to obtain header file paths.
16746         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16747         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16748         * Makerules (cstdlib, cmath): Remove variables.  Use
16749         $(c++-cstdlib-header), $(c++-cmath-header) instead.
16750         * configure: Regenerate.
16752 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16754         * Makeconfig (all-object-suffixes): Include .op only if
16755         $(build-profile).
16757 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16759         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16760         conditionals.  Do not define PATH_MAX.
16762 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16764         * posix/Makefile (tests): Add tst-spawn3.
16765         * posix/tst-spawn3.c: New file.
16766         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16767         if it is already opened for open action.
16769         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16770         all signals when executing the clone vfork child.
16771         (SIGALL_SET): Remove macro.
16773         * nptl/Makefile (tests): Add tst-exec5.
16774         * nptl/tst-exec5.c: New file.
16775         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16776         asynchronous cancellation.
16778 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16780         * hurd/exc2signal.c: #include <hurd/signal.h>
16781         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16782         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
16783         accordingly.
16784         * mach/mach_error.c (mach_error): Fix old-style function definition.
16785         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16787 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16789         * math/Makefile (libm-calls): Remove s_nanF.
16790         (gen-libm-calls): Add s_nanF.
16792         * math/s_nan.c: Refactor into ...
16793         * math/s_nan_template.c: New file.
16795         * math/s_nanf.c: Removed.
16796         * math/s_nanl.c: Removed.
16797         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16798         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16800         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16801         (LDOUBLE_nanl_libm_version): New macro.
16803         * sysdeps/generic/math-type-macros-double.h:
16804         (M_STRTO_NAN): New macro.
16805         * sysdeps/generic/math-type-macros-float.h: Likewise.
16806         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16808         * sysdeps/generic/math-type-macros.h: Document
16809         M_STRTO_NAN.
16811 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16813         * math/s_nanf.c: Remove __nanf undef.
16814         * math/s_nan.c: Remove __nan undef.
16815         * math/s_nanl.c: Remove __nanl undef.
16817         * sysdeps/generic/math_private.h (__nan): Remove macro
16818         override.
16819         (__nanf): Likewise.
16820         (__nanl): Likewise.
16822 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16824         * math/Makefile (gen-all-calls): New variable.
16825         (generated): Replace gen-libm-calls with gen-all-calls.
16826         (gen-libm-templates.stmp): Likewise.  Also, ensure
16827         the output directory exists or is created and add
16828         dependency on the Makefile.
16829         (calls): Move s_ldexpF into gen-calls.
16830         (gen-calls): New variable.
16832         * math/s_ldexpf.c: Removed.
16833         * math/s_ldexpl.c: Removed.
16834         * math/s_ldexp.c: Refactored into ...
16835         * math/s_ldexp_template.c: New file.
16837         * sysdeps/generic/math-type-macros-double.h: Remove
16838         redundant fall-through definition of declare_mgen_alias.
16839         (declare_mgen_alias_2): New macro.
16841         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16842         New macro for function aliased to two exported symbols.
16844         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16845         new template file.
16846         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16848 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16850         * Makeconfig (all-object-suffixes): Remove .og.
16851         * Makerules (elide-routines.og): Remove.
16852         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16853         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16854         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16856 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16858         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16859         .os objects.
16861 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16863         [BZ #20615]
16864         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16865         fpu directory by non-fpu.
16866         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16867         on non-fpu directory from a fpu directory.
16869 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
16871         * include/limits.h: Define
16872         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16873         <bits/libc-header-start.h> instead of including <features.h>.
16874         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16875         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16876         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16878         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16879         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16880         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16881         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16882         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16883         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16884         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16885         * manual/lang.texi (Width of Type): Document these macros.
16886         * stdlib/tst-width.c: New file.
16887         * stdlib/Makefile (tests): Add tst-width.
16889 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16891         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16892         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16894 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16896         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16897         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16898         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16900 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16902         [BZ #18243]
16903         * rt/Makefile (test): Add tst-shm-cancel.
16904         * rt/tst-shm-cancel.c: New file.
16905         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16907         [BZ #18243]
16908         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16909         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16910         definition.
16911         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16912         uncontended case.
16913         * nptl/sem_wait.c (__new_sem_wait): Likewise.
16914         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16915         (tf): Fix check for uncontended case.
16916         (do_test): Likewise.
16917         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16918         (tf): Fix check for uncontended case.
16919         (do_test): Likewise.
16920         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16921         (tf): Fix check for uncontended case.
16922         (do_test): Likewise.
16923         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16924         (tf): Fix check for uncontended case.
16925         (do_test): Likewise.
16927         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16928         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16930         [BZ #15765]
16931         * nptl/Makefile (tests): Add tst-sem16.
16932         * nptl/tst-sem16.c: New file.
16933         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16935         * nptl/sem_open.c (sem_open): Init pad value to 0.
16936         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16937         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16939 2016-09-15  Florian Weimer  <fweimer@redhat.com>
16941         [BZ #20611]
16942         * inet/Makefile (routines): Add inet6_scopeid_pton.
16943         (tests): Add tst-inet6_scopeid_pton.
16944         * inet/inet6_scopeid_pton.c: New file.
16945         * inet/net-internal.h: Likewise.
16946         * inet/tst-inet6_scopeid_pton.c: New test.
16947         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16948         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16949         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16951 2016-09-14  Florian Weimer  <fweimer@redhat.com>
16953         Remove support for compiling wrappers with PTW.
16954         * sysdeps/nptl/Makeconfig: Drop ptw- support.
16955         * nptl/Makefile (pthread-compat-wrappers): Define.
16956         (libpthread-routines): Use pthread-compat-wrappers.
16957         * sysdeps/unix/sysv/linux/alpha/Makefile
16958         (libpthread-routines, libpthread-shared-only-routines): Remove
16959         ptw- prefix.
16960         * sysdeps/s390/nptl/Makefile
16961         (libpthread-routines, libpthread-shared-only-routines): Likewise.
16962         * sysdeps/ia64/nptl/Makefile
16963         (libpthread-routines, libpthread-shared-only-routines): Likewise.
16964         * sysdeps/nacl/Makefile (libpthread-routines): Use
16965         pthread-compat-wrappers to filter the routines list instead of the
16966         ptw- prefix.
16968 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16970         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16971         with L() and remove explicit suffix, convert real literals
16972         which can be equivalentally substituted with integers, and
16973         transform -L(x) to L(-x).
16975         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16976         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16977         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16978         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16979         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16980         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16981         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16982         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16983         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16984         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16985         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16986         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16987         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16988         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16989         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16990         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16991         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16992         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16993         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16994         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16995         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16996         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16997         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16998         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16999         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17000         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17001         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17002         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17003         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17004         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17005         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17006         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17007         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17008         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17009         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17010         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17011         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17012         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17013         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17014         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17015         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17016         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17017         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17018         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17019         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17020         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17021         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17022         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17023         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17024         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17026 2016-09-13  Florian Weimer  <fweimer@redhat.com>
17028         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17030 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17032         * malloc/Makefile (tests): Remove individual static test names
17033         and just add all of tests-static.
17035         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17037 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
17039         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17040         file.
17042         * sysdeps/sparc/fpu/fegetmode.c: New file.
17043         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17045         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17046         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17048         * sysdeps/s390/fpu/fegetmode.c: New file.
17049         * sysdeps/s390/fpu/fesetmode.c: Likewise.
17051         * sysdeps/powerpc/fpu/fegetmode.c: New file.
17052         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17053         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17054         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17055         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17056         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17058         * sysdeps/mips/fpu/fegetmode.c: New file.
17059         * sysdeps/mips/fpu/fesetmode.c: Likewise.
17061         * sysdeps/m68k/fpu/fegetmode.c: New file.
17062         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17064         * sysdeps/ia64/fpu/fegetmode.c: New file.
17065         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17067         * sysdeps/hppa/fpu/fegetmode.c: New file.
17068         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17070         * sysdeps/arm/fegetmode.c: New file.
17071         * sysdeps/arm/fesetmode.c: Likewise.
17073         * sysdeps/alpha/fpu/fegetmode.c: New file.
17074         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17076         * sysdeps/aarch64/fpu/fegetmode.c: New file.
17077         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17079         * math/fegetmode.c: New file.
17080         * math/fesetmode.c: Likewise.
17081         * sysdeps/i386/fpu/fegetmode.c: Likewise.
17082         * sysdeps/i386/fpu/fesetmode.c: Likewise.
17083         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17084         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17085         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17087         declaration.
17088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17089         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17090         typedef.
17091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17092         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17093         (femode_t): New typedef.
17094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17095         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17096         (femode_t): New typedef.
17097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17098         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17099         (femode_t): New typedef.
17100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17101         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17102         (femode_t): New typedef.
17103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17104         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17105         (femode_t): New typedef.
17106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17107         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17108         (femode_t): New typedef.
17109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17110         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17111         (femode_t): New typedef.
17112         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17113         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17114         (femode_t): New typedef.
17115         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17116         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17117         (femode_t): New typedef.
17118         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17119         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17120         (femode_t): New typedef.
17121         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17122         declaration.
17123         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17124         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17125         (femode_t): New typedef.
17126         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17127         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17128         (femode_t): New typedef.
17129         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17130         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17131         (femode_t): New typedef.
17132         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17133         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17134         (femode_t): New typedef.
17135         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17136         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17137         (femode_t): New typedef.
17138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17139         * manual/arith.texi (FE_DFL_MODE): Document macro.
17140         (fegetmode): Document function.
17141         (fesetmode): Likewise.
17142         * math/Versions (fegetmode): New libm symbol at version
17143         GLIBC_2.25.
17144         (fesetmode): Likewise.
17145         * math/Makefile (libm-support): Add fegetmode and fesetmode.
17146         (tests): Add test-femode and test-femode-traps.
17147         * math/test-femode-traps.c: New file.
17148         * math/test-femode.c: Likewise.
17149         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17150         alias for __fe_dfl_env.
17151         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17152         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17153         (__fe_dfl_mode): Likewise.
17154         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17155         version GLIBC_2.25.
17156         * sysdeps/nacl/libm.abilist: Update.
17157         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17158         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17159         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17160         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17161         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17162         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17163         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17164         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17165         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17166         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17167         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17168         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17170         Likewise.
17171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17172         Likewise.
17173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17174         Likewise.
17175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17176         Likewise.
17177         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17178         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17179         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17180         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17181         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17183         Likewise.
17184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17185         Likewise.
17186         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17187         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17188         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17190 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17192         [BZ #20495]
17193         [BZ #20508]
17194         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17195         processors, set Use_dl_runtime_resolve_slow and set
17196         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17197         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17198         New.
17199         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17200         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17201         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17202         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17203         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17204         if Use_dl_runtime_resolve_opt is set.  Use
17205         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17206         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17207         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
17208         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17209         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17210         New.
17211         (_dl_runtime_resolve_opt): Likewise.
17212         (_dl_runtime_profile): Define only if _dl_runtime_profile is
17213         defined.
17215 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17217         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17218         __libc_memalign with "+ RELA R_390_GLOB_DAT".
17220 2016-09-06  Florian Weimer  <fweimer@redhat.com>
17222         Convert malloc to __libc_lock.  Automated part, using this Perl
17223         s/// command:
17224           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17225             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17226         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17227         conversion.
17229 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
17231         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17232         (linknamespace-symlists-tests): Likewise.
17233         (linknamespace-header-tests): Likewise.
17235 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
17237         [BZ #19810]
17238         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17239         * elf/tst-noload.c: New test case.
17240         * elf/Makefile (tests): Add tst-noload.
17242 2016-09-02  Roland McGrath  <roland@hack.frob.com>
17244         * sysdeps/nacl/dup.c: Add libc_hidden_def.
17246         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17247         not any more.
17249         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17251 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17253         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17254         (do_cos_slow): Likewise.
17255         (do_sin): Likewise.
17256         (do_sin_slow): Likewise.
17257         (slow): Likewise.
17258         (slow1): Likewise.
17259         (slow2): Likewise.
17260         (sloww): Likewise.
17261         (sloww1): Likewise.
17262         (sloww2): Likewise.
17263         (bsloww): Likewise.
17264         (bsloww1): Likewise.
17265         (bsloww2): Likewise.
17266         (cslow2): Likewise.
17268         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17270         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17271         arguments.  Consolidate input partitioning from callers here.
17272         (do_cos_slow): Likewise.
17273         (do_sin): Likewise.
17274         (do_sin_slow): Likewise.
17275         (do_sincos_1): Remove the no longer necessary input partitioning.
17276         (do_sincos_2): Likewise.
17277         (__sin): Likewise.
17278         (__cos): Likewise.
17279         (slow1): Likewise.
17280         (slow2): Likewise.
17281         (sloww1): Likewise.
17282         (sloww2): Likewise.
17283         (bsloww1): Likewise.
17284         (bsloww2): Likewise.
17285         (cslow2): Likewise.
17287 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17289         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17290         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
17291         outside of allocated array.
17293 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17295         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17296         instead of MB_CUR_MAX to avoid variable-length array.
17298 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17300         * math/Makefile (libm-calls): Remove k_rem_pio2F.
17301         (type-double-routines): Add k_rem_pio2.
17302         (type-float-routines): Add k_rem_pio2f.
17304         * sysdeps/generic/math_private.h:
17305         (__kernel_rem_pio2l): Removed.
17307         * math/k_rem_pio2l.c: Removed.
17308         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17309         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17310         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17311         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17313 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17315         * math/Makefile (gen-libm-calls): Add s_fmin
17316         (libm-calls): Remove above.
17318         * math/s_fmin.c: Refactor into ...
17319         * math/s_fmin_template.c: New file.
17321         * math/s_fminf.c: Removed.
17322         * math/s_fminl.c: Removed.
17323         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17324         (LDOUBLE_fmin_libm_version): New macro.
17326         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17327         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17329 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17331         * math/Makefile: (gen-libm-calls): Add s_fmax.
17332         (libm-calls): Remove above.
17334         * math/s_fmax.c: Refactor into ...
17335         * math/s_fmax_template.c: New file.
17336         * math/s_fmaxf.c: Removed.
17337         * math/s_fmaxl.c: Removed.
17339         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17340         (LDOUBLE_fmaxl_libm_version): New macro.
17342         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17343         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17345         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17346         s_fmin.c to pick the aarch64 version of the file.
17347         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17348         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17350 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17352         * math/Makefile: (gen-libm-calls): Add s_nextdown.
17353         (libm-calls): Remove above.
17355         * math/s_nextdown.c: Refactor into ...
17356         * math/s_nextdown_template.c: New file.
17357         * math/s_nextdownf.c: Removed.
17358         * math/s_nextdownl.c: Removed.
17360         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17362 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17364         * math/Makefile (gen-libm-calls): Add s_fdim.
17365         (libm-calls): Move to above.
17367         * math/s_fdim.c: Renamed and refactored into to ...
17368         * math/s_fdim_template.c: New file.
17369         * math/s_fdiml.c: Removed.
17370         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17371         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17373         * sysdeps/generic/math-type-macros-double.h:
17374         (declare_mgen_alias): Don't declare if already declared.
17375         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17376         Likewise.
17378         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17379         (declare_mgen_alias): Don't declare if already declared.
17380         (M_LIBM_NEED_COMPAT): Likewise.
17381         (declare_mgen_libm_compat): Likewise.
17382         (LDOUBLE_fdiml_libm_version): New macro.
17384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17385         Include math/s_fdim.c now that ldbl-opt version is not needed.
17386         (declare_mgen_alias): New macro to disable aliasing.
17388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17389         (declare_mgen_alias): Likewise.
17390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17391         (declare_mgen_alias): Likewise.
17392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17393         (declare_mgen_alias): Likewise.
17394         (M_LIBM_NEED_COMPAT): Likewise.
17396 2016-09-01  Florian Weimer  <fweimer@redhat.com>
17398         [BZ #20525]
17399         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17400         Include <linux/quota.h>.
17401         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17402         and btodb.
17403         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17404         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17405         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17406         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17407         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17408         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17409         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17410         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17411         types.
17412         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17413         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17415 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17417         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17418         (gammal_positive): Fix spacing.
17419         (__ieee754_gammal_r): Likewise.
17421 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17423         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17424         (_Float128): Define as long double, always.
17425         (L): Apply long double type suffix, always.
17427         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17428         _Float128, excepting comments.
17430         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17431         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17432         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17433         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17434         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17435         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17436         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17437         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17438         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17439         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17440         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17441         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17442         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17443         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17444         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17445         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17446         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17447         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17448         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17449         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17450         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17451         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17452         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17453         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17454         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17455         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17456         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17457         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17458         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17459         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17460         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17461         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17462         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17463         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17464         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17465         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17466         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17467         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17468         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17469         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17470         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17471         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17472         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17473         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17474         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17475         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17476         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17477         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17478         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17479         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17480         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17481         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17482         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17483         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17484         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17485         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17486         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17487         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17488         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17489         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17490         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17491         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17492         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17493         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17494         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17495         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17496         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17497         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17499         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17500         _Float128, and include math_private.h.
17501         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17503         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17504         long double semantics.
17505         (_Float128): Likewise.
17506         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17507         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17508         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17509         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17511 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17513         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17514         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17515         * sysdeps/s390/configure: Regenerated.
17516         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17517         instruction for raising over-/underflow if z196 zarch is supported
17518         by default.
17519         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17521 2016-08-30  Svante Signell  <svante.signell@gmail.com>
17523         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17524         it point to a dumb buffer for RPC to fill it.
17526 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17528         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17529         instead of if/else.
17530         (do_sin_slow): Likewise.
17531         (do_sincos_1): Use fabs instead of if/else.
17532         (do_sincos_2): Likewise.
17533         (__sin): Likewise.
17534         (__cos): Likewise.
17535         (slow2): Likewise.
17536         (sloww): Likewise.
17537         (sloww1): Likewise.  Drop argument M.
17538         (sloww2): Use fabs instead of if/else.
17539         (bsloww): Likewise.
17540         (bsloww1): Likewise.
17541         (bsloww2): Likewise.
17543         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17544         fall through comment.
17545         (do_sincos_1): Likewise.
17547         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17548         Consolidate switch cases 0 and 2.
17550 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17552         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17553         (libm-calls): Remove the above.
17555         * math/s_cexp_template.c: Update using type-generic macros.
17556         * math/s_clog10_template.c: Likewise.
17557         * math/s_cpow_template.c: Likewise.
17558         * math/s_clog_template.c: Likewise.
17559         * math/s_cproj_template.c: Likewise.
17560         * math/s_csqrt_template.c: Likewise.
17562         * math/s_cexp.c: Removed.
17563         * math/s_cexpf.c: Removed.
17564         * math/s_cexpl.c: Removed.
17565         * math/s_clog10.c: Removed.
17566         * math/s_clog10f.c: Removed.
17567         * math/s_clog10l.c: Removed.
17568         * math/s_cpow.c: Removed.
17569         * math/s_cpowf.c: Removed.
17570         * math/s_cpowl.c: Removed.
17571         * math/s_clog.c: Removed.
17572         * math/s_clogf.c: Removed.
17573         * math/s_clogl.c: Removed.
17574         * math/s_cproj.c: Removed.
17575         * math/s_cprojf.c: Removed.
17576         * math/s_cprojl.c: Removed.
17577         * math/s_csqrt.c: Removed.
17578         * math/s_csqrtf.c: Removed.
17579         * math/s_csqrtl.c: Removed.
17581         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17582         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17583         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17584         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17585         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17586         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17588         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17589         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17590         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17591         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17592         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17593         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17594         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17595         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17596         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17597         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17598         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17600         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17601         version.
17603         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17604         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17605         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17606         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17608 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17610         * s_cexp_template.c: Copy of s_cexp.c.
17611         * s_clog_template.c: Copy of s_clog.c.
17612         * s_clog10_template.c: Copy of s_clog10.c.
17613         * s_cpow_template.c: Copy of s_cpow.c.
17614         * s_cproj_template.c: Copy of s_cproj.c.
17615         * s_csqrt_template.c: Copy of s_csqrt.c.
17617 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17619         [BZ #20517]
17620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17621         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17622         exported.
17624 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
17626         * math/fetestexceptflag.c: New file.
17627         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
17628         Stefan Liebler.
17629         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17630         (fetestexceptflag): New function declaration.
17631         * manual/arith.texi (fetestexceptflag): Document function.
17632         * math/Versions (fetestexceptflag): New libm symbol at version
17633         GLIBC_2.25.
17634         * math/Makefile (libm-support): Add fetestexceptflag.
17635         (tests): Add test-fetestexceptflag.
17636         * math/test-fetestexceptflag.c: New file.
17637         * sysdeps/nacl/libm.abilist: Update.
17638         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17639         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17640         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17641         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17642         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17643         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17644         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17645         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17646         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17647         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17648         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17649         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17651         Likewise.
17652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17653         Likewise.
17654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17655         Likewise.
17656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17657         Likewise.
17658         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17659         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17660         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17661         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17662         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17664         Likewise.
17665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17666         Likewise.
17667         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17668         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17669         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17671 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17673         [BZ #20432]
17674         Avoid strong references to malloc-internal symbols when linking
17675         statically, to support statically interposed mallocs.
17676         * include/libc-symbols.h (call_function_static_weak): New macro.
17677         * malloc/Makefile (tests): Add tst-interpose-nothread,
17678         tst-interpose-thread, tst-interpose-static-nothread,
17679         tst-interpose-static-thread.
17680         (tests-static): Add tst-interpose-static-nothread,
17681         tst-interpose-static-thread.
17682         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17683         tst-interpose-aux-thread.o.
17684         (test-extras): Add tst-interpose-aux-nothread,
17685         tst-interpose-aux-thread.
17686         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17687         tst-interpose-aux-nothread.o.
17688         (tst-interpose-thread, tst-interpose-static-thread): Link with
17689         tst-interpose-aux-thread.o and libthread.
17690         * malloc/tst-interpose-aux-nothread.c: New file.
17691         * malloc/tst-interpose-aux-thread.c: Likewise.
17692         * malloc/tst-interpose-aux.c: Likewise.
17693         * malloc/tst-interpose-aux.h: Likewise.
17694         * malloc/tst-interpose-nothread.c: Likewise.
17695         * malloc/tst-interpose-skeleton.c: Likewise.
17696         * malloc/tst-interpose-static-nothread.c: Likewise.
17697         * malloc/tst-interpose-static-thread.c: Likewise.
17698         * malloc/tst-interpose-thread.c: Likewise.
17699         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17700         * sysdeps/mach/hurd/fork.c (__fork): Only call
17701         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17702         __malloc_fork_unlock_child if defined.
17703         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17705 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17707         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17708         timespec C99 designated initialization.
17710 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17712         [BZ #19946]
17713         Avoid expected SIGALRM signals.
17714         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17715         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17716         (xpthread_create, xpthread_detach, xpthread_join)
17717         (delayed_exit_thread, delayed_exit): New functions.
17718         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17719         (tf): Use xpthread_cond_wait.
17720         (do_test): Likewise.  Replace alarm with delayed_exit.
17721         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17722         (do_test): Call delayed_exit.  Report failure.
17723         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17724         (do_test): Call delayed_exit.
17725         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17726         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
17727         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17728         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
17729         error.
17730         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17731         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
17732         error.
17733         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17734         (do_test): Call delayed_exit.
17735         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17736         (do_test): Call delayed_exit.
17737         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17738         (do_test): Call delayed_exit instead of alarm.  Use
17739         xpthread_mutex_lock.
17740         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17741         (do_test): Call delayed_exit instead of alarm.  Use
17742         xpthread_mutex_lock.
17743         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17744         (do_test): Call delayed_exit instead of alarm.
17745         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17746         (do_test): Call delayed_exit instead of alarm.  Use
17747         xpthread_spin_lock.
17748         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17749         (do_test): Call delayed_exit instead of alarm.  Use
17750         xpthread_join.
17752 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17754         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17755         adjust CFA when allocating register save area on re-aligned
17756         stack.
17758 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17760         * string/tst-cmp.c: New test.
17761         * string/Makefile (tests): Add it.
17763 2016-08-25  Mark Wielaard  <mark@klomp.org>
17765         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17766         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
17767         (check_tree_recurse): Use newly defined accessors.
17768         (check_tree): Likewise.
17769         (maybe_split_for_insert): Likewise.
17770         (__tfind): Likewise.
17771         (__tdelete): Likewise.
17772         (trecurse): Likewise.
17773         (tdestroy_recurse): Likewise.
17774         (__tsearch): Likewise. And add asserts for malloc alignment.
17775         (__twalk): Cast root to node in case CHECK_TREE is defined.
17777 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17779         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17781 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17783         * math/Makefile (libm-gen-calls): Add
17784         catan, catanh, ctan, ctanh.
17785         (libm-calls): Remove the above.
17787         * math/s_catan_template.c: Update using type-generic macros.
17788         * math/s_catanh_template.c: Likewise.
17789         * math/s_ctan_template.c: Likewise.
17790         * math/s_ctanh_template.c: Likewise.
17792         * math/s_catanf.c: Removed.
17793         * math/s_catan.c: Removed.
17794         * math/s_catanl.c: Removed.
17795         * math/s_catanhf.c: Removed.
17796         * math/s_catanh.c: Removed.
17797         * math/s_catanhl.c: Removed.
17798         * math/s_ctanf.c: Removed.
17799         * math/s_ctan.c: Removed.
17800         * math/s_ctanl.c: Removed.
17801         * math/s_ctanhf.c: Removed.
17802         * math/s_ctanh.c: Removed.
17803         * math/s_ctanhl.c: Removed.
17805         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17806         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17807         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17808         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17809         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17810         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17812         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17813         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17814         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17815         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17817 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17819         * s_catan_template.c: Copy of s_catan.c.
17820         * s_catanh_template.c: Copy of s_catanh.c.
17821         * s_ctan_template.c: Copy of s_ctan.c.
17822         * s_ctanh_template.c: Copy of s_ctanh.c.
17824 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17826         * math/Makefile (gen-libm-calls): Move
17827         casin, casinh, csin, csinh here.
17828         (libm-calls): Remove the above.
17830         * math/s_casin_template.c: Update using type-generic macros.
17831         * math/s_casinh_template.c: Likewise.
17832         * math/s_csin_template.c: Likewise.
17833         * math/s_csinh_template.c: Likewise.
17834         * math/k_casinh_template.c: Likewise.
17836         * math/s_casinf.c: Removed.
17837         * math/s_casin.c: Removed.
17838         * math/s_casinl.c: Removed.
17839         * math/s_casinh.c: Removed.
17840         * math/s_casinhf.c: Removed.
17841         * math/s_casinhl.c: Removed.
17842         * math/s_csin.c: Removed.
17843         * math/s_csinf.c: Removed.
17844         * math/s_csinl.c: Removed.
17845         * math/s_csinh.c: Removed.
17846         * math/s_csinhf.c: Removed.
17847         * math/s_csinhl.c: Removed.
17848         * math/k_casinh.c: Removed.
17849         * math/k_casinhf.c: Removed.
17850         * math/k_casinhl.c: Removed.
17852         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17853         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17854         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17855         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17857         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17858         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17859         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17860         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17861         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17862         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17863         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17864         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17866         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17867         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17868         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17869         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17871         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17872         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17873         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17874         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17876 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17878         * s_casin_template.c: Copy of s_casin.c.
17879         * s_casinh_template.c: Copy of s_casinh.c.
17880         * s_csin_template.c: Copy of s_csin.c.
17881         * s_csinh_template.c: Copy of s_csinh.c.
17882         * k_casinh_template.c: Copy of k_casinh.c.
17884 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17886         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17888 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17890         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17891         (mul_split) Remove, rename as mul_splitl, remove
17892         redundant float.h include, and include via mul_splitl.h
17894         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17895         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17896         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17897         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17898         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17900         * math/mul_splitl.h: New file.
17902         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17903         Move into mul_split.h, and remove redundant float.h include.
17905         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17906         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17907         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17908         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17910         * math/mul_split.h: New file.
17912 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17914         * math/Makefile (libm-gen-calls): Move
17915         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17916         (libm-calls): Remove above.
17918         * math/s_cacos_template.c: Update using type-generic macros.
17919         * math/s_cacosh_template.c: Likewise.
17920         * math/s_ccos_template.c: Likewise.
17921         * math/s_ccosh_template.c: Likewise.
17923         * math/s_cacosf.c: Removed.
17924         * math/s_cacos.c: Removed.
17925         * math/s_cacosl.c: Removed.
17926         * math/s_cacoshf.c: Removed.
17927         * math/s_cacosh.c: Removed.
17928         * math/s_cacoshl.c: Removed.
17929         * math/s_ccosf.c: Removed.
17930         * math/s_ccos.c: Removed.
17931         * math/s_ccosl.c: Removed.
17932         * math/s_ccoshf.c: Removed.
17933         * math/s_ccosh.c: Removed.
17934         * math/s_ccoshl.c: Removed.
17936         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17937         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17938         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17939         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17940         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17941         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17943         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17944         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17945         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17946         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17948         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17949         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17950         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17951         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17953 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17955         * s_cacos_template.c: Copy of s_cacos.c.
17956         * s_cacosh_template.c: Copy of s_cacosh.c.
17957         * s_ccos_template.c: Copy of s_ccos.c.
17958         * s_ccosh_template.c: Copy of s_ccosh.c.
17960 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17962         * stdlib/tst-strtod-round-skeleton.c:
17963         Refactored from tst-strtod-round.c.
17965         (L_): New macro to apply literal modifier.
17966         (FNPFX): New macro to select str or wcs prefix.
17967         (CHAR): New macro to choose wchar_t or char.
17968         (STRM): New macro to choose printf for tested character type.
17970         (STRTO): New macro to choose appropriate string -> real function.
17971         (FNPFXS): Stringitized version of FNPFX.
17972         (STR): Support for above macro.
17973         (STRX): Likewise.
17975         (TEST): Update with above macros.
17976         (test): Likewise.
17977         (GEN_ONE_TEST): Likewise.
17978         (test_in_one_mode): Likewise.
17980         * stdlib/tst-strtod-round.c: New file.
17981         * wcsmbs/tst-wcstod-round.c: New file.
17983         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17984         (tst-wcstod-round): Add libm depencency for fesetround.
17986 2016-08-19  Zack Weinberg  <zackw@panix.com>
17988         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17990 2016-08-18  Torvald Riegel  <triegel@redhat.com>
17992         [BZ #20477]
17993         * resolv/res_hconf.c (do_init): Use atomic access.
17994         * resolv/res_hconf.h: Add comments.
17995         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17996         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17997         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17999 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18001         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18002         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18003         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18004         Likewise.
18006 2016-08-18  Florian Weimer  <fweimer@redhat.com>
18008         [BZ #16907]
18009         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18010         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18011         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18012         (__attribute__): Remove definition.
18014 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18016         * sysdeps/ieee754/ldbl-128/e_asinl.c:
18017         Remove unused sqrtl declaration.
18019 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18021         * math/Makefile: (gen-libm-templates.stmp): New rule.
18022         (libm-calls): Move carg conj cimag and cabs into ...
18023         (gen-libm-calls): New variable.
18024         (generated): Inform Make objects from gen-libm-calls
18025         may be generated.
18027         * sysdeps/generic/math-type-macros.h: New file.
18028         * sysdeps/generic/math-type-macros-float.h: Likewise.
18029         * sysdeps/generic/math-type-macros-double.h: Likewise.
18030         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18031         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18032         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18034         * math/cabs.c: Refactor into
18035         * math/cabs_template.c: new file.
18036         * math/cabsf.c: Removed.
18037         * math/cabsl.c: Removed.
18038         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18039         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18041         * math/carg.c: Refactor into
18042         * math/carg_template.c: new file.
18043         * math/cargf.c: Removed.
18044         * math/cargl.c: Removed.
18045         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18046         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18048         * math/conj.c: Refactor into
18049         * math/conj_template.c: new file.
18050         * math/conjf.c: Removed.
18051         * math/conjl.c: Removed.
18052         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18053         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18055         * math/cimag.c: Refactor into
18056         * math/cimag_template.c: new file.
18057         * math/cimagf.c: Removed.
18058         * math/cimagl.c: Removed.
18059         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18060         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18062         * math/cimag.c: Refactor into
18063         * math/cimag_template.c: new file.
18064         * math/cimagf.c: Removed.
18065         * math/cimagl.c: Removed.
18066         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18067         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18069 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18071         Reduce time to expected nptl/tst-once5 failure.
18072         * nptl/tst-once5.cc (TIMEOUT): Define.
18074 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18076         [BZ #20452]
18077         Avoid additional copies of objects in libc.a in static libraries.
18078         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18079         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18080         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18081         rt-sysdep.
18082         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18083         Add nptl-sysdep.
18084         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18085         Add ptw-sysdep.
18086         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18087         rt-sysdep.
18088         * sysdeps/unix/sysv/linux/alpha/Makefile
18089         (libpthread-shared-only-routines): Add ptw-sysdep,
18090         ptw-sigprocmask, ptw-rt_sigaction.
18091         * sysdeps/unix/sysv/linux/ia64/Makefile
18092         (librt-shared-only-routines): Add rt-sysdep.
18093         * sysdeps/unix/sysv/linux/i386/Makefile
18094         (libpthread-shared-only-routines): Add libc-do-syscall.
18095         * sysdeps/unix/sysv/linux/microblaze/Makefile
18096         (libpthread-shared-only-routines): Add sysdep.
18097         * sysdeps/unix/sysv/linux/powerpc/Makefile
18098         (librt-shared-only-routines): Add rt-sysdep.
18099         (libpthread-shared-only-routines): Add sysdep.
18100         * sysdeps/unix/sysv/linux/s390/Makefile
18101         (librt-shared-only-routines): Add rt-sysdep.
18102         * sysdeps/unix/sysv/linux/sparc/Makefile
18103         (librt-shared-only-routines): Add rt-sysdep.
18104         (libpthread-shared-only-routines): Add sysdep.
18105         * sysdeps/unix/sysv/linux/tile/Makefile
18106         (libpthread-shared-only-routines): Likewise.
18108 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
18110         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18111         Mask implicit bit out of unpacked value.
18112         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18113         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18114         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18116         * sysdeps/sparc/fpu/fesetexcept.c: New file.
18118         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18120         * sysdeps/s390/fpu/fesetexcept.c: New file.
18122         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18123         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18124         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18126         * sysdeps/mips/fpu/fesetexcept.c: New file.
18128         * sysdeps/m68k/fpu/fesetexcept.c: New file.
18130         * sysdeps/ia64/fpu/fesetexcept.c: New file.
18132         * sysdeps/hppa/fpu/fesetexcept.c: New file.
18134         * sysdeps/arm/fesetexcept.c: New file.
18136         * sysdeps/alpha/fpu/fesetexcept.c: New file.
18138         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18140         * math/fesetexcept.c: New file.
18141         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18142         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18143         * math/fenv.h: Define
18144         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18145         <bits/libc-header-start.h> instead of including <features.h>.
18146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18147         declaration.
18148         * manual/arith.texi (fesetexcept): Document function.
18149         * math/Versions (fesetexcept): New libm symbol at version
18150         GLIBC_2.25.
18151         * math/Makefile (libm-support): Add fesetexcept.
18152         (tests): Add test-fesetexcept and test-fesetexcept-traps.
18153         * math/test-fesetexcept.c: New file.
18154         * math/test-fesetexcept-traps.c: Likewise.
18155         * sysdeps/nacl/libm.abilist: Update.
18156         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18157         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18158         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18159         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18160         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18161         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18162         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18163         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18164         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18165         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18166         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18167         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18169         Likewise.
18170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18171         Likewise.
18172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18173         Likewise.
18174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18175         Likewise.
18176         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18177         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18178         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18179         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18180         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18182         Likewise.
18183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18184         Likewise.
18185         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18186         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18187         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18189 2016-08-16  Florian Weimer  <fweimer@redhat.com>
18191         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18192         New.
18193         (do_test): Apply default_stack_size_in_mb if not set.
18194         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18196 2016-08-15  Andreas Schwab  <schwab@suse.de>
18198         [BZ #20435]
18199         CVE-2016-6323
18200         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18201         as .cantunwind.
18203 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
18205         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18206         comment from fraiseexcpt.c.
18208         * math/test-fexcept.c (feraiseexcept_exact): New function.
18209         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18210         (test_except): Likewise.
18212 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
18214         [BZ #20455]
18215         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18216         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18217         to be restored.
18219         * math/test-fexcept-traps.c: New file.
18220         * math/test-fexcept.c: Likewise.
18221         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18222         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18223         macro.
18224         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18225         (EXCEPTION_SET_FORCES_TRAP): Likewise.
18227 2016-08-09  Torvald Riegel  <triegel@redhat.com>
18229         * include/atomic.h (atomic_fetch_and_relaxed,
18230         atomic_fetch_and_release, atomic_fetch_or_release,
18231         atomic_fetch_xor_release): New.
18233 2016-08-06  Christian Seiler  <christian@iwakd.de>
18235         [BZ #20444]
18236         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18237         MACH_PORT_NULL.
18239 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18241         * math/s_fdim.c: Avoid alias renamed.
18242         * math/s_fdimf.c: Likewise.
18243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18244         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18245         Add s_fdimf-vis3, s_fdim-vis3.
18246         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18247         (CFLAGS-s_fdim-vis3.c): Likewise.
18248         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18249         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18251 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18254         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18255         Remove s_fdimf-vis3, s_fdim-vis3.
18256         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18257         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18264         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18265         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18267 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18269         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18270         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18271         -Wa,-Av9a -mvis.
18273 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18275         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18276         LIT() to individual constants in simple expressions
18277         after splitting on spaces.
18278         (_apply_lit): Rename replaced version, and use it to
18279         apply to what appears to be a token.
18281         * math/libm-test.inc: Fix many, many issues with
18282         spacing.
18284 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
18286         * math/math.h: Move comment about <bits/mathdef.h> definitions
18287         above inclusion of <bits/mathdef.h>.  Do not mention
18288         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18290 2016-08-05  Torvald Riegel  <triegel@redhat.com>
18292         * include/atomic.h (atomic_exchange_relaxed): New.
18294 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
18296         * math/e_scalb.c: Do not include <fenv.h>.
18297         (invalid_fn): Do calculation resulting in NaN instead of raising
18298         FE_INVALID and returning a NaN explicitly.
18299         * math/e_scalbf.c: Do not include <fenv.h>.
18300         (invalid_fn): Do calculation resulting in NaN instead of raising
18301         FE_INVALID and returning a NaN explicitly.
18302         * math/e_scalbl.c: Do not include <fenv.h>.
18303         (invalid_fn): Do calculation resulting in NaN instead of raising
18304         FE_INVALID and returning a NaN explicitly.
18306 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
18308         * po/de.po: Updated from Translation Project.
18309         * po/fi.po: Likewise.
18310         * po/sv.po: Likewise.
18312 2016-08-04  Florian Weimer  <fweimer@redhat.com>
18314         [BZ #20452]
18315         Use sysdep.o from libc.a in static libraries.
18316         * sysdeps/unix/sysv/linux/i386/Makefile
18317         (libpthread-shared-only-routines): Add sysdep.
18318         (librt-shared-only-routines): Likewise.
18320 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18322         * math/tgmath.h (nextdown): Define if
18323         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18324         (nextup): Likewise.
18326         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18327         macro.
18328         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18329         Document.
18330         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18331         Document macro.
18332         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18333         (exp10f): Likewise.
18334         (exp10l): Likewise.
18335         * math/bits/mathcalls.h (exp10): Declare if
18336         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18338         * manual/arith.texi (nextup): Fix typo in last change.
18340 2016-08-03  Zack Weinberg  <zackw@panix.com>
18342         [BZ #19239]
18343         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18344         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18345         define major, minor, and makedev to issue deprecation warnings on use.
18346         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18347         previously-activated deprecation warnings for these macros and prevent
18348         subsequent inclusions of this header from having any effect.
18349         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18350         including <sys/sysmacros.h>, and undefine it again afterward.
18352 2016-08-03  Zack Weinberg  <zackw@panix.com>
18354         * sysdeps/generic/sys/sysmacros.h: Delete file.
18355         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18356         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18357         * bits/sysmacros.h: ... here; this encoding is now the generic
18358         encoding.  Now defines only the following macros:
18359         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18360         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18361         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18363         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18364         bits/sysmacros.h and the above new macros to generate the
18365         public implementations of major, minor, and makedev.
18366         * misc/tst-makedev.c: New test.
18367         * include/sys/sysmacros.h: New wrapper.
18369         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18370         (routines): Add makedev.
18371         (tests): Add tst-makedev.
18372         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18373         gnu_dev_makedev.
18374         * posix/Makefile (headers): Remove sys/sysmacros.h.
18375         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18377         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18378         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18379         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18380         * sysdeps/unix/sysv/linux/alpha/libc.abilist
18381         * sysdeps/unix/sysv/linux/arm/libc.abilist
18382         * sysdeps/unix/sysv/linux/hppa/libc.abilist
18383         * sysdeps/unix/sysv/linux/i386/libc.abilist
18384         * sysdeps/unix/sysv/linux/ia64/libc.abilist
18385         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18386         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18387         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18388         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18389         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18390         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18391         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18392         * sysdeps/unix/sysv/linux/nios2/libc.abilist
18393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18397         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18398         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18399         * sysdeps/unix/sysv/linux/sh/libc.abilist
18400         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18401         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18404         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18405         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18406         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18407         Add GLIBC_2.25.
18409         * include/features.h (__glibc_clang_prereq): New macro.
18410         * misc/sys/cdefs.h (__glibc_clang_has_extension)
18411         (__attribute_deprecated_msg__): New macros.
18413 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18415         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18416         macro.
18417         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18418         * manual/arith.texi (issignaling): Document as ISO from TS
18419         18661-1:2014.
18420         (nextup): Likewise.
18421         (nextupf): Likewise.
18422         (nextupl): Likewise.
18423         (nextdown): Likewise.
18424         (nextdownf): Likewise.
18425         (nextdownl): Likewise.
18426         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18427         macro.
18428         * math/math.h: Define
18429         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18430         <bits/libc-header-start.h> instead of including <features.h>.
18431         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18432         [__USE_GNU].
18433         * math/bits/mathcalls.h (nextdown): Declare if
18434         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18435         (nextup): Likewise.
18436         (__issignaling): Likewise.
18438 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18440         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18441         check, and remove __glibc_likely hint
18442         from FP_INFINITE check.
18443         * s_csinhf.c (__csinhf): Likewise.
18445         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18446         hint from FP_INFINITE check.
18447         * s_csinhl.c (__csinhl): Likewise.
18449 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18451         * math/Makefile (libm-calls): Insert F placeholder into
18452         object names.  Move w_lgamma_compat* routines into
18453         (libm-compat-calls): New variable.
18454         (libm-compat-calls-ldouble-yes): New variable.
18455         (calls): Insert F placeholder.
18456         (generated): Redefine using new type-foreach macro call.
18457         (routines): Likewise.
18459         (types): New variable to hold a list of symbolic names
18460         for each type supported by the target machine.
18461         (libm-routines): Redefine using new types variable.
18462         (type-foreach): macro to replace fooF with the
18463         appropriately suffixed foo for each types.
18465         (type-ldouble-suffix): New variable.
18466         (type-ldouble-routines): Likewise.
18467         (type-ldouble-yes): Likewise.
18468         (type-double-suffix): Likewise.
18469         (type-double-routines): Likewise.
18470         (type-float-suffix): Likewise.
18471         (type-float-routines): Likewise.
18473         (dbl-only-routines): Remove.
18474         (long-c-yes): Likewise.
18475         (long-m-routines): Likewise.
18476         (long-m-support): Likewise.
18477         (long-m-yes): Likewise.
18478         (test-longdouble-yes): Likewise.
18480         (test-float.o): Simplify by increasing the scope of the
18481         recipe which adds libm-test.stmp to the vector types.
18482         (test-ifloat.o): Likewise.
18483         (test-float-finite.o): Likewise.
18484         (test-double.o): Likewise
18485         (test-idouble.o): Likewise.
18486         (test-double-finite.o): Likewise.
18487         (test-ldouble.o): Likewise
18488         (test-ildoubl.o): Likewise.
18489         (test-ldouble-finite.o): Likewise.
18491         (libm-tests): Redefine type tests using foreach and the
18492         list of types in types.
18494         (CPPFLAGS-test-ildoubl.c): Rename to
18495         (CPPFLAGS-test-ildouble.c): New variable
18497         * math/test-ildoubl.c: Rename to
18498         * math/test-ildouble.c: New file.
18500 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18502         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18503         Use fabsl instead of fabs.
18504         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18505         Likewise.
18506         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18507         Add long double suffix to constant to ensure proper
18508         promotion to long double.
18510 2016-08-03  Tom Tromey  <tom@tromey.com>
18512         [BZ #20311]
18513         * nptl_db/Makefile (headers): Add proc_service.h.
18514         * nptl_db/proc_service.h: Add include guard.  Use
18515         __BEGIN/__END_DECLS.
18516         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18517         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18518         arguments.
18521 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18523         [BZ #17730]
18524         Avoid using memalign for TCB allocations.
18525         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18526         (_dl_allocate_tls_storage): Use malloc and manual alignment.
18527         Avoid alignment gap in the TLS_DTV_AT_TP case.
18528         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18529         determine the pointer to free.
18530         * nptl/tst-tls3-malloc.c: New test.
18531         * nptl/Makefile (tests): Add it.
18532         (tst-tls3-malloc): Link with libdl, libpthread.
18533         (LDFLAGS-tst-tls3-malloc): Set.
18534         (tst-tls3-malloc.out): Depend on DSO used in test.
18536 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18538         [BZ #17730]
18539         Avoid using memalign for TLS allocations.
18540         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
18541         is_static member with to_free member.
18542         (union dtv): Use struct dtv_pointer.
18543         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18544         dtv_pointer instead of is_static.
18545         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18546         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18547         instead of val.
18548         (allocate_dtv_entry): New function.
18549         (allocate_and_init): Return struct dtv_pointer.  Call
18550         allocate_dtv_entry instead of __libc_memalign.
18551         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18552         instead of val.
18553         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18554         instead of is_static.  Adjust call to allocate_and_init.
18555         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18556         struct dtv_pointer instead of val.
18558 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18560         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18561         (MALLOC_ALIGN_MASK): Move ...
18562         * malloc/malloc-internal.h: ... to here.
18563         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18565 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18567         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18568         (UDP_ENCAP_GTP1U): Likewise.
18570         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18571         (PF_MAX): Update value.
18572         (AF_QIPCRTR): New macro.
18574 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18576         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18577         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18578         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18579         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18580         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18581         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18582         s_truncf-vis3, s_trunc-vis3.
18583         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18584         (CFLAGS-s_ceil-vis3.c): Likewise.
18585         (CFLAGS-s_floorf-vis3.c): Likewise.
18586         (CFLAGS-s_floor-vis3.c): Likewise.
18587         (CFLAGS-s_truncf-vis3.c): Likewise.
18588         (CFLAGS-s_trunc-vis3.c): Likewise.
18589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18590         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18591         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18592         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18597         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18598         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18599         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18600         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18602 2016-08-02  David S. Miller  <davem@davemloft.net>
18604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18605         (__nearbyint_vis3): Don't check for sNaN before float register is
18606         loaded with the incoming argument.
18607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18608         (__nearbyintf_vis3): Likewise.
18609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18610         Likewise.
18611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18612         Likewise.
18614         * string/test-strncmp.c (do_test_limit): Make sure the test data
18615         stream is aligned as required for the type "CHAR".
18616         (do_test): Likewise.
18618 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18620         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18621         by beq instructions jumping to the end of the function.
18622         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18623         clobber list. Use "i" constraint instead of "X".
18624         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18625         of "X".
18627 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
18629         * bits/libc-header-start.h: New file.
18630         * Makefile (headers): Add bits/libc-header-start.h.
18631         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18632         (__GLIBC_USE): New macro.
18633         * libio/stdio.h: Define
18634         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18635         <bits/libc-header-start.h> instead of including <features.h>.
18636         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18637         (open_memstream): Likewise.
18638         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18639         (__asprintf): Likewise.
18640         (asprintf): Likewise.
18641         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18642         (getdelim): Likewise.
18643         (getline): Likewise.
18644         * string/string.h: Define
18645         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18646         <bits/libc-header-start.h> instead of including <features.h>.
18647         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18648         (strndup): Likewise.
18649         * wcsmbs/wchar.h: Define
18650         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18651         <bits/libc-header-start.h> instead of including <features.h>.
18652         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18653         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18655 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18657         Support linking against compatibility symbols, for use in tests.
18658         * include/libc-symbols.h (symbol_version_reference): New macro.
18659         (symbol_version): Use it.
18660         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18661         (compat_symbol): Use compat_symbol_reference.
18662         (compat_symbol_1, compat_symbol_2): Remove.
18663         (compat_symbol_reference, compat_symbol_reference_1)
18664         (compat_symbol_reference_2): New macro.  Use
18665         symbol_version_reference.
18667 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18669         [BZ #19469]
18670         * malloc/Makefile (CPPFLAGS): Compile tests with
18671         -DTEST_NO_MALLOPT.
18672         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18674 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
18676         [BZ #20033]
18677         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18678         finite version.
18679         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18680         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18681         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18682         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18683         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18684         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18685         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18686         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18687         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18688         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18689         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18690         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18693         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18694         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18695         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18696         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18697         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18698         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18699         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18700         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18701         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18702         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18703         in zero power.
18705 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18707         [BZ #20370]
18708         * malloc/arena.c (get_free_list): Update comment.  Assert that
18709         arenas on the free list have no attached threads.
18710         (remove_from_free_list): New function.
18711         (reused_arena): Call it.
18713 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
18715         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18716         when it is a NaN.
18717         [_IEEE_FP_INEXACT] Remove.
18718         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18719         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18720         when it is a NaN.
18721         [_IEEE_FP_INEXACT] Remove.
18722         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18723         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18724         when it is a NaN.
18725         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18726         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18727         when its absolute value is greater than 0x1.0p52.
18728         [_IEEE_FP_INEXACT] Remove.
18729         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18730         when its absolute value is greater than 0x1.0p23.
18731         [_IEEE_FP_INEXACT] Remove.
18733 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
18735         * version.h (RELEASE): Set to "development"
18736         (VERSION): Set to 2.24.90.
18737         * NEWS: Add 2.25 section.
18739         * version.h (RELEASE): Set to "stable"
18740         (VERSION): Set to 2.24.
18741         * include/features.h (__GLIBC_MINOR__): Set to 24.
18743         * NEWS: Add 2.24 fixed bugs.
18744         * po/libc.pot: Regenerate.
18746 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
18748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18749         [$(subdir) = math] (libm-sysdep_routines): Remove.
18750         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18751         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18752         s_truncf-vis3, s_trunc-vis3.
18753         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18755         file.
18756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18782         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18785         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18789         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18790         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18791         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18792         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18793         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18794         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18795         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18796         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18797         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18798         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18800 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
18802         [BZ #20384]
18803         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18804         test-double-libmvec-sincos-avx-main.o,
18805         test-double-libmvec-sincos-avx2-main.o,
18806         test-double-libmvec-sincos-main.o,
18807         test-float-libmvec-sincosf-avx-main.o,
18808         test-float-libmvec-sincosf-avx2-main.o and
18809         test-float-libmvec-sincosf-main.o.
18810         test-float-libmvec-sincosf-avx512-main.o.
18811         ($(objpfx)test-double-libmvec-sincos): Also link with
18812         $(objpfx)test-double-libmvec-sincos-main.o.
18813         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18814         $(objpfx)test-double-libmvec-sincos-avx-main.o.
18815         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18816         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18817         ($(objpfx)test-float-libmvec-sincosf): Also link with
18818         $(objpfx)test-float-libmvec-sincosf-main.o.
18819         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18820         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18821         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18822         test-double-libmvec-sincos-avx512-main.o and
18823         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18824         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18825         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18826         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18827         (CFLAGS-test-double-libmvec-sincos.c): Removed.
18828         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18829         (CFLAGS-test-double-libmvec-sincos-main.c): New.
18830         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18831         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18832         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18833         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18834         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18835         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18836         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18837         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18838         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18839         -DREQUIRE_AVX2.
18840         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18841         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18842         -DREQUIRE_AVX512F.
18843         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18844         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18845         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18846         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18847         file.
18848         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18849         Likewise.
18850         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18851         Likewise.
18852         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18853         Likewise.
18854         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18855         Likewise.
18856         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18857         Likewise.
18858         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18859         Likewise.
18860         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18861         Likewise.
18863 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
18865         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18867 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
18869         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18870         and typo in a comment about AT_HWCAP entry.
18872 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18874         * sysdeps/aarch64/libm-test-ulps: Updated.
18876 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18878         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18879         of r13 as it is not restored in mvcle case.
18881 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
18883         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18884         Rename "ret" to "__ret".
18885         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18886         inline_syscall5, inline_syscall6): Likewise.
18888 2016-07-19   Will Newton  <will.newton@gmail.com>
18890         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18891         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18892         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18893         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18894         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18896 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
18898         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18899         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18900         -mfpmath=387 with $(rtld-CFLAGS).
18901         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18902         $(rtld-CFLAGS).
18904 2016-07-18   Ross Burton  <ross.burton@intel.com>
18905              Khem Raj  <raj.khem@gmail.com>
18907         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18908         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18909         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18910         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18911         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18912         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18913         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18914         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18915         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18916         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18917         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18918         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18919         R_METAG_TLS_DTPOFF): New.
18921 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18922             Matt Clay  <mclay@lycos.com>
18924         [BZ #20357]
18925         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18926         to call __mpsin/__mpcos and to negate values.
18927         * math/auto-libm-test-in: Add test.
18928         * math/auto-libm-test-out: Regenerate.
18930 2016-07-18  Zack Weinberg  <zackw@panix.com>
18932         * grp/Makefile: Don't install the internal header grp-merge.h.
18934 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18936         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18938 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18940         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18942 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18944         [BZ #15368]
18945         * sysdeps/unix/sysv/linux/nptl-signals.h
18946         (__nptl_clear_internal_signals): New function.
18947         (__libc_signal_block_all): Likewise.
18948         (__libc_signal_block_app): Likewise.
18949         (__libc_signal_restore_set): Likewise.
18950         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18951         implementation.
18952         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18953         the cached pid/tid value in pthread structure.
18955 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
18957         [BZ #20347]
18958         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18960 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18962         [BZ #20348]
18963         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18964         preadv64, pwrite64 and pwritev64.
18966 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18968         [BZ #20350]
18969         * posix/tst-preadwrite.c: Renamed to ...
18970         * posix/tst-preadwrite-common.c: This.
18971         (PREAD): Removed.
18972         (PWRITE): Likewise.
18973         (STRINGIFY): Likewise.
18974         (STRINGIFY2): Likewise.
18975         (do_prepare): Make it static and remove function arguments.
18976         (do_test): Likewise.
18977         (PREPARE): Updated.
18978         (TEST_FUNCTION): New.
18979         (name): Make it static.
18980         (fd): Likewise.
18981         (do_prepare): Use create_temp_file.
18982         (do_test): Renamed to ...
18983         (do_test_with_offset): This.  Make it static and accept offset.
18984         Properly check return value of PWRITE and PREAD.  Return bytes
18985         read.  Don't close fd nor unlink name.
18986         * posix/tst-preadwrite.c: Rewrite.
18987         * posix/tst-preadwrite64.c: Likewise.
18989 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18991         [BZ #20309]
18992         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18993         -mtls-dialect=gnu2 works.
18994         * configure: Regenerated.
18995         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18996         (tests): Add tst-gnu2-tls1.
18997         (modules-names): Add tst-gnu2-tls1mod.
18998         ($(objpfx)tst-gnu2-tls1): New.
18999         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19000         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19001         * elf/tst-gnu2-tls1.c: New file.
19002         * elf/tst-gnu2-tls1mod.c: Likewise.
19003         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19004         bytes for push in the PLT entry to align the stack.
19006 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19008         [BZ #20349]
19009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19011 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19013         [BZ #18707]
19014         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19015         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19017 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19019         * sysdeps/unix/sysv/linux/sysdep.h
19020         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19021         guards.
19022         * misc/tst-preadvwritev-common.c: New file.
19023         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19024         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19025         a check for files larger than 2GB.
19027         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19028         (__ASSUME_OFF_DIFF_OFF64): Remove define.
19029         * sysdeps/unix/sysv/linux/pread.c
19030         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19031         __OFF_T_MATCHES_OFF64_T.
19032         * sysdeps/unix/sysv/linux/pread64.c
19033         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19034         * sysdeps/unix/sysv/linux/preadv.c
19035         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19036         * sysdeps/unix/sysv/linux/preadv64.c
19037         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19038         * sysdeps/unix/sysv/linux/pwrite.c
19039         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19040         * sysdeps/unix/sysv/linux/pwrite64.c
19041         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19042         * sysdeps/unix/sysv/linux/pwritev.c
19043         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19044         * sysdeps/unix/sysv/linux/pwritev64.c
19045         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19047 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
19049         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19050         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19052 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19054         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19056 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19058         [BZ #20240]
19059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19060         (CFLAGS-s_modf-ppc32.c): New variable.
19061         (CFLAGS-s_modff-ppc32.c): Likewise.
19062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19063         (CFLAGS-s_modf-ppc64.c): Likewise.
19064         (CFLAGS-s_modff-ppc64.c): Likewise.
19066 2016-07-07  Andreas Schwab  <schwab@suse.de>
19068         [BZ #20263]
19069         * nptl/tst-robust10.c: New test.
19070         * nptl/Makefile (tests): Add tst-robust10.
19072 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
19074         [BZ #20263]
19075         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19077 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19079         * sysdeps/s390/linkmap.h (struct link_map_machine):
19080         Remove member gotplt and add member jmprel.
19081         * sysdeps/s390/s390-32/dl-machine.h
19082         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19083         instead of gotplt with &got[3].
19084         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19085         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19087 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
19089         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19091 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19093         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19094         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19095         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19096         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19097         * libio/vtables.c (_IO_vtable_check)
19098         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19099         * libio/libioP.h (IO_set_accept_foreign_vtables)
19100         [!PTR_MANGLE]: Do not call PTR_MANGLE.
19102 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
19104         [BZ #20314]
19105         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19106         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19107         $(common-objpfx)cmath.
19108         ($(common-objpfx)cstdlib): New target.
19109         ($(common-objpfx)cmath): Likewise.
19111 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
19113         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19115 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19117         [BZ #20327]
19118         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19119         are not part of the string.
19121 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19123         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19124         * nptl/tst-cancel4-common.h (fifoname): New variable.
19125         (fifofd): Likewise.
19126         (cl_fifo): New function.
19127         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19128         SIGINT.
19129         (tf_open): Add early cancel test.
19131 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19133         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19135 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
19137         * sysdeps/generic/ldsodefs.h
19138         (dl_symbol_visibility_binds_local_p): New inline function.
19139         * elf/dl-addr.c (determine_info): Treat hidden and internal
19140         symbols as local.
19141         * elf/dl-lookup.c (do_lookup_x): Likewise.
19142         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19144 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
19146         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19147         invalid exception for a sNaN input.
19148         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19149         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19150         (__nearbyint_vis3): Likewise
19151         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19152         (__nearbyintf_vis3): Likewise
19153         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19154         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19155         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19156         Likewise.
19157         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19158         Likewise.
19160 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
19162         [BZ #20139]
19163         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19164         (HAVE_AVX512DQ_ASM_SUPPORT): This.
19165         * sysdeps/x86_64/configure.ac: Require assembler from binutils
19166         2.24 or above.
19167         (HAVE_AVX512_ASM_SUPPORT): Removed.
19168         (HAVE_AVX512DQ_ASM_SUPPORT): New.
19169         * sysdeps/x86_64/configure: Regenerated.
19170         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19171         check unconditional.
19172         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19173         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19174         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19175         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19176         Likewise.
19177         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19178         Likewise.
19179         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19180         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19181         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19182         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19183         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19184         Likewise.
19185         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19186         Likewise.
19187         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19188         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19189         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19190         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19191         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19192         Likewise.
19193         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19194         Likewise.
19195         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19196         Likewise.
19197         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19198         Likewise.
19199         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19200         Likewise.
19201         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19202         Likewise.
19203         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19204         Likewise.
19205         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19206         Likewise.
19207         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19208         Likewise.
19209         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19210         Likewise.
19211         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19212         Likewise.
19214 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
19216         [BZ #20024]
19217         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19218         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19219         of this implementation of vector function.
19220         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19221         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19222         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19223         Likewise.
19224         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19226         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19227         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19228         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19229         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19230         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19231         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19232         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19233         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19234         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19235         for testing vector sincos with fixed ABI.
19236         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19237         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19238         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19239         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19240         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19241         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19242         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19243         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19244         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19245         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19246         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19247         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19248         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19249         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19250         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19251         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19253 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19255         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19257 2016-06-30  Anton Blanchard  <anton@samba.org>
19259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19260         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19261         s_sinf-ppc64.
19262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19265         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19267 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19271         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19272         e_expf-ppc64.
19273         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19274         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19275         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19276         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19278 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
19280         [BZ #20277]
19281         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19282         when SHARED is defined.
19284 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
19286         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19287         (index_arch_Prefer_ERMS): Likewise.
19288         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19289         __memcpy_erms for Prefer_ERMS.
19290         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19291         (__memmove_erms): Enabled for libc.a.
19292         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19293         __memmove_erms or Prefer_ERMS.
19294         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19295         __mempcpy_erms for Prefer_ERMS.
19296         * sysdeps/x86_64/multiarch/memset.S (memset): Return
19297         __memset_erms for Prefer_ERMS.
19299 2016-06-30  Andreas Schwab  <schwab@suse.de>
19301         [BZ #20262]
19302         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19303         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
19304         of memory.
19306 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
19308         [BZ #18645]
19309         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19310         (test-extras): Add tst-cleanupx4aux.
19311         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
19312         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19313         tst-cleanupx4aux.o.
19314         * nptl/tst-cleanupx4aux.c: New file.
19316 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19318         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19320 2016-06-29  Andreas Schwab  <schwab@suse.de>
19322         [BZ #20260]
19323         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19324         address before the beginning of the string as an integer to avoid
19325         array-bounds warning.
19327 2016-06-28  Richard Henderson  <rth@redhat.com>
19329         * elf/elf.h (EM_BPF): New.
19330         (EM_NUM): Update.
19331         (R_BPF_NONE, R_BPF_MAP_FD): New.
19333         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19334         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19335         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19336         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19337         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19338         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19339         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19340         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19341         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19342         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19343         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19344         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19345         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19346         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19347         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19348         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19349         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19350         (EM_NUM): Update.
19352 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
19354         [BZ #18960]
19355         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19356         Set _nl_current_LC_CATEGORY_used to two instead of one.
19358 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
19360         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19361         (do_test): ... this.
19362         (TEST_FUNCTION): New macro.
19363          Include test-skeleton.c.
19364         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19365         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19367 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
19369         [BZ #15479]
19370         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19371         floating-point environment rather than just control word.
19372         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19373         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19374         floating-point environment, with "invalid" exceptions merged in,
19375         rather than just control word.
19376         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19377         * math/libm-test.inc (trunc_test_data): Do not allow spurious
19378         "inexact" exceptions.
19380         [BZ #15479]
19381         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19382         floating-point environment rather than just control word.
19383         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19384         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19385         floating-point environment, with "invalid" exceptions merged in,
19386         rather than just control word.
19387         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19388         * math/libm-test.inc (floor_test_data): Do not allow spurious
19389         "inexact" exceptions.
19391         [BZ #15479]
19392         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19393         floating-point environment rather than just control word.
19394         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19395         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19396         floating-point environment, with "invalid" exceptions merged in,
19397         rather than just control word.
19398         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19399         * math/libm-test.inc (ceil_test_data): Do not allow spurious
19400         "inexact" exceptions.
19402 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
19404         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19405         __libc_vfork.
19406         (__vfork) [IS_IN (libc)]: Remove alias.
19407         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19408         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19409         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19411 2016-06-24  Torvald Riegel  <triegel@redhat.com>
19413         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19414         of atomic_compare_and_exchange_bool_rel.
19415         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19416         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19417         catomic_compare_and_exchange_bool_rel): Remove.
19418         * sysdeps/aarch64/atomic-machine.h
19419         (atomic_compare_and_exchange_bool_rel): Likewise.
19420         * sysdeps/alpha/atomic-machine.h
19421         (atomic_compare_and_exchange_bool_rel): Likewise.
19422         * sysdeps/arm/atomic-machine.h
19423         (atomic_compare_and_exchange_bool_rel): Likewise.
19424         * sysdeps/mips/atomic-machine.h
19425         (atomic_compare_and_exchange_bool_rel): Likewise.
19426         * sysdeps/microblaze/atomic-machine.h
19427         ( __arch_compare_and_exchange_bool_8_rel,
19428         __arch_compare_and_exchange_bool_16_rel): Likewise.
19429         * sysdeps/powerpc/atomic-machine.h
19430         ( __arch_compare_and_exchange_bool_8_rel,
19431         __arch_compare_and_exchange_bool_16_rel): Likewise.
19432         * sysdeps/powerpc/powerpc32/atomic-machine.h
19433         ( __arch_compare_and_exchange_bool_32_rel,
19434         __arch_compare_and_exchange_bool_64_rel): Likewise.
19435         * sysdeps/powerpc/powerpc64/atomic-machine.h
19436         ( __arch_compare_and_exchange_bool_32_rel,
19437         __arch_compare_and_exchange_bool_64_rel): Likewise.
19438         * sysdeps/tile/atomic-machine.h
19439         (atomic_compare_and_exchange_bool_rel): Likewise.
19441 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
19443         [BZ #20296]
19444         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19445         when either argument is a NaN.
19446         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19447         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19449         * math/libm-test.inc (snan_value_ld): New macro.
19450         (isgreater_test_data): Add sNaN tests.
19451         (isgreaterequal_test_data): Likewise.
19452         (isless_test_data): Likewise.
19453         (islessequal_test_data): Likewise.
19454         (islessgreater_test_data): Likewise.
19455         (isunordered_test_data): Likewise.
19456         (nextafter_test_data): Likewise.
19457         (nexttoward_test_data): Likewise.
19458         (remainder_test_data): Likewise.
19459         (remquo_test_data): Likewise.
19460         (significand_test_data): Likewise.
19461         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19463 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19465         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19466         environment macros are defined.
19467         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19469 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19471         [BZ #20191]
19472         Implement vtable verification in libio.
19473         * Makerules (shlib.lds): Place __libc_IO_vtables section.
19474         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19475         * debug/vdprintf_chk.c (__vdprintf_chk): Call
19476         _IO_new_file_init_internal instead of _IO_file_init.
19477         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19478         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19479         * libio/Makefile (routines): Add vtables.
19480         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19481         (_IO_init): Remove, not for internal use.
19482         (_IO_init_internal): Declare, internal replacement for _IO_init.
19483         (_IO_file_init): Remove, not for internal use.
19484         (_IO_new_file_init): Remove, not for internal use.
19485         (_IO_new_file_init_internal): Declare, internal replacement for
19486         _IO_new_file_init.
19487         (_IO_old_file_init): Remove, not for internal use.
19488         (_IO_old_file_init_internal): Declare, internal replacement for
19489         _IO_old_file_init.
19490         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19491         internal use.
19492         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19493         Declare.
19494         (libio_vtable): New macro.
19495         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19496         functions.
19497         * libio/fileops.c (_IO_new_file_init_internal): Rename from
19498         _IO_new_file_init.
19499         (_IO_new_file_init): New externally visible wrapper which disables
19500         vtable verification.
19501         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19502         Define as vtables.
19503         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19504         (_IO_init): New externally visible wrapper which disables
19505         vtable verification.
19506         * libio/iofdopen.c (_IO_new_fdopen): Call
19507         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
19508         comment.
19509         * libio/iofopen.c (__fopen_internal): Call
19510         _IO_new_file_init_internal instead of _IO_file_init.
19511         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19512         Define as vtables.
19513         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19514         _IO_new_file_init_internal instead of _IO_file_init.
19515         * libio/iopopen.c (_IO_new_popen): Likewise.
19516         (_IO_proc_jumps): Define as vtable.
19517         * libio/iovdprintf.c (_IO_vdprintf): Call
19518         _IO_new_file_init_internal instead of _IO_file_init.
19519         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19520         (__open_memstream): Call _IO_init_internal instead of _IO_init.
19521         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19522         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19523         _IO_old_file_init.
19524         (_IO_old_file_init): New externally visible wrapper which disables
19525         vtable verification.
19526         (_IO_old_file_jumps): Define as vtable.
19527         * libio/oldiofdopen.c (_IO_old_fdopen): Call
19528         _IO_old_file_init_internal instead of _IO_old_file_init.
19529         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19530         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19531         (_IO_old_proc_jumps): Define as vtable.
19532         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19533         Define as vtables.
19534         * libio/vtables.c: New file.
19535         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19536         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19537         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19538         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19539         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19540         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19541         instead of _IO_init.
19543 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19545         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19547 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19549         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19550         potentially unused.
19552 2016-06-22  Florian Weimer  <fweimer@redhat.com>
19554         * test-skeleton.c (write_message): New function.
19555         * malloc/tst-mallocfork2.c (write_message): Remove.
19556         * debug/tst-longjmp_chk2.c (write_indented): New function.
19557         (write_message): Remove.
19558         (stackoverflow_handler): Call write_indented.
19560 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19562         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19563         "inexact" exceptions after fnstenv.
19564         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19565         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19566         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19568 2015-06-22  Zack Weinberg  <zackw@panix.com>
19570         * sysdeps/generic/bits/hwcap.h: Moved to ...
19571         * bits/hwcap.h: Here.
19573 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19575         * sysdeps/aarch64/memcpy.S (memcpy):
19576         Further tuning for performance.
19578 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19580         [BZ #20284]
19581         * malloc/arena.c (reused_arena): Do not return NULL if we start
19582         out with a non-corrupted arena.
19584 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19586         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19587         * misc/tst-preadvwritev.c: New file.
19588         * misc/tst-preadvwritev64.c: Likewise.
19589         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19590         usage.
19591         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19592         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19593         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19594         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19596 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19598         [BZ #19654]
19599         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19600         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19601         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19602         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19603         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19604         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19605         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19606         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19607         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19608         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19609         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19610         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19611         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19612         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19613         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19614         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19615         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19616         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19617         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19618         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19619         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19620         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19621         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19622         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19623         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19624         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19626 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19628         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19629         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19631 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19633         * sysdeps/aarch64/memcpy.S (memcpy):
19634         Rewrite of optimized memcpy and memmove.
19635         * sysdeps/aarch64/memmove.S (memmove): Remove
19636         memmove code (merged into memcpy.S).
19638 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19640         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19641         * sysdeps/generic/dl-dtv.h: New file.
19642         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19643         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19644         (dtv_t): Remove.
19645         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19646         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19647         (dtv_t): Remove.
19648         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19649         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19650         (dtv_t): Remove.
19651         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19652         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19653         (dtv_t): Remove.
19654         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19655         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19656         (dtv_t): Remove.
19657         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19658         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19659         (dtv_t): Remove.
19660         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19661         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19662         (dtv_t): Remove.
19663         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19664         (dtv_t): Remove.
19665         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19666         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19667         (dtv_t): Remove.
19668         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19669         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19670         (dtv_t): Remove.
19671         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19672         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19673         (dtv_t): Remove.
19674         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19675         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19676         (dtv_t): Remove.
19677         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19678         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19679         (dtv_t): Remove.
19680         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19681         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19682         (dtv_t): Remove.
19683         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19684         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19685         (dtv_t): Remove.
19686         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19687         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19688         (dtv_t): Remove.
19690 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19692         Revert symbol poisoning of  __malloc_initialize_hook.
19693         * include/stdc-predef.h (__malloc_initialize_hook): Remove
19694         poisoning.
19695         * malloc/Makefile: Remove un-poisoning.
19696         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19697         instead of old__malloc_initialize_hook.
19698         * malloc/malloc-hooks.h: Likewise.
19699         * malloc/malloc.c: Likewise.
19700         * malloc/mcheck-init.c: Likewise.
19702 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
19704         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19706 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
19708         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19709         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19710         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19711         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19713 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19715         * NEWS: Mention addition of nextup and nextdown.
19716         * manual/arith.texi: Document nextup and nextdown.
19717         * manual/libm-err-tab.pl: Add nextup and nextdown.
19718         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19719         * math/Versions (libm): Add GLIBC_2.24.
19720         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19721         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19722         Add new test.
19723         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19724         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19725         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19726         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19727         (nextup_test_data): Likewise.
19728         (nextdown_test_data): Likewise.
19729         * math/s_nextdown.c: New file.
19730         * math/s_nextdownf.c: Likewise.
19731         * math/s_nextdownl.c: Likewise.
19732         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19733         F(nextup): New function.
19734         F(nextdown): Likewise.
19735         * math/tgmath.h: Add nextup and nextdown.
19736         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19737         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19738         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19739         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19740         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19741         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19742         Add nextup and nextdown.
19743         (CFLAGS-nldbl-nextup.c): New variable.
19744         (CFLAGS-nldbl-nextdown.c): Likewise.
19745         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19746         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19747         * sysdeps/nacl/libm.abilist: Update.
19748         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19749         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19750         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19751         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19752         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19753         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19754         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19755         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19756         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19757         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19758         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19759         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19762         Likewise.
19763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19765         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19766         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19767         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19768         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19769         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19772         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19773         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19774         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19775         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19777 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19779         * manual/pattern.texi: Fix typos & grammar errors.
19781 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19783         * manual/search.texi: Fix typos & grammar errors.
19785 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19787         * manual/message.texi: Fix typos & grammar errors.
19789 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
19791         * manual/contrib.texi: Fix spelling typos.
19792         * manual/crypt.texi: Likewise.
19793         * manual/filesys.texi: Likewise.
19794         * manual/locale.texi: Likewise.
19795         * manual/message.texi: Likewise.
19796         * manual/nss.texi: Likewise.
19797         * manual/string.texi: Likewise.
19799 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19801         * manual/locale.texi: Fix typos & grammar errors.
19803 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19805         * manual/charset.texi: Fix typos & grammar errors.
19807 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19809         * manual/string.texi: Fix typos.
19811 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19813         * manual/ctype.texi: Fix typos.
19815 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19817         * manual/memory.texi: Fix various typos & grammar errors.
19819 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
19821         [BZ #20255]
19822         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
19823         * math/libm-test.inc (fdim_test_data): Add another test.
19825         [BZ #6796]
19826         [BZ #20255]
19827         [BZ #20256]
19828         * math/s_fdim.c: Include <math_private.h>.
19829         (__fdim): Use math_narrow_eval on result.
19830         * math/s_fdimf.c: Include <math_private.h>.
19831         (__fdimf): Use math_narrow_eval on result.
19832         * sysdeps/i386/fpu/s_fdim.S: Remove file.
19833         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19834         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19835         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19836         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19837         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19838         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19839         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19840         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19841         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19842         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19843         * math/libm-test.inc (fdim_test_data): Expect errno setting on
19844         overflow.  Add sNaN tests.
19846         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19847         fpclassify.
19848         * math/s_fdimf.c (__fdimf): Likewise.
19849         * math/s_fdiml.c (__fdiml): Likewise.
19851 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19853         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19854         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19856         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19857         ifunc'ed strcasecmp/strncasecmp.
19858         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19859         [EALIGN]: Removed.
19860         [END]: Likewise.
19861         [__strcasecmp]: Define instead of the above to control symbol name.
19862         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19863         for __strcasecmp_power8.
19864         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19865         for __strncasecmp_power8.
19866         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19867         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19868         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19869         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19870         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19871         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19873 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
19875         [BZ #20252]
19876         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19877         arguments when second argument is a NaN.
19878         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19879         qNaN tests.
19881         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19882         (conj_test_data): Likewise.
19883         (copysign_test_data): Likewise.
19884         (creal_test_data): Likewise.
19885         (fma_test_data): Likewise.
19886         (fmod_test_data): Likewise.
19888         [BZ #20250]
19889         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19890         itself.
19891         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19892         zero input to itself.
19893         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19894         Likewise.
19895         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19896         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19897         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19898         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19899         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19901 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19903         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19904         * nptl/tst-cancel4-common.c: New file.
19905         * nptl/tst-cancel4-common.h: Likewise.
19906         * nptl/tst-cancel4.c: Move common definitions to
19907         tst-cancel4-common.{c,h} file.
19908         * nptl/tst-cancel4_1.c: New test.
19909         * nptl/tst-cancel4_2.c: New test.
19911 2016-06-13  Florian Weimer  <fweimer@redhat.com>
19913         [BZ #20248]
19914         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19915         (write_message): New function.
19916         (stackoverflow_handler): Call it instead of printf, to avoid
19917         excessive stack usage by printf.
19918         (do_test): Restore SIGSEGV, SIGBUS default handlers.
19920 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19922         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19923         (prio_inherit_missing): Remove define.
19924         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19925         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19926         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19927         Likewise.
19928         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19929         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19930         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19931         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19932         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19933         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19935 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19937         [BZ #19670]
19938         [BZ #19672]
19940         * io/test-lfs.c (do_prepare): Use xmalloc.
19941         * io/tst-fcntl.c (do_prepare): Likewise.
19942         * libio/tst-fopenloc.c (do_bz17916): Likewise.
19943         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19944         * login/tst-utmp.c (do_prepare): Likewise.
19945         * posix/tst-exec.c (do_prepare): Likewise.
19946         * posix/tst-pathconf.c (prepare): Likewise.
19947         * posix/tst-spawn.c (do_prepare): Likewise.
19948         * posix/tst-truncate.c (do_prepare): Likewise.
19949         * rt/tst-aio.c (do_prepare): Likewise.
19950         * rt/tst-aio64.c (do_prepare): Likewise.
19952 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19954         [BZ #20237]
19955         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19956         (get*ent): Set entidx to NULL during initialization.  If entidx is
19957         NULL, start iteration from the beginning.
19959 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19961         * malloc/malloc.c (musable): Return correct size for dumped fake
19962         mmapped chunk.
19964 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19966         [BZ #20222]
19967         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19968         (_IO_cookie_write): Likewise.
19969         (_IO_cookie_seek): Likewise.
19970         (_IO_cookie_close): Likewise.
19971         (_IO_old_cookie_seek): Likewise.
19972         (set_callbacks): New function.
19973         (_IO_cookie_init): Call set_callbacks to copy callbacks.
19975 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
19977         * locale/programs/localedef.c (oldstyle_tables): Remove.
19978         * locale/programs/localedef.h (oldstyle_tables): Likewise.
19980 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
19982         [BZ #20240]
19983         * math/Makefile (CFLAGS-s_modf.c): New variable.
19984         (CFLAGS-s_modff.c): Likewise.
19985         (CFLAGS-s_modfl.c): Likewise.
19986         * math/libm-test.inc (modf_test_data): Add sNaN tests.
19988 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
19990         [BZ #20215]
19991         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19992         [!__GNUC_PREREQ (3,2)]: Likewise.
19994 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
19996         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19997         (msghdr.msg_controllen): Likewise.
19998         (cmsghdr.cmsg_len): Likewise.
19999         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20000         ptw-oldsendmsg.
20001         (CFLAGS-oldrecvmsg.c): Remove rule.
20002         (CFLAGS-oldsendmsg.c): Likewise.
20003         (CFLAGS-recvmsg.c): Add rule.
20004         (CFLAGS-sendmsg.c): Likewise.
20005         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20006         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20007         (CFLAGS-recvmsg.c): Remove rule.
20008         (CFLAGS-sendmsg.c): Likewise.
20009         (CFLAGS-oldrecvmsg.c): Likewise.
20010         (CFLAGS-oldsendmsg.c): Likewise.
20011         (CFLAGS-recvmmsg.c): Likewise.
20012         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20013         to kernel defined interfaces.
20014         (msghdr.msg_controllen): Likewise.
20015         (cmsghdr.cmsg_len): Likewise.
20016         (msghdr.__glibc_reserved1): Remove member.
20017         (msghdr.__glibc_reserved2): Likewise.
20018         (cmsghdr.__glibc_reserved1): Likewise.
20019         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20020         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20021         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20022         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20023         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20024         version.
20025         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20026         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20027         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20028         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20029         Remove recvmsg and sendmsg.
20030         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20031         Likewise.
20032         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20033         Likewise.
20034         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20035         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20036         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20037         Likewise.
20038         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20039         Likewise.
20040         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20041         [libc] (GLIBC_2.24): Likewise.
20042         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20043         Likewise.
20044         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20045         Likewise.
20046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20047         [libc] (GLIBC_2.24): Likewise.
20048         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20049         Likewise.
20050         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20051         Likewise.
20052         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20053         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20054         Likewise.
20055         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20056         Likewise.
20057         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20058         Likewise.
20059         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20060         Likewise.
20061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20062         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20063         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20064         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20065         version for {recv,send,recm,sendm}msg.
20066         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20067         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20068         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20069         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20070         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20071         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20072         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20073         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20074         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20075         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20076         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20077         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20079         Likewise.
20080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20081         Likewise.
20082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20084         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20085         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20086         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20087         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20088         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20089         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20092         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20093         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20094         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20096 2016-06-10  Florian Weimer  <fweimer@redhat.com>
20098         [BZ #19564]
20099         Remove __malloc_initialize_hook from the API.
20100         * malloc/malloc.h (__malloc_initialize_hook): Remove.
20101         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20102         #pragma GCC poison.
20103         * malloc/malloc-hooks.h: New file.
20104         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20105         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20106         (old__malloc_initialize_hook): Rename from
20107         __malloc_initialize_hook to evade poisoning.  Turn into compat
20108         symbol.
20109         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20110         __malloc_initialize_hook.
20111         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20112         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20113         * manual/memory.texi (Hooks for Malloc): Remove
20114         __malloc_initialize_hook.  Adjust hook example.
20116 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
20118         [BZ #20235]
20119         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20120         itself.
20121         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20122         * math/libm-test.inc (log2_test_data): Add sNaN tests.
20124         [BZ #20234]
20125         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20126         infinity or NaN input to itself.
20128         [BZ #20233]
20129         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20130         to itself.
20132         [BZ #20232]
20133         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20134         itself.
20136 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20138         * sysdeps/x86_64/start.S (_start): Always indirect branch to
20139         __libc_start_main via GOT.
20141 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20143         * sysdeps/x86_64/memcopy.h: New file.
20144         * sysdeps/x86_64/wordcopy.c: Likewise.
20146 2016-06-09  Florian Weimer  <fweimer@redhat.com>
20148         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20149         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20150         <cstdlib>.
20151         (optimization_barrier): New.
20152         (do_test): Use it.  Call quick_exit in the global namespace.
20153         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20154         instead of <cstdlib>, <thread>.
20155         (optimization_barrier): New.
20156         (non_main_thread): Adjust declaration.  Call optimization_barrier.
20157         Call quick_exit in the global namespace.
20158         (do_test): Call optimization_barrier.  Use pthread_create,
20159         pthread_join instead of std::thread.
20161 2016-06-09  Andreas Schwab  <schwab@suse.de>
20163         [BZ #19755]
20164         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20165         new entries in auto-propagate mode.
20166         * nscd/grpcache.c (cache_addgr): Likewise.
20168 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20170         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20171         New functions.
20172         (add_temp_file): Use them.
20174 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
20176         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20178 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
20180         [BZ #20229]
20181         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20182         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20183         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20185         [BZ #20228]
20186         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20187         itself.
20188         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20189         * math/libm-test.inc (log10_test_data): Add sNaN tests.
20191         [BZ #20227]
20192         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20193         itself.
20194         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20195         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20196         * math/libm-test.inc (log_test_data): Add sNaN tests.
20198         [BZ #20226]
20199         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20200         itself.
20201         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20202         * math/libm-test.inc (exp_test_data): Add sNaN tests.
20203         (exp10_test_data): Likewise.
20204         (expm1_test_data): Likewise.
20206         [BZ #20225]
20207         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20208         itself.
20209         * math/s_ldexpf.c (__ldexpf): Likewise.
20210         * math/s_ldexpl.c (__ldexpl): Likewise.
20211         * math/w_scalbln.c (__w_scalbln): Likewise.
20212         * math/w_scalblnf.c (__w_scalblnf): Likewise.
20213         * math/w_scalblnl.c (__w_scalblnl): Likewise.
20214         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20215         (scalbln_test_data): Likewise.
20217         [BZ #20224]
20218         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20219         argument to itself.
20220         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20222 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20224         [BZ #19776]
20225         * sysdeps/x86_64/memcpy.S: Make it dummy.
20226         * sysdeps/x86_64/mempcpy.S: Likewise.
20227         * sysdeps/x86_64/memmove.S: New file.
20228         * sysdeps/x86_64/memmove_chk.S: Likewise.
20229         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20230         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20231         * sysdeps/x86_64/memmove.c: Removed.
20232         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20233         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20234         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20235         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20236         Likewise.
20237         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20238         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20240         memcpy-sse2-unaligned, memmove-avx-unaligned,
20241         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20243         (__libc_ifunc_impl_list): Replace
20244         __memmove_chk_avx512_unaligned_2 with
20245         __memmove_chk_avx512_unaligned.  Remove
20246         __memmove_chk_avx_unaligned_2.  Replace
20247         __memmove_chk_sse2_unaligned_2 with
20248         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
20249         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
20250         with __memmove_avx512_unaligned.  Replace
20251         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20252         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
20253         with __memcpy_chk_avx512_unaligned.  Remove
20254         __memcpy_chk_avx_unaligned_2.  Replace
20255         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20256         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
20257         Replace __memcpy_avx512_unaligned_2 with
20258         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
20259         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
20260         with __mempcpy_chk_avx512_unaligned.  Remove
20261         __mempcpy_chk_avx_unaligned_2.  Replace
20262         __mempcpy_chk_sse2_unaligned_2 with
20263         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
20264         Replace __mempcpy_avx512_unaligned_2 with
20265         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
20266         Replace __mempcpy_sse2_unaligned_2 with
20267         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
20268         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20269         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20270         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20271         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
20272         (ENTRY): Removed.
20273         (END): Likewise.
20274         (ENTRY_CHK): Likewise.
20275         (libc_hidden_builtin_def): Likewise.
20276         Don't include ../memcpy.S.
20277         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20278         __memcpy_chk_avx512_unaligned_erms and
20279         __memcpy_chk_avx512_unaligned.  Use
20280         __memcpy_chk_avx_unaligned_erms and
20281         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20282         Default to __memcpy_chk_sse2_unaligned.
20283         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20284         Change function suffix from unaligned_2 to unaligned.
20285         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20286         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20287         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20288         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
20289         (ENTRY): Removed.
20290         (END): Likewise.
20291         (ENTRY_CHK): Likewise.
20292         (libc_hidden_builtin_def): Likewise.
20293         Don't include ../mempcpy.S.
20294         (mempcpy): New.  Add a weak alias.
20295         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20296         __mempcpy_chk_avx512_unaligned_erms and
20297         __mempcpy_chk_avx512_unaligned.  Use
20298         __mempcpy_chk_avx_unaligned_erms and
20299         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20300         Default to __mempcpy_chk_sse2_unaligned.
20302 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20304         [BZ #19881]
20305         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20306         into ...
20307         * sysdeps/x86_64/memset.S: This.
20308         (__bzero): Removed.
20309         (__memset_tail): Likewise.
20310         (__memset_chk): Likewise.
20311         (memset): Likewise.
20312         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20313         defined.
20314         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20315         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20316         (__memset_zero_constant_len_parameter): Check SHARED instead of
20317         PIC.
20318         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20319         memset-avx2 and memset-sse2-unaligned-erms.
20320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20321         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20322         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20323         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20324         (__bzero): Enabled.
20325         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20326         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20327         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
20328         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
20329         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20330         (memset): Removed.
20331         (__memset_chk): Likewise.
20332         (MEMSET_SYMBOL): New.
20333         (libc_hidden_builtin_def): Replace __memset_sse2 with
20334         __memset_sse2_unaligned.
20335         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20336         __memset_chk_sse2 and __memset_chk_avx2 with
20337         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20338         Use __memset_chk_sse2_unaligned_erms or
20339         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
20340         __memset_chk_avx512_unaligned_erms and
20341         __memset_chk_avx512_unaligned.
20343 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20345         * math/gen-auto-libm-test.c (fp_format_desc): remove
20346         suffix member.
20347         (output_generic_value): Remove usage of suffix member,
20348         and the resulting unuse of the fp_format argument.
20349         (output_for_one_input_case): Remove unused fp_format
20350         parameter.
20352         * math/auto-libm-test-out: Regenerate.
20354         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20355         usage with TEST_COND_ibm128.
20356         (TEST_COND_flt_32): Remove.
20357         (TEST_COND_dbl_64): Remove.
20358         (TEST_COND_ldbl_96_intel): Remove.
20359         (TEST_COND_ldbl_96_m68k): Remove.
20360         (TEST_COND_ldbl_128): Remove.
20362 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20364         * auto-libm-test-in:
20365         Replace flt-32 usage with binary32.
20366         Replace dbl-64 usage with binary64.
20367         Replace ldbl-intel-96 usage with intel96.
20368         Replace ldbl-m68k-96 usage with m68k96.
20369         Replace ldbl-128ibm usage with ibm128.
20370         Replace ldbl-128 usage with binary128.
20372         * auto-libm-test-out: Regenerate.
20374 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20376         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20377         (parse_ulps): Dynamically generate type name matching
20378         string from all_floats.
20379         (get_ulps): Generate the ulps as an array instead.
20380         (output_ulps): Dynamically compose the type based
20381         on the number of supported formats, and print
20382         the indices as type specific helper macros.
20384         * math/libm-test.inc: Remove comment about CHOOSE.
20385         (ulp_data): Generate the type in libm-test-ulps.h.
20386         (ULP_IDX): New macro.
20387         (find_ulps): Update usage of max_ulp.
20389         * math/test-double-vlen2.h (CHOOSE): Remove.
20390         * math/test-double-vlen4.h (CHOOSE): Likewise.
20391         * math/test-double-vlen8.h (CHOOSE): Likewise.
20392         * math/test-float.c (CHOOSE): Likewise.
20393         * math/test-float-finite.c (CHOOSE): Likewise.
20394         * math/test-double.c (CHOOSE): Likewise.
20395         * math/test-double-finite.c (CHOOSE): Likewise.
20396         * math/test-idouble.c (CHOOSE): Likewise.
20397         * math/test-ifloat.c (CHOOSE): Likewise.
20398         * math/test-ildoubl.c (CHOOSE): Likewise.
20399         * math/test-ldouble-finite.c (CHOOSE): Likewise.
20400         * math/test-ldouble.c (CHOOSE): Likewise.
20402         * math/test-float.h (TEST_FLOAT): Remove.
20403         * math/test-double.h (TEST_DOUBLE): Likewise.
20404         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20406 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20408         * math/gen-libm-test.pl: (apply_lit): New subroutine.
20409         (parse_args): Strip C suffix from floating point literals
20410         typed with 'f' and wrap them with LIT().
20412         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20413         (test_ff_f_data_nexttoward): Rename to
20414         (test_fj_f_data): New struct.
20415         (nexttoward_test_data): Relabel tests as
20416         TEST_fj_f instead of TEST_ff_f.
20418 2016-06-08  Florian Weimer  <fweimer@redhat.com>
20420         Emacs bug 23726.
20421         * malloc/malloc.c (dumped_main_arena_start): Update comment.
20422         (__libc_realloc): Correct size computation for dumped fake mmapped
20423         chunks.
20425 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
20427         [BZ #20219]
20428         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20429         to itself.
20430         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20432         [BZ #20218]
20433         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20434         to itself.
20435         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20437 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
20439         [BZ #20195]
20440         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20441         check to ...
20442         (init_cpu_features): Here.
20444 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
20446         [BZ #20214]
20447         * sysdeps/unix/sysv/linux/bits/in.h
20448         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20449          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20450         Define to 1.
20451         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20452          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20453         Define to 0.
20454         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20455         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20457 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
20459         [BZ #20198]
20460         * stdlib/Makefile (tests): Add tst-quick_exit, and
20461         tst-thread-quick_exit.
20462         [ifeq ($(have-cxx-thread_local),yes)]
20463         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20464         (CFLAGS-tst-thread-quick_exit.o): Likewise.
20465         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20466         (LDLIBS-tst-thread-quick_exit): Likewise.
20467         [ifneq ($(have-cxx-thread_local),yes)]
20468         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20469         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20470         If run_dtors is true call __call_tls_dtors.
20471         (exit): Call __run_exit_handlers with run_dtors set to true.
20472         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20473         definition.
20474         * stdlib/quick_exit.c (quick_exit): Remove function.
20475         (__new_quick_exit): New function.
20476         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20477         function.
20478         * stdlib/tst-quick_exit.cc: New file.
20479         * stdlib/tst-thread-quick_exit.cc: New file.
20480         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20481         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20482         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20483         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20484         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20485         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20486         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20487         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20488         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20489         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20490         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20491         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20492         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20493         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20494         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20495         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20500         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20501         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20502         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20503         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20504         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20507         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20508         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20509         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20511 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20513         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20514         a typo in comments.
20516 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20518         [BZ #20213]
20519         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20520         argument to itself.
20521         * math/libm-test.inc (asin_test_data): Add sNaN tests.
20523 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20525         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20526         required flags.
20527         (CFLAGS-pwritev64.c): Likewise.
20528         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20530         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20531         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20532         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20533         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20534         syscall from auto-generation.
20535         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20536         [WORDSIZE == 64] (pwritev64): Remove macro.
20537         [!PWRITEV] (PWRITEV): Likewise.
20538         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20539         [!PWRITEV] (PWRITE): Likewise.
20540         [!PWRITEV] (OFF_T): Likewise.
20541         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20542         (LO_HI_LONG): Remove macro.
20543         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20544         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20545         (PWRITEV): Remove macro.
20546         (PWRITEV_REPLACEMENTE): Likewise.
20547         (PWRITE): Likewise.
20548         (OFF_T): Likewise.
20549         (pwritev64): New function.
20550         * nptl/tst-cancel4.c (tf_writev): Add test.
20552         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20553         required flags.
20554         (CFLAGS-preadv64.c): Likewise.
20555         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20556         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20557         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20558         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20559         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20560         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20561         syscall from auto-generation.
20562         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20563         [WORDSIZE == 64] (preadv64): Remove macro.
20564         [!PREADV] (PREADV): Likewise.
20565         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20566         [!PREADV] (PREAD): Likewise.
20567         [!PREADV] (OFF_T): Likewise.
20568         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20569         (LO_HI_LONG): Remove macro.
20570         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20571         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20572         (PREADV): Remove macro.
20573         (PREADV_REPLACEMENTE): Likewise.
20574         (PREAD): Likewise.
20575         (OFF_T): Likewise.
20576         (preadv64): New function.
20577         * nptl/tst-cancel4.c (tf_preadv): Add test.
20579 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20581         [BZ #20212]
20582         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20583         argument to itself.
20584         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20586 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20588         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20589         New symbol defined as libc_hidden_def.
20590         (strcasestr): Became a weak alias to __strcasestr.
20591         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20592         according to multi-arch support.  Move __stpncpy hidden
20593         definition from here to...
20594         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20595         symbol stpncpy.
20596         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20597         libc_hidden_builtin_def.
20598         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20599         memset symbol to use when multi-arch support is available.
20601 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20603         * dlfcn/tst-rec-dlopen.c: Include string.h.
20605 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20607         * manual/install.texi: Remove mention of --without-tls
20608         * INSTALL: Regenerate.
20610 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20612         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20613         Remove.
20614         (call_function, interposed_malloc_called): New variables.
20615         (malloc): New function.
20616         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20617         and clear call_function as needed.
20619 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20621         * include/wchar.h (__wmemset): Use __typeof.
20623 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
20625         * include/wchar.h (__wmemset): Declare function without typeof.
20627 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
20629         [BZ #20205]
20630         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20631         exponent when incrementing negative subnormal with low mantissa
20632         word zero.
20633         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20634         Add another test.
20636 2016-06-03  Florian Weimer  <fweimer@redhat.com>
20638         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20639         __wmemset instead of wmemset.
20641 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
20643         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20644         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20645         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20646         __USE_KERNEL_IPV6_DEFS to 0.
20647         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20648         Update comment.
20650 2016-06-01  Florian Weimer  <fweimer@redhat.com>
20652         [BZ #19861]
20653         Do not use IFUNC resolver with potentially unrelocated symbol.
20654         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20655         (DEFINE_FORK): Remove macro and inline definition.
20656         (fork_alias): Renamed from fork_ifunc.
20657         (__fork_alias): Renamed from __fork_ifunc.
20659 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
20661         [BZ 19653]
20662         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20663         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20665 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20667         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20668         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20669         i386-linux-gnu).
20670         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20671         Set to no.
20672         * sysdeps/mach/hurd/configure: Refresh.
20674 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20676         [BZ #20178]
20677         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20678         on failure instead of exit.
20680 2016-05-30  Roland McGrath  <roland@hack.frob.com>
20682         [BZ #3629]
20683         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20684         of POSIX.1-2008.
20686 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20688         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20689           Use PLT entry for calling _hurd_self_sigstate.
20691 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
20693         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20694         available logical processors with SMT level type sharing L2
20695         cache for Intel processors.
20697 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20699         [BZ #20160]
20700         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20701         argument to itself before returning the result.
20702         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20703         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20704         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20705         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20706         Likewise.
20707         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20708         Likewise.
20709         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20710         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20711         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20712         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20713         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20714         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20716         [BZ #20160]
20717         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20718         argument to itself before returning the result.
20719         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20720         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20721         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20722         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20723         Likewise.
20724         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20725         Likewise.
20726         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20727         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20728         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20729         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20730         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20731         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20733 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20735         * libm-test.inc: Replace usage of M_El with
20736         (lit_e): New macro.
20738 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20740         * libm-test.inc: Replace usage of M_PI_4l with
20741         (lit_pi_4_d): New macro.
20743 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20745         * libm-test.inc: Replace usage of M_PIl with
20746         (lit_pi): New macro.
20748 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20750         * libm-test.inc: Replace usage of M_PI2l with
20751         (lit_pi_2_d): New macro.
20753         * math/test-double.h (LITM): New macro.
20754         * math/test-float.h (LITM): Likewise.
20755         * math/test-ldouble.h (LITM): Likewise.
20757 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20759         * libm-test.inc (M_PI_34l): Rename to
20760         (lit_pi_3_m_4_d): New Macro.
20761         (M_PI_34_LOG10El): Rename to
20762         (lit_pi_3_m_4_ln10_m_d): New Macro.
20763         (M_PI2_LOG10El): Rename to
20764         (lit_pi_2_ln10_m_d):  New Macro.
20765         (M_PI4_LOG10El): Rename to
20766         (lit_pi_4_ln10_m_d):  New Macro.
20767         (M_PI_LOG10El): Rename to
20768         (lit_pi_ln10_d):  New Macro.
20770 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20772         [BZ #20157]
20773         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20774         determine whether to negate low half if [_ARCH_PPCGR], and integer
20775         comparison otherwise.
20776         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20777         determine whether to negate low half.
20779         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20780         (NO_TEST_INLINE_DOUBLE): Likewise.
20781         (TEST_COND_x86_64): Likewise.
20782         (TEST_COND_x86): Likewise.
20783         (M_PI_6l): Likewise.
20785 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20787         * math/libm-test.inc:
20788         (TEST_FLOAT): Change usage to TEST_COND_binary32.
20789         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20790         (TEST_LDOUBLE): Update usage to evaluate as true if
20791         the guarded tests match the property being tested.
20792         (LDBL_MAX_EXP): Change to MAX_EXP.
20793         (LDBL_MIN_EXP): Change to MIN_EXP.
20794         (LDBL_MANT_DIG): Change to MANT_DIG, except for
20795         nexttoward tests.
20797 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20799         * math/libm-test.inc:
20800         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20801         (TYPE_MIN): Likewise.
20802         (TYPE_TRUE_MIN): Likewise.
20803         (TYPE_MAX): Likewise.
20804         (MIN_EXP): Likewise.
20805         (MAX_EXP): Likewise.
20806         (MANT_DIG): Likewise.
20808         (FSTR_MAX): New macro.
20809         (__CONCATX): Likewise.
20810         (QTYPE_STR): Likewise.
20811         (TEST_COND_binary32): Likewise.
20812         (TEST_COND_binary64): Likewise.
20813         (TEST_COND_binary128): Likewise.
20814         (TEST_COND_ibm128): Likewise.
20815         (TEST_COND_intel96): Likewise.
20816         (TEST_COND_m68k96): Likewise.
20818         (TEST_COND_flt_32): Redefine as equivalent format test macro.
20819         (TEST_COND_dbl_64): Likewise.
20820         (TEST_COND_ldbl_96_intel): Likewise.
20821         (TEST_COND_ldbl_96_m68k): Likewise.
20822         (TEST_COND_ldbl_128): Likewise.
20823         (TEST_COND_ldbl_128ibm): Likewise.
20825         (plus_zero): Redefine using LIT macro.
20826         (minus_zero): Likewise.
20827         (plus_infty): Redefine as (INF).
20828         (minux_infty): Redefine as (-INF).
20829         (max_value): Redefine as TYPE_MAX.
20830         (min_value): Redefine as TYPE_MIN.
20831         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20833         (print_float): Refactor to use snprintf to convert FLOAT values
20834         to string. This brings it closer to dropin replacement of strtof
20835         for the TS 18661 defined types.
20836         (update_stats): Likewise.
20837         (print_complex_function_ulps): Likewise.
20838         (print_max_error): Likewise.
20839         (print_complex_max_error): Likewise.
20840         (check_float_internal): Likewise.
20842         * math/test-float.h (PREFIX): New macro.
20843         (LIT): Likewise.
20844         (TYPE_STR): Likewise.
20845         (FTOSTR): Likewise.
20847         * math/test-double.h (PREFIX): New macro.
20848         (LIT): Likewise.
20849         (TYPE_STR): Likewise.
20850         (FTOSTR): Likewise.
20852         * math/test-ldouble.h (PREFIX): New macro.
20853         (LIT): Likewise.
20854         (TYPE_STR): Likewise.
20855         (FTOSTR): Likewise.
20857 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20859         [BZ #20156]
20860         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20861         to itself when zero or not finite.
20862         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20863         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20864         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20865         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20867 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
20869         [BZ #20153]
20870         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20871         x * x + x for infinities and NaNs.
20873         [BZ #20151]
20874         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20875         argument to itself before returning result.
20876         (__ieee754_y0l): Likewise.
20877         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20878         (__ieee754_y1l).
20880         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20881         (atan_test_data): Likewise.
20882         (ceil_test_data): Likewise.
20883         (cos_test_data): Likewise.
20884         (cosh_test_data): Likewise.
20885         (erf_test_data): Likewise.
20886         (exp2_test_data): Likewise.
20887         (fabs_test_data): Likewise.
20888         (floor_test_data): Likewise.
20889         (ilogb_test_data): Likewise.
20890         (j0_test_data): Likewise.
20891         (j1_test_data): Likewise.
20892         (jn_test_data): Likewise.
20893         (lgamma_test_data): Likewise.
20894         (lrint_test_data): Likewise.
20895         (llrint_test_data): Likewise.
20896         (logb_test_data): Likewise.
20897         (lround_test_data): Likewise.
20898         (llround_test_data): Likewise.
20899         (nearbyint_test_data): Likewise.
20900         (rint_test_data): Likewise.
20901         (round_test_data): Likewise.
20902         (sin_test_data): Likewise.
20903         (sincos_test_data): Likewise.
20904         (sinh_test_data): Likewise.
20905         (sqrt_test_data): Likewise.
20906         (tan_test_data): Likewise.
20907         (tanh_test_data): Likewise.
20908         (tgamma_test_data): Likewise.
20909         (trunc_test_data): Likewise.
20910         (y0_test_data): Likewise.
20911         (y1_test_data): Likewise.
20912         (yn_test_data): Likewise.
20914         * math/libm-test.inc: Update comment about NaN testing.
20915         (TEST_SNAN): New macro.
20916         (snan_value): Likewise.
20917         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20918         (fpclassify_test_data): Add sNaN tests.
20919         (isfinite_test_data): Likewise.
20920         (isinf_test_data): Likewise.
20921         (isnan_test_data): Likewise.
20922         (isnormal_test_data): Likewise.
20923         (issignaling_test_data): Likewise.
20924         (signbit_test_data): Likewise.
20925         * math/gen-libm-test.pl (%beautify): Add snan_value.
20926         (show_exceptions): Add argument $test_snan.
20927         (parse_args): Handle snan_value as non-finite.  Update call to
20928         show_exceptions.
20929         * math/Makefile (libm-test-no-inline-cflags): Add
20930         -fsignaling-nans.
20932 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20934         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20935         (CFLAGS-oldsendmsg.c): Add rule.
20936         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20937         Correct recvmsg symbol name.
20938         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20939         Likewise.
20941 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20943         * sysdeps/unix/sysv/linux/Makefile
20944         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20945         oldsendmmsg.
20946         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20947         sendmmsg.
20948         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20949         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20950         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20951         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20953         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20954         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20956         Likewise.
20957         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20958         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20959         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20960         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20961         iovlen and controllen fields to adjust to POSIX specification.
20962         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20964         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20965         and change to correct expected type.
20966         (msghdr.msg_controllen): Likewise.
20967         (cmsghdr.cmsg_len): Likewise.
20968         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20969         expected POSIX assumption about the size.
20970         (msghdr.msg_controllen): Likewise.
20971         (msghdr.__glibc_reserved1): Likewise.
20972         (msghdr.__glibc_reserved2): Likewise.
20973         (cmsghdr.cmsg_len): Likewise.
20974         (cmsghdr.__glibc_reserved1): Likewise.
20975         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20976         Add ptw-oldrecvmsg and ptw-oldsendmsg.
20977         (CFLAGS-sendmsg.c): Remove rule.
20978         (CFLAGS-recvmsg.c): Likewise.
20979         (CFLAGS-oldsendmsg.c): Add rule.
20980         (CFLAGS-oldrecvmsg.c): Likewise.
20981         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20982         recvmsg and sendmsg.
20983         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20984         Likewise.
20985         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20986         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20987         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20988         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20989         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20990         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20991         Likewise.
20992         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20993         Likewise.
20994         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20995         Likewise.
20996         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20997         Likewise.
20998         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20999         Likewise.
21000         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21001         Likewise.
21002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21003         (GLIBC_2.24): Likewise.
21004         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21005         Likewise.
21006         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21007         Likewise.
21008         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21009         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21010         Likewise.
21011         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21012         Likewise.
21013         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21014         Likewise.
21015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21016         (GLIBC_2.24): Likewise.
21017         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21018         Likewise.
21019         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21020         Likewise.
21021         * sysdeps/unix/sysv/linux/Makefile
21022         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21023         (CFLAGS-sendmsg.c): Add rule.
21024         (CFLAGS-recvmsg.c): Likewise.
21025         (CFLAGS-oldsendmsg.c): Likewise.
21026         (CFLAGS-oldrecvmsg.c): Likewise.
21027         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21028         initialization.
21029         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21030         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21031         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21032         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21033         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21034         iovlen and controllen fields to adjust to POSIX specification.
21035         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21036         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21037         added recvmsg and sendmsg.
21038         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21039         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21040         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21041         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21042         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21043         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21044         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21045         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21046         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21047         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21048         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21049         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21051         Likewise.
21052         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21054         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21055         Likewise.
21056         Likewise.
21057         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21058         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21059         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21060         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21061         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21062         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21064         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21066         Likewise.
21067         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21068         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21070         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21071         from auto-generation.
21072         (sendmsg): Likewise.
21073         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21074         (sendmsg): Likewise.
21075         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21076         (sendmsg): Likewise.
21077         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21078         (sendmsg): Likewise.
21079         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21080         (sendmsg): Likewise.
21081         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21082         (sendmsg): Likewise.
21083         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21084         Likewise.
21085         (sendmsg): Likewise.
21086         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21087         (sendmsg): Likewise.
21088         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21089         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21090         Remove.
21091         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21092         Likewise.
21093         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21094         Undefine.
21095         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21096         Likewise.
21097         * sysdeps/unix/sysv/linux/kernel-features.h
21098         (__ASSUME_SENDMSG_SYSCALL): Define.
21099         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21100         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21101         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21102         Remove.
21103         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21104         Likewise.
21105         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21106         Undefine.
21107         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21108         Likewise.
21109         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21110         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21111         Remove.
21112         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21113         Likewise.
21114         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21115         Undefine.
21116         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21117         Likewise.
21118         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21119         (__ASSUME_SENDMSG_SYSCALL): Undefine.
21120         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21121         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21122         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21123         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21124         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21125         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21126         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21128 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21130         * stdlib/gen-tst-strtod-round.c: Add backslash to
21131         compile command in comment.
21132         (printfp): Remove the literal suffix, and define an infinite
21133         value as INF to avoid expansion clash with INFINITY.
21134         (round_str): Remove the literal suffix.
21135         (round_for_all): Likewise, remove the now duplicate ldbl-64
21136         entry, and remove some magic constants.
21138         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21139         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
21140         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21141         (_CONCAT): New macro.
21142         (CONCAT): Likewise.
21143         (CHOOSE_ld): Likewise.
21144         (CHOOSE_f): Likewise.
21145         (CHOOSE_d): Likewise.
21146         (FTYPE_MEMBER): Likewise.
21147         (BOOL_MEMBER): Likewise.
21148         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21149         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21150         (_XNTRY): Likewise.
21151         (XNTRY): Likewise.
21152         (_ENTRY): Likewise.
21153         (ENTRY): Likewise.
21154         (test_exactness): Generate members via macro.
21155         (test_results): Likewise.
21156         (test): Update members.
21157         (TEST): Redefine using new macros.
21158         (INF): New macro.
21159         (fetestmodes): New structure.
21160         (do_test): Refactor to be type generic.
21161         (test_in_one_mode): Refactor duplicate code into
21162         (GEN_ONE_TEST): New macro.
21164         * stdlib/tst-strtod-round-data.h: Regenerate.
21166         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21167         Extend to pass additional arbitrary parameters to
21168         generators.
21170 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
21172         [BZ #15479]
21173         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21174         floating-point state after first floating-point operation on
21175         input.  Restore full floating-point state instead of just rounding
21176         mode.
21177         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21178         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21179         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21180         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21181         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21183         [BZ #15479]
21184         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21185         floating-point state after first floating-point operation on
21186         input.  Restore full floating-point state instead of just rounding
21187         mode.
21188         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21189         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21190         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21191         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21192         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21194 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21196         [BZ #19727]
21197         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21198         valid high surrogate.
21199         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21200         of an utf16 surrogate.
21201         * iconv/gconv_simple.c (BODY): Likewise.
21202         * iconvdata/bug-iconv12.c: New file.
21203         * iconvdata/Makefile (tests): Add bug-iconv12.
21205 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21207         [BZ #19726]
21208         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21209         outptrp in case of an illegal input.
21210         * iconv/tst-iconv6.c: New file.
21211         * iconv/Makefile (tests): Add tst-iconv6.
21213 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21215         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21216         an error in case of a value in range of an utf16 low surrogate.
21218 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21220         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21221         an error in case of a value in range of an utf16 low surrogate.
21223 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21225         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21226         Move to ...
21227         * sysdeps/s390/Makefile: ... here.
21228         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21229         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21230         (BRANCH_ON_COUNT): New define.
21231         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21232         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21233         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21234         run on s390-32, too.
21235         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21236         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21237         run on s390-32, too.
21238         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21239         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21240         run on s390-32, too.
21242 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21244         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21245         etf3eh or new vector loop-variant.
21247 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21249         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21250         etf3eh or new vector loop-variant.
21252 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21254         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21255         or new vector loop-variant.
21257 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21259         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21260         Rename to TR_LOOP and usage of tr instead of troo instruction.
21262 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21264         * sysdeps/s390/multiarch/gconv_simple.c: New File.
21265         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21267 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21269         * sysdeps/s390/multiarch/8bit-generic.c: New File.
21270         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21271         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21272         New override define.
21273         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21275 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21277         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21278         * sysdeps/s390/configure.ac: Add test for S390 vector register
21279         support in gcc.
21280         * sysdeps/s390/configure: Regenerated.
21282 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21284         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21285         Install file from $(objpfx)gconv-modules.
21286         ($(objpfx)gconv-modules): Concatenate architecture specific file
21287         in variable sysdeps-gconv-modules and gconv-modules in src dir.
21288         * sysdeps/s390/gconv-modules: New file.
21289         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21290         Deleted.
21291         ($(objpfx)gconv-modules-s390): Deleted.
21292         (sysdeps-gconv-modules): New variable.
21294 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21296         [BZ #15479]
21297         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21298         of immediate operand to rounding instruction.
21299         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21300         Likewise.
21301         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21302         Likewise.
21303         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21304         Likewise.
21306 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21308         * math/libm-test.inc (MIN_EXP): Directly define as
21309         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21311 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21313         * math/libm-test.inc (MANT_DIG): Directly define as
21314         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21316 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21318         * stdlib/gen-tst-strtod-round.c (main):
21319           Change usage to more closely match the generated
21320           output.  Add usage and compilation instructions.
21321           (string_to_fp): Add and use FILE* parameter as
21322           output target.
21323           (print_fp): Likewise.
21324           (round_str): Likewise.
21325           (round_for_all): Likewise.
21326         * stdlib/tst-strtod-round.c (tests): Move into
21327         * stdlib/tst-strtod-round-data.h: New file.
21329 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21331         [BZ #15479]
21332         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21333         (__round): Do not force "inexact" exception.
21334         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21335         variable.
21336         (__round): Do not force "inexact" exception.
21337         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21338         (__roundf): Do not force "inexact" exception.
21339         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21340         (__roundl): Do not force "inexact" exception.
21341         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21342         (__roundl): Do not force "inexact" exception.
21343         * math/libm-test.inc (round_test_data): Do not allow spurious
21344         "inexact" exceptions.
21346         [BZ #15479]
21347         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21348         exception in comment.
21349         (huge): Remove variable.
21350         (__floor): Do not force "inexact" exception.
21351         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21352         "inexact" exception in comment.
21353         (huge): Remove variable.
21354         (__floor): Do not force "inexact" exception.
21355         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21356         exception in comment.
21357         (huge): Remove variable.
21358         (__floorf): Do not force "inexact" exception.
21359         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21360         exception in comment.
21361         (huge): Remove variable.
21362         (__floorl): Do not force "inexact" exception.
21364         [BZ #15479]
21365         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21366         exception in comment.
21367         (huge): Remove variable.
21368         (__ceil): Do not force "inexact" exception.
21369         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21370         "inexact" exception in comment.
21371         (huge): Remove variable.
21372         (__ceil): Do not force "inexact" exception.
21373         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21374         (__ceilf): Do not force "inexact" exception.
21375         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21376         exception in comment.
21377         (huge): Remove variable.
21378         (__ceill): Do not force "inexact" exception.
21380 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21382         * config.h.in (BIND_NOW): New.
21383         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
21384         * configure: Regenerated.
21385         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21386         indirect branch via the GOT slot.
21388 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21390         [BZ #19765]
21391         * sysdeps/s390/mempcpy.S: New File.
21392         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21393         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21394         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21395         Add mempcpy variants.
21396         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21397         (memcpy): Adjust to be usable from mempcpy entry point.
21398         (__memcpy_mvcle): Likewise.
21399         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21400         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21401         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21402         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21403         (__memcpy_z10): Likewise.
21404         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21406 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21408         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21409         Remove __GI_ symbol.
21410         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21411         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21412         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21413         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21414         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21415         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21417 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21419         * sysdeps/s390/s390-64/memcpy.S (memcpy):
21420         Use cghi instead of chi to compare 64bit value.
21422 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21424         * sysdeps/s390/s390-32/memcpy.S (memcpy):
21425         Jump to 1MB check before executing mvc-loop.
21427 2016-05-24  Florian Weimer  <fweimer@redhat.com>
21429         [BZ #6527]
21430         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21431         unconditionally.
21432         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21434 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21436         * stdlib/tst-strtod6.c (do_test): Use new type generic
21437         invocation of the test function.
21438         (test): Refactor into ...
21439         (TEST_STRTOD): New macro base function.
21441 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21443         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21444         (TEST_STRTOD): New macro.
21445         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21447 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21449         * stdlib/tst-strtod6.c (do_test): Use new type generic
21450         invocation of the test function.
21451         (test): Refactor into ...
21452         (TEST_STRTOD): New macro base function.
21454 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21456         CVE-2016-4429
21457         [BZ #20112]
21458         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21459         payload.
21461 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21463         [BZ #20111]
21464         * bits/sockaddr.h (_SS_SIZE): Define.
21465         * bits/socket.h (_SS_SIZE): Remove.
21466         (_SS_PADSIZE): Adjust to account for all padding.
21467         (struct sockaddr_storage): Update comment.  Avoid implicit
21468         padding.
21469         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21470         (_SS_PADSIZE): Adjust to account for all padding.
21471         (struct sockaddr_storage): Update comment.  Avoid implicit
21472         padding.
21473         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21474         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21475         (_SS_PADSIZE): Adjust to account for all padding.
21476         (struct sockaddr_storage): Update comment.  Avoid implicit
21477         padding.
21478         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21479         __SS_SIZE is 126 in this version.
21480         * inet/tst-sockaddr.c: New file.
21481         * inet/Makefile (tests): Add tst-sockaddr.c
21482         (tst-sockaddr.c): Compile with non-strict aliasing.
21484 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
21486         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21487         [XPG3 || XPG4].
21488         (NL_ARGMAX): Also expect for [XPG3].
21489         (NL_LANGMAX): Likewise.
21490         (NL_MSGMAX): Likewise.
21491         (NL_NMAX): Likewise.
21492         (NL_SETMAX): Likewise.
21493         (NL_TEXTMAX): Likewise.
21494         (NZERO): Likewise.
21495         (TMP_MAX): Likewise.
21496         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21497         variable.
21499         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21500         (PF_MAX): Update value.
21501         (AF_KCM): New macro.
21502         (SOL_NETBEUI): Likewise.
21503         (SOL_LLC): Likewise.
21504         (SOL_DCCP): Likewise.
21505         (SOL_NETLINK): Likewise.
21506         (SOL_TIPC): Likewise.
21507         (SOL_RXRPC): Likewise.
21508         (SOL_PPPOL2TP): Likewise.
21509         (SOL_BLUETOOTH): Likewise.
21510         (SOL_PNPIPE): Likewise.
21511         (SOL_RDS): Likewise.
21512         (SOL_IUCV): Likewise.
21513         (SOL_CAIF): Likewise.
21514         (SOL_ALG): Likewise.
21515         (SOL_NFC): Likewise.
21516         (SOL_KCM): Likewise.
21517         (MSG_BATCH): New enum value and macro.
21519 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
21521         [BZ #18185]
21522         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21523         sharing L2 cache to 2 for Knights Landing.
21525 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
21527         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21528         (FTW_DP): Do not expect for [XPG3 || XPG4].
21529         (FTW_SL): Do not expect for [XPG3].
21530         (FTW_SLN): Likewise.
21531         (FTW_PHYS): Likewise.
21532         (FTW_MOUNT): Likewise.
21533         (FTW_DEPTH): Likewise.
21534         (FTW_CHDIR): Likewise.
21535         (nftw): Likewise.
21536         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21537         variable.
21539 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21541         * manual/errno.texi: Fix various typos & grammar errors.
21543 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21545         * manual/intro.texi: Fix duplicated typo.
21547 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21549         [BZ #13304]
21550         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21551         <float.h>, <math_private.h> and <stdlib.h>.
21552         (add_split): New function.
21553         (mul_split): Likewise.
21554         (ext_val): New typedef.
21555         (store_ext_val): New function.
21556         (mul_ext_val): New function.
21557         (compare): New function.
21558         (add_split_ext): New function.
21559         (__fmal): After checking for Inf, NaN and zero, compute result as
21560         an exact sum of scaled double values in round-to-nearest before
21561         adding those up and adjusting for other rounding modes.
21562         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21563         tests of fma.
21564         * math/auto-libm-test-out: Regenerated.
21566 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21568         [BZ #20119]
21569         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21570         processor level type mask for CPUID with EAX == 11.
21572 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21574         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21575         logical threads if the HTT bit is 0.
21576         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21577         (index_cpu_HTT): Likewise.
21578         (reg_HTT): Likewise.
21580 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21582         [BZ #20115]
21583         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21584         Remove alignments on jump targets.
21586 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21588         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21589         (getpwent): Likewise.
21590         (setpwent): Likewise.
21591         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21592         variable.
21594         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21595         (remque): Likewise.
21596         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21597         variable.
21599 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21601         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21602         not being tested.
21604 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21606         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21607         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21608         call.
21609         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21610         (__condvar_cleanup1): Likewise.
21612 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21614         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21615         New
21616         (__pthread_unwind): Renamed to ...
21617         (PTHREAD_UNWIND): This.
21618         (__pthread_enable_asynccancel): Replace
21619         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21621 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21623         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21624         (CLONE_NEWCGROUP): New macro.
21626         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21627         (Q_GETNEXTQUOTA): New macro.
21629 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21631         [BZ #19907]
21632         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21633         buffer updated by the previous run.
21634         * string/test-memcpy.c (do_one_test): Likewise.
21635         * benchtests/bench-memmove.c (do_one_test): Add a comment.
21636         * string/test-memmove.c (do_one_test): Likewise.
21638 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
21640         [BZ #20094]
21641         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21642         not [__USE_XOPEN].
21643         (unlockpt): Likewise.
21644         (ptsname): Likewise.
21645         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21646         variable.
21648         [BZ #20076]
21649         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21650         instead of [__USE_UNIX98].
21651         (S_ISSOCK): Likewise.
21652         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21653         variable.
21655         [BZ #20074]
21656         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21657         [__USE_POSIX].
21658         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21659         variable.
21661         [BZ #20051]
21662         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21663         (ttyslot): Do not declare.
21664         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21665         (ttyslot): New prototype.
21666         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21667         variable.
21668         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21670 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21672         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21674 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21676         Fix race condition in tst-mallocfork2, use fewer resources.
21677         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21678         to current process group.
21679         (signal_sender): Yield in the non-sleeping case.
21681 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
21683         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21684         (ecvt): Likewise.
21685         (fcvt): Likewise.
21686         (gcvt): Likewise.
21687         (getsubopt): Likewise.
21688         (grantpt): Likewise.
21689         (initstate): Likewise.
21690         (l64a): Likewise.
21691         (mktemp): Likewise.
21692         (mkstemp): Likewise.
21693         (ptsname): Likewise.
21694         (random): Likewise.
21695         (realpath): Likewise.
21696         (setstate): Likewise.
21697         (srandom): Likewise.
21698         (ttyslot): Likewise.
21699         (unlockpt): Likewise.
21700         (valloc): Likewise.
21702         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21703         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21704         variable.
21706 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21708         [BZ #20072]
21709         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21710         init_cpu_features only if SHARED is defined.
21711         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21713 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21715         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21716         non-inclusive caches on Intel processors.
21718 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21720         * malloc/malloc.c (dumped_main_arena_start)
21721         (dumped_main_arena_end): New variables.
21722         (DUMPED_MAIN_ARENA_CHUNK): New macro.
21723         (do_check_chunk): Skip dumped fake mmapped chunks.
21724         (munmap_chunk): Likewise.
21725         (__libc_free): Do not adjust statistics for fake mmapped chunks.
21726         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
21727         mmapped chunks.
21728         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21729         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
21730         and dumped_main_arena_end to cover the dumped heap.
21732 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
21734         * conform/data/time.h-data (getdate_err): Do not expect for
21735         [XPG3].
21736         (getdate): Likewise.
21737         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21738         variable.
21740         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21741         (F_ULOCK): Likewise.
21742         (F_TEST): Likewise.
21743         (F_TLOCK): Likewise.
21744         (useconds_t): Likewise.
21745         (intptr_t): Do not expect for [XPG3] or [XPG4].
21746         (brk): Do not expect for [XPG3]
21747         (fchown): Likewise.
21748         (fchdir): Likewise.
21749         (ftruncate): Likewise.
21750         (getdtablesize): Likewise.
21751         (gethostid): Likewise.
21752         (getpagesize): Likewise.
21753         (getpgid): Likewise.
21754         (getsid): Likewise.
21755         (getwd): Likewise.
21756         (lchown): Likewise.
21757         (lockf): Likewise.
21758         (readlink): Likewise.
21759         (sbrk): Likewise.
21760         (setpgrp): Likewise.
21761         (setregid): Likewise.
21762         (setreuid): Likewise.
21763         (symlink): Likewise.
21764         (sync): Likewise.
21765         (truncate): Likewise.
21766         (ualarm): Likewise.
21767         (usleep): Likewise.
21768         (vfork): Likewise.
21769         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21770         variable.
21772         [BZ #20054]
21773         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21774         not [__USE_UNIX98].
21775         * conform/data/unistd.h-data (gethostname): Do not expect for
21776         [XPG3].
21778         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21779         [!POSIX] (S_IFBLK): Likewise.
21780         [!POSIX] (S_IFCHR): Likewise.
21781         [!POSIX] (S_IFIFO): Likewise.
21782         [!POSIX] (S_IFREG): Likewise.
21783         [!POSIX] (S_IFDIR): Likewise.
21784         [!POSIX] (S_IFLNK): Likewise.
21785         [!POSIX] (S_IFSOCK): Likewise.
21786         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21787         variable.
21788         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21790 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
21792         * sysdeps/aarch64/memset.S (__memset):
21793         Rewrite of optimized memset.
21795 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21797         [BZ #19703]
21798         Partially async-signal-safe fork for single-threaded processes.
21799         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21800         variable.  Do not acquire and reset/release malloc and libio locks
21801         in single-threaded processes.
21802         * malloc/tst-mallocfork2.c: New file.
21803         * malloc/Makefile (tests): Add it.
21805 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21807         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21808         argument.  Use scratch buffer instead of extend_alloca.
21809         (gethosts): Use scratch buffer instead of extend_alloca.
21810         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
21811         extend_alloca.
21812         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21814 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
21816         [BZ #20055]
21817         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21818         instead of [__USE_UNIX98].
21819         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21820         [__USE_UNIX98].
21821         * conform/data/termios.h-data (tcgetsid): Do not expect for
21822         [XPG3].
21823         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21824         variable.
21825         (test-xfail-XPG4/termios.h/conform): Likewise.
21827 2016-05-11  Florian Weimer  <fweimer@redhat.com>
21829         Do not use mcheck in localedef.
21830         * locale/programs/localedef.c (turn_on_mcheck)
21831         (__malloc_initialize_hook): Remove.
21833 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21835         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21836         * sysdeps/s390/s390-64/Makefile: Likewise.
21838 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21840         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21841         Remove ifunc-defines.sym.
21842         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21843         Likewise.
21844         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21845         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21846         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21847         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21848         rtld-global-offsets.sym.
21849         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21850         * sysdeps/x86/cpu-features-offsets.sym: This.
21851         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21852         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21854 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
21856         [BZ #20073]
21857         * io/sys/stat.h (fchmod): Declare for
21858         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21859         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21860         variable.
21862         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21863         [XPG3] (S_IFSOCK): Likewise.
21864         [XPG3] (S_ISVTX): Likewise.
21865         [XPG3] (S_ISLNK): Likewise.
21866         [XPG3] (S_ISSOCK): Likewise.
21867         [XPG3] (fchmod): Likewise.
21868         [XPG3] (lstat): Likewise.
21869         [XPG3] (mknod): Likewise.
21871         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21872         [XPG3].  Expect type long and XFAIL for [XPG4].
21873         (st_blocks): Likewise.
21875         [BZ #20044]
21876         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21877         (pthread_atfork): New prototype.
21878         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21879         variable.
21881         [BZ #20043]
21882         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21883         prototype.
21885 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21887         [BZ #20017]
21888         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21889         gmtime.
21891 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21893         [BZ #19994]
21894         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21895         flag in _res.options.
21897 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
21899         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21900         [XPG3 || XPG4].
21901         (blksize_t): Likewise.
21902         (clockid_t): Likewise.
21903         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21904         variable.
21905         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21907 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21909         * sysdeps/unix/sysv/linux/s390/init-first.c:
21910         Add VDSO_SYMBOL(getcpu).
21911         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21912         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21913         Add VDSO_SYMBOL(getcpu).
21914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21915         New define HAVE_GETCPU_VSYSCALL.
21916         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21918 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21920         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21921         instead of <sysdeps/x86_64/cacheinfo.c>.
21922         * sysdeps/x86_64/cacheinfo.c: Moved to ...
21923         * sysdeps/x86/cacheinfo.c: Here.
21925 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21927         * malloc/malloc-internal.h: Adjust header file guard.
21929 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21931         [BZ #19787]
21932         * inet/getnameinfo.c (check_sprintf_result): New function.
21933         (CHECKED_SNPRINTF): New macro.
21934         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21935         to the host buffer.
21936         (gni_host_local): Use checked_copy to copy the host name.
21937         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21938         (gni_serv_local): Use checked_copy to copy the service name.
21939         (getnameinfo): Remove unnecessary truncation of result buffers.
21941 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21943         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21944         in case of inet_ntop failure.
21946 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21948         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21949         avoid long lines.
21950         (gni_host_inet_numeric): Likewise.  Reduce scope of local
21951         variables.
21952         (gni_host_inet, gni_host_local): Add comment.
21953         (gni_host): Add comment.  Use temporary to avoid long lines.
21955 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21957         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21958         registers specifiers where general purpose registers specifiers should
21959         have been used.
21961 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21963         [BZ #19779]
21964         CVE-2016-1234
21965         Avoid copying names of directory entries.
21966         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21967         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21968         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21969         (struct readdir_result): New type.
21970         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21971         (GL_READDIR): New macros.
21972         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21973         (convert_dirent, convert_dirent64): New functions.
21974         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
21975         convert_dirent64.  Adjust references to the readdir result.
21976         * sysdeps/unix/sysv/linux/i386/glob64.c:
21977         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21978         * posix/bug-glob2.c (LONG_NAME): Define.
21979         (filesystem): Add LONG_NAME.
21980         (my_DIR): Increase the size of room_for_dirent.
21982 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
21984         [BZ #20041]
21985         * misc/sys/select.h (__need_timespec): Only define if
21986         [__USE_XOPEN2K].
21987         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21988         variable.
21989         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21990         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21991         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21993 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21994             Segher Boessenkool  <segher@gcc.gnu.org>
21996         [BZ #20004]
21997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21998         (__novec_swapcontext): Add missing load.
22000 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
22002         [BZ #20023]
22003         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22004         <time.h>.
22005         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22006         variable.
22007         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22009 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22012         flags CLONE_VM compare.
22014 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22016         [BZ #20031]
22017         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22018         completely empty.
22020 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22022         [BZ #19573]
22023         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22024         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22025         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22026         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22027         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22028         (hesiod_free_list): Mark as hidden.
22029         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22030         res_set, res_get.
22031         * hesiod/hesiod.c: Remove unnecessary forward declarations.
22032         (init, __hesiod_res_get, __hesiod_res_set): Remove.
22033         (hesiod_init): Remove obsolete res_ninit call.
22034         (hesiod_end): Do not free resolver state.  Do not invoke callback.
22035         (hesiod_bind): Do not call init.
22036         (get_txt_records): Use res_mkquery, res_send instead of
22037         res_nmkquery, res_nsend.
22038         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22039         instead of _nss_hesiod_init.
22040         (_nss_hesiod_initgroups_dyn): Likewise.
22041         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22042         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22043         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22045 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22047         * hesiod/hesiod_p.h (DEF_RHS): Remove.
22048         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22050 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22052         * hesiod/hesiod.h: Remove RCS keyword.
22053         * hesiod/hesiod_p.h: Likewise.
22055         * hesiod/hesiod.c: Likewise.
22057 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
22059         [BZ #12450]
22060         * locale/iso-639.def: Add Samogitian/sgs.
22062 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
22064         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22066         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22068 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
22069             Carlos O'Donell  <carlos@redhat.com>
22071         [BZ #19072]
22072         * grp/Makefile (headers): Add grp-merge.h
22073         (routines): Add grp-merge.
22074         * grp/getgrgid_r.c: Include grp-merge.h.
22075         (DEEPCOPY_FN): Define.
22076         (MERGE_FN): Define.
22077         * grp/getgrname_r.c: Include grp-merge.h.
22078         (DEEPCOPY_FN): Define.
22079         (MERGE_FN): Define.
22080         * grp/grp-merge.c: New file.
22081         * grp/grp-merge.h: New file.
22082         * include/grp-merge.h: New file.
22083         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22084         __copy_grp@GLIBC_PRIVATE.
22085         * manual/nss.texi (Actions in the NSS configuration): Describe
22086         return, continue, and merge.
22087         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22088         (DEEPCOPY_FN): Define.
22089         (MERGE_FN): Define.
22090         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22091         (DEEPCOPY_FN): Define.
22092         (MERGE_FN): Define.
22093         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22094         [!MERGE_FN]: Define __merge_einval.
22095         (CHECK_MERGE): Define.
22096         (REENTRANT_NAME): Process merge if do_merge is true.
22097         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22098         (__nss_getent_r): Likewise.
22099         * nss/nsswitch.c (nss_parse_service_list): Likewise.
22100         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22102 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22104         [BZ #20012]
22105         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22106         length to calculate the buffer to read.
22107         (fmemopen_write): Set the buffer position based on bytes written.
22108         (fmemopen_seek): Return EINVAL for invalid whence modes.
22110         [BZ #19957]
22111         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22112         tst-getpid2.
22113         (test): Add tst-clone2.
22114         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22115         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22116         pid/tid fields for CLONE_VM.
22117         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22118         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22119         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22120         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22121         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22122         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22123         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22124         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22126         Likewise.
22127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22128         Likewise.
22129         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22130         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22131         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22132         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22133         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22134         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22135         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22136         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22138 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22140         [BZ #19642]
22141         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22142         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22143         (gni_serv_local, gni_serv): New functions extracted from
22144         getnameinfo.
22145         (getnameinfo): Call gni_host and gni_serv to perform the
22146         processing.  Always free scratch buffer.
22148 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22150         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22151         remaining bytes in the dest string, with zeros.
22153 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22155         [BZ #20010]
22156         CVE-2016-3706
22157         * sysdeps/posix/getaddrinfo.c
22158         (convert_hostent_to_gaih_addrtuple): New function.
22159         (gethosts): Call convert_hostent_to_gaih_addrtuple.
22160         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22161         AF_INET data.
22163 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22165         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22166         callback function gl_readdir.
22167         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22168         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22169         (glob_in_dir): Remove len.  Use strdup instead of malloc and
22170         memcpy to copy the name.
22171         * manual/pattern.texi (Calling Glob): Document requirements for
22172         implementations of the gl_readdir callback function.
22173         * manual/examples/mkdirent.c: New example.
22174         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22175         per the manual guidance.
22176         * posix/tst-gnuglob.c (my_readdir): Likewise.
22178 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
22180         [BZ #20014]
22181         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22182         not [__USE_POSIX].
22183         (getchar_unlocked): Likewise.
22184         (putc_unlocked): Likewise.
22185         (putchar_unlocked): Likewise.
22186         (flockfile): Likewise.
22187         (ftrylockfile): Likewise.
22188         (funlockfile): Likewise.
22189         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22190         variable.
22191         (test-xfail-XPG4/stdio.h/conform): Likewise.
22193         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22194         Expect constant.
22195         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22196         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22197         variable.
22198         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22199         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22201         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22202         [__USE_LARGEFILE64] (off64_t): Likewise.
22203         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22204         variable.
22206 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22208         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22210 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22212         * resolv/inet_addr.c: Reindent preprocessor conditionals.
22213         * resolv/res_init.c: Likewise.
22214         * resolv/res_mkquery.c: Likewise.
22216 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22218         * resolv/res_init.c (isascii): Do not define.  Use definition in
22219         <ctype.h>.
22220         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22221         (LOG_AUTH): Remove.
22222         (SPRINTF): Remove, adjust caller.
22223         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22225 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22227         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22228         SUNSECURITY conditional.
22229         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22231 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22233         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22234         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22235         Remove BSD-related preprocessor conditionals.
22236         * conf/portability.h: Remove.
22238 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22240         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22241         * resolv/res_data.c: Likewise.
22243 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22245         * resolv/res_comp.c: Remove code conditional on __ultrix__.
22246         * resolv/res_data.c: Remove code conditional on ultrix.
22248 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22250         * resolv/res_init.c (RFC1535): Do not define.  Remove
22251         RFC1535 preprocessor conditionals.
22252         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
22253         because there configuration options which make the resolver
22254         behavior different.
22256 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22258         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
22259         RESOLVSORT preprocessor conditionals.
22260         * resolv/nss_dns/dns-host.c: Likewise.
22261         * resolv/res_init.c: Likewise.
22263 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22265         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
22266         is never defined.
22268 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22270         * inet/inet_lnaof.c: Remove SCSS keyword.
22271         * inet/inet_mkadr.c: Likewise.
22272         * inet/inet_net.c: Likewise.
22273         * inet/inet_netof.c: Likewise.
22274         * inet/rcmd.c: Likewise.
22275         * inet/rexec.c: Likewise.
22276         * inet/ruserpass.c: Likewise.
22278 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22280         * resolv/inet_addr.c: Remove _LIBC conditionals.
22281         * resolv/res_data.c: Likewise.
22282         * resolv/res_init.c: Likewise.
22283         * resolv/res_mkquery.c: Likewise.
22284         * resolv/res_libc.c: Update comment.
22285         * resolv/README: Update.
22287 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22289         * resolv/gethnamaddr.c: Remove SCSS keyword.
22290         * resolv/herror.c: Likewise.
22291         * resolv/inet_addr.c: Likewise.
22292         * resolv/inet_net_ntop.c: Likewise.
22293         * resolv/inet_net_pton.c: Likewise.
22294         * resolv/inet_neta.c: Likewise.
22295         * resolv/inet_ntop.c: Likewise.
22296         * resolv/inet_pton.c: Likewise.
22297         * resolv/ns_date.c: Remove RCS keyword.
22298         * resolv/ns_name.c: Likewise.
22299         * resolv/ns_netint.c: Likewise.
22300         * resolv/ns_parse.c: Likewise.
22301         * resolv/ns_print.c: Likewise.
22302         * resolv/ns_samedomain.c: Likewise.
22303         * resolv/ns_ttl.c: Likewise.
22304         * resolv/nsap_addr.c: Likewise.
22305         * resolv/res_comp.c: Remove SCSS and RCS keyword.
22306         * resolv/res_data.c: Remove RCS keyword.
22307         * resolv/res_debug.c: Remove SCSS and RCS keyword.
22308         * resolv/res_init.c: Likewise.
22309         * resolv/res_mkquery.c: Likewise.
22310         * resolv/res_query.c: Likewise.
22311         * resolv/res_send.c: Likewise.
22313 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22315         * conform/data/stdio.h-data (fdopen): Expect also for
22316         [XPG3 || XPG4].
22318         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22319         (fseeko): Likewise.
22320         (ftello): Likewise.
22321         (ftrylockfile): Likewise.
22322         (funlockfile): Likewise.
22323         (getc_unlocked): Likewise.
22324         (getchar_unlocked): Likewise.
22325         (putc_unlocked): Likewise.
22326         (putchar_unlocked): Likewise.
22328 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22330         [BZ #19868]
22331         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22332         DNS packet syntax checks (which were not needed before).  Skip
22333         over non-PTR records.
22335 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22337         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22338         definition.  Include <stddef.h> instead.
22340 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22342         [BZ #19831]
22343         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22344         function.
22345         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22346         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22348 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22350         [BZ #19862]
22351         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22352         (getanswer_r): Do not call syslog.
22353         (gaih_getanswer_slice): Likewise.
22354         * resolv/gethnamaddr.c (AskedForGot): Remove.
22355         (getanswer): Do not call syslog.
22356         (gethostbyaddr): Likewise.
22358 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22360         * conform/data/signal.h-data (union sigval): Expect also if
22361         [XOPEN2K].
22362         (struct sigevent): Likewise.
22363         (SIGEV_NONE): Likewise.
22364         (SIGEV_SIGNAL): Likewise.
22365         (SIGEV_THREAD): Likewise.
22366         (SIGRTMIN): Likewise.
22367         (SIGRTMAX): Likewise.
22368         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22369         variable.
22370         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22372 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22374         [BZ #19830]
22375         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22376         (gaih_getanswer_slice): Likewise.
22377         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22378         Also check for availability of RR metadata.
22380 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22382         [BZ #19825]
22383         * resolv/res_send.c (send_vc): Remove early *resplen2
22384         initialization.  Set *resplen2 on socket error.  Call
22385         close_and_return_error for other errors.
22387 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22389         * sysdeps/unix/sysv/linux/netiucv/iucv.h
22390         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22391         (SCM_IUCV_TRGCLS): New define.
22393 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22395         [BZ #20005]
22396         * libio/fmemopen.c (fmemopen_write): Update internal position after
22397         write.
22398         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22399         * stdio-common/tst-fmemopen4.c: New file..
22401 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
22403         [BZ #19996]
22404         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22405         not [__USE_XOPEN2K].
22406         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22407         variable.
22409         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22410         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22411         variable.
22413         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22414         [__USE_XOPEN2K8].
22415         [__USE_LARGEFILE64] (off64_t): Likewise.
22416         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22417         variable.
22419 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
22421         [BZ #19989]
22422         * libio/stdio.h (cuserid): Do not declare if
22423         [__USE_XOPEN2K && !__USE_GNU].
22424         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22425         variable.
22427 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22429         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22430         (sysdep_routines): Add P8 and PPC64 strcspn targets.
22431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22432         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22433         ifunc'ed strcspn.
22434         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22435         [EALIGN]: Removed.
22436         [END]: Likewise
22437         [STRSPN]: Define instead of the above to control symbol name.
22438         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22439         New file.
22440         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22441         Likewise.
22442         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22443         Likewise.
22444         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22445         Likewise.
22446         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22447         [INITIAL_MASK]: New macro.
22448         [STRCSPN]: Likewise.
22449         [UPDATE_MASK]: Likewise.
22450         [USE_AS_STRCSPN]: Likewise.
22452 2016-04-25  Florian Weimer  <fweimer@redhat.com>
22454         [BZ #19931]
22455         * stdio-common/tst-vfprintf-width-prec.c: New file.
22456         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22457         (tests-special): Add tst-vfprintf-width-prec-mem.out.
22458         (generated): Add mtrace-related files.
22459         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22460         (tst-%-mem.out): New pattern rule, replaces
22461         tst-printf-bz18872-mem.out.
22462         * stdio-common/vfprintf.c (vfprintf): When handling a precision
22463         specifier, deallocate any previously allocated work buffer.
22465 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22467         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22468         Add nop before __startcontext, add explaining comments.
22470 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
22472         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22473         any more. Notably since IPV6_PKTINFO has been reintroduced with a
22474         completely different API.
22476         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22477         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22478         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22479         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22480         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22481         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22482         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22483         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22484         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22485         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22487 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
22489         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22491 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
22493         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22494         when it is the default of 0.
22496 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22498         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
22499         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22500         (sysdep_routines): Add new strcasestr targets.
22501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22502         (__libc_ifunc_impl_list): Likewise.
22503         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22504         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22505         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22506         * sysdeps/powerpc/powerpc64/power8/Makefile:
22507         New file to add strcasestr-ppc64 to sysdep_routines.
22508         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22509         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22511 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
22513         * benchtests/Makefile (wcsmbs-benchset): Include only for
22514         native builds and runs.
22515         (LOCALES): Likewise.
22516         (bench-build): Build timing-type here instead of the bench
22517         target.  Generate locale only for native builds.
22518         * benchtests/README: Add note for cross-building.
22520         * benchtests/Makefile (bench-clean): Clean up extra-objs.
22522         * benchtests/README: Update README to include instructions on
22523         using bench-build.
22525         * Makefile.in (bench-build): New target.
22526         * Rules (PHONY): Add bench-build target.
22527         * benchtests/Makefile (bench): Depend on bench-build.
22528         (bench-build): New target.
22530 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22532         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22533         profil_reply_port.
22534         (profile_waiter): Do not initialize profil_reply_port.
22535         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22536         frequency instead of tick length in us.
22538 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
22540         [BZ #18712]
22541         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22542         (__old_mempcpy_small): Likewise.
22543         (__old_strcpy_small): Likewise.
22544         (__old_stpcpy_small): Likewise.
22545         (__old_strpbrk_c2): Fix compat symbol name.
22546         (__old_strpbrk_c3): Likewise.
22547         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22548         (__mempcpy_small): Remove.
22549         (__strcpy_small): Remove.
22550         (__stpcpy_small): Remove.
22552 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
22554         [BZ #19400]
22555         * locale/iso-639.def: Add the Talossan/tzl language.
22557 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22559         [BZ #16983]
22560         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22561         comment.  Add "ln" to strchr check on postal_fmt.
22563 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22565         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22566         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22567         tel_dom_fmt.
22569 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22571         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22572         (sysdep_routines): Added __strlen_power8.
22573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22574         __strlen_power8 entry.
22575         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22576         Implementation for POWER8.
22577         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22578         for __strlen_power8.
22579         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22580         Implementation for POWER8.
22582 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22584         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22586 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22588         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22589         Goldmont and Airmont processors.
22591 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22593         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22594         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22595         (__STRING2_SMALL_GET32): Remove.
22596         (memset): Remove.
22597         (__memset_1): Remove.
22598         (__memset_gc): Remove.
22599         (__mempcpy): Remove.
22600         (mempcpy): Remove.
22601         (__mempcpy_args): Remove.
22602         (strchr): Remove.
22603         (strcpy): Remove.
22604         (strcpy_args): Remove.
22605         (__stpcpy_args): Remove.
22606         (__strcmp_cc): Remove.
22607         (__strcmp_gc): Remove.
22608         (strstr): Remove.
22610 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22612         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22613         * nis/nis_call.c (nis_server_cache_add): Likewise.
22615 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22617         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22619 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22621         * malloc/arena.c (__malloc_fork_lock_parent)
22622         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22623         internal_function attribute.
22625 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
22627         * stdio-common/printf_fp.c (__printf_fp_l):
22628         Rename ___printf_fp_l to __printf_fp_l and
22629         remove strong alias. Use libc_hidden_def instead
22630         of ldbl_hidden_def macro.
22632 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22634         Remove malloc hooks from fork handler.  They are no longer needed
22635         because malloc runs right before fork, and no malloc calls from
22636         other fork handlers are not possible anymore.
22637         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22638         declarations.
22639         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22640         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22641         (atfork_recursive_cntr): Remove.
22642         (__malloc_fork_lock_parent): Do not override malloc hooks and
22643         thread_arena.
22644         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22645         thread_arena.
22646         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
22647         thread_arena instead of save_arena.
22649 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22651         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22652         (thread_atfork, thread_atfork_static): Remove.
22653         * sysdeps/mach/hurd/malloc-machine.h:
22654         (thread_atfork, thread_atfork_static): Remove.
22656 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22658         [BZ #19431]
22659         Run the malloc fork handler as late as possible to avoid deadlocks.
22660         * malloc/malloc-internal.h: New file.
22661         * malloc/malloc.c: Include it.
22662         * malloc/arena.c (ATFORK_MEM): Remove.
22663         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22664         Update comment.
22665         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22666         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22667         Remove outdated comment.
22668         (ptmalloc_init): Do not call thread_atfork.  Remove
22669         thread_atfork_static.
22670         * malloc/tst-malloc-fork-deadlock.c: New file.
22671         * Makefile (tests): Add tst-malloc-fork-deadlock.
22672         (tst-malloc-fork-deadlock): Link against libpthread.
22673         * manual/memory.texi (Aligned Memory Blocks): Update safety
22674         annotation comments.
22675         * sysdeps/nptl/fork.c (__libc_fork): Call
22676         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22677         __malloc_fork_unlock_child.
22678         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22680 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22682         [BZ #19613]
22683         Remove union wait.
22684         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22685         (w_stopsig, w_stopval): Remove.
22686         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22687         stat_loc argument.
22688         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22689         (__WAIT_STATUS_DEFN): Remove.
22690         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22691         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22692         (wait, wait3, wait4): Use int * for the stat_loc argument.
22693         * posix/wait.c (__wait): Likewise.
22694         * posix/wait3.c (__wait3): Likewise.
22695         * posix/wait4.c (__wait4): Likewise.
22696         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22697         (__WAIT_STATUS_DEFN): Remove.
22698         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22699         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22700         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22701         argument.
22702         * sysdeps/posix/wait.c (__libc_wait): Likewise.
22703         * sysdeps/posix/wait3.c (__wait3): Likewise.
22704         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22705         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22706         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22707         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22708         stat_loc argument.
22709         * manual/process.texi (BSD Wait Functions): Remove union wait.
22711 2016-04-13  Andreas Schwab  <schwab@suse.de>
22713         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22714         (test-extras): Add tst-tlsalign-vars.
22715         * math/Makefile: Wrap long lines.
22716         (libm-vec-test-wrappers): Define.
22717         (test-extras): Add $(libm-vec-test-wrappers).
22718         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22719         * nss/Makefile (extra-test-objs): Add nss_test1.os.
22720         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22721         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22722         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22723         (extra-test-objs): Add corresponding objects.
22725 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
22727         [BZ #19928]
22728         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22729         New.
22730         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22731         times of shared cache size.
22732         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22733         (VMOVNT): New.
22734         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22735         (VMOVNT): Likewise.
22736         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22737         (VMOVNT): Likewise.
22738         (VMOVU): Changed to movups for smaller code sizes.
22739         (VMOVA): Changed to movaps for smaller code sizes.
22740         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22741         comments.
22742         (PREFETCH): New.
22743         (PREFETCH_SIZE): Likewise.
22744         (PREFETCHED_LOAD_SIZE): Likewise.
22745         (PREFETCH_ONE_SET): Likewise.
22746         Rewrite to use forward and backward loops, which move 4 vector
22747         registers at a time, to support overlapping addresses and use
22748         non temporal store if size is above the threshold and there is
22749         no overlap between destination and source.
22751 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
22753         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22754         Include dl-vdso.
22755         * sysdeps/unix/sysv/linux/mips/Versions: Add
22756         __vdso_clock_gettime.
22757         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22758         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22759         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22760         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22761         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22762         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22763         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22764         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22765         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22767 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22769         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22770         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22771         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22773         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22774         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22777         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22778         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22779         syscalls generation.
22780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22781         [__NR_pwrite64] (__NR_write): Remove define.
22782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22783         [__NR_pwrite64] (__NR_write): Remove define.
22784         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22785         Remove define.
22786         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22787         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22788         Remove define.
22789         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22790         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22791         Linux implementation as base.
22792         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22794         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22795         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22796         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22800         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22801         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22802         syscall generation.
22803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22804         [__NR_pread64] (__NR_pread): Remove define.
22805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22806         [__NR_pread64] (__NR_pread): Likewise.
22807         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22808         define.
22809         (__libc_pread): Use SYSCALL_LL macro on offset argument.
22810         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22811         Remove define.
22812         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22813         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22814         Linux implementation as base.
22815         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22816         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22817         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22819         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22820         definition.
22821         (__ALIGNMENT_COUNT): Likewise.
22822         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22823         (__ALIGNMENT_COUNT): Likewise.
22824         (SYSCALL_LL): New define.
22825         (SYSCALL_LL64): Likewise.
22826         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22827         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22828         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22829         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22831         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22832         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22833         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22834         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22835         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22836         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22838 2016-04-11  Florian Weimer  <fweimer@redhat.com>
22840         [BZ #19865]
22841         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22842         original buffer before retry.
22844 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22846         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22847         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22848         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22849         GLRO(dl_auxv) list.
22850         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22851         including <ldsodefs.h>.
22852         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22854 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
22856         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22857         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22858         $(CPPFLAGS).
22860 2016-04-09  Khem Raj  <raj.khem@gmail.com>
22862         [BZ #17950]
22863         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22864         Add -mfpmath=387.
22866 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
22868         * sysdeps/i386/configure.ac: Change == to = when calling test.
22869         * sysdeps/x86_64/configure.ac: Likewise.
22870         * sysdeps/i386/configure: Regenerated.
22871         * sysdeps/x86_64/configure: Likewise.
22873 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
22875         [BZ #16137]
22876         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22877         * benchtests/bench-strcoll.c (input_files): Likewise.
22878         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22879         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22880         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22882 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
22884         [BZ #19929]
22885         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22886         [__USE_XOPEN2K8 && !__USE_GNU].
22887         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22888         variable.
22890         [BZ #19925]
22891         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22892         define if [!__USE_MISC && __USE_XOPEN2K].
22893         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22894         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22895         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22896         Likewise.
22897         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22898         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22899         variable.
22900         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22902 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22904         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22905         (sysdep_routines): Add new strspn targets.
22906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22907         (__libc_ifunc_impl_list): Add strspn.
22908         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22909         New file.
22910         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22911         Likewise.
22912         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22913         Likewise.
22914         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22915         Likewise.
22917 2016-04-07  Florian Weimer  <fweimer@redhat.com>
22919         * misc/hsearch_r.c: Include <limits.h>.
22921 2016-04-07  Florian Weimer  <fweimer@redhat.com>
22923         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22925 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22927         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22928         (MEMCPY_SYMBOL): New.
22929         (MEMPCPY_SYMBOL): Likewise.
22930         (MEMMOVE_CHK_SYMBOL): Likewise.
22931         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22932         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22933         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
22934         Provide alias for memcpy in libc.a and ld.so.
22936 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22938         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22939         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
22940         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22941         Disabled fro now.
22942         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22943         symbols.  Properly check USE_MULTIARCH on __memset symbols.
22945 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22947         * benchtests/Makefile (string-benchset): Add memcpy-large,
22948         memmove-large and memset-large.
22949         * benchtests/bench-memcpy-large.c: New file.
22950         * benchtests/bench-memmove-large.c: Likewise.
22951         * benchtests/bench-memmove-large.c: Likewise.
22952         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22954 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
22956         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22957         32-bit displacement to avoid long nop between instructions.
22959 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
22961         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22962         a comment on VMOVU and VMOVA.
22964 2016-04-04  Florian Weimer  <fweimer@redhat.com>
22966         [BZ #19633]
22967         Use specified locale for number formatting in strfmon_l.
22968         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22969         (__nl_lookup_word): New inline functions.
22970         * include/printf.h (__print_fp_l): Declare.
22971         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22972         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
22973         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22974         (___printf_fp): New function.
22975         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22976         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22977         * stdlib/tst-strfmon_l.c (do_test): New test.
22978         * stdlib/Makefile (tests): Add kt.
22979         (LOCALES): Build additional locales.
22980         (tst-strfmon_l.out): Require locales.
22982 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
22984         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22985         if not in libc.
22986         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22987         Likewise.
22988         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22989         Likewise.
22990         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22991         Likewise.
22993 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
22995         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22996         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22997         with unaligned_erms.
22998         (__memmove_erms): Skip if source == destination.
22999         (__memmove_unaligned_erms): Don't check source == destination
23000         first.
23002 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23004         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23005         bit_arch_Fast_Copy_Backward for Intel Core proessors.
23007 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23009         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23010         * string/strspn.c (strspn): Likewise.
23012 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23014         * benchtests/bench-memset.c (do_test): Support 64-byte
23015         alignment.
23016         (test_main): Test 64-byte alignment.
23018 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23020         * benchtests/bench-memmove.c (test_main): Test 64-byte
23021         alignment.
23023 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23025         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23027 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23029         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23030         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23031         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23033         * string/strpbrk.c (strpbrk): Rewrite function.
23034         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23035         (__strpbrk_c2): Likewise.
23036         (__strpbrk_c3): Likewise.
23037         * string/string-inlines.c
23038         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23039         Likewise.
23040         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23041         Likewise.
23043         * string/strspn.c (strcspn): Rewrite function.
23044         * string/bits/string2.h (strspn): Use __builtin_strcspn.
23045         (__strspn_c1): Remove inline function.
23046         (__strspn_c2): Likewise.
23047         (__strspn_c3): Likewise.
23048         * string/string-inlines.c
23049         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23050         compatibility symbol.
23051         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23052         Likewise.
23053         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23054         Likewise.
23055         * string/string-inlines.c: Include generic version.
23057 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
23058             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23060         * string/Version (libc): Add GLIBC_2.24.
23061         * string/strcspn.c (strcspn): Rewrite function.
23062         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23063         (__strcspn_c1): Remove inline function.
23064         (__strcspn_c2): Likewise.
23065         (__strcspn_c3): Likewise.
23066         * string/string-inline.c
23067         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23068         compatibility symbol.
23069         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23070         Likewise.
23071         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23072         Likewise.
23073         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23075 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23077         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23078         Use ahi instead of aghi to adjust stack pointer.
23080 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23082         [BZ #19853]
23083         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23084         TEST to take significant digits as second parameter.
23085         [TEST]: Redefine in terms of TEST_N taking 30
23086         significant digits.
23087         (do_test): Add test case to demonstrate precision
23088         failure in the ldbl-128ibm printf.
23089         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23090         (__mpn_extract_long_double): Carry 7 extra intermediate
23091         bits of precision to aide computing difference when
23092         signs differ.
23094 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23096         [BZ #19881]
23097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23098         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23099         memset-avx512-unaligned-erms.
23100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23101         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23102         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23103         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23104         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23105         __memset_sse2_unaligned_erms, __memset_erms,
23106         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23107         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23108         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23109         file.
23110         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23111         Likewise.
23112         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23113         Likewise.
23114         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23115         Likewise.
23117 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23119         [BZ #19776]
23120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23121         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23122         memmove-avx512-unaligned-erms.
23123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23124         (__libc_ifunc_impl_list): Test
23125         __memmove_chk_avx512_unaligned_2,
23126         __memmove_chk_avx512_unaligned_erms,
23127         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23128         __memmove_chk_sse2_unaligned_2,
23129         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23130         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23131         __memmove_avx512_unaligned_erms, __memmove_erms,
23132         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23133         __memcpy_chk_avx512_unaligned_2,
23134         __memcpy_chk_avx512_unaligned_erms,
23135         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23136         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23137         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23138         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23139         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23140         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23141         __mempcpy_chk_avx512_unaligned_erms,
23142         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23143         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23144         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23145         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23146         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23147         __mempcpy_erms.
23148         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23149         file.
23150         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23151         Likewise.
23152         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23153         Likewise.
23154         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23155         Likewise.
23157 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23159         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23160         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23161         (La_s390_64_regs): Likewise.
23162         (La_s390_32_retval): Append vector register lrv_v24.
23163         (La_s390_64_retval): Likeweise.
23164         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23165         Handle extended structs La_s390_32_regs and La_s390_32_retval.
23166         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23167         Handle extended structs La_s390_64_regs and La_s390_64_retval.
23169 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23171         [BZ #19916]
23172         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23173         to create a non-vector/vector version for _dl_runtime_resolve and
23174         _dl_runtime_profile. Move implementation to ...
23175         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23176         (_dl_runtime_resolve) Save and restore fpr/vrs.
23177         (_dl_runtime_profile) Save and restore vrs and fix some issues
23178         if _dl_call_pltexit is called.
23179         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23180         Choose the correct resolver function if running on a machine with vx.
23181         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23182         to create a non-vector/vector version for _dl_runtime_resolve and
23183         _dl_runtime_profile. Move implementation to ...
23184         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23185         (_dl_runtime_resolve) Save and restore fpr/vrs.
23186         (_dl_runtime_profile) Save and restore vrs and fix some issues
23187         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23188         Choose the correct resolver function if running on a machine with vx.
23190 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23192         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23194 2016-03-31  Florian Weimer  <fweimer@redhat.com>
23196         [BZ #19509]
23197         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23198         skip_map != NULL.
23199         * elf/tst-dlsym-error.c: New file.
23200         * elf/Makefile (tests): Add tst-dlsym-error.
23201         (tst-dlsym-error): Link against libdl.
23203 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
23205         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23206         (__ASSUME_FUTIMESAT): Remove macro.
23207         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23209 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23211         [BZ #19879]
23212         CVE-2016-3075
23213         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23214         copy name.
23216 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23218         [BZ #19837]
23219         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23220         error if parse_line fails.
23222 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23224         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23225         (index_cpu_ERMS): Likewise.
23226         (reg_ERMS): Likewise.
23228 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
23230         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23231         PER_LINUX_FDPIC): Add.
23233 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23236         memcpy-avx512-no-vzeroupper.
23237         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23238         to ...
23239         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23240         (MEMCPY): Don't define.
23241         (MEMCPY_CHK): Likewise.
23242         (MEMPCPY): Likewise.
23243         (MEMPCPY_CHK): Likewise.
23244         (MEMPCPY_CHK): Renamed to ...
23245         (__mempcpy_chk_avx512_no_vzeroupper): This.
23246         (MEMPCPY_CHK): Renamed to ...
23247         (__mempcpy_chk_avx512_no_vzeroupper): This.
23248         (MEMCPY_CHK): Renamed to ...
23249         (__memmove_chk_avx512_no_vzeroupper): This.
23250         (MEMCPY): Renamed to ...
23251         (__memmove_avx512_no_vzeroupper): This.
23252         (__memcpy_avx512_no_vzeroupper): New alias.
23253         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23255 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23257         [BZ #18858]
23258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23259         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23260         and mempcpy-avx512-no-vzeroupper.
23261         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23262         New.
23263         (MEMPCPY): Likewise.
23264         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23265         (MEMPCPY_CHK): New.
23266         (MEMPCPY): Likewise.
23267         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23268         (MEMPCPY): Likewise.
23269         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23270         (MEMPCPY): Likewise.
23271         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23272         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23273         Likewise.
23274         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23275         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23277 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23278              Amit Pawar  <Amit.Pawar@amd.com>
23280         [BZ #19583]
23281         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23282         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23283         processors.  Set Fast_Copy_Backward for AMD Excavator
23284         processors.
23285         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23286         New.
23287         (index_arch_Fast_Unaligned_Copy): Likewise.
23288         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23289         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23291 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23293         [BZ #19791]
23294         * resolv/res_send.c (close_and_return_error): New function.
23295         (send_dg): Initialize *resplen2 after reopen failure.  Call
23296         close_and_return_error for error returns.  On error paths without
23297         __res_iclose, initialze *resplen2 explicitly.  Update comment for
23298         successful return.
23300 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23302         [BZ #19860]
23303         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23304         zero if the compiler does not provide the AVX512F bit.
23306 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
23308         [BZ #19848]
23309         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23310         from 8 to 4.
23311         (__ieee754_powl): Compare integer exponent against 4 not 8.
23312         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23313         from 8 to 4.
23314         (__ieee754_powl): Compare integer exponent against 4 not 8.
23315         * math/auto-libm-test-in: Add more tests of pow.
23316         * math/auto-libm-test-out: Regenerated.
23317         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23320 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23322         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23323         Make code unconditional.
23324         [!__NR_utimensat]: Remove conditional code.
23325         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23326         Make code unconditional.
23327         [!__NR_utimensat]: Remove conditional code.
23328         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23329         Make code unconditional.
23330         [!__NR_utimensat]: Remove conditional code.
23332 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23334         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23335         Make code unconditional.
23337 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
23339         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23340         call-clobbered %eax on retry path.
23341         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23343 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23345         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23346         Don't set %rcx twice before "rep movsb".
23348 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23350         [BZ #19583]
23351         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23352         inline.  Check family before setting family, model and
23353         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
23354         bits here.
23355         (init_cpu_features): Replace HAS_CPU_FEATURE and
23356         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23357         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
23358         for Intel processors with usable AVX2.  Call get_common_indeces
23359         for other processors with family == NULL.
23360         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23361         (CPU_FEATURES_ARCH_P): Likewise.
23362         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23363         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23365 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23367         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23368         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23369         $(shared-thread-library) instead of hardcoding the path to libpthread.
23371 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
23373         * sysdeps/unix/sysv/linux/kernel-features.h
23374         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23375         * sysdeps/unix/sysv/linux/getdents.c
23376         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23377         [!have_no_getdents64_defined]: Likewise.
23378         (__GETDENTS): Remove __have_no_getdents64 conditional.
23380 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
23382         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23383         Remove macro.
23384         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23385         <kernel-features.h>.
23386         (signalfd) [__NR_signalfd4]: Make code unconditional.
23387         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23389 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23391         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23392         style.
23394 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23396         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23397         (__pthread_enable_asynccancel): Use JUMPTARGET to call
23398         __pthread_unwind.
23399         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23400         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23401         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23402         (__condvar_cleanup1): Likewise.
23404 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
23406         [BZ #19822]
23407         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23408         move it to the final $@ location.
23410 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23412         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23413         access where posix_spawn success and pid argument is null.
23414         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23415         success case.
23417 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
23419         * sysdeps/mach/hurd/i386/c++-types.data: New file.
23421         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23423         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23424         and __fcntl.
23425         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23426         __fcntl only.
23427         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23428         adding attribute_hidden to __open and __fcntl.
23430         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23431         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23432         depend on libc-modules.h,
23433         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23435 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
23437         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23438         Remove macro.
23439         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23440         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23441         entry.
23443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23444         Remove macro.
23445         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23446         include <kernel-features.h>.
23447         [!__ASSUME_FALLOCATE]: Remove conditional code.
23448         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23450 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23452         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23453         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23454         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23455         (_ZGVdN4v_cos_avx2): Likewise.
23456         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23457         (_ZGVdN4v_cos): Likewise.
23458         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23459         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23460         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23461         (_ZGVdN4v_exp_avx2): Likewise.
23462         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23463         (_ZGVdN4v_exp): Likewise.
23464         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23465         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23466         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23467         (_ZGVdN4v_log_avx2): Likewise.
23468         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23469         (_ZGVdN4v_log): Likewise.
23470         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23471         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23472         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23473         (_ZGVdN4vv_pow_avx2): Likewise.
23474         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23475         (_ZGVdN4vv_pow): Likewise.
23476         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23477         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23478         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23479         (_ZGVdN4v_sin_avx2): Likewise.
23480         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23481         (_ZGVdN4v_sin): Likewise.
23482         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23483         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23484         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23485         (_ZGVdN4vvv_sincos_avx2): Likewise.
23486         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23487         (_ZGVdN4vvv_sincos): Likewise.
23488         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23489         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23490         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23491         (_ZGVbN4v_cosf_sse4): Likewise.
23492         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23493         (_ZGVdN8v_cosf_avx2): Likewise.
23494         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23495         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23496         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23497         (_ZGVbN4v_expf_sse4): Likewise.
23498         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23499         (_ZGVdN8v_expf_avx2): Likewise.
23500         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23501         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23502         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23503         (_ZGVbN4v_logf_sse4): Likewise.
23504         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23505         (_ZGVdN8v_logf_avx2): Likewise.
23506         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23507         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23508         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23509         (_ZGVbN4vv_powf_sse4): Likewise.
23510         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23511         (_ZGVdN8vv_powf_avx2): Likewise.
23512         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23513         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23514         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23515         (_ZGVbN4vvv_sincosf_sse4): Likewise.
23516         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23517         (_ZGVdN8vvv_sincosf_avx2): Likewise.
23518         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23519         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23520         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23521         (_ZGVbN4v_sinf_sse4): Likewise.
23522         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23523         (_ZGVdN8v_sinf_avx2): Likewise.
23524         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23525         Use JUMPTARGET to call callee.
23526         (WRAPPER_IMPL_SSE2_ff): Likewise.
23527         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23528         (WRAPPER_IMPL_AVX): Likewise.
23529         (WRAPPER_IMPL_AVX_ff): Likewise.
23530         (WRAPPER_IMPL_AVX_fFF): Likewise.
23531         (WRAPPER_IMPL_AVX512): Likewise.
23532         (WRAPPER_IMPL_AVX512_ff): Likewise.
23533         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23534         Likewise.
23535         (WRAPPER_IMPL_SSE2_ff): Likewise.
23536         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23537         (WRAPPER_IMPL_AVX): Likewise.
23538         (WRAPPER_IMPL_AVX_ff): Likewise.
23539         (WRAPPER_IMPL_AVX_fFF): Likewise.
23540         (WRAPPER_IMPL_AVX512): Likewise.
23541         (WRAPPER_IMPL_AVX512_ff): Likewise.
23542         (WRAPPER_IMPL_AVX512_fFF): Likewise.
23544 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23546         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23547         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23548         qualifier.
23549         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23550         internal_function qualifiers.
23552 2016-03-15  Carlos O'Donell <carlos@redhat.com>
23554         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23555         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23556         * math/atest-exp.c (exp_mpn): Mark chk unused.
23557         * math/atest-exp2.c (exp_mpn): Likewise.
23558         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23559         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23561 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23563         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23564         Remove macro.
23565         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23566         <kernel-features.h>.
23567         [__NR_ppoll]: Make code unconditional.
23568         [!__ASSUME_PPOLL]: Remove conditional code.
23570         * sysdeps/unix/sysv/linux/kernel-features.h
23571         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23572         (__ASSUME_ACCEPT4): Likewise.
23573         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23574         Define.
23575         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23576         Likewise.
23577         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23578         Likewise.
23579         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23580         Likewise.
23581         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23582         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23583         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23584         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23585         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23586         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23587         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23588         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23589         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23590         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23591         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23592         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23593         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23594         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23595         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23596         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23597         Likewise.
23598         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23599         Likewise.
23600         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23601         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23602         0x040300].
23603         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23604         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23605         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23606         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23607         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23608         0x030300].
23609         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23610         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23611         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23612         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23613         0x040300].
23614         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23615         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23617         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23618         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23619         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23620         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23621         0x030300].
23622         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23623         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23624         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23625         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23626         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23627         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23628         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23629         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23630         * sysdeps/unix/sysv/linux/s390/kernel-features.h
23631         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23632         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23633         0x040300].
23634         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23635         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23636         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23637         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23638         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23639         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23640         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23641         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23642         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23643         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23644         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23645         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23646         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23647         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23648         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23649         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23650         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23651         Likewise.
23652         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23653         Likewise.
23655 2016-03-15  Andreas Schwab  <schwab@suse.de>
23657         [BZ #19257]
23658         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23659         statp->_u._ext.nscount as loop count.
23661 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23663         * math/test-signgam-finite-c99.c: Also #undef
23664         __LIBC_INTERNAL_MATH_INLINES.
23665         * math/test-signgam-main.c: Likewise.
23667 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
23669         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23670         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23671         (MADV_FREE): Likewise.
23672         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23673         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23674         EPOLLEXCLUSIVE.
23676 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
23678         * timezone/README: Remove mention of checktab.awk. Mention wiki
23679         SharedSourceFiles.
23681 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
23683         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23684         WUNTRACED.
23686 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23688         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23689         order to match the type of p when calling atomic_exchange_acq().
23691 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23693         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23694         cfi_offset calls.
23695         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23696         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23697         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23698         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23699         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23701 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
23703         * timezone/checktab.awk: Removed.
23705 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
23707         * manual/math.texi (Errors in Math Functions): Document relaxed
23708         accuracy goals for IBM long double.
23709         * math/libm-test.inc (test_exceptions): Always allow spurious
23710         "underflow" and "inexact" exceptions for IBM long double.
23712 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
23714         [BZ #19762]
23715         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23716         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23717         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23718         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23719         (bit_arch_*): This for feature array.
23720         (bit_*): Renamed to ...
23721         (bit_cpu_*): This for cpu array.
23722         (index_*): Renamed to ...
23723         (index_arch_*): This for feature array.
23724         (index_*): Renamed to ...
23725         (index_cpu_*): This for cpu array.
23726         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23727         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23728         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23729         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23730         bit_##name with index_cpu_##name and bit_cpu_##name.
23731         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23732         bit_##name with index_arch_##name and bit_arch_##name.
23734 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
23736         [BZ #19792]
23737         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23738         Terminate FDE before return label.
23740 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
23742         [BZ #19790]
23743         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23744         (rintl): Define as macro.
23745         [USE_AS_NEARBYINTL] (__rintl): Likewise.
23746         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23747         of fesetround.  Ensure results are evaluated before end of scope.
23748         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23749         USE_AS_NEARBYINTL and include s_rintl.c.
23750         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23751         Disable exception traps in new environment.
23752         (libc_feholdsetround_ppc_ctx): Likewise.
23754 2016-03-08  Roland McGrath  <roland@hack.frob.com>
23756         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23757         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23758         (tst_audit10_aux) [__AVX512F__]: ... here.
23760 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
23762         * include/sys/auxv.h: New file.
23764 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23766         [BZ #19759]
23767         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23769 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23771         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23772         operand modifier.
23773         (feclearexcept): Likewise.
23775 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23777         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23778         to reflect the entire 32-bit HWCAP.
23779         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23780         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
23782 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23784         [BZ #19783]
23785         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23786         $(test-via-rtld-prefix).
23787         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23789 2016-03-08  Florian Weimer  <fweimer@redhat.com>
23791         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23792         union wait.  Report any non-zero exit status as error.
23794 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23796         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23797         configured with --enable-hardcoded-path-in-tests.
23799 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
23801         [BZ #19677]
23802         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23803         (__ieee754_remainderl): Put zero low parts in canonical form.
23804         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23805         file.  Based on
23806         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23807         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23808         with wrapper round test-fmodrem-ldbl-128ibm.c.
23809         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23810         file.
23811         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23812         Likewise.
23813         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23814         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23816 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23818         [BZ #19610]
23819         * elf/ldconfig.c (opt_link): Update comment.
23820         (options): Update help string for option -X.
23821         (search_dir): Unlink stale symbolic link only if updating symbolic
23822         links.
23823         * elf/tst-ldconfig-X.sh: New file.
23824         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23825         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23827 2016-03-07  Andreas Schwab  <schwab@suse.de>
23829         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23830         needed arguments.
23832 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
23834         [BZ #15333]
23835         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23836         to lstat64.
23838 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23840         * libio/filedoalloc.c (isatty): Remove.
23841         (local_isatty): Add comment.  Call __isatty directly.
23842         (_IO_file_doallocate): Update comment.  Assume _LIBC.
23843         * libio/wfiledoalloc.c (isatty): Remove.
23844         (_IO_wfile_doallocate): Update comment.
23846 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23848         [BZ #19269]
23849         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23850         tst-audit4-aux.o.
23851         (tst-audit10): Depend on tst-audit10-aux.o.
23852         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23853         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23854         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23855         instead of inline AVX code.
23856         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23857         instead of inline AVX512 code.
23858         * sysdeps/x86_64/tst-audit4-aux.c: New file
23859         * sysdeps/x86_64/tst-audit10-aux.c: New file
23861         [BZ #19648]
23862         * test-skeleton.c (main): Do not set RLIMIT_DATA.
23864 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23866         [BZ #14750]
23867         [BZ #10354]
23868         [BZ #18433]
23869         * include/sched.h (__clone): Add hidden prototype.
23870         (__clone2): Likewise.
23871         * include/unistd.h (__dup): Likewise.
23872         * posix/Makefile (tests): Add tst-spawn2.
23873         * posix/tst-spawn2.c: New file.
23874         * sysdeps/posix/dup.c (__dup): Add hidden definition.
23875         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23876         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23877         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23878         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23879         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23880         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23881         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23882         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23883         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23884         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23886         Likewise.
23887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23888         Likewise.
23889         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23890         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23891         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23892         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23893         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23894         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23895         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23896         * sysdeps/unix/sysv/linux/nptl-signals.h
23897         (____nptl_is_internal_signal): New function.
23898         * sysdeps/unix/sysv/linux/spawni.c: New file.
23900         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23901         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23902         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23903         * posix/tst-execvp2.c (do_test): Likewise.
23904         * posix/tst-execvp3.c (do_test): Likewise.
23905         * posix/tst-execvp4.c (do_test): Likewise.
23906         * posix/tst-execvpe1.c: New file.
23907         * posix/tst-execvpe2.c: Likewise.
23908         * posix/tst-execvpe3.c: Likewise.
23909         * posix/tst-execvpe4.c: Likewise.
23910         * posix/tst-execvpe5.c: Likewise.
23911         * posix/tst-execvpe6.c: Likewise.
23913         [BZ #19534]
23914         * posix/execl.c (execl): Remove dynamic memory allocation.
23915         * posix/execle.c (execle): Likewise.
23916         * posix/execlp.c (execlp): Likewise.
23918 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23920         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23921         Replace .text with .text.avx512.
23922         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23923         Likewise.
23925 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
23927         * sysdeps/generic/libnsl.abilist: New file.
23928         * sysdeps/generic/libutil.abilist: New file.
23930 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23932         [BZ #19762]
23933         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23934         HAS_ARCH_FEATURE with Fast_Rep_String.
23935         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23936         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23937         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23938         Likewise.
23939         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23940         Likewise.
23941         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23942         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23943         Likewise.
23944         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23945         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23946         Likewise.
23948 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23950         [BZ #19745]
23951         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23952         with *%rax in call.
23954 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23956         [BZ #19745]
23957         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23958         with *__libc_start_main@GOTPCREL(%rip) in call.
23960 2016-03-04  Roland McGrath  <roland@hack.frob.com>
23962         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23963         inside conditional for nonempty $(CXX).
23965         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23966         nonempty.
23968         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23969         to test for empty $(CXX) rather than $(CXX) of "no".
23971 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23973         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23975 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
23976             H.J. Lu  <hongjiu.lu@intel.com>
23978         [BZ #18880]
23979         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23980         instead of Slow_BSF, and also check for Fast_Copy_Backward to
23981         enable __memcpy_ssse3_back.
23983 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
23985         [BZ #19758]
23986         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23987         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23989 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23991         [BZ #19490]
23992         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23993         (__fentry__): Likewise.
23995 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
23997         * gmon/Makefile (noprof): Add $(sysdep_noprof).
23998         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24000 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24002         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24003         __mcount_internal directly.
24004         (C_LABEL(__fentry__)): Likewise.
24005         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24006         directly.
24008 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24010         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24011         (__start_context): Call __setcontext directly.
24013 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
24015         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24016         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24017         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24018         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24019         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24020         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24021         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24022         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24023         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24024         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24025         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24026         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24027         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24028         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24029         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24030         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24031         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24032         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24033         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24034         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24035         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24036         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24037         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24038         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24039         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24040         Remove conditional code.
24041         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24042         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24043         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24044         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24045         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24046         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24047         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24048         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24049         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24050         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24052         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24054 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
24056         * NEWS (2.23): Fix typo in bug 19048 text.
24058 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
24060         [BZ #14259]
24061         * Makeconfig: Rename msgcatdir to localedir.
24062         Rename inst_msgcatdir to inst_localedir.
24063         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24064         * config.make.in: Add localedir.
24065         * elf/Makefile ($(objpfx)sotruss): Use localedir.
24066         (ldd-rewrite): Likewise.
24067         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24068         (install-others): Use inst_localedir.
24069         (CPPFLAGS): Use localedir.
24070         * locale/Makefile (locale-CPPFLAGS): Likewise.
24071         * po/Makefile (mo-installed): Use inst_localedir.
24073         [BZ #19575]
24074         * localedata/charmaps/GB18030: Update comments regarding PAU to
24075         non-PUA mappings.
24077 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
24079         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24080         test for header.
24081         * sysdeps/unix/sysv/linux/configure: Regenerated.
24082         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24083         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24084         Remove conditional code.
24085         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24087         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24088         Define to 3.2.0.
24089         (arch_minimum_kernel): Likewise.
24090         * sysdeps/unix/sysv/linux/configure: Regenerated.
24091         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24092         Define to 2.6.32.
24093         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24094         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24095         (arch_minimum_kernel): Define to 2.6.32.
24096         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24097         * README: Document Linux 3.2 requirement.
24098         * manual/install.texi (Linux): Document Linux 3.2 headers
24099         requirement.
24100         * INSTALL: Regenerated.
24102 2016-02-24  Andreas Schwab  <schwab@suse.de>
24104         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24105         if !NO_LONG_DOUBLE.
24107 2016-02-22  Roland McGrath  <roland@hack.frob.com>
24109         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24110         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24112 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
24114         [BZ #19512]
24115         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24117 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24119         * posix/tst-dir.c: Include libc-internal.h.
24121 2016-02-20  Florian Weimer  <fweimer@redhat.com>
24123         [BZ #19056]
24124         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24125         * manual/filesys.texi (Reading/Closing Directory): Mention
24126         deprecaion.
24127         * posix/tst-dir.c (main): Disable deprecation warning in test.
24129 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
24131         [BZ #19679]
24132         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24133         Renamed to ...
24134         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
24135         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24136         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
24137         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24138         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24139         * sysdeps/x86_64/dl-trampoline.h
24140         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24141         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24143 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24145         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24147 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24149         * elf/elf.h (R_386_GOT32X): New.
24150         (R_386_NUM): Update.
24151         (R_X86_64_GOTPCRELX: New.
24152         (R_X86_64_REX_GOTPCRELX): New.
24153         (R_X86_64_NUM): Update.
24155 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
24157         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24159 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
24161         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24162         assign attr->stackaddr to it, and adjust it down when
24163         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
24164         [_STACK_GROWS_UP]: Delete assert.
24165         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24166         Implement stack grows up logic.
24167         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24168         stack grows up logic.
24170 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24172         * NEWS: Update with 2.24 template.
24174 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24176         [BZ #19678]
24177         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24178         Ensure +0.0 is returned when taking the next value below the least
24179         positive value.
24181 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24183         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24184         available.  Do not define NO_THREADS.
24185         * malloc/malloc.c: Do not check NO_THREADS.
24186         * malloc/arena.c: Likewise.
24188 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24190         * malloc/malloc.c (__libc_mallinfo): Update comment.
24191         (struct malloc_par): Remove max_total_mem member, it was always 0.
24192         (int_mallinfo): Store 0 into usmblks (no functional change).
24193         * malloc/hooks.c (struct malloc_state): Document that
24194         max_total_mem is always 0.
24195         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24196         always 0.
24197         * manual/memory.texi (Statistics of Malloc): Likewise.
24199 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24201         * malloc/malloc.c (sysmalloc): Do not update arena_max.
24202         * malloc/arena.c (arena_max): Remove.
24203         (heap_trim, _int_new_arena): Do not update arena_max.
24205 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24207         * resolv/res_init.c (res_ninit): Update comment.
24209 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24211         [BZ #19505]
24212         * posix/spawn_int.h: Add headers and include guard.
24213         (__spawn_valid_fd): New function.
24214         * posix/spawn_faction_addopen.c
24215         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24216         * posix/spawn_faction_addclose.c
24217         (posix_spawn_file_actions_addclose): Likewise.
24218         * posix/spawn_faction_adddup2.c
24219         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
24220         second file descriptor.
24221         * posix/spawn_valid_fd.c: New file.
24222         * posix/tst-posix_spawn-fd.c: New file.
24223         * posix/Makefile (routines): Add spawn_valid_fd.
24224         (tests): Add tst-posix_spawn-fd.
24226 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24228         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24229         (do_test): Limit the number of arenas, so that we can use fewer
24230         outer threads.  Limit timeout to 3 seconds, in preparation for a
24231         larger TIMEOUT value.
24233 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24235         [BZ #19674]
24236         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24237         sign in overflowing and underflowing results when overflow or
24238         underflow is detected early.  Include sign in result before rather
24239         than after scaling.
24241         [BZ #19603]
24242         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24243         (__ieee754_remainderl): Adjust sign of integer version of low part
24244         when taking absolute value of high part.
24245         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24246         * math/libm-test.inc (remainder_test_data): Add another test.
24247         (remquo_test_data): Likewise.
24249 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
24251         [BZ #19602]
24252         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24253         equal high parts and both low parts zero specially.
24254         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24255         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24256         Add test-fmodl-ldbl-128ibm.
24258         [BZ #19595]
24259         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24260         common logic for all cases of shifting subnormal results.  Do not
24261         insert sign bit in shifted mantissa.  Always pass -1023 as biased
24262         exponent to ldbl_insert_mantissa in subnormal case.
24264         [BZ #19594]
24265         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24266         on high and low parts then adjust result and use
24267         ldbl_canonicalize_int if needed.
24269         [BZ #19593]
24270         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24271         on high part and __floor or __ceil on low part then use
24272         ldbl_canonicalize_int if needed.
24274         [BZ #19592]
24275         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24276         high and low parts then use ldbl_canonicalize_int if needed.
24278         [BZ #17899]
24279         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24280         New function.
24281         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24282         on high and low parts then use ldbl_canonicalize_int if needed.
24284 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24286         * configure: Regenerated.
24288         * po/libc.pot: Regenerated.
24290         * po/be.po: Updated translation.
24291         * po/bg.po: Likewise.
24292         * po/ca.po: Likewise.
24293         * po/cs.po: Likewise.
24294         * po/da.po: Likewise.
24295         * po/el.po: Likewise.
24296         * po/eo.po: Likewise.
24297         * po/es.po: Likewise.
24298         * po/fi.po: Likewise.
24299         * po/fr.po: Likewise.
24300         * po/gl.po: Likewise.
24301         * po/hr.po: Likewise.
24302         * po/hu.po: Likewise.
24303         * po/ia.po: Likewise.
24304         * po/id.po: Likewise.
24305         * po/it.po: Likewise.
24306         * po/ja.po: Likewise.
24307         * po/lt.po: Likewise.
24308         * po/nb.po: Likewise.
24309         * po/nl.po: Likewise.
24310         * po/pt_BR.po: Likewise.
24311         * po/rw.po: Likewise.
24312         * po/sk.po: Likewise.
24313         * po/sl.po: Likewise.
24314         * po/sv.po: Likewise.
24315         * po/tr.po: Likewise.
24316         * po/zh_CN.po: Likewise.
24317         * po/zh_TW.po: Likewise.
24319         * version.h (RELEAES): Set to "development".
24320         (VERSION): Set to 2.23.90.
24322         * version.h (RELEASE): Set to "stable".
24323         (VERSION): Set to 2.23.
24324         * include/feature.h (__GLIBC_MINOR__): Set to 23.
24326         * NEWS: Updated fixed bugs.
24328 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
24329             Wilco Dijkstra  <wdijkstr@arm.com>
24331         [BZ #19462]
24332         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24333         (_STRING_INLINE_unaligned): This.
24334         * include/string.h: Include <string_private.h>.
24335         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24336         _STRING_INLINE_unaligned.
24337         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24338         (_STRING_INLINE_unaligned): New.
24339         * sysdeps/aarch64/string_private.h: New file.
24340         * sysdeps/generic/string_private.h: Likewise.
24341         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24342         * sysdeps/s390/string_private.h: Likewise.
24343         * sysdeps/x86/string_private.h: Likewise.
24344         * sysdeps/m68k/m680x0/m68020/bits/string.h
24345         (_STRING_ARCH_unaligned): Renamed to ...
24346         (_STRING_INLINE_unaligned): This.
24347         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24348         to ...
24349         (_STRING_INLINE_unaligned): This.
24350         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24351         to ...
24352         (_STRING_INLINE_unaligned): This.
24353         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24354         to ...
24355         (_STRING_INLINE_unaligned): This.
24357 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24358             H.J. Lu  <hongjiu.lu@intel.com>
24360         [BZ #19590]
24361         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24362         relocation.
24364 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
24366         [BZ #18665]
24367         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24368         *herrno_p.
24369         (gaih_getanswer): Document functional behviour. Return tryagain
24370         if any result is tryagain.
24371         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24372         when freed.
24373         * resolv/res_send.c: Add copyright text.
24374         (__libc_res_nsend): Document that MAXPACKET is expected.
24375         (send_vc): Document. Remove buffer reuse.
24376         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24377         size of the buffer. Add Dprint for truncated UDP buffer.
24379 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
24381         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24382         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24383         * INSTALL: Regenerate.
24385 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
24386             Jonathan Wakely  <jwakely@redhat.com>
24387             Carlos O'Donell  <carlos@redhat.com>
24389         [BZ 19439]
24390         * math/Makefile (tests): Add test-math-isinff.
24391         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24392         * math/bits/mathcalls.h [__USE_MISC]: Use
24393         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24394         functions not in C++11 and which don't conflict e.g. isinff,
24395         isinfl etc.
24396         * math/test-math-isinff.cc: New file.
24398 2016-02-12  Florian Weimer  <fweimer@redhat.com>
24400         * misc/bug18240.c (do_test): Set RLIMIT_AS.
24402 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24404         [BZ #19529]
24405         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24407 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24409         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24411 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
24413         [BZ #19550]
24414         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24415         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24416         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24417         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24418         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24419         New syscall entry.
24420         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24421         New syscall entry.
24422         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24423         syscall entry.
24425 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
24427         [BZ #18240]
24428         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24429         unsigned int wraparound.
24431 2016-01-27  Florian Weimer  <fweimer@redhat.com>
24433         [BZ #18240]
24434         * misc/bug18240.c: New test.
24435         * misc/Makefile (tests): Add it.
24437 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
24438             Joseph Myers  <joseph@codesourcery.com>
24440         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24441         load in branch delay slot when less than a word of input left.
24443 2016-01-27  Andreas Schwab  <schwab@suse.de>
24445         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24446         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24447         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24448         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24450 2016-01-26  David S. Miller  <davem@davemloft.net>
24452         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24454 2016-01-25  David S. Miller  <davem@davemloft.net>
24456         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24457         __sqrtl_finite.
24458         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24459         instead using versioned_symbol.
24460         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24461         of entries.
24463         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24464         __sqrtl_finite to GLIBC_2.23
24466 2016-01-25  Ricchard Henderson  <rth@redhat.com>
24468         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24470 2016-01-25  Andreas Schwab  <schwab@suse.de>
24472         [BZ #17514]
24473         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24474         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24475         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24476         * nptl/tst-mutex-errorcheck.c: New file.
24478 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24480         [BZ #18560]
24481         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24482         (IPCOP_semop): Likewise.
24483         (IPCOP_semget): Likewise.
24484         (IPCOP_semctl): Likewise.
24485         (IPCOP_msgsnd): Likewise.
24486         (IPCOP_msgrcv): Likewise.
24487         (IPCOP_msgget): Likewise.
24488         (IPCOP_msgctl): Likewise.
24489         (IPCOP_shmat): Likewise.
24490         (IPCOP_shmdt): Likewise.
24491         (IPCOP_shmget): Likewise.
24492         (IPCOP_shmctl): Likewise.
24494 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24496         * string/tst-endian.c: Include <libc-internal.h>.
24497         (do_test): Ignore tautological-compare warnings around
24498         "htobeXX (beXXtoh (i)) != i" and
24499         "htoleXX (leXXtoh (i)) != i" if-statements.
24501 2016-01-24  David S. Miller  <davem@davemloft.net>
24503         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24504         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24505         alias.
24506         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24507         __sqrtl_finite.
24509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24511 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
24513         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24514         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24515         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24517 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24519         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24520         (thread_func): Use new function to simplify barrier check.
24521         (do_test): Use new function to simplify checking barrier exit
24522         code, and actually join the child thread.
24524 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24526         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24527         semicolon.
24528         (__libc_tend): Likewise.
24529         (__libc_tabort): Likewise.
24531 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
24533         * sysdeps/nios2/libm-test-ulps: Update.
24534         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24535         (__gtsf2): Likewise.
24536         (__unorddf2): Likewise.
24537         (__unordsf2): Likewise.
24538         (__ledf2): Likewise.
24540 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
24542         * nis/nis_table.c (__follow_path): Disable diagnostic for
24543         uninitialized variable that is a false positive for gcc 4.7.
24544         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24546 2016-01-20  Roland McGrath  <roland@hack.frob.com>
24548         * sysdeps/nacl/lowlevellock-futex.h
24549         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24550         Always evaluate PRIVATE argument.
24552 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
24554         [BZ #19490]
24555         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24556         (pthread_cond_broadcast): Use ENTRY/END
24557         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24558         (pthread_cond_signal): Likewise.
24559         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24560         Likewise.
24561         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24562         Likewise.
24563         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24564         Likewise.
24566 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24568         * sysdeps/ieee754/dbl-64/s_finite.c
24569         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24570         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24571         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24572         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24573         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24576         (__gtsf2): Add as optional for libc.so.
24577         (__unordsf2): Likewise.
24578         (__signbit): Remove for libc.so.
24579         (__signbitl): Likewise.
24581 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24583         * iconvdata/bug-iconv11.c (test_ibm93x):
24584         Use %zu printf format specifier for size_t argument.
24586 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24588         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24589         already-recorded ulps.
24590         * sysdeps/arm/libm-test-ulps: Regenerated.
24591         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24592         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24593         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24595 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24596             Paul Pluzhnikov  <ppluzhnikov@google.com>
24598         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24599         assembler not supporting AVX-512.
24601 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24603         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24605 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24607         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24608         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24610         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24612         * sysdeps/arm/libm-test-ulps: Regenerated.
24614 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24616         [BZ #19451]
24617         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24619 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24621         [BZ #19486]
24622         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24623         * sysdeps/generic/fix-fp-int-convert-overflow.h
24624         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24625         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24626         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24627         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24628         Likewise.
24629         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24630         Avoid conversions to long int where inexact exceptions
24631         could be raised.
24632         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24633         Likewise.
24634         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24635         Avoid conversions to long long int where inexact exceptions
24636         could be raised.
24637         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24638         Likewise.
24640 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
24642         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24643         * configure: Regenerated.
24645 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24647         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24649 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
24651         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24652         outside of comment.
24654 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24656         * nptl/tst-barrier1.c: Add description on first line.
24657         * nptl/tst-barrier2.c: Likewise.
24658         * nptl/tst-barrier3.c: Likewise.
24659         * nptl/tst-barrier4.c: Likewise.
24660         * nptl/tst-barrier5.c: Likewise.
24662 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24664         [BZ #18868]
24665         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24667 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24670         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24671         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24672         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24673         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24674         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24675         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24676         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24677         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24678         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24679         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24681 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24683         [BZ #13065]
24684         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24685         new implementation.
24686         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24687         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24688         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24689         (BARRIER_IN_THRESHOLD): New macro.
24690         * nptl/pthread_barrierattr_setpshared.c
24691         (pthread_barrierattr_setpshared): Clean up.
24692         * nptl/tst-barrier4.c: Correct comment.
24693         * nptl/tst-barrier5.c: New file.
24694         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24695         (gen-as-const-headers): Remove lowlevelbarrier.sym.
24696         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24697         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24698         * nptl/lowlevelbarrier.sym: Remove.
24699         * nptl/DESIGN-barrier.txt: Remove.
24700         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24701         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24702         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24703         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24704         error.
24705         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24706         implementation.
24708 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24710         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24711         (do_child): Mask SIGRTMIN while thr is running.
24713 2016-01-15  Martin Sebor  <msebor@redhat.com>
24715         [BZ #19432]
24716         * iconvdata/Makefile: Add bug-iconv11.
24717         * iconvdata/bug-iconv11.c: New test.
24718         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24719         * iconvdata/ibm933.c: Same.
24720         * iconvdata/ibm935.c: Same.
24721         * iconvdata/ibm937.c: Same.
24722         * iconvdata/ibm939.c: Same.
24724 2016-01-15  Martin Sebor  <msebor@redhat.com>
24726         [BZ #19443]
24727         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24728         [DEBUG] (_ufc_set_bits): Declare used.
24729         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24730         [DEBUG] (print_all): Declare used.
24731         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24732         operands of the ternary ?: expression to target type.
24733         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24734         calling the undeclared abort.
24735         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24737 2016-01-15  Martin Sebor  <msebor@redhat.com>
24739         [BZ #18755]
24740         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24741         warnings.
24742         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24743         (__gai_create_helper_thread): Same.
24744         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24745         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24746         to suppress -Wmaybe-uninitialized warnings.
24748 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
24750         [BZ #19465]
24751         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24752         inside if.
24753         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24754         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24755         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24757 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
24759         [BZ #19466]
24760         * time/tst-mktime2.c (time_t_max): Removed.
24761         (time_t_min): Likewise.
24762         (TYPE_SIGNED): New.
24763         (TYPE_MINIMUM): Likewise.
24764         (TYPE_MAXIMUM): Likewise.
24765         (TIME_T_MIN): Likewise.
24766         (TIME_T_MAX): Likewise.
24767         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24768         and TIME_T_MIN.
24769         (do_test): Likewise.
24771 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
24773         [BZ #19467]
24774         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24775         index_Fast_Unaligned_Load flag for Excavator family CPUs.
24777 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
24779         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24781 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
24783         * benchtests/Makefile (PYTHON): Define.
24784         (bench-func): Use $(PYTHON) to run python scripts.
24785         ($(objpfx)bench-%.c): Likewise.
24787 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
24789         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24790         leading slash when `file_name' is "/".
24792 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
24794         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24795         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24796         Likewise.
24797         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24798         Likewise.
24799         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24800         Likewise.
24801         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24802         enum constant and macro.
24803         (PTRACE_SETSIGMASK): Likewise.
24804         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24805         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24806         (PTRACE_GETSIGMASK): Likewise.
24807         (PTRACE_SETSIGMASK): Likewise.
24808         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24809         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24810         Likewise.
24811         (PTRACE_SETSIGMASK): Likewise.
24812         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24813         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24814         (PTRACE_GETSIGMASK): Likewise.
24815         (PTRACE_SETSIGMASK): Likewise.
24816         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24817         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24818         Likewise.
24819         (PTRACE_SETSIGMASK): Likewise.
24820         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24821         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24822         Likewise.
24823         (PTRACE_SETSIGMASK): Likewise.
24824         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24825         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24826         Likewise.
24827         (PTRACE_SETSIGMASK): Likewise.
24828         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24830 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
24831             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24833         [BZ #19439]
24834         * math/bits/mathcalls.h
24835         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24836         prototype.
24837         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24839 2016-01-11  Andreas Schwab  <schwab@suse.de>
24841         [BZ #19253]
24842         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24843         cache when TZDEFRULES was used.
24844         * time/tst-tzname.c: New file.
24845         * time/Makefile (test): Add tst-tzname.
24846         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24847         * timezone/Makefile (test-zones): Add $(posixrules-file).
24848         ($(testdata)/$(posixrules-file)): New rule.
24850 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
24852         Fix doc quoting problems with Texinfo 5
24853         Without this change, in the info file output, Texinfo 5 quotes code
24854         in text with undirected single quotes 'like this' and generates
24855         code examples that with many PDF readers cannot be cut out of PDFs
24856         and pasted into code.
24857         * manual/libc.texinfo: Configure the libc manual like the GNU
24858         Emacs manual, by using @documentencoding and setting
24859         txicodequoteundirected and txicodequotebacktick.  This way,
24860         Texinfo 5 quotes code in text with directed single quotes ‘like
24861         this’ and produces examples that can be cut out of PDFs.  This
24862         change causes Texinfo 5 to generate info files that contain UTF-8
24863         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24864         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24866 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24868         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24869         __libc_tabort, __libc_tend): New wrappers that enforce compiler
24870         barriers to their respective compiler built-ins.
24871         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24872         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24873         * sysdeps/powerpc/sysdep.h: Likewise.
24874         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24875         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24876         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24878 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
24880         * scripts/config.guess: Revert previous shebang change.
24881         * scripts/config.sub: Likewise.
24882         * scripts/mkinstalldirs: Likewise.
24884 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24886         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24887         PPC_FEATURE2_HAS_IEEE128.
24888         * sysdeps/powerpc/dl-procinfo.c:
24889         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24891 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
24893         [BZ #19415]
24894         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24895         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
24896         (_dl_lookup_address): Rewrite using function resolver trampoline.
24897         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24898         two bits in address.
24900 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
24902         * longlong.h: Change !__SHMEDIA__ to
24903         (!defined (__SHMEDIA__) || !__SHMEDIA__).
24904         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24906 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
24907             Joseph Myers  <joseph@codesourcery.com>
24908             Mark Shinwell  <shinwell@codesourcery.com>
24909             Andrew Stubbs  <ams@codesourcery.com>
24910             Rich Felker <dalias@libc.org>
24912         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24914 2016-01-07  Richard Henderson  <rth@redhat.com>
24916         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24918 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
24920         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24921         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24922         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24923         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24924         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24926 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
24927             Joseph Myers  <joseph@codesourcery.com>
24929         * timezone/private.h: Update from tzcode 2015g.
24930         * timezone/tzfile.h: Likewise.
24931         * timezone/tzselect.ksh: Likewise.
24932         * timezone/zdump.c: Likewise.
24933         * timezone/zic.c: Likewise.
24934         * timezone/ialloc.c: Remove file.
24935         * timezone/scheck.c: Likewise.
24936         * timezone/Makefile (extra-objs): Remove variable.
24937         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24938         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24939         -Wno-maybe-uninitialized.
24940         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24941         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24942         (CFLAGS-ialloc.c): Remove variable.
24943         (CFLAGS-scheck.c): Likewise.
24944         * timezone/README: Update list of files from tzcode.
24946 2016-01-07  Khem Raj  <raj.khem@gmail.com>
24948         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24949         instead of __fxprintf when _LIBC is undefined.
24951 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
24953         * catgets/test-gencat.sh: Remove space after shebang.
24954         * conform/GlibcConform.pm: Likewise.
24955         * conform/check-header-lists.sh: Likewise.
24956         * conform/conformtest.pl: Likewise.
24957         * conform/linknamespace.pl: Likewise.
24958         * conform/list-header-symbols.pl: Likewise.
24959         * debug/catchsegv.sh: Likewise.
24960         * elf/genrtldtbl.awk: Likewise.
24961         * elf/tst-pathopt.sh: Likewise.
24962         * elf/tst-rtld-load-self.sh: Likewise.
24963         * grp/tst_fgetgrent.sh: Likewise.
24964         * iconvdata/gen-8bit-gap-1.sh: Likewise.
24965         * iconvdata/gen-8bit-gap.sh: Likewise.
24966         * iconvdata/gen-8bit.sh: Likewise.
24967         * iconvdata/run-iconv-test.sh: Likewise.
24968         * intl/tst-gettext.sh: Likewise.
24969         * intl/tst-gettext2.sh: Likewise.
24970         * intl/tst-gettext4.sh: Likewise.
24971         * intl/tst-gettext6.sh: Likewise.
24972         * intl/tst-translit.sh: Likewise.
24973         * io/ftwtest-sh: Likewise.
24974         * libio/test-freopen.sh: Likewise.
24975         * locale/gen-translit.pl: Likewise.
24976         * malloc/tst-mtrace.sh: Likewise.
24977         * manual/check-safety.sh: Likewise.
24978         * manual/libc-texinfo.sh: Likewise.
24979         * manual/tsort.awk: Likewise.
24980         * manual/xtract-typefun.awk: Likewise.
24981         * nptl/tst-cancel-wrappers.sh: Likewise.
24982         * nptl/tst-tls6.sh: Likewise.
24983         * posix/globtest.sh: Likewise.
24984         * posix/tst-getconf.sh: Likewise.
24985         * posix/wordexp-tst.sh: Likewise.
24986         * scripts/check-c++-types.sh: Likewise.
24987         * scripts/check-local-headers.sh: Likewise.
24988         * scripts/config.guess: Likewise.
24989         * scripts/config.sub: Likewise.
24990         * scripts/cpp: Likewise.
24991         * scripts/cross-test-ssh.sh: Likewise.
24992         * scripts/documented.sh: Likewise.
24993         * scripts/evaluate-test.sh: Likewise.
24994         * scripts/gen-libc-abis: Likewise.
24995         * scripts/gen-sorted.awk: Likewise.
24996         * scripts/list-fixed-bugs.py: Likewise.
24997         * scripts/merge-test-results.sh: Likewise.
24998         * scripts/mkinstalldirs: Likewise.
24999         * scripts/rellns-sh: Likewise.
25000         * scripts/test-installation.pl: Likewise.
25001         * scripts/update-copyrights: Likewise.
25002         * stdio-common/tst-printf.sh: Likewise.
25003         * stdio-common/tst-unbputc.sh: Likewise.
25004         * stdlib/tst-fmtmsg.sh: Likewise.
25005         * stdlib/tst-setcontext3.sh: Likewise.
25006         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25007         * sysdeps/unix/make-syscalls.sh: Likewise.
25009 2016-01-06  John David Anglin  <dave.anglin@bell.net>
25011         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25012         asm stw with atomic_exchange_rel.  Add explanatory comment.
25013         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25014         Likewise.
25016 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25018         [BZ #19122]
25019         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25020         * sysdeps/generic/dl-unistd.h: New file.
25021         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25023 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25025          [BZ #19122]
25026          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25027          * sysdeps/generic/dl-mman.h: New file.
25028          * sysdeps/mach/hurd/dl-mman.h: Likewise.
25030 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
25032         * manual/texinfo.tex: Update to version 2016-01-04.21 with
25033         trailing whitespace removed.
25034         * scripts/config.guess: Update to version 2016-01-01.
25035         * scripts/config.sub: Update to version 2016-01-01.
25036         * scripts/move-if-change: Update from gnulib.
25038 2016-01-04  Anton Blanchard  <anton@samba.org>
25040         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25041         for array indices.
25042         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25044 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
25046         * NEWS: Update copyright dates.
25047         * catgets/gencat.c (print_version): Likewise.
25048         * csu/version.c (banner): Likewise.
25049         * debug/catchsegv.sh: Likewise.
25050         * debug/pcprofiledump.c (print_version): Likewise.
25051         * debug/xtrace.sh (do_version): Likewise.
25052         * elf/ldconfig.c (print_version): Likewise.
25053         * elf/ldd.bash.in: Likewise.
25054         * elf/pldd.c (print_version): Likewise.
25055         * elf/sotruss.sh: Likewise.
25056         * elf/sprof.c (print_version): Likewise.
25057         * iconv/iconv_prog.c (print_version): Likewise.
25058         * iconv/iconvconfig.c (print_version): Likewise.
25059         * locale/programs/locale.c (print_version): Likewise.
25060         * locale/programs/localedef.c (print_version): Likewise.
25061         * login/programs/pt_chown.c (print_version): Likewise.
25062         * malloc/memusage.sh (do_version): Likewise.
25063         * malloc/memusagestat.c (print_version): Likewise.
25064         * malloc/mtrace.pl: Likewise.
25065         * manual/libc.texinfo: Likewise.
25066         * nptl/version.c (banner): Likewise.
25067         * nscd/nscd.c (print_version): Likewise.
25068         * nss/getent.c (print_version): Likewise.
25069         * nss/makedb.c (print_version): Likewise.
25070         * posix/getconf.c (main): Likewise.
25071         * scripts/test-installation.pl: Likewise.
25072         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25074         * All files with FSF copyright notices: Update copyright dates
25075         using scripts/update-copyrights.
25076         * intl/plural.c: Regenerated.
25077         * locale/programs/charmap-kw.h: Likewise.
25078         * locale/programs/locfile-kw.h: Likewise.
25080 2016-01-02  Helge Deller  <deller@gmx.de>
25082         [BZ #19285]
25083         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25084         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25085         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25086         (MADV_xxK_PAGES): Remove.
25088 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
25090         [BZ #15421]
25091         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25092         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
25093         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25094         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25096 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
25098         [BZ #19408]
25099         * sysdeps/unix/sysv/linux/personality.c: New file.
25100         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25101         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25102         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25103         (sysdep_routines): Add personality.
25104         (tests): Add tst-personality.
25105         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25106         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25107         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25108         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25109         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25110         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25111         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25112         Likewise.
25113         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25114         Likewise.
25115         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25116         Likewise.
25117         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25118         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25119         Likewise.
25121 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
25123         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25124         (PATH_ARM_SYSTYPE): Remove.
25125         (PATH_CPUINFO): Likewise.
25126         (IO_BASE_FOOTBRIDGE): Likewise.
25127         (IO_SHIFT_FOOTBRIDGE): Likewise.
25128         (struct platform): Likewise.
25129         (init_iosys): Remove compatibility code for 2.4 kernels.
25130         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25132 2015-12-29  Florian Weimer  <fweimer@redhat.com>
25134         * malloc/tst-malloc-thread-fail.c: New file.
25135         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25136         (tst-malloc-thread-fail): Link against libpthread.
25138 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
25140         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
25141         (get_parser): New function.
25142         (main): New function.
25144 2015-12-29  Rob Wu  <rob@robwu.nl>
25146         [BZ #19369]
25147         * resolv/res_init.c (__res_vinit): Reset defdname before use.
25149 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
25151         [BZ #19270]
25152         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25154 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
25156         [BZ #15421]
25157         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25159 2015-12-23  Torvald Riegel  <triegel@redhat.com>
25161         [BZ #13690]
25162         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25163         after releasing it.
25164         (__lll_robust_unlock): Likewise.
25165         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25166         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25167         (lll_robust_unlock): Likewise.
25168         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25169         Prevent warnings in callers.
25171 2015-12-23  Florian Weimer  <fweimer@redhat.com>
25173         * malloc/arena.c (list_lock): Update comment.
25175 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25177         * sysdeps/powerpc/hwcapinfo.c: Export symbol
25178         __parse_hwcap_and_convert_at_platform to libc.a.
25180 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25182         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25183         platform and feature support for POWER9.
25184         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25185         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25186         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25187         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25188         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25189         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25190         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25191         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25193 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25195         Harmonize generic stdio-lock support with nptl
25197         This fixes build when _IO_funlockfile is a macro, fixes build where
25198         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25199         stack unwind.
25201         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25202         _IO_release_lock ): Use cleanup attribute on new
25203         _IO_acquire_lock_file variable instead of assuming that
25204         _IO_release_lock will be called.
25205         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25206         _IO_acquire_lock_needs_exceptions_enabled.
25207         (_IO_acquire_lock_clear_flags2): New macro.
25209 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25211         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25213 2015-12-21  Florian Weimer  <fweimer@redhat.com>
25215         [BZ #19182]
25216         * malloc/arena.c (list_lock): Document lock ordering requirements.
25217         (free_list_lock): New lock.
25218         (ptmalloc_lock_all): Comment on free_list_lock.
25219         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25220         (detach_arena): Update comment.  free_list_lock is now needed.
25221         (_int_new_arena): Use free_list_lock around detach_arena call.
25222         Acquire arena lock after list_lock.  Add comment, including FIXME
25223         about incorrect synchronization.
25224         (get_free_list): Switch to free_list_lock.
25225         (reused_arena): Acquire free_list_lock around detach_arena call
25226         and attached threads counter update.  Add two FIXMEs about
25227         incorrect synchronization.
25228         (arena_thread_freeres): Switch to free_list_lock.
25229         * malloc/malloc.c (struct malloc_state): Update comments to
25230         mention free_list_lock.
25232 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25234         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25235         Remove functions.
25236         (sloww, sloww1): Accept argument to offset quadrant.
25237         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25238         quadrant.
25239         (__sin, __cos): Consolidate common code into new functions.
25240         (reduce_sincos_1, do_sincos_1): New functions.
25241         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25243         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25244         code to new functions.
25245         (reduce_sincos_2, do_sincos_2): New functions.
25246         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25248         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25249         common code for sincos.
25250         (__cos) [!IN_SINCOS]: Likewise.
25251         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25252         New function.
25253         (__sincos): Use it.
25255 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
25257         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25258         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25259         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25261 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25263         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25266         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25267         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25268         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25269         index_Prefer_No_VZEROUPPER): New feature.
25270         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25271         Prefer_No_VZEROUPPER for Knights Landing.
25273 015-12-18  Torvald Riegel  <triegel@redhat.com>
25275         * math/atest-exp2.c (mp_exp_m1): Remove.
25277 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25279         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25280         syscalls.
25281         (__SYSCALL0): New macro.
25282         (__SYSCALL1): Likewise.
25283         (__SYSCALL2): Likewise.
25284         (__SYSCALL3): Likewise.
25285         (__SYSCALL4): Likewise.
25286         (__SYSCALL5): Likewise.
25287         (__SYSCALL6): Likewise.
25288         (__SYSCALL_CONCAT_X): Likewise.
25289         (__SYSCALL_CONCAT): Likewise.
25290         (__SYSCALL_DIST): Likewise.
25291         (__SYSCALL_CALL): Likewise.
25293 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
25295         [BZ #19363]
25296         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25298 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25300         [BZ #19375]
25301         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25302         negative subnormals.
25304 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
25306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25307         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25308         (INTERNAL_SYSCALL_NCS): Use it.
25309         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25311 2015-12-16  Florian Weimer  <fweimer@redhat.com>
25313         [BZ #19243]
25314         * malloc/arena.c (get_free_list): Remove assert and adjust
25315         reference count handling.  Add comment about reused_arena
25316         interaction.
25317         (reused_arena): Add comments abount get_free_list interaction.
25318         * malloc/tst-malloc-thread-exit.c: New file.
25319         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25320         (tst-malloc-thread-exit): Link against libpthread.
25322 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25324         [BZ #19367]
25325         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25326         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25327         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25328         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25329         (index_Prefer_MAP_32BIT_EXEC): Likewise.
25331 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25333         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25334         Silvermont optimizations for Knights Landing.
25336 2015-12-15  Andreas Schwab  <schwab@suse.de>
25338         [BZ #17197]
25339         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25340         immediately after emitting SI.
25341         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25342         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25343         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25344         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25345         * iconvdata/bug-iconv10.c: New file.
25346         * iconvdata/Makefile (tests): Add bug-iconv10.
25347         ($(objpfx)bug-iconv10.out): New rule.
25349 2015-12-15  Florian Weimer  <fweimer@redhat.com>
25351         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25352         aliasing violation.
25354 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
25356         [BZ #18472]
25357         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25358         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25359         conditionals for them.
25360         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25361         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25362         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25363         sys/kdaemon.h.
25364         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25365         compat-only syscall, obsoleted in glibc 2.23.
25366         (create_module): Likewise.
25367         (get_kernel_syms): Likewise.
25368         (query_module): Likewise.
25369         (uselib): Likewise.
25370         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25372 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
25374         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25375         <linux/version.h>.
25376         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25377         conditional code.
25378         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25379         and ioshift_name initialization.
25381 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25383         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25384         Fix indentation.
25386 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25388         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25390 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25392         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25394 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
25395             Jakub Wilk  <jwilk@debian.org>
25397         [BZ #19347]
25398         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25399         to change the group of the device to the tty group.
25401 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
25403         Split large string section; add truncation advice
25404         * manual/examples/strncat.c: Remove.
25405         This example was misleading, as the code would have undefined
25406         behavior if "hello" was longer than SIZE.  Anyway, the manual
25407         shouldn't encourage strncpy+strncat for this sort of thing.
25408         * manual/string.texi (Copying Strings and Arrays): Split into
25409         three sections Copying Strings and Arrays, Concatenating Strings,
25410         and Truncating Strings, as this section was way too long.  All
25411         cross-referenced changed.  Add advice about string-truncation
25412         functions.  Remove misleading strncat example.
25414 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
25416         * manual/nss.texi (NSS Modules Interface): Document
25417         NSS_STATUS_NOTFOUND and SUCCESS.
25419 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25421         [BZ 18568]
25422         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25423         201505L, for Unicode 8.
25425 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
25427         * locale/C-translit.h: Regenerate.
25429 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25431         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25432         and U+0153.
25434 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
25436         [BZ #19351]
25437         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25438         expanding log(1+z), compare z rather than its square with epsilon
25439         to determine when to avoid evaluating the expansion.
25441         [BZ #19350]
25442         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25443         Increase overflow threshold.
25445         [BZ #19349]
25446         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25447         when small.
25449         * sysdeps/unix/sysv/linux/i386/kernel-features.h
25450         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25451         New macro.
25452         [__LINUX_KERNEL_VERSION >= 0x040300]
25453         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25454         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25455         Likewise.
25456         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25457         Likewise.
25458         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25459         Likewise.
25460         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25461         Likewise.
25462         [__LINUX_KERNEL_VERSION >= 0x040300]
25463         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25464         [__LINUX_KERNEL_VERSION >= 0x040300]
25465         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25466         [__LINUX_KERNEL_VERSION >= 0x040300]
25467         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25468         [__LINUX_KERNEL_VERSION >= 0x040300]
25469         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25470         [__LINUX_KERNEL_VERSION >= 0x040300]
25471         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25472         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25473         Likewise.
25474         [__LINUX_KERNEL_VERSION >= 0x040300]
25475         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25476         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25477         Likewise.
25478         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25479         Likewise.
25480         [__LINUX_KERNEL_VERSION >= 0x040300]
25481         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25482         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25483         Likewise.
25484         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25485         Likewise.
25486         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25487         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25488         Likewise.
25489         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25490         Likewise.
25491         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25492         Likewise.
25493         [__LINUX_KERNEL_VERSION >= 0x040300]
25494         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25495         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25496         Likewise.
25497         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25498         Likewise.
25499         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25500         Likewise.
25501         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25502         Likewise.
25503         [__LINUX_KERNEL_VERSION >= 0x040300]
25504         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25505         [__LINUX_KERNEL_VERSION >= 0x040300]
25506         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25507         [__LINUX_KERNEL_VERSION >= 0x040300]
25508         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25509         [__LINUX_KERNEL_VERSION >= 0x040300]
25510         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25511         [__LINUX_KERNEL_VERSION >= 0x040300]
25512         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25513         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25514         Likewise.
25515         [__LINUX_KERNEL_VERSION >= 0x040300]
25516         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25518         Likewise.
25519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25520         Likewise.
25521         [__LINUX_KERNEL_VERSION >= 0x040300]
25522         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25523         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25524         Likewise.
25525         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25526         Likewise.
25527         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25528         (__ASSUME_SOCKET_SYSCALL): Likewise.
25529         (__ASSUME_BIND_SYSCALL): Likewise.
25530         (__ASSUME_CONNECT_SYSCALL): Likewise.
25531         (__ASSUME_LISTEN_SYSCALL): Likewise.
25532         (__ASSUME_ACCEPT_SYSCALL): Likewise.
25533         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25534         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25535         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25536         (__ASSUME_SEND_SYSCALL): Likewise.
25537         (__ASSUME_SENDTO_SYSCALL): Likewise.
25538         (__ASSUME_RECV_SYSCALL): Likewise.
25539         (__ASSUME_RECVFROM_SYSCALL): Likewise.
25540         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25541         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25542         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25543         (__ASSUME_SENDMSG_SYSCALL): Likewise.
25544         (__ASSUME_RECVMSG_SYSCALL): Likewise.
25545         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25546         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25547         Likewise.
25548         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25549         Likewise.
25550         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25551         Likewise.
25552         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25553         Likewise.
25554         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25555         Likewise.
25556         [__LINUX_KERNEL_VERSION >= 0x020625]
25557         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25558         [__LINUX_KERNEL_VERSION >= 0x020625]
25559         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25560         [__LINUX_KERNEL_VERSION >= 0x020625]
25561         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25562         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25563         Likewise.
25564         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25565         Likewise.
25566         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25567         Likewise.
25568         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25569         Likewise.
25570         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25571         Likewise.
25572         [__LINUX_KERNEL_VERSION >= 0x020625]
25573         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25574         [__LINUX_KERNEL_VERSION >= 0x020625]
25575         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25576         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25577         Likewise.
25578         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25579         Likewise.
25581 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25583         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25584         record the current if the current ABI and CPU support the FP64
25585         extension.
25586         (has-modd-spreg): Define to record the current if the current ABI and
25587         CPU support 32-bit floating point values in odd FPU registers.
25588         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25589         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25590         $(has-modd-spreg) equals yes.
25591         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25592         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25593         $(has-modd-spreg) equal yes.
25595 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25597         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25598         basename.
25600 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25602         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25603         (bench-string): ... here.
25604         (bench): Add bench-string.
25605         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25606         to *-benchset to reflect what they are.
25607         (benchset): Adjust.
25609         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25610         cos-inputs.
25612 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25614         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25615         __attribute__ ((__simd__)) for vector math function declarations.
25617 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25619         Fix typo in strncat, wcsncat manual entries
25620         * manual/string.texi (Copying and Concatenation): Fix typos in
25621         sample implementations of strncat and wcsncat, by having them use
25622         the old value of the destination length, not the new one.
25624 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
25626         [BZ #16961]
25627         [BZ #16962]
25628         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25629         string on the stack for strtod.
25630         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25631         a string on the stack for strtof.
25632         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25633         constructing a string on the stack for strtold.
25634         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25635         __strtold_nan to GLIBC_PRIVATE.
25636         * math/test-nan-overflow.c: New file.
25637         * math/test-nan-payload.c: Likewise.
25638         * math/Makefile (tests): Add test-nan-overflow and
25639         test-nan-payload.
25641 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25643         Consistency about byte vs character in string.texi
25644         * manual/string.texi (String and Array Utilities):
25645         Distinguish more carefully among bytes, multibyte characters,
25646         and wide characters.  Use "byte" when talking about C 'char',
25647         to distinguish it more clearly from multibyte characters.
25648         Say "wide character" or "multibyte character" instead of
25649         "character", when a wide or multibyte character is intended.
25650         Similarly for "multibyte string" versus "string".
25651         Define these terms more carefully.
25653 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
25655         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25656         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25657         Likewise.
25658         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25659         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25660         * sysdeps/sh/math_private.h: New file.
25661         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25662         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25663         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25664         long double function name.
25665         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25666         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25667         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25668         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25669         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25671         Remove __finitel, __isinfl, and __isnanl.
25672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25673         Likewise.
25674         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25676         Remove __finitel.
25677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25678         Likewise.
25679         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25681 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
25683         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25684         installed libmvec_nonshared.a.
25686 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25688         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25689         (sysdep_routines): Likewise.
25690         (sysdep-rtld-routines): Likewise.
25691         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25692         [$(subdir) = nptl](tests-static): test-get_hwcap-static
25693         * sysdeps/powerpc/Versions: Added new
25694         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25695         * sysdeps/powerpc/hwcapinfo.c: New file.
25696         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25697         and parse hwcap, hwcap2 and platform number information.
25698         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
25699         to store HWCAP+HWCAP2 and platform number.
25700         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25701         for HWCAP+HWCAP2 and platform number in the TCB.
25702         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
25703         the HWCAP, HWCAP2 and platform number in the TCB.
25704         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25705         (TLS_INIT_TP): Included calls to add the hwcap and
25706         at_platform values in the TCB in TP initialization.
25707         (TLS_DEFINE_INIT_TP): Likewise.
25708         (THREAD_GET_HWCAP): New macro.
25709         (THREAD_SET_HWCAP): Likewise.
25710         (THREAD_GET_AT_PLATFORM): Likewise.
25711         (THREAD_SET_AT_PLATFORM): Likewise.
25712         * sysdeps/powerpc/powerpc32/dl-machine.h:
25713         (dl_platform_init): New function that calls
25714         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25715         powerpc32.
25716         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25717         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
25718         this functionality, static linking case.
25719         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
25720         linking case.
25721         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25722         __parse_hwcap_and_convert_at_platform for the static linking case.
25723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25724         Included the new __parse_hwcap_and_convert_at_platform symbol in the
25725         ABI list for GLIBC 2.23.
25726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25727         Likewise.
25728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25729         Likewise.
25731 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
25733         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25734         * configure: Regenerate.
25735         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25736         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
25738 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
25740         * iconvdata/ibm930.c: Add comment explaining encoding uses.
25741         * iconvdata/ibm933.c: Likewise.
25742         * iconvdata/ibm935.c: Likewise.
25743         * iconvdata/ibm937.c: Likewise.
25744         * iconvdata/ibm939.c: Likewise.
25746 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25748         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25749         pthread_join.
25750         * nptl/tst-cancel21.c (tf): Likewise.
25752 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25754         [BZ #19313]
25755         * bits/typesizes.h (__CPU_MASK_TYPE): New.
25756         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25757         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25758         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25759         Likewise.
25760         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25761         Likewise.
25762         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25763         Likewise.
25764         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25765         Likewise.
25766         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25767         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25768         unsigned long int with __CPU_MASK_TYPE.
25770 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25772         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25774 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
25776         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25777         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25778         t512.x.
25779         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25781 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
25783         [BZ #19214]
25784         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25785         argument to return extended model.  Update family and model
25786         with extended family and model when family == 0x0f.
25787         (init_cpu_features): Updated.
25789 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25791         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25792         signed off_t, so 32bit bigger than 2GiB values are fine actually.
25794         * sysdeps/mach/hurd/mmap64.c: New file.
25796 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
25798         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25799         rights for its main user thread in NEWTASK.
25801 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
25803         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25804         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25806 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
25808         [BZ #14259]
25809         * Makeconfig: Rename localedir to complocaledir.
25810         Rename inst_localedir to inst_complocaledir.
25811         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25812         * config.make.in: Use complocaledir and libc_cv_complocaledir.
25813         * configure.ac: Use libc_cv_complocaledir.
25814         * configure: Regenerate.
25815         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25816         -DCOMPLOCALEDIR.
25817         * locale/findlocale.c: Use COMPLOCALEDIR.
25818         * locale/loadarchive.c: Likewise.
25819         * locale/programs/locale.c: Likewise.
25820         * locale/programs/localedef.c: Likewise.
25821         * locale/programs/locarchive.c: Likewise.
25822         * localedata/Makefile: Use inst_complocaledir.
25823         * sysdeps/gnu/configure: Regenerate.
25824         * sysdeps/hppa/configure: Regenerate.
25825         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25826         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25828         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25829         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25830         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25831         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25833 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
25835         [BZ #19058]
25836         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25837         AS_NEEDED.
25838         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25839         workaround.
25840         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25841         libmvec-static-only-routines): Added new file.
25842         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25844 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25846         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25847         of interrupted RPC instead of restoring it.
25849         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25850         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25851         libc_hidden_def.
25852         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25853         into initialized data instead of common. Define rtld_hidden_data_def.
25854         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25855         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25856         libc_hidden_def.
25857         (if_freenameindex): Add libc_hidden_weak.
25858         (if_nameindex): Add libc_hidden_weak.
25859         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25860         __open64.
25861         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25862         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25863         * sysdeps/mach/nanosleep.c: Include <time.h>
25864         (__nanosleep): Rename to __libc_nanosleep.
25865         (__nanosleep): Add weak_alias.
25866         (nanosleep): Update alias.
25868 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
25870         * stdlib/strtod_nan.c: New file.
25871         * stdlib/strtod_nan_double.h: Likewise.
25872         * stdlib/strtod_nan_float.h: Likewise.
25873         * stdlib/strtod_nan_main.c: Likewise.
25874         * stdlib/strtod_nan_narrow.h: Likewise.
25875         * stdlib/strtod_nan_wide.h: Likewise.
25876         * stdlib/strtof_nan.c: Likewise.
25877         * stdlib/strtold_nan.c: Likewise.
25878         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25879         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25880         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25881         * wcsmbs/wcstod_nan.c: Likewise.
25882         * wcsmbs/wcstof_nan.c: Likewise.
25883         * wcsmbs/wcstold_nan.c: Likewise.
25884         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25885         strtold_nan.
25886         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25887         wcstof_nan.
25888         * include/stdlib.h (__strtof_nan): Declare and use
25889         libc_hidden_proto.
25890         (__strtod_nan): Likewise.
25891         (__strtold_nan): Likewise.
25892         (__wcstof_nan): Likewise.
25893         (__wcstod_nan): Likewise.
25894         (__wcstold_nan): Likewise.
25895         * include/wchar.h (____wcstoull_l_internal): Declare.
25896         * stdlib/strtod_l.c: Do not include <ieee754.h>.
25897         (____strtoull_l_internal): Remove declaration.
25898         (STRTOF_NAN): Define macro.
25899         (SET_MANTISSA): Remove macro.
25900         (STRTOULL): Likewise.
25901         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25902         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25903         (STRTOF_NAN): Define macro.
25904         (SET_MANTISSA): Remove macro.
25905         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25906         (SET_MANTISSA): Remove macro.
25907         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25908         macro.
25909         (SET_MANTISSA): Remove macro.
25910         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25911         macro.
25912         (SET_MANTISSA): Remove macro.
25913         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25914         (SET_MANTISSA): Remove macro.
25915         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25916         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25917         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25919         [BZ #19266]
25920         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25921         upper case and lower case letters inside NAN(), not using TOLOWER.
25922         * stdlib/tst-strtod-nan-locale-main.c: New file.
25923         * stdlib/tst-strtod-nan-locale.c: Likewise.
25924         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25925         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25926         Depend on $(gen-locales).
25927         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25928         * wcsmbs/tst-wcstod-nan-locale.c: New file.
25929         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25930         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25931         Depend on $(gen-locales).
25932         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25934 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
25936         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25938         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25940         __finitel, __isinfl, and __isnanl.
25941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25942         Likewise.
25943         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25945         __finitel.
25946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25947         Likewise.
25948         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25950 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25952         * malloc/memusage.c (me): Remove redundant getenv call.
25954 2015-10-24  Florian Weimer  <fweimer@redhat.com>
25956         [BZ #19143]
25957         [BZ #19164]
25958         * nptl/check-cpuset.h: Remove.
25959         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25960         Remove CPU set size check.
25961         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25962         Likewise.
25963         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25964         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25965         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25966         (__pthread_setaffinity_new): Remove CPU set size check.
25967         * sysdeps/unix/sysv/linux/sched_setaffinity.c
25968         (__kernel_cpumask_size): Remove.
25969         (__sched_setaffinity_new): Remove CPU set size check.
25970         * manual/threads.texi (Default Thread Attributes): Remove stale
25971         reference to check_cpuset_attr, determine_cpumask_size in comment.
25972         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25973         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
25974         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25975         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25976         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25977         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25978         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25979         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25980         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25981         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25982         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25983         skeleton test file.
25984         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
25985         tst-affinity-pid.
25987 2015-11-24  Florian Weimer  <fweimer@redhat.com>
25989         * scripts/update-abilist.sh: New file.
25990         * Makefile (+subdir_targets): Add subdir_update-all-abi.
25991         * Makerules (update-all-abi-%, update-all-abi)
25992         (subdir_update-all-abi): New targets.
25993         * elf/Makefile (update-all-abi): New target.
25995 2015-11-24  Florian Weimer  <fweimer@redhat.com>
25997         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25998         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25999         (__libc_lock_define_initialized): Use it.
26000         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26001         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26002         * malloc/malloc.c (main_arena): Likewise.
26003         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26004         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26006 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
26008         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26009         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26010         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26011         (PTRACE_O_MASK): Update value.
26012         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26013         New value in enum __ptrace_setoptions.
26014         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26015         (PTRACE_O_MASK): Update value.
26016         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26017         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26018         (PTRACE_O_MASK): Update value.
26019         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26020         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26021         (PTRACE_O_MASK): Update value.
26022         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26023         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26024         (PTRACE_O_MASK): Update value.
26025         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26026         New value in enum __ptrace_setoptions.
26027         (PTRACE_O_MASK): Update value.
26028         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26029         New value in enum __ptrace_setoptions.
26030         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26031         (PTRACE_O_MASK): Update value.
26033         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26034         New macro.
26035         (PACKET_AUXDATA): Likewise.
26036         (PACKET_ORIGDEV): Likewise.
26037         (PACKET_VERSION): Likewise.
26038         (PACKET_HDRLEN): Likewise.
26039         (PACKET_RESERVE): Likewise.
26040         (PACKET_TX_RING): Likewise.
26041         (PACKET_LOSS): Likewise.
26042         (PACKET_VNET_HDR): Likewise.
26043         (PACKET_TX_TIMESTAMP): Likewise.
26044         (PACKET_TIMESTAMP): Likewise.
26045         (PACKET_FANOUT): Likewise.
26046         (PACKET_TX_HAS_OFF): Likewise.
26047         (PACKET_QDISC_BYPASS): Likewise.
26048         (PACKET_ROLLOVER_STATS): Likewise.
26049         (PACKET_FANOUT_DATA): Likewise.
26050         (PACKET_MR_UNICAST): Likewise.
26052         [BZ #19242]
26053         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26054         (TOUPPER): Likewise.
26055         * stdlib/tst-strtol-locale-main.c: New file.
26056         * stdlib/tst-strtol-locale.c: Likewise.
26057         * stdlib/Makefile (tests): Add tst-strtol-locale.
26058         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26059         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26060         Depend on $(gen-locales).
26061         * wcsmbs/tst-wcstol-locale.c: New file.
26062         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26063         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26064         tr_TR.ISO-8859-9.
26065         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26066         Depend on $(gen-locales).
26068 2015-11-20  Roland McGrath  <roland@hack.frob.com>
26070         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26071         __glibc_likely instead of __builtin_expect.  After falling back to
26072         dyncode_create in a non-ET_DYN case, use the allocate_code_data
26073         system interface to register the code pages as occupied.
26075 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
26077         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26078         [!ARM_MATH_PRIVATE_H].
26079         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26080         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26081         [!HPPA_MATH_PRIVATE_H].
26082         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26083         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26084         to [!I386_MATH_PRIVATE_H].
26085         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26086         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26087         Change guard to [!M68K_MATH_PRIVATE_H].
26088         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26089         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26090         guard to [!MICROBLAZE_MATH_PRIVATE_H].
26091         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26092         macro.
26093         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26094         [!MIPS_MATH_PRIVATE_H].
26095         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26096         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26097         [!NIO2_MATH_PRIVATE_H].
26098         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26099         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26100         [!TILE_MATH_PRIVATE_H].
26101         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26103         [BZ #15421]
26104         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26105         initialize with 0 and define as weak alias of __signgam.
26106         * include/math.h [!_ISOMAC] (__signgam): Declare.
26107         * math/Makefile (libm-calls): Add w_lgamma_compat.
26108         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26109         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26110         test-signgam-ullong-init.
26111         (tests-static): Add test-signgam-uchar-static,
26112         test-signgam-uchar-init-static, test-signgam-uint-static,
26113         test-signgam-uint-init-static, test-signgam-ullong-static and
26114         test-signgam-ullong-init-static.
26115         (CFLAGS-test-signgam-uchar.c): New variable.
26116         (CFLAGS-test-signgam-uchar-init.c): Likewise.
26117         (CFLAGS-test-signgam-uchar-static.c): Likewise.
26118         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26119         (CFLAGS-test-signgam-uint.c): Likewise.
26120         (CFLAGS-test-signgam-uint-init.c): Likewise.
26121         (CFLAGS-test-signgam-uint-static.c): Likewise.
26122         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26123         (CFLAGS-test-signgam-ullong.c): Likewise.
26124         (CFLAGS-test-signgam-ullong-init.c): Likewise.
26125         (CFLAGS-test-signgam-ullong-static.c): Likewise.
26126         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26127         * math/Versions (libm): Add GLIBC_2.23.
26128         * math/lgamma-compat.h: New file.
26129         * math/test-signgam-main.c: Likewise.
26130         * math/test-signgam-uchar-init-static.c: Likewise.
26131         * math/test-signgam-uchar-init.c: Likewise.
26132         * math/test-signgam-uchar-static.c: Likewise.
26133         * math/test-signgam-uchar.c: Likewise.
26134         * math/test-signgam-uint-init-static.c: Likewise.
26135         * math/test-signgam-uint-init.c: Likewise.
26136         * math/test-signgam-uint-static.c: Likewise.
26137         * math/test-signgam-uint.c: Likewise.
26138         * math/test-signgam-ullong-init-static.c: Likewise.
26139         * math/test-signgam-ullong-init.c: Likewise.
26140         * math/test-signgam-ullong-static.c: Likewise.
26141         * math/test-signgam-ullong.c: Likewise.
26142         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26143         wrapper of w_lgamma_main.c.
26144         * math/w_lgamma_compat.c: New file.
26145         * math/w_lgamma_compatf.c: Likewise.
26146         * math/w_lgamma_compatl.c: Likewise.
26147         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
26148         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26149         defining compatibility symbols.
26150         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
26151         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26152         wrapper of w_lgammaf_main.c.
26153         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
26154         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26155         defining compatibility symbols.
26156         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
26157         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26158         wrapper of w_lgammal_main.c.
26159         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
26160         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26161         defining compatibility symbols.
26162         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
26163         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26164         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26165         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
26166         <lgamma-compat.h>.
26167         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
26168         (__ieee754_gamma): Define as alias.
26169         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26170         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
26171         <lgamma-compat.h>.
26172         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
26173         (__ieee754_gammaf): Define as alias.
26174         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26175         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
26176         <lgamma-compat.h>.
26177         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
26178         (__ieee754_gammal): Define as alias.
26179         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26180         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
26181         <math/w_lgamma_compat.c>.
26182         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26183         Define as alias of __lgamma_compat and use in defining lgammal.
26184         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26185         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
26186         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26187         (USE_AS_COMPAT): New macro.
26188         (LGAMMA_OLD_VER): Undefine and redefine.
26189         (lgammal): Do not define here.
26190         (gammal): Only define here if [GAMMA_ALIAS].
26191         * conform/linknamespace.pl (@whitelist): Remove signgam.
26192         * sysdeps/nacl/libm.abilist: Update.
26193         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26194         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26195         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26196         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26197         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26198         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26199         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26200         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26201         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26202         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26203         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26204         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26206         Likewise.
26207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26208         Likewise.
26209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26210         Likewise.
26211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26212         Likewise.
26213         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26214         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26215         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26216         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26217         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26219         Likewise.
26220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26221         Likewise.
26222         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26223         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26224         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26226 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26228         [BZ #16364]
26229         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26230         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26232 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26234         * sysdeps/s390/fpu/bits/mathinline.h:
26235         Use __asm__ [__volatile__] instead of asm [volatile].
26236         * sysdeps/s390/abort-instr.h: Likewise.
26237         * sysdeps/s390/atomic-machine.h: Likewise.
26238         * sysdeps/s390/bits/string.h: Likewise.
26239         * sysdeps/s390/dl-tls.h: Likewise.
26240         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26241         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26242         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26243         * sysdeps/s390/fpu/fesetround.c: Likewise.
26244         * sysdeps/s390/fpu/fpu_control.h: Likewise.
26245         * sysdeps/s390/fpu/s_fma.c: Likewise.
26246         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26247         * sysdeps/s390/memusage.h: Likewise.
26248         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26249         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26250         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26251         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26252         * sysdeps/s390/nptl/tls.h: Likewise.
26253         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26254         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26255         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26256         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26257         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26258         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26259         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26260         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26261         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26262         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26263         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26264         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26265         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26266         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26267         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26268         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26269         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26270         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26271         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26272         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26273         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26275         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26277 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26278             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26280         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26281         Add lwarx hint, and use macro for acquire instruction.
26282         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26283         Likewise.
26284         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26285         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26286         update to use new atomic macros.
26288 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26290         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26291         (__lll_trylock_elision): Fix setting of adapt_count.
26292         * sysdeps/unix/sysv/linux/powerpc/htm.h
26293         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26294         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26295         (_ABORT_SYSCALL): Renumber, and clarify definition.
26296         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26298 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26300         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26301         after system headers to prevent MIN/MAX redefinition.  Define
26302         HAVE_ALLOCA to preserve builtin alloca usage.
26304 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
26306         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26307         static and don't set or restore rounding.
26308         (__cos)[IN_SINCOS]: Likewise.
26309         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26310         (__sincos): Set and restore rounding mode.  Remove check for infinite
26311         or NaN input.
26313         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26315         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26316         as used.
26318 2015-11-16  Florian Weimer  <fweimer@redhat.com>
26320         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26322 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26324         * config.make.in (have-glob-dat-reloc): New.
26325         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
26326         target supports GLOB_DAT relocaton. AC_SUBST.
26327         * configure: Regenerated.
26328         * elf/Makefile (tests): Add tst-prelink.
26329         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26330         (tst-prelink-ENV): New.
26331         ($(objpfx)tst-prelink-conflict.out): Likewise.
26332         ($(objpfx)tst-prelink-cmp.out): Likewise.
26333         * sysdeps/x86/tst-prelink.c: Moved to ...
26334         * elf/tst-prelink.c: Here.
26335         * sysdeps/x86/tst-prelink.exp: Moved to ...
26336         * elf/tst-prelink.exp: Here.
26337         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26338         (tst-prelink-ENV): Removed.
26339         ($(objpfx)tst-prelink-conflict.out): Likewise.
26340         ($(objpfx)tst-prelink-cmp.out): Likewise.
26341         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26343 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
26345         [BZ #14551]
26346         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26347         (__mpn_construct_long_double): If high part overflows to infinity,
26348         set errno and recompute overflowed result of the correct sign.
26349         * sysdeps/ieee754/ldbl-128ibm/Makefile
26350         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26351         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26352         $(libm).
26353         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26355 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
26357         [BZ #15479]
26358         [BZ #19238]
26359         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26360         floating-point state after first operation on input.  Restore full
26361         state rather than just rounding mode.
26362         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26363         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26364         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26366         [BZ #19235]
26367         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26368         add 0.5 to integer arguments.
26369         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26370         Likewise.
26371         (.LC2): New object.
26373 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
26375         * scripts/pylintrc (reports): Set to no.
26377 2015-11-10  Roland McGrath  <roland@hack.frob.com>
26379         * elf/dl-load.c (open_verify): Take new argument FD.
26380         Skip __open call if passed FD is not -1.
26381         (_dl_map_object, open_path): Update callers.
26382         * elf/dl-sysdep-open.h: New file.
26383         * elf/dl-load.c: Include it.
26384         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26385         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26386         * sysdeps/nacl/dl-sysdep-open.h: New file.
26387         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26388         from libc to rtld.
26390 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26392         [BZ #19228]
26393         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26394         and restore full floating-point state.
26395         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26396         Likewise.
26397         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26398         Likewise.
26399         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26400         Likewise.
26401         * math/test-nearbyint-except-2.c: New file.
26402         * math/Makefile (tests): Add test-nearbyint-except-2.
26404 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
26406         [BZ #19178]
26407         * sysdeps/x86/Makefile (tests): Add tst-prelink.
26408         (tst-prelink-ENV): New.
26409         ($(objpfx)tst-prelink-conflict.out): Likewise.
26410         ($(objpfx)tst-prelink-cmp.out): Likewise.
26411         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26412         * sysdeps/x86/tst-prelink.c: New file.
26413         * sysdeps/x86/tst-prelink.exp: Likewise.
26415 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26417         * math/auto-libm-test-in: Add another test of pow.
26418         * math/auto-libm-test-out: Regenerated.
26419         * math/libm-test.inc (pow_test_data): Add another test.
26421 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26423         [BZ #19219]
26424         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26425         weak_alias to nearbyintl.
26427 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26429         * sysdeps/aarch64/bits/string.h: New file.
26430         (_STRING_ARCH_unaligned): Define.
26432 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26434         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26435         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26436         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26437         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26440 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
26442         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26443         for original name of the DSO.  Add it to the name list of the DSO
26444         if it is actually given.
26445         (_dl_map_object): Keep track of whether an audit module rewrote
26446         the file name.  If yes, pass the original name to
26447         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
26448         debugging is enabled, log the change of the file name.
26449         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26450         _dl_map_object_from_fd.
26451         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26452         * elf/tst-audit11.c: New file
26453         * elf/tst-auditmod11.c: New file.
26454         * elf/tst-audit11mod1.c: New file.
26455         * elf/tst-audit11mod2.c: New file.
26456         * elf/tst-audit11mod2.map: New file.
26457         * elf/tst-audit12.c: New file
26458         * elf/tst-auditmod12.c: New file.
26459         * elf/tst-audit12mod1.c: New file.
26460         * elf/tst-audit12mod2.c: New file.
26461         * elf/tst-audit12mod2.map: New file.
26462         * elf/tst-audit12mod3.c: New file.
26464 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26466         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26467         Don't create weak aliases,
26468         because versioned symbols are created later.
26469         * sysdeps/s390/s390-32/setjmp.S
26470         (setjmp, _setjmp): Remove weak and rename to an unique name
26471         in SHARED case due to existing versioned symbols.
26472         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26473         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26474         (getcontext): Create weak alias only in non SHARED case.
26475         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26477 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26479         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26480         (__ASSUME_*_SYSCALL) Define new macros.
26481         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26482         Remove socketcall syscalls.
26483         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26484         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26485         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26486         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26487         * sysdeps/unix/sysv/linux/send.c (__libc_send):
26488         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26490 2015-11-09  Florian Weimer  <fweimer@redhat.com>
26492         [BZ #12926]
26493         Terminate process on invalid netlink response.
26494         * sysdeps/unix/sysv/linux/netlinkaccess.h
26495         (__netlink_assert_response): Declare.
26496         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26497         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26498         (sysdep_routines): Add netlink_assert_response.
26499         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26500         __netlink_assert_response.
26501         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26502         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26503         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26504         __netlink_assert_response.
26506 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26508         [BZ #19178]
26509         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26510         (RTYPE_CLASS_PLT): Likewise.
26511         (RTYPE_CLASS_COPY): Likewise.
26512         (RTYPE_CLASS_TLS): Likewise.
26513         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26514         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
26515         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26516         DL_DEBUG_PRELINK.
26518 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
26520         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26521         calls with argument -0.5.
26522         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26524         * configure.ac (libc_cv_z_nodelete): Remove configure test.
26525         (libc_cv_z_nodlopen): Likewise.
26526         (libc_cv_z_initfirst): Likewise.
26527         * configure: Regenerated.
26529 2015-11-06  Florian Weimer  <fweimer@redhat.com>
26531         Simplify abilist format to be line-based.
26532         * scripts/abilist.awk: Collect descriptors in the descs variable.
26533         (emit): Write descs variable and sort it
26534         externally, with sort.
26535         * sysdeps/**/*.abilist: Convert to new format.
26537 2015-11-06  Mark Wielaard  <mjw@redhat.com>
26539         [BZ #11460]
26540         * io/Makefile (routines): Add fts64.
26541         (tests): Add tst-fts and tst-fts-lfs.
26542         (CFLAGS-fts64.c): New.
26543         * io/Versions (GLIBC_2.23): New.
26544         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26545         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26546         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26547         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26548         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26549         (FTSENT64): Likewise.
26550         (fts64_children): Likewise.
26551         (fts64_close): Likewise.
26552         (fts64_open): Likewise.
26553         (fts64_read): Likewise.
26554         (fts64_set): Likewise.
26555         * io/fts64.c: New file.
26556         * io/tst-fts.c: New test.
26557         * io/tst-fts-lfs.c: Likewise.
26558         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26559         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26560         fts64_set.
26561         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26562         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26563         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26564         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26565         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26566         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26567         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26568         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26569         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26570         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26571         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26572         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26573         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26575         Likewise.
26576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26577         Likewise.
26578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26580         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26581         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26582         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26583         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26584         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26587         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26588         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26589         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26590         * sysdeps/wordsize-64/fts.c: New file.
26591         * sysdeps/wordsize-64/fts64.c: Likewise.
26592         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26593         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26594         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26595         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26597 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26599         * math/libm-test.inc (NON_FINITE): New macro.
26600         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26601         * math/gen-libm-test.pl (show_exceptions): Add argument
26602         $non_finite.
26603         (parse_args): Update call to show_exceptions.
26604         * math/test-math-finite.h: New file.
26605         * math/test-math-no-finite.h: Likewise.
26606         * math/test-double-finite.c: Likewise.
26607         * math/test-float-finite.c: Likewise.
26608         * math/test-ldouble-finite.c: Likewise.
26609         * math/test-double.c: Include "test-math-no-finite.h".
26610         * math/test-float.c: Include "test-math-no-finite.h".
26611         * math/test-ldouble.c: Include "test-math-no-finite.h".
26612         * math/test-math-inline.h (TEST_FINITE): New macro.
26613         * math/test-math-vector.h (TEST_FINITE): Likewise.
26614         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26615         (libm-tests): Add test-float-finite and test-double-finite.
26616         ($(objpfx)test-float-finite.o): New dependency on
26617         $(objpfx)libm-test.stmp.
26618         ($(objpfx)test-double-finite.o): Likewise.
26619         ($(objpfx)test-ldouble-finite.o): Likewise.
26620         (libm-test-no-inline-cflags): New variable.
26621         (libm-test-finite-cflags): Likewise.
26622         (CFLAGS-test-float-finite.c): Likewise.
26623         (CFLAGS-test-double-finite.c): Likewise.
26624         (CFLAGS-test-ldouble-finite.c): Likewise.
26625         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26626         (CFLAGS-test-double.c): Likewise.
26627         (CFLAGS-test-ldouble.c): Likewise.
26629 2015-11-05  Roland McGrath  <roland@hack.frob.com>
26631         * io/fcntl.c (__fcntl): Add ... to prototype.
26632         * misc/ioctl.c (__ioctl): Likewise.
26633         * misc/syscall.c (syscall): Likewise.
26635 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26637         * scripts/list-fixed-bugs.py: New file.
26639         [BZ #19213]
26640         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26641         returned for argument 1.
26642         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26643         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26644         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26645         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26646         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26647         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26649         [BZ #19211]
26650         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26651         __USE_XOPEN], not if [!__USE_ISOC99].
26652         (lgammaf): Likewise.
26653         (lgammal): Likewise.
26654         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26655         (gammaf): Likewise.
26656         (gammal): Likewise.
26657         * math/test-signgam-finite-c11.c: New file.
26658         * math/test-signgam-finite-c99.c: Likewise.
26659         * math/test-signgam-finite.c: Likewise.
26660         * math/Makefile (tests): Add test-signgam-finite,
26661         test-signgam-finite-c99 and test-signgam-finite-c11.
26662         (CFLAGS-test-signgam-finite.c): New variable.
26663         (CFLAGS-test-signgam-finite-c99.c): Likewise.
26664         (CFLAGS-test-signgam-finite-c11.c): Likewise.
26666         [BZ #19212]
26667         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26668         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26669         500].
26670         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26671         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26672         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26673         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26674         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26675         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26676         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26677         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26678         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26679         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26681         [BZ #19209]
26682         * math/bits/math-finite.h (ldexp): Remove declaration.
26683         (ldexpf): Likewise.
26684         (ldexpl): Likewise.
26686         [BZ #19205]
26687         * math/bits/math-finite.h (acosf): Condition declaration on
26688         [__USE_ISOC99].
26689         (acosl): Likewise.
26690         (acoshf): Likewise.
26691         (acoshl): Likewise.
26692         (asinf): Likewise.
26693         (asinl): Likewise.
26694         (atan2f): Likewise.
26695         (atan2l): Likewise.
26696         (atanhf): Likewise.
26697         (atanhl): Likewise.
26698         (coshf): Likewise.
26699         (coshl): Likewise.
26700         (expf): Likewise.
26701         (expl): Likewise.
26702         (fmodf): Likewise.
26703         (fmodl): Likewise.
26704         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26705         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26706         (j0l): Likewise.
26707         (y0f): Likewise.
26708         (y0l): Likewise.
26709         (j1f): Likewise.
26710         (j1l): Likewise.
26711         (y1f): Likewise.
26712         (y1l): Likewise.
26713         (jnf): Likewise.
26714         (jnl): Likewise.
26715         (ynf): Likewise.
26716         (ynl): Likewise.
26717         (lgammaf_r): Condition declaration on [__USE_ISOC99].
26718         (lgammal_r): Likewise.
26719         (__lgamma_r_finite): New declaration.
26720         (__lgammaf_r_finite): Likewise.
26721         (__lgammal_r_finite): Likewise.
26722         (lgamma): Use __lgamma_r_finite.
26723         (lgammaf): Condition definition on [__USE_ISOC99].  Use
26724         __lgammaf_r_finite.
26725         (lgammal): Condition definition on [__USE_ISOC99].  Use
26726         __lgammal_r_finite.
26727         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
26728         __lgamma_r_finite.
26729         (gammaf): Condition definition on [__USE_ISOC99].  Use
26730         __lgammaf_r_finite.
26731         (gammal): Condition definition on [__USE_ISOC99].  Use
26732         __lgammal_r_finite.
26733         (logf): Condition declaration on [__USE_ISOC99].
26734         (logl): Likewise.
26735         (log10f): Likewise.
26736         (log10l): Likewise.
26737         (ldexpf): Likewise.
26738         (ldexpl): Likewise.
26739         (powf): Likewise.
26740         (powl): Likewise.
26741         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26742         __USE_ISOC99].
26743         (remainderf): Condition declaration on [__USE_ISOC99].
26744         (remainderl): Likewise.
26745         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26746         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26747         (scalbl): Likewise.
26748         (sinhf): Condition declaration on [__USE_ISOC99].
26749         (sinhl): Likewise.
26750         (sqrtf): Likewise.
26751         (sqrtl): Likewise.
26753 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26755         * sysdeps/arm/atomic-machine.h
26756         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26757         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26758         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26759         Remove conditional code.
26760         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26761         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26762         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26763         Change conditional to [__ASSEMBLER__].
26764         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26765         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26766         [!__ASSEMBLER__].
26767         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26768         code.
26769         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26770         conditional macro definitions.
26771         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26772         (__arch_compare_and_exchange_val_16_acq): Likewise.
26773         (__arch_compare_and_exchange_val_32_acq): Likewise.
26774         (atomic_exchange_and_add): Likewise.
26775         (atomic_add): Likewise.
26776         (atomic_add_negative): Likewise.
26777         (atomic_add_zero): Likewise.
26778         (atomic_bit_set): Likewise.
26779         (atomic_bit_test_set): Likewise.
26780         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26781         code unconditional.
26782         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26784         * math/test-math-errno.h: New file.
26785         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26786         empty.
26787         (TEST_ERRNO): New macro.
26788         (TEST_EXCEPTIONS): Likewise.
26789         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26790         (TEST_EXCEPTIONS): Likewise.
26791         * math/test-math-vector.h (TEST_ERRNO): Likewise.
26792         * math/test-double.c: Include "test-math-errno.h".
26793         * math/test-float.c: Likewise.
26794         * math/test-ldouble.c: Likewise.
26795         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26796         code unconditional.
26797         (test_exceptions): Only run code if TEST_EXCEPTIONS.
26798         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26799         unconditional.
26800         (test_errno): Only run code if TEST_ERRNO.
26801         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26803 2015-11-04  Florian Weimer  <fweimer@redhat.com>
26805         * nptl/tst-once5.cc: Remove attribution.
26807 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26809         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26810         sqrt, tan, tanh, y0, y1 and yn.
26811         * math/auto-libm-test-out: Regenerated.
26812         * math/libm-test.inc (scalb_test_data): Add more tests.
26813         (scalbn_test_data): Likewise.
26814         (scalbln_test_data): Likewise.
26815         (signbit_test_data): Likewise.
26816         (sin_test_data): Likewise.
26817         (sincos_test_data): Likewise.
26818         (sinh_test_data): Likewise.
26819         (sqrt_test_data): Likewise.
26820         (tan_test_data): Likewise.
26821         (tanh_test_data): Likewise.
26822         (tgamma_test_data): Likewise.
26823         (y0_test_data): Likewise.
26824         (y1_test_data): Likewise.
26825         (yn_test_data): Likewise.
26826         (significand_test_data): Likewise.
26827         * sysdeps/i386/fpu/libm-test-ulps: Update.
26829 2015-11-03  David Kastrup  <dak@gnu.org>
26831         [BZ #18604]
26832         * assert/assert.h (assert): Don't macro-expand failed assertion
26833         expression in error message.
26834         * malloc/malloc.c (assert): Likewise.
26836 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
26838         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26839         test.
26840         * configure: Regenerated.
26842 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
26844         * math/libm-test.inc (modf_test_data): Add more tests.
26845         (nearbyint_test_data): Likewise.
26846         (nextafter_test_data): Likewise.
26847         (nexttoward_test_data): Likewise.
26848         (pow_test_data): Likewise.
26849         (remainder_test_data): Likewise.
26850         (remquo_test_data): Likewise.
26851         (rint_test_data): Likewise.
26853         [BZ #19201]
26854         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26855         Check for zero remainder in case of large exponents and ensure
26856         correct sign of result in that case.
26857         * math/libm-test.inc (remainder_test_data): Add more tests.
26859         [BZ #6799]
26860         * math/s_nextafter.c: Include <errno.h>.
26861         (__nextafter): Set errno on overflow and underflow.
26862         * math/s_nexttowardf.c: Include <errno.h>.
26863         (__nexttowardf): Set errno on overflow and underflow.
26864         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26865         (__nextafterl): Set errno on overflow and underflow.
26866         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26867         (__nexttoward): Set errno on overflow and underflow.
26868         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26869         (__nexttowardf): Set errno on overflow and underflow.
26870         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26871         (__nextafterf): Set errno on overflow and underflow.
26872         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26873         (__nextafterl): Set errno on overflow and underflow.
26874         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26875         (__nexttoward): Set errno on overflow and underflow.
26876         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26877         (__nexttowardf): Set errno on overflow and underflow.
26878         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26879         (__nextafterl): Set errno on overflow and underflow.
26880         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26881         (__nexttoward): Set errno on overflow and underflow.
26882         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26883         (__nexttowardf): Set errno on overflow and underflow.
26884         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26885         (__nexttoward): Set errno on overflow and underflow.
26886         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26887         (__nexttowardf): Set errno on overflow and underflow.
26888         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26889         (__nldbl_nexttowardf): Set errno on overflow and underflow.
26890         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26891         (__nextafterl): Set errno on overflow and underflow.
26892         * math/libm-test.inc (nextafter_test_data): Do not allow errno
26893         setting to be missing on overflow.  Add more tests.
26894         (nexttoward_test_data): Likewise.
26896         * configure.ac (libc_cv_initfini_array): Remove configure test.
26897         * configure: Regenerated.
26899 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
26901         [BZ #19189]
26902         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26903         non-finite argument handle arguments with negative sign.
26905         * math/libm-test.inc (j0_test_data): Do not test sign of zero
26906         result from infinite argument.
26907         (j1_test_data): Likewise.
26908         (jn_test_data): Likewise.
26909         (y0_test_data): Likewise.
26910         (y1_test_data): Likewise.
26911         (yn_test_data): Likewise.
26913         [BZ #16171]
26914         * math/w_remainder.c (drem): Define as weak alias of __remainder.
26915         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26916         * math/w_remainderf.c (dremf): Define as weak alias of
26917         __remainderf.
26918         * math/w_remainderl.c (dreml): Define as weak alias of
26919         __remainderl.
26920         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26921         __remainder.
26922         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26923         __remainderf.
26924         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26925         __remainderl.
26926         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26927         weak alias of remainderl.
26928         * sysdeps/ieee754/ldbl-opt/w_remainder.c
26929         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26930         alias of __remainder.
26931         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26932         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26933         strong alias of __remainderl.
26934         (dreml): Use long_double_symbol.
26935         * math/Makefile (libm-calls): Remove w_drem.
26936         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26937         (CFLAGS-nldbl-drem.c): Remove variable.
26938         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26939         * math/w_drem.c: Remove file.
26940         * math/w_dremf.c: Likewise.
26941         * math/w_dreml.c: Likewise.
26942         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26943         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26944         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26946         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26947         * sysdeps/i386/configure: Regenerated.
26948         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26949         * sysdeps/x86_64/configure: Regenerated.
26951         * configure.ac (libc_cv_asm_protected_directive): Remove configure
26952         test.
26953         (libc_cv_visibility_attribute): Likewise.
26954         (libc_cv_protected_data): Test unconditionally.
26955         (libc_cv_broken_visibility_attribute): Remove configure test.
26956         (libc_cv_have_sdata_section): Test unconditionally.
26957         * configure: Regenerated.
26959         * include/libc-internal.h (libc_max_align_t): Remove typedef.
26960         * include/scratch_buffer.h: Include <stddef.h> instead of
26961         <libc-internal.h>.
26962         (struct scratch_buffer): Use max_align_t instead of
26963         libc_max_align_t.
26965 2015-10-29  Florian Weimer  <fweimer@redhat.com>
26967         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26968         instead of extend_alloca.  Change control flow to avoid a goto.
26969         Remove assert which is trivially always true.
26971 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26973         [BZ #16068]
26974         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26975         (FE_ALL_EXCEPT_X86): New macro.
26976         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26977         FE_ALL_EXCEPT.  Ensure precision control is included in
26978         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26979         handle "denormal operand exception" and clear FZ and DAZ bits.
26980         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26981         (FE_ALL_EXCEPT_X86): New macro.
26982         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26983         FE_ALL_EXCEPT.  Ensure precision control is included in
26984         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26985         handle "denormal operand exception" and clear FZ and DAZ bits.
26986         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26987         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26988         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26989         test-fenv-x87 and test-fenv-sse-2.
26990         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26992         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26993         * math/test-double.h (BUILD_COMPLEX): New macro.
26994         * math/test-float.h (BUILD_COMPLEX): Likewise.
26995         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26997         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26998         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26999         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27001         instead of DBL_DENORM_MIN in comment.
27002         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27003         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27004         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27005         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27006         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27007         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27009 2015-10-28  Florian Weimer  <fweimer@redhat.com>
27011         [BZ #19048]
27012         * malloc/malloc.c (struct malloc_state): Update comment.  Add
27013         attached_threads member.
27014         (main_arena): Initialize attached_threads.
27015         * malloc/arena.c (list_lock): Update comment.
27016         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27017         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27018         (deattach_arena): New function.
27019         (_int_new_arena): Initialize arena reference count and deattach
27020         replaced arena.
27021         (get_free_list, reused_arena): Update reference count and deattach
27022         replaced arena.
27023         (arena_thread_freeres): Update arena reference count and only put
27024         unreferenced arenas on the free list.
27026 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27028         [BZ #19181]
27029         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27030         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27031         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27032         * math/test-fenv-clear-main.c: New file.
27033         * math/test-fenv-clear.c: Likewise.
27034         * math/Makefile (tests): Add test-fenv-clear.
27035         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27036         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27037         test-fenv-clear-sse.
27038         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27040         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27041         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27042         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27044 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27046         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27047         static libc.
27049 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27051         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27052         test.
27053         * sysdeps/i386/configure: Regenerated.
27054         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27055         test.
27056         * sysdeps/x86_64/configure: Regenerated.
27057         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27059         memset-avx2 unconditionally instead of conditionally on
27060         [$(config-cflags-avx2) = yes].
27061         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27062         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27063         unconditional.
27064         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27065         * sysdeps/x86_64/multiarch/memset_chk.S
27066         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27067         to [IS_IN (libc) && SHARED].
27069 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27071         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27072         configure test.
27073         * sysdeps/arm/configure: Regenerated.
27074         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27075         Define variable if not already defined.
27077         [BZ #17404]
27078         * sysdeps/mips/atomic-machine.h
27079         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27080         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27081         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27083         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27084         unconditional.
27085         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27086         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27087         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27088         unconditional.
27089         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27090         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27091         unconditional.
27092         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27093         * stdlib/setenv.c
27094         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27095         code unconditional.
27096         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27097         Remove conditional code.
27098         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27099         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27100         unconditional.
27101         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27102         code.
27103         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27104         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27105         unconditional.
27106         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27107         code.
27108         * sysdeps/ieee754/ldbl-128/k_tanl.c
27109         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27110         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27111         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27112         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27113         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27114         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27115         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27116         unconditional.
27117         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27118         code.
27119         * sysdeps/ieee754/ldbl-96/k_tanl.c
27120         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27121         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27123         * nptl/tst-initializers1-c11.c: New file.
27124         * nptl/tst-initializers1-gnu11.c: Likewise.
27125         * nptl/Makefile (tests): Add these new tests.
27126         (CFLAGS-tst-initializers1-c11.c): New variable.
27127         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27129         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27130         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27131         instead of -std=gnu99.
27132         * configure.ac (systemtap): Test with -std=gnu11 instead of
27133         -std=gnu99.
27134         * configure: Regenerated.
27135         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27136         in compilation command in comment.
27138         * sysdeps/nptl/configure.ac: Remove file.
27139         * sysdeps/nptl/configure: Remove generated file.
27140         * configure.ac (libc_cv_forced_unwind): Do not substitute.
27141         * configure: Regenerated.
27142         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27143         * config.make.in (have-forced-unwind): Remove variable.
27144         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27145         unconditional.
27146         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27147         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27148         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27149         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27150         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27151         unconditional.
27153 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27155         [BZ #19174]
27156         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27157         .skip_lock_out_of_tbegin_retries.
27158         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27159         (__lll_lock_elision): Likewise, and respect a value of
27160         try_tbegin <= 0.
27162 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27164         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27165         statement.
27167 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27169         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27170         variable.
27171         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27172         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27174         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27175         of -std=c1x -D_ISOC11_SOURCE.
27177         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27178         * configure: Regenerated.
27179         * manual/install.texi (Tools for Compilation): Document
27180         requirement for GCC 4.7 or later.
27181         * INSTALL: Regenerated.
27183 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
27185         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27186         on CNT to a conditional jump to 'puntdata'.
27188 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27190         * configure.ac (libc_cv_gcc___thread): Remove configure test.
27191         (libc_cv_gcc_tls_model_attr): Likewise.
27192         * configure: Regenerated.
27194         * configure.ac (libc_cv_need_minus_P): Remove configure test.
27195         * configure: Regenerated.
27196         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27198 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
27200         * configure.ac (old_glibc_headers): Remove configure test.
27201         * configure: Regenerated.
27202         * config.make.in (old-glibc-headers): Remove variable.
27203         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27204         (install): Remove dependency on remove-old-headers.
27205         (headers2_0): Remove variable.
27206         (remove-old-headers): Remove rule.
27208         * configure.ac (libc_cv_dot_text): Remove configure test.
27209         (libc_cv_asm_set_directive): Use .text instead of
27210         ${libc_cv_dot_text} in configure test.
27211         * configure: Regenerated.
27213 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27215         [BZ #19168]
27216         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27218 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27220         * configure.ac (CXX): Clear the variable if the C++ toolchain does
27221         not support static linking.
27222         * configure: Regenerate.
27224 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
27226         * math/libm-test.inc (check_float_internal): Do not special-case
27227         errors up to 0.5 ulp.
27229         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27230         log2.
27231         * math/auto-libm-test-out: Regenerated.
27232         * math/libm-test.inc (MAX_EXP): New macro.
27233         (ilogb_test_data): Add more tests.
27234         (isfinite_test_data): Likewise.
27235         (isgreater_test_data): Likewise.
27236         (isgreaterequal_test_data): Likewise.
27237         (isinf_test_data): Likewise.
27238         (isless_test_data): Likewise.
27239         (islessequal_test_data): Likewise.
27240         (islessgreater_test_data): Likewise.
27241         (isnan_test_data): Likewise.
27242         (isnormal_test_data): Likewise.
27243         (issignaling_test_data): Likewise.
27244         (isunordered_test_data): Likewise.
27245         (j0_test_data): Likewise.
27246         (j1_test_data): Likewise.
27247         (jn_test_data): Likewise.
27248         (lgamma_test_data): Likewise.
27249         (log_test_data): Likewise.
27250         (log10_test_data): Likewise.
27251         (log1p_test_data): Likewise.
27252         (log2_test_data): Likewise.
27253         (logb_test_data): Likewise.
27254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27256         [BZ #18611]
27257         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27258         avoid excess range and precision on underflow.
27259         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27260         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27261         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27262         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27263         underflow.
27264         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27265         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27266         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27267         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27268         * math/auto-libm-test-in: Do not allow missing errno setting for
27269         tests of j1 and jn.
27270         * math/auto-libm-test-out: Regenerated.
27272 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
27274         [BZ #15491]
27275         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27276         floating-point environment instead of clearing all exceptions.
27277         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27278         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27279         merging in "invalid" exceptions from frndint.
27280         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27281         * math/test-nearbyint-except.c: New file.
27282         * math/Makefile (tests): Add test-nearbyint-except.
27284 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
27286         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27288         * sysdeps/tile/libm-test-ulps: Regenerated.
27290 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27293         (__NR_sync_file_range2): Assume it is always defined.
27294         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27295         (__NR_sync_file_range): Assume it is always defined.
27297 2015-10-22  Andreas Schwab  <schwab@suse.de>
27299         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27300         INTERNAL_SYSCALL_ERRNO.
27301         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27302         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27303         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27304         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27305         Likewise.
27306         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27308 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27310         * io/tst-fcntl.c (fd): New static variable.
27311         (do_prepare): Open temporary file here....
27312         (do_test): ...not here.
27314         * io/ftwtest-sh: Also trap on exit to remove temporary files.
27316 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27318         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27319         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27320         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27321         Moved before "#ifdef __ASSEMBLER__".
27323 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27325         [BZ #19156]
27326         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27327         arguments very close to 0.
27329 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
27331         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27332         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27334 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27336         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27337         New.  Defined for GCC 5 and above when not compiling for
27338         profiling.
27339         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27341         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27342         Renamed to ...
27343         (CFLAGS-epoll_pwait.o): This.
27344         (CFLAGS-mmap.c): Renamed to ...
27345         (CFLAGS-mmap.o): This.
27346         (CFLAGS-mmap64.c): Renamed to ...
27347         (CFLAGS-mmap64.o): This.
27348         (CFLAGS-epoll_pwait.os): New.
27349         (CFLAGS-mmap.os): Likewise.
27350         (CFLAGS-mmap64.os): Likewise.
27351         (CFLAGS-semtimedop.os): Likewise.
27352         (CFLAGS-semtimedop.c): Renamed to ...
27353         (CFLAGS-semtimedop.o): This.
27355 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27357         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27358         warning message.
27360 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27362         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27363         * Makefile ($(objpfx)c++-types-check.out): Filter out
27364         $(+gccwarn-c) instead of -Wstrict-prototypes.
27366         * io/fts.c (fts_open): Convert to prototype-style function
27367         definition.
27368         * malloc/mcheck.c (mcheck): Likewise.
27369         (mcheck_pedantic): Likewise.
27370         * posix/regexec.c (re_search_2_stub): Likewise.  Use
27371         internal_function.
27372         (re_search_internal): Likewise.
27373         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27374         prototype-style function definition.
27375         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27376         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27377         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27378         (xdr_utmpptr): Likewise.
27379         (xdr_utmparr): Likewise.
27380         (xdr_utmpidle): Likewise.
27381         (xdr_utmpidleptr): Likewise.
27382         (xdr_utmpidlearr): Likewise.
27384         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27385         log, log10 and log2.
27386         * math/auto-libm-test-out: Regenerated.
27387         * math/libm-test.inc (fmod_test_data): Add more tests.
27388         (fpclassify_test_data): Likewise.
27389         (frexp_test_data): Likewise.
27390         (hypot_test_data): Likewise.
27391         (ilogb_test_data): Likewise.
27393 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
27395         * debug/fortify_fail.c (__fortify_fail): Convert to
27396         prototype-style function definition.  Use internal_function.
27397         * libio/genops.c (save_for_backup): Convert to prototype-style
27398         function definition.
27399         * libio/wgenops.c (save_for_wbackup): Likewise.
27400         * login/grantpt.c (grantpt): Likewise.
27401         * login/ptsname.c (ptsname): Likewise.
27402         (__ptsname_r): Likewise.
27403         * login/unlockpt.c (unlockpt): Likewise.
27404         * mach/msgserver.c (__mach_msg_server): Likewise.
27405         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27406         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27407         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27408         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27409         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27410         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27411         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27412         Likewise.
27413         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
27414         internal_function.
27415         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27416         prototype-style function definition.
27417         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27418         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27419         (__pthread_create_2_0): Likewise.
27420         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27421         * nptl/register-atfork.c (__register_atfork): Likewise.
27422         * posix/glob.c (glob): Likewise.
27423         * posix/regcomp.c (re_comp): Likewise.
27424         * posix/regexec.c (re_exec): Likewise.
27425         * stdlib/add_n.c [__STDC__]: Make code unconditional.
27426         [!__STDC__]: Remove conditional code.
27427         * stdlib/cmp.c [__STDC__]: Make code unconditional.
27428         [!__STDC__]: Remove conditional code.
27429         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27430         [!__STDC__]: Remove conditional code.
27431         * stdlib/divrem.c [__STDC__]: Make code unconditional.
27432         [!__STDC__]: Remove conditional code.
27433         * stdlib/lshift.c [__STDC__]: Make code unconditional.
27434         [!__STDC__]: Remove conditional code.
27435         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27436         [!__STDC__]: Remove conditional code.
27437         * stdlib/mul.c [__STDC__]: Make code unconditional.
27438         [!__STDC__]: Remove conditional code.
27439         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27440         [!__STDC__]: Remove conditional code.
27441         * stdlib/rshift.c [__STDC__]: Make code unconditional.
27442         [!__STDC__]: Remove conditional code.
27443         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27444         function definition.
27445         (STRTOF): Likewise.
27446         * stdlib/strtod_l.c (__STRTOF): Likewise.
27447         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27448         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27449         (__strtol_l): Likewise.
27450         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27451         [!__STDC__]: Remove conditional code.
27452         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27453         definition.
27454         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27455         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27456         type.
27457         (__strcasecmp): Convert to prototype-style function definition.
27458         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27459         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27460         type.
27461         (__strncasecmp): Convert to prototype-style function definition.
27462         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27463         * sunrpc/xdr.c (xdr_union): Likewise.
27464         * sunrpc/xdr_array.c (xdr_array): Likewise.
27465         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27466         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27467         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27468         Likewise.
27469         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27470         Likewise.
27471         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27472         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27473         Likewise.
27474         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27475         (LOCALE_PARAM_PROTO): Likewise.
27476         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27477         argument type.
27478         (ut_argument_spec): Remove macro.
27479         (ut_argument_spec_iso): Rename to ut_argument_spec.
27480         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
27481         prototype-style function definition.
27482         (memcpy_uppcase): Likewise.
27483         (__strftime_internal): Likewise.
27484         (my_strftime): Likewise.
27485         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27486         (LOCALE_PARAM_DECL): Likewise.
27487         [_LIBC] (LOCALE_PARAM): Include argument type.
27488         (__strptime_internal): Convert to prototype-style function
27489         definition.
27490         (strptime): Likewise.
27491         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27492         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27493         type.
27494         (__wcscasecmp): Convert to prototype-style function definition.
27495         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27496         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27497         type.
27498         (__wcsncasecmp): Convert to prototype-style function definition.
27500         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27501         function definition.
27502         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27503         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27504         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27505         * elf/dl-minimal.c (_itoa): Likewise.
27506         * hurd/hurdmalloc.c (malloc): Likewise.
27507         (free): Likewise.
27508         (realloc): Likewise.
27509         * inet/inet6_option.c (inet6_option_space): Likewise.
27510         (inet6_option_init): Likewise.
27511         (inet6_option_append): Likewise.
27512         (inet6_option_alloc): Likewise.
27513         (inet6_option_next): Likewise.
27514         (inet6_option_find): Likewise.
27515         * io/ftw.c (FTW_NAME): Likewise.
27516         (NFTW_NAME): Likewise.
27517         (NFTW_NEW_NAME): Likewise.
27518         (NFTW_OLD_NAME): Likewise.
27519         * libio/iofwide.c (_IO_fwide): Likewise.
27520         * libio/strops.c (_IO_str_init_static_internal): Likewise.
27521         (_IO_str_init_static): Likewise.
27522         (_IO_str_init_readonly): Likewise.
27523         (_IO_str_overflow): Likewise.
27524         (_IO_str_underflow): Likewise.
27525         (_IO_str_count): Likewise.
27526         (_IO_str_seekoff): Likewise.
27527         (_IO_str_pbackfail): Likewise.
27528         (_IO_str_finish): Likewise.
27529         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27530         (_IO_wstr_overflow): Likewise.
27531         (_IO_wstr_underflow): Likewise.
27532         (_IO_wstr_count): Likewise.
27533         (_IO_wstr_seekoff): Likewise.
27534         (_IO_wstr_pbackfail): Likewise.
27535         (_IO_wstr_finish): Likewise.
27536         * locale/programs/localedef.c (normalize_codeset): Likewise.
27537         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27538         (add_locales_to_archive): Likewise.
27539         (delete_locales_from_archive): Likewise.
27540         * malloc/malloc.c (__libc_mallinfo): Likewise.
27541         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27542         * misc/tsearch.c (__tfind): Likewise.
27543         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27544         * nptl/pthread_attr_getdetachstate.c
27545         (__pthread_attr_getdetachstate): Likewise.
27546         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27547         Likewise.
27548         * nptl/pthread_attr_getinheritsched.c
27549         (__pthread_attr_getinheritsched): Likewise.
27550         * nptl/pthread_attr_getschedparam.c
27551         (__pthread_attr_getschedparam): Likewise.
27552         * nptl/pthread_attr_getschedpolicy.c
27553         (__pthread_attr_getschedpolicy): Likewise.
27554         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27555         Likewise.
27556         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27557         Likewise.
27558         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27559         Likewise.
27560         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27561         Likewise.
27562         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27563         (__pthread_attr_init_2_0): Likewise.
27564         * nptl/pthread_attr_setdetachstate.c
27565         (__pthread_attr_setdetachstate): Likewise.
27566         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27567         Likewise.
27568         * nptl/pthread_attr_setinheritsched.c
27569         (__pthread_attr_setinheritsched): Likewise.
27570         * nptl/pthread_attr_setschedparam.c
27571         (__pthread_attr_setschedparam): Likewise.
27572         * nptl/pthread_attr_setschedpolicy.c
27573         (__pthread_attr_setschedpolicy): Likewise.
27574         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27575         Likewise.
27576         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27577         Likewise.
27578         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27579         Likewise.
27580         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27581         Likewise.
27582         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27583         Likewise.
27584         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27585         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27586         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27587         use internal_function.
27588         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27589         prototype-style function definition.
27590         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27591         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27592         internal_function.
27593         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27594         Convert to prototype-style function definition.
27595         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27596         Likewise.
27597         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27598         Likewise.
27599         (__pthread_mutex_unlock): Likewise.
27600         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27601         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27602         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27603         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27604         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27605         * nss/makedb.c (process_input): Likewise.
27606         * posix/fnmatch.c (__strchrnul): Likewise.
27607         (__wcschrnul): Likewise.
27608         (fnmatch): Likewise.
27609         * posix/fnmatch_loop.c (FCT): Likewise.
27610         * posix/glob.c (globfree): Likewise.
27611         (__glob_pattern_type): Likewise.
27612         (__glob_pattern_p): Likewise.
27613         * posix/regcomp.c (re_compile_pattern): Likewise.
27614         (re_set_syntax): Likewise.
27615         (re_compile_fastmap): Likewise.
27616         (regcomp): Likewise.
27617         (regerror): Likewise.
27618         (regfree): Likewise.
27619         * posix/regexec.c (regexec): Likewise.
27620         (re_match): Likewise.
27621         (re_search): Likewise.
27622         (re_match_2): Likewise.
27623         (re_search_2): Likewise.
27624         (re_search_stub): Likewise.  Use internal_function
27625         (re_copy_regs): Likewise.
27626         (re_set_registers): Convert to prototype-style function
27627         definition.
27628         (prune_impossible_nodes): Likewise.  Use internal_function.
27629         * resolv/inet_net_pton.c (inet_net_pton): Convert to
27630         prototype-style function definition.
27631         (inet_net_pton_ipv4): Likewise.
27632         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27633         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27634         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27635         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27636         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27637         Make variadic.
27638         * time/strptime_l.c (localtime_r): Convert to prototype-style
27639         function definition.
27640         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27641         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27642         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27643         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27645         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27646         definition.
27647         (_ufc_doit_r): Likewise.
27648         * crypt/crypt_util.c (_ufc_copymem): Likewise.
27649         (_ufc_output_conversion_r): Likewise.
27650         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27651         * inet/rcmd.c (rcmd_af): Likewise.
27652         (rcmd): Likewise.
27653         (ruserok_af): Likewise.
27654         (ruserok): Likewise.
27655         (ruserok2_sa): Likewise.
27656         (ruserok_sa): Likewise.
27657         (iruserok_af): Likewise.
27658         (iruserok): Likewise.
27659         (__ivaliduser): Likewise.
27660         (__validuser2_sa): Likewise.
27661         * inet/rexec.c (rexec_af): Likewise.
27662         (rexec): Likewise.
27663         * inet/ruserpass.c (ruserpass): Likewise.
27664         * locale/programs/xmalloc.c (xcalloc): Likewise.
27665         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27666         * math/w_drem.c (__drem): Likewise.
27667         * math/w_dremf.c (__dremf): Likewise.
27668         * math/w_dreml.c (__dreml): Likewise.
27669         * misc/daemon.c (daemon): Likewise.
27670         * resolv/res_debug.c (p_fqnname): Likewise.
27671         * stdlib/div.c (div): Likewise.
27672         * string/memcmp.c (memcmp_bytes): Likewise.
27673         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27674         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27676         * crypt/cert.c (main): Convert to prototype-style function
27677         definition.
27678         * io/pipe.c (__pipe): Likewise.
27679         * io/pipe2.c (__pipe2): Likewise.
27680         * misc/futimesat.c (futimesat): Likewise.
27681         * misc/utimes.c (__utimes): Likewise.
27682         * posix/execve.c (__execve): Likewise.
27683         * posix/execvp.c (execvp): Likewise.
27684         * posix/execvpe.c (__execvpe): Likewise.
27685         * posix/fexecve.c (fexecve): Likewise.
27686         * socket/socketpair.c (socketpair): Likewise.
27687         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27688         * stdlib/erand48.c (erand48): Likewise.
27689         * stdlib/erand48_r.c (__erand48_r): Likewise.
27690         * stdlib/jrand48.c (jrand48): Likewise.
27691         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27692         * stdlib/lcong48.c (lcong48): Likewise.
27693         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27694         * stdlib/nrand48.c (nrand48): Likewise.
27695         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27696         * stdlib/seed48.c (seed48): Likewise.
27697         * stdlib/seed48_r.c (__seed48_r): Likewise.
27698         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27699         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27700         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27702 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27704         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27705         * configure: Regenerated.
27706         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27707         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27708         unconditional.
27709         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27710         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27711         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27712         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27713         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27714         unconditional.
27715         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27717         * posix/Makefile (CFLAGS-regex.c): Remove variable.
27718         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27720         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27721         function definition.
27722         * crypt/crypt_util.c (__encrypt_r): Likewise.
27723         * libio/genops.c (_IO_no_init): Likewise.
27724         * libio/iofopncook.c (_IO_fopencookie): Likewise.
27725         (_IO_old_fopencookie): Likewise.
27726         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27727         * libio/iogetline.c (_IO_getline): Likewise.
27728         (_IO_getline_info): Likewise.
27729         * libio/iogetwline.c (_IO_getwline): Likewise.
27730         (_IO_getwline_info): Likewise.
27731         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27732         * libio/vswprintf.c (_IO_vswprintf): Likewise.
27733         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27734         (find_entry): Likewise.
27735         (iterate_table): Likewise.
27736         (lookup): Likewise.
27737         * login/forkpty.c (forkpty): Likewise.
27738         * misc/hsearch_r.c (__hsearch_r): Likewise.
27739         * misc/select.c (__select): Likewise.
27740         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27741         Likewise.
27742         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27743         Likewise.
27744         * nptl/old_pthread_cond_timedwait.c
27745         (__pthread_cond_timedwait_2_0): Likewise.
27746         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27747         * nptl/pthread_barrierattr_getpshared.c
27748         (pthread_barrierattr_getpshared): Likewise.
27749         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27750         Likewise.
27751         * nptl/pthread_mutex_setprioceiling.c
27752         (pthread_mutex_setprioceiling): Likewise.
27753         * nptl/pthread_mutexattr_getprioceiling.c
27754         (pthread_mutexattr_getprioceiling): Likewise.
27755         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27756         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27757         Likewise.
27758         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27759         Likewise.
27760         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27761         Likewise.
27762         * socket/recvfrom.c (__recvfrom): Likewise.
27763         * socket/sendto.c (__sendto): Likewise.
27764         * socket/setsockopt.c (__setsockopt): Likewise.
27765         * stdio-common/_itoa.c (_itoa): Likewise.
27766         * stdio-common/_itowa.c (_itowa): Likewise.
27767         * stdio-common/reg-printf.c (__register_printf_specifier):
27768         Likewise.
27769         (__register_printf_function): Likewise.
27770         * stdio-common/tempname.c (__path_search): Likewise.
27771         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27772         * stdlib/mul_1.c (mpn_mul_1): Likewise.
27773         * stdlib/random_r.c (__initstate_r): Likewise.
27774         * stdlib/setenv.c (__add_to_environ): Likewise.
27775         * stdlib/submul_1.c (mpn_submul_1): Likewise.
27776         * streams/getpmsg.c (getpmsg): Likewise.
27777         * streams/putmsg.c (putmsg): Likewise.
27778         * streams/putpmsg.c (putpmsg): Likewise.
27779         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27780         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27781         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27782         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27783         * sunrpc/pm_getport.c (pmap_getport): Likewise.
27784         * sunrpc/svc_udp.c (cache_get): Likewise.
27785         * sunrpc/xdr_array.c (xdr_vector): Likewise.
27786         * sysdeps/mach/hurd/getcwd.c
27787         (__canonicalize_directory_name_internal): Likewise.
27788         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27789         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27790         * sysdeps/mach/hurd/select.c (__select): Likewise.
27791         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27792         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27793         * sysdeps/sparc/nptl/pthread_barrier_init.c
27794         (__pthread_barrier_init): Likewise.
27795         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27796         (__pthread_cond_timedwait): Likewise.
27797         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27798         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27799         Likewise.
27800         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27801         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27802         Likewise.
27803         * sysvipc/semtimedop.c (semtimedop): Likewise.
27804         * time/setitimer.c (__setitimer): Likewise.
27805         * time/strftime_l.c (emacs_strftime): Likewise.
27807 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27809         * config.make.in (have-ssp): Delete.
27810         (stack-protector): New variable.
27811         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
27812         cache test for -fstack-protector-strong.  Export stack_protector to
27813         the best ssp flag.
27814         * configure: Regenerated.
27815         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27816         * nscd/Makefile (CFLAGS-nscd): Likewise.
27817         * resolv/Makefile (CFLAGS-libresolv): Likewise.
27819 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
27821         [BZ #19122]
27822         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27823         attribute_hidden.
27825 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27827         [BZ #18743]
27828         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27829         code to...
27830         (ELIDE_LOCK): ...here.
27831         (__get_new_count): New function with part of the code from
27832         __elide_lock that updates the value of adapt_count after a
27833         transaction abort.
27834         (__elided_trylock): Moved this code to...
27835         (ELIDE_TRYLOCK): ...here.
27837 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27839         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27840         * configure: Regenerate.
27841         * INSTALL: Regenerate.
27842         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27843         and tweak grammar.
27845 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
27847         * login/programs/pt_chown.c: Include signal.h
27848         (main): Clear any signal mask from the parent process.
27850 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27852         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27853         * configure: Regenerated.
27854         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27855         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27856         $(gnu89-inline-CFLAGS).
27858         * configure.ac (libc_cv_asm_weak_directive): Remove configure
27859         test.
27860         (libc_cv_asm_weakext_directive): Likewise.
27861         * configure: Regenerated.
27862         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27863         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27864         * include/libc-symbols.h
27865         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27866         #error.
27867         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27868         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27870         * sysdeps/arm/backtrace.c (__backtrace): Convert to
27871         prototype-style function definition.
27872         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27873         * sysdeps/i386/ffs.c (__ffs): Likewise.
27874         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27875         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27876         Likewise.
27877         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27878         Likewise.
27879         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27880         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27881         Likewise.
27882         * sysdeps/m68k/ffs.c (__ffs): Likewise.
27883         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27884         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27885         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27886         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27887         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27888         * sysdeps/mach/hurd/access.c (__access): Likewise.
27889         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27890         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27891         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27892         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27893         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27894         (cthread_getspecific): Likewise.
27895         (cthread_setspecific): Likewise.
27896         (__libc_getspecific): Likewise.
27897         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27898         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27899         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27900         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27901         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27902         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27903         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27904         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27905         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27906         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27907         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27908         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27909         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27910         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27911         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27912         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27913         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27914         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27915         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27916         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27917         * sysdeps/mach/hurd/link.c (__link): Likewise.
27918         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27919         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27920         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27921         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27922         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27923         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27924         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27925         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27926         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27927         * sysdeps/mach/hurd/rename.c (rename): Likewise.
27928         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27929         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27930         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27931         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27932         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27933         * sysdeps/mach/hurd/send.c (__send): Likewise.
27934         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27935         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27936         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27937         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27938         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27939         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27940         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27941         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27942         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27943         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27944         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27945         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27946         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27947         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27948         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27949         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27950         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27951         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27952         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27953         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27954         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27955         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27956         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27957         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27958         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27959         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27960         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27961         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27962         * sysdeps/posix/alarm.c (alarm): Likewise.
27963         * sysdeps/posix/cuserid.c (cuserid): Likewise.
27964         * sysdeps/posix/dirfd.c (dirfd): Likewise.
27965         * sysdeps/posix/dup.c (__dup): Likewise.
27966         * sysdeps/posix/dup2.c (__dup2): Likewise.
27967         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27968         (main): Likewise.
27969         * sysdeps/posix/flock.c (__flock): Likewise.
27970         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27971         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27972         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27973         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27974         * sysdeps/posix/isatty.c (__isatty): Likewise.
27975         * sysdeps/posix/killpg.c (killpg): Likewise.
27976         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27977         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27978         * sysdeps/posix/raise.c (raise): Likewise.
27979         * sysdeps/posix/remove.c (remove): Likewise.
27980         * sysdeps/posix/rename.c (rename): Likewise.
27981         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27982         * sysdeps/posix/seekdir.c (seekdir): Likewise.
27983         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27984         * sysdeps/posix/sigignore.c (sigignore): Likewise.
27985         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27986         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27987         * sysdeps/posix/sigset.c (sigset): Likewise.
27988         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27989         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27990         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27991         * sysdeps/posix/time.c (time): Likewise.
27992         * sysdeps/posix/ttyname.c (getttyname): Likewise.
27993         (ttyname): Likewise.
27994         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27995         * sysdeps/posix/utime.c (utime): Likewise.
27996         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27997         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27998         Likewise.
27999         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28000         (pthread_spin_trylock): Likewise.
28001         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28002         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28003         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28004         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28005         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28006         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28007         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28008         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28009         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28010         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28011         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28012         * sysdeps/s390/ffs.c (__ffs): Likewise.
28013         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28014         Likewise.
28015         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28016         Likewise.
28017         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28018         Likewise.
28019         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28020         (pthread_barrier_destroy): Likewise.
28021         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28022         (__pthread_barrier_wait): Likewise.
28023         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28024         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28025         (__pthread_barrier_wait): Likewise.
28026         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28027         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28028         (memcmp_not_common_alignment): Likewise.
28029         (MEMCMP): Likewise.
28030         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28031         (_wordcopy_fwd_dest_aligned): Likewise.
28032         (_wordcopy_bwd_aligned): Likewise.
28033         (_wordcopy_bwd_dest_aligned): Likewise.
28034         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28035         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28036         * sysdeps/unix/bsd/stty.c (stty): Likewise.
28037         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28038         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28039         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28040         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28041         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28042         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28043         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28044         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28045         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28046         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28047         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28048         * sysdeps/unix/stime.c (stime): Likewise.
28049         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28050         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28051         Likewise.  Use internal_function.
28052         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28053         Convert to prototype-style function definition.
28054         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28055         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28056         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28057         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28058         Likewise.  Use internal_function.
28059         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28060         prototype-style function definition
28061         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28062         Likewise.
28063         (__getlogin_r): Likewise.
28064         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28065         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28066         (__pthread_cond_broadcast): Likewise.
28067         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28068         (__pthread_cond_destroy): Likewise.
28069         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28070         (__pthread_cond_init): Likewise.
28071         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28072         (__pthread_cond_signal): Likewise.
28073         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28074         (__pthread_cond_wait): Likewise.
28075         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28076         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28077         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28078         Likewise.
28079         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28080         Likewise.
28081         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28082         Likewise.
28083         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28084         Likewise.
28085         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28087         (__ftruncate64): Likewise.
28088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28089         (truncate64): Likewise.
28090         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28091         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28092         (pthread_getcpuclockid): Likewise.
28093         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28094         Likewise.
28095         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28096         Likewise.
28097         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28098         Likewise.
28099         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28100         Likewise.
28101         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28102         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28103         (__libc_sigaction): Likewise.
28104         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28105         Likewise.
28106         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28107         (__sigprocmask): Likewise.
28108         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28109         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28110         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28111         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28112         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28113         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28114         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28115         Likewise.
28116         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28117         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28118         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28119         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28120         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28121         Likewise.
28122         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28123         (__sigprocmask): Likewise.
28124         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28125         (cfgetispeed): Likewise.
28126         (cfsetospeed): Likewise.
28127         (cfsetispeed): Likewise.
28128         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28129         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28130         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28131         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28132         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28133         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28134         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28135         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28136         Likewise.
28137         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28138         Likewise.
28139         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28140         Likewise.
28141         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28142         Likewise.
28143         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28145 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28147         sunrpc: Rewrite with explicit TLS access using __thread.
28148         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28149         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28150         directly.
28151         (__rpc_thread_variables): Access thread_rpc_vars directly.
28152         Eliminate redundant assignment of the tvp variable.
28154 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28156         malloc: Rewrite with explicit TLS access using __thread.
28157         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28158         (tsd_setspecific, tsd_getspecific): Remove.
28159         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28160         (tsd_setspecific, tsd_getspecific): Likewise.
28161         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28162         (tsd_setspecific, tsd_getspecific): Likewise.
28163         * malloc/arena.c (thread_arena): New TLS variable.
28164         (arena_key): Remove variable.
28165         (arena_get): Use thread_arena.
28166         (arena_lookup): Remove macro.
28167         (malloc_atfork, free_atfork, ptmalloc_lock_all)
28168         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28169         (_int_new_arena, get_free_list, reused_arena)
28170         (arena_thread_freeres): Use thread_arena.
28171         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28172         tsd_getspecific, tsd_setspecific from safety annotations.
28173         (Allocating Cleared Space): Remove arena_lookup from safety
28174         annotations.
28176 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28178         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28179         struct scratch_buffer instead of extend_alloca.
28181 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28183         * sysdeps/unix/sysv/linux/kernel-features.h
28184         (__ASSUME_SOCK_CLOEXEC): Remove.
28185         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28186         (__have_paccept): Remove unused macro.
28187         * include/unistd.h (__have_sock_cloexec): Remove declaration.
28188         * misc/syslog.c (openlog_internal): Remove fallback code for
28189         !__ASSUME_SOCK_CLOEXEC.
28190         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28191         missing SOCK_CLOEXEC.
28192         * nscd/connections.c (have_sock_cloexec): Remove definition.
28193         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28194         * nscd/nscd_helper.c (open_socket): Remove fallback code for
28195         !__ASSUME_SOCK_CLOEXEC.
28196         * resolv/res_send.c (__have_o_nonblock): Remove definition.
28197         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28198         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28199         definition.
28200         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28201         code for !__ASSUME_SOCK_CLOEXEC.
28203 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28205         [BZ #18982]
28206         * manual/stdio.texi (Variable Arguments Output): Add portability
28207         note, explaining that vfprintf clobbers the va_list pointer.
28209 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28211         * math/libm-test.inc (fabs_test_data): Add more tests.
28212         (fdim_test_data): Likewise.
28213         (fma_test_data): Likewise.
28214         (fmax_test_data): Likewise.
28215         (fmin_test_data): Likewise.
28216         (fmod_test_data): Likewise.
28218 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
28220         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
28221         data.
28223 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28225         * math/libm-test.inc (ceil_test_data): Add more tests and more
28226         expectations for "inexact".
28227         (floor_test_data): Add more tests.
28228         (round_test_data): Likewise.
28229         (trunc_test_data): Likewise.
28231         * crypt/cert.c (good_bye): Convert to prototype-style function
28232         definition.
28233         (get8): Likewise.
28234         (put8): Likewise.
28235         * crypt/crypt-entry.c (crypt): Likewise.
28236         (__fcrypt): Likewise.
28237         * crypt/crypt_util.c (_ufc_prbits): Likewise.
28238         (_ufc_set_bits): Likewise.
28239         (_ufc_clearmem): Likewise.
28240         (__init_des_r): Likewise.
28241         (shuffle_sb): Likewise.
28242         (shuffle_sb): Likewise.
28243         (_ufc_setup_salt_r): Likewise.
28244         (_ufc_mk_keytab_r): Likewise.
28245         (_ufc_dofinalperm_r): Likewise.
28246         (encrypt): Likewise.
28247         (__setkey_r): Likewise.
28248         (setkey): Likewise.
28249         * crypt/md5.c (md5_init_ctx): Likewise.
28250         (md5_read_ctx): Likewise.
28251         (md5_finish_ctx): Likewise.
28252         (md5_stream): Likewise.
28253         (md5_buffer): Likewise.
28254         (md5_process_bytes): Likewise.
28255         * crypt/sha256.c (__sha256_init_ctx): Likewise.
28256         (__sha256_finish_ctx): Likewise.
28257         (__sha256_process_bytes): Likewise.
28258         * crypt/sha512.c (__sha512_init_ctx): Likewise.
28259         (__sha512_finish_ctx): Likewise.
28260         (__sha512_process_bytes): Likewise.
28261         * ctype/isctype.c (__isctype): Likewise.
28262         * debug/backtrace.c (__backtrace): Likewise.
28263         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28264         * debug/fgets_chk.c (__fgets_chk): Likewise.
28265         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28266         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28267         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28268         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28269         * debug/memset_chk.c (__memset_chk): Likewise.
28270         * debug/strcat_chk.c (__strcat_chk): Likewise.
28271         * debug/strncat_chk.c (__strncat_chk): Likewise.
28272         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28273         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28274         * dirent/dirfd.c (dirfd): Likewise.
28275         * dirent/getdents.c (__getdirentries): Likewise.
28276         * dirent/getdents64.c (getdirentries64): Likewise.
28277         * dirent/rewinddir.c (__rewinddir): Likewise.
28278         * dirent/seekdir.c (seekdir): Likewise.
28279         * dirent/telldir.c (telldir): Likewise.
28280         * elf/sln.c (makesymlinks): Likewise.
28281         (makesymlink): Likewise.
28282         * gmon/gmon.c (__moncontrol): Likewise.
28283         (__monstartup): Likewise.
28284         (write_hist): Likewise.
28285         (write_call_graph): Likewise.
28286         (write_bb_counts): Likewise.
28287         * grp/setgroups.c (setgroups): Likewise.
28288         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28289         * inet/inet_net.c (inet_network): Likewise.
28290         * inet/inet_netof.c (inet_netof): Likewise.
28291         * inet/rcmd.c (rresvport_af): Likewise.
28292         (rresvport): Likewise.
28293         * io/access.c (__access): Likewise.
28294         * io/chdir.c (__chdir): Likewise.
28295         * io/chmod.c (__chmod): Likewise.
28296         * io/chown.c (__chown): Likewise.
28297         * io/close.c (__close): Likewise.
28298         * io/creat.c (creat): Likewise.
28299         * io/creat64.c (creat64): Likewise.
28300         * io/dup.c (__dup): Likewise.
28301         * io/dup2.c (__dup2): Likewise.
28302         * io/dup3.c (__dup3): Likewise.
28303         * io/euidaccess.c (__euidaccess): Likewise.
28304         * io/faccessat.c (faccessat): Likewise.
28305         * io/fchmod.c (__fchmod): Likewise.
28306         * io/fchmodat.c (fchmodat): Likewise.
28307         * io/fchown.c (__fchown): Likewise.
28308         * io/fchownat.c (fchownat): Likewise.
28309         * io/fcntl.c (__fcntl): Likewise.
28310         * io/flock.c (__flock): Likewise.
28311         * io/fts.c (fts_load): Likewise.
28312         (fts_close): Likewise.
28313         (fts_read): Likewise.
28314         (fts_set): Likewise.
28315         (fts_children): Likewise.
28316         (fts_build): Likewise.
28317         (fts_stat): Likewise.
28318         (fts_sort): Likewise.
28319         (fts_alloc): Likewise.
28320         (fts_lfree): Likewise.
28321         (fts_palloc): Likewise.
28322         (fts_padjust): Likewise.
28323         (fts_maxarglen): Likewise.
28324         (fts_safe_changedir): Likewise.
28325         * io/getwd.c (getwd): Likewise.
28326         * io/isatty.c (__isatty): Likewise.
28327         * io/lchown.c (__lchown): Likewise.
28328         * io/link.c (__link): Likewise.
28329         * io/linkat.c (linkat): Likewise.
28330         * io/lseek.c (__libc_lseek): Likewise.
28331         * io/mkdir.c (__mkdir): Likewise.
28332         * io/mkdirat.c (mkdirat): Likewise.
28333         * io/mkfifo.c (mkfifo): Likewise.
28334         * io/mkfifoat.c (mkfifoat): Likewise.
28335         * io/open.c (__libc_open): Likewise.
28336         * io/open64.c (__libc_open64): Likewise.
28337         * io/readlink.c (__readlink): Likewise.
28338         * io/readlinkat.c (readlinkat): Likewise.
28339         * io/rmdir.c (__rmdir): Likewise.
28340         * io/symlink.c (__symlink): Likewise.
28341         * io/symlinkat.c (symlinkat): Likewise.
28342         * io/ttyname.c (ttyname): Likewise.
28343         * io/ttyname_r.c (__ttyname_r): Likewise.
28344         * io/umask.c (__umask): Likewise.
28345         * io/unlink.c (__unlink): Likewise.
28346         * io/unlinkat.c (unlinkat): Likewise.
28347         * io/utime.c (utime): Likewise.
28348         * libio/clearerr.c (clearerr): Likewise.
28349         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28350         * libio/feof.c (_IO_feof): Likewise.
28351         * libio/feof_u.c (feof_unlocked): Likewise.
28352         * libio/ferror.c (_IO_ferror): Likewise.
28353         * libio/ferror_u.c (ferror_unlocked): Likewise.
28354         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28355         * libio/fileno.c (__fileno): Likewise.
28356         * libio/fputc.c (fputc): Likewise.
28357         * libio/fputc_u.c (fputc_unlocked): Likewise.
28358         * libio/fputwc.c (fputwc): Likewise.
28359         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28360         * libio/freopen.c (freopen): Likewise.
28361         * libio/freopen64.c (freopen64): Likewise.
28362         * libio/fseek.c (fseek): Likewise.
28363         * libio/fseeko.c (fseeko): Likewise.
28364         * libio/fseeko64.c (fseeko64): Likewise.
28365         * libio/ftello.c (__ftello): Likewise.
28366         * libio/ftello64.c (ftello64): Likewise.
28367         * libio/fwide.c (fwide): Likewise.
28368         * libio/genops.c (_IO_un_link): Likewise.
28369         (_IO_link_in): Likewise.
28370         (_IO_least_marker): Likewise.
28371         (_IO_switch_to_main_get_area): Likewise.
28372         (_IO_switch_to_backup_area): Likewise.
28373         (_IO_switch_to_get_mode): Likewise.
28374         (_IO_free_backup_area): Likewise.
28375         (_IO_switch_to_put_mode): Likewise.
28376         (__overflow): Likewise.
28377         (__underflow): Likewise.
28378         (__uflow): Likewise.
28379         (_IO_setb): Likewise.
28380         (_IO_doallocbuf): Likewise.
28381         (_IO_default_underflow): Likewise.
28382         (_IO_default_uflow): Likewise.
28383         (_IO_default_xsputn): Likewise.
28384         (_IO_sgetn): Likewise.
28385         (_IO_default_xsgetn): Likewise.
28386         (_IO_sync): Likewise.
28387         (_IO_default_setbuf): Likewise.
28388         (_IO_default_seekpos): Likewise.
28389         (_IO_default_doallocate): Likewise.
28390         (_IO_init): Likewise.
28391         (_IO_old_init): Likewise.
28392         (_IO_default_sync): Likewise.
28393         (_IO_default_finish): Likewise.
28394         (_IO_default_seekoff): Likewise.
28395         (_IO_sputbackc): Likewise.
28396         (_IO_sungetc): Likewise.
28397         (_IO_set_column): Likewise.
28398         (_IO_set_column): Likewise.
28399         (_IO_adjust_column): Likewise.
28400         (_IO_get_column): Likewise.
28401         (_IO_init_marker): Likewise.
28402         (_IO_remove_marker): Likewise.
28403         (_IO_marker_difference): Likewise.
28404         (_IO_marker_delta): Likewise.
28405         (_IO_seekmark): Likewise.
28406         (_IO_unsave_markers): Likewise.
28407         (_IO_nobackup_pbackfail): Likewise.
28408         (_IO_default_pbackfail): Likewise.
28409         (_IO_default_seek): Likewise.
28410         (_IO_default_stat): Likewise.
28411         (_IO_default_read): Likewise.
28412         (_IO_default_write): Likewise.
28413         (_IO_default_showmanyc): Likewise.
28414         (_IO_default_imbue): Likewise.
28415         (_IO_iter_next): Likewise.
28416         (_IO_iter_file): Likewise.
28417         * libio/getc.c (_IO_getc): Likewise.
28418         * libio/getwc.c (_IO_getwc): Likewise.
28419         * libio/iofclose.c (_IO_new_fclose): Likewise.
28420         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28421         * libio/iofflush.c (_IO_fflush): Likewise.
28422         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28423         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28424         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28425         * libio/iofgets.c (_IO_fgets): Likewise.
28426         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28427         * libio/iofgetws.c (fgetws): Likewise.
28428         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28429         * libio/iofopen64.c (_IO_fopen64): Likewise.
28430         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28431         (_IO_cookie_write): Likewise.
28432         (_IO_cookie_seek): Likewise.
28433         (_IO_cookie_close): Likewise.
28434         (_IO_cookie_seekoff): Likewise.
28435         (_IO_old_cookie_seek): Likewise.
28436         * libio/iofputs.c (_IO_fputs): Likewise.
28437         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28438         * libio/iofputws.c (fputws): Likewise.
28439         * libio/iofputws_u.c (fputws_unlocked): Likewise.
28440         * libio/iofread.c (_IO_fread): Likewise.
28441         * libio/iofread_u.c (__fread_unlocked): Likewise.
28442         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28443         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28444         * libio/ioftell.c (_IO_ftell): Likewise.
28445         * libio/iofwrite.c (_IO_fwrite): Likewise.
28446         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28447         * libio/iogets.c (_IO_gets): Likewise.
28448         * libio/iopadn.c (_IO_padn): Likewise.
28449         * libio/iopopen.c (_IO_new_proc_open): Likewise.
28450         (_IO_new_popen): Likewise.
28451         (_IO_new_proc_close): Likewise.
28452         * libio/ioputs.c (_IO_puts): Likewise.
28453         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28454         (_IO_seekoff): Likewise.
28455         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28456         (_IO_seekpos): Likewise.
28457         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28458         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28459         * libio/ioungetc.c (_IO_ungetc): Likewise.
28460         * libio/ioungetwc.c (ungetwc): Likewise.
28461         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28462         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28463         * libio/iowpadn.c (_IO_wpadn): Likewise.
28464         * libio/libc_fatal.c (__libc_fatal): Likewise.
28465         * libio/memstream.c (__open_memstream): Likewise.
28466         (_IO_mem_sync): Likewise.
28467         (_IO_mem_finish): Likewise.
28468         * libio/oldfileops.c (_IO_old_file_init): Likewise.
28469         (_IO_old_file_close_it): Likewise.
28470         (_IO_old_file_finish): Likewise.
28471         (_IO_old_file_fopen): Likewise.
28472         (_IO_old_file_attach): Likewise.
28473         (_IO_old_file_setbuf): Likewise.
28474         (_IO_old_do_write): Likewise.
28475         (old_do_write): Likewise.
28476         (_IO_old_file_underflow): Likewise.
28477         (_IO_old_file_overflow): Likewise.
28478         (_IO_old_file_sync): Likewise.
28479         (_IO_old_file_seekoff): Likewise.
28480         (_IO_old_file_write): Likewise.
28481         (_IO_old_file_xsputn): Likewise.
28482         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28483         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28484         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28485         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28486         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28487         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28488         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28489         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28490         (_IO_old_popen): Likewise.
28491         (_IO_old_proc_close): Likewise.
28492         * libio/oldpclose.c (__old_pclose): Likewise.
28493         * libio/pclose.c (__new_pclose): Likewise.
28494         * libio/peekc.c (_IO_peekc_locked): Likewise.
28495         * libio/putc.c (_IO_putc): Likewise.
28496         * libio/putc_u.c (putc_unlocked): Likewise.
28497         * libio/putchar.c (putchar): Likewise.
28498         * libio/putchar_u.c (putchar_unlocked): Likewise.
28499         * libio/putwc.c (putwc): Likewise.
28500         * libio/putwc_u.c (putwc_unlocked): Likewise.
28501         * libio/putwchar.c (putwchar): Likewise.
28502         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28503         * libio/rewind.c (rewind): Likewise.
28504         * libio/setbuf.c (setbuf): Likewise.
28505         * libio/setlinebuf.c (setlinebuf): Likewise.
28506         * libio/vasprintf.c (_IO_vasprintf): Likewise.
28507         * libio/vscanf.c (_IO_vscanf): Likewise.
28508         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28509         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28510         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28511         * libio/wgenops.c (_IO_least_wmarker): Likewise.
28512         (_IO_switch_to_main_wget_area): Likewise.
28513         (_IO_switch_to_wbackup_area): Likewise.
28514         (_IO_wsetb): Likewise.
28515         (_IO_wdefault_pbackfail): Likewise.
28516         (_IO_wdefault_finish): Likewise.
28517         (_IO_wdefault_uflow): Likewise.
28518         (__woverflow): Likewise.
28519         (__wuflow): Likewise.
28520         (__wunderflow): Likewise.
28521         (_IO_wdefault_xsputn): Likewise.
28522         (_IO_wdefault_xsgetn): Likewise.
28523         (_IO_wdoallocbuf): Likewise.
28524         (_IO_wdefault_doallocate): Likewise.
28525         (_IO_switch_to_wget_mode): Likewise.
28526         (_IO_free_wbackup_area): Likewise.
28527         (_IO_switch_to_wput_mode): Likewise.
28528         (_IO_sputbackwc): Likewise.
28529         (_IO_sungetwc): Likewise.
28530         (_IO_adjust_wcolumn): Likewise.
28531         (_IO_init_wmarker): Likewise.
28532         (_IO_wmarker_delta): Likewise.
28533         (_IO_seekwmark): Likewise.
28534         (_IO_unsave_wmarkers): Likewise.
28535         * libio/wmemstream.c (open_wmemstream): Likewise.
28536         (_IO_wmem_sync): Likewise.
28537         (_IO_wmem_finish): Likewise.
28538         * locale/nl_langinfo.c (nl_langinfo): Likewise.
28539         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28540         * locale/programs/simple-hash.c (init_hash): Likewise.
28541         (delete_hash): Likewise.
28542         (insert_entry): Likewise.
28543         (set_entry): Likewise.
28544         (next_prime): Likewise.
28545         (is_prime): Likewise.
28546         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28547         (xmalloc): Likewise.
28548         (xrealloc): Likewise.
28549         * locale/programs/xstrdup.c (xstrdup): Likewise.
28550         * localedata/collate-test.c (xstrcoll): Likewise.
28551         * localedata/xfrm-test.c (xstrcmp): Likewise.
28552         * login/getlogin_r.c (__getlogin_r): Likewise.
28553         * login/getpt.c (__posix_openpt): Likewise.
28554         * login/login_tty.c (login_tty): Likewise.
28555         * login/setlogin.c (setlogin): Likewise.
28556         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28557         (mach_msg_destroy_port): Likewise.
28558         (mach_msg_destroy_memory): Likewise.
28559         * malloc/mcheck.c (flood): Likewise.
28560         * misc/acct.c (acct): Likewise.
28561         * misc/brk.c (__brk): Likewise.
28562         * misc/chflags.c (chflags): Likewise.
28563         * misc/chroot.c (chroot): Likewise.
28564         * misc/fchflags.c (fchflags): Likewise.
28565         * misc/fstab.c (getfsspec): Likewise.
28566         (getfsfile): Likewise.
28567         * misc/fsync.c (fsync): Likewise.
28568         * misc/ftruncate.c (__ftruncate): Likewise.
28569         * misc/ftruncate64.c (__ftruncate64): Likewise.
28570         * misc/getdomain.c (getdomainname): Likewise.
28571         (getdomainname): Likewise.
28572         * misc/gethostname.c (__gethostname): Likewise.
28573         * misc/getpass.c (getpass): Likewise.
28574         * misc/getttyent.c (skip): Likewise.
28575         (value): Likewise.
28576         * misc/gtty.c (gtty): Likewise.
28577         * misc/hsearch.c (hsearch): Likewise.
28578         (hcreate): Likewise.
28579         * misc/hsearch_r.c (__hcreate_r): Likewise.
28580         (__hdestroy_r): Likewise.
28581         * misc/ioctl.c (__ioctl): Likewise.
28582         * misc/mkdtemp.c (mkdtemp): Likewise.
28583         * misc/mkostemp.c (mkostemp): Likewise.
28584         * misc/mkostemp64.c (mkostemp64): Likewise.
28585         * misc/mkostemps.c (mkostemps): Likewise.
28586         * misc/mkostemps64.c (mkostemps64): Likewise.
28587         * misc/mkstemp.c (mkstemp): Likewise.
28588         * misc/mkstemp64.c (mkstemp64): Likewise.
28589         * misc/mkstemps.c (mkstemps): Likewise.
28590         * misc/mkstemps64.c (mkstemps64): Likewise.
28591         * misc/mktemp.c (__mktemp): Likewise.
28592         * misc/preadv.c (preadv): Likewise.
28593         * misc/preadv64.c (preadv64): Likewise.
28594         * misc/pwritev.c (pwritev): Likewise.
28595         * misc/pwritev64.c (pwritev64): Likewise.
28596         * misc/readv.c (__readv): Likewise.
28597         * misc/revoke.c (revoke): Likewise.
28598         * misc/setdomain.c (setdomainname): Likewise.
28599         * misc/setegid.c (setegid): Likewise.
28600         * misc/seteuid.c (seteuid): Likewise.
28601         * misc/sethostid.c (sethostid): Likewise.
28602         * misc/sethostname.c (sethostname): Likewise.
28603         * misc/setregid.c (__setregid): Likewise.
28604         * misc/setreuid.c (__setreuid): Likewise.
28605         * misc/sstk.c (sstk): Likewise.
28606         * misc/stty.c (stty): Likewise.
28607         * misc/syscall.c (syscall): Likewise.
28608         * misc/syslog.c (setlogmask): Likewise.
28609         * misc/truncate.c (__truncate): Likewise.
28610         * misc/truncate64.c (truncate64): Likewise.
28611         * misc/ualarm.c (ualarm): Likewise.
28612         * misc/usleep.c (usleep): Likewise.
28613         * misc/ustat.c (ustat): Likewise.
28614         * misc/writev.c (__writev): Likewise.
28615         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28616         * nptl/old_pthread_cond_broadcast.c
28617         (__pthread_cond_broadcast_2_0): Likewise.
28618         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28619         Likewise.
28620         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28621         Likewise.
28622         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28623         Likewise.
28624         * nptl/pt-raise.c (raise): Likewise.
28625         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28626         Likewise.
28627         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28628         * nptl/pthread_barrierattr_destroy.c
28629         (pthread_barrierattr_destroy): Likewise.
28630         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28631         Likewise.
28632         * nptl/pthread_barrierattr_setpshared.c
28633         (pthread_barrierattr_setpshared): Likewise.
28634         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28635         Likewise.
28636         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28637         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28638         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28639         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28640         Likewise.
28641         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28642         Likewise.
28643         * nptl/pthread_condattr_getpshared.c
28644         (pthread_condattr_getpshared): Likewise.
28645         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28646         Likewise.
28647         * nptl/pthread_condattr_setpshared.c
28648         (pthread_condattr_setpshared): Likewise.
28649         * nptl/pthread_detach.c (pthread_detach): Likewise.
28650         * nptl/pthread_equal.c (__pthread_equal): Likewise.
28651         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28652         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28653         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28654         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28655         Likewise.
28656         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28657         Likewise.
28658         * nptl/pthread_mutex_getprioceiling.c
28659         (pthread_mutex_getprioceiling): Likewise.
28660         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28661         Likewise.
28662         * nptl/pthread_mutexattr_getprotocol.c
28663         (pthread_mutexattr_getprotocol): Likewise.
28664         * nptl/pthread_mutexattr_getpshared.c
28665         (pthread_mutexattr_getpshared): Likewise.
28666         * nptl/pthread_mutexattr_getrobust.c
28667         (pthread_mutexattr_getrobust): Likewise.
28668         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28669         Likewise.
28670         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28671         Likewise.
28672         * nptl/pthread_mutexattr_setprioceiling.c
28673         (pthread_mutexattr_setprioceiling): Likewise.
28674         * nptl/pthread_mutexattr_setprotocol.c
28675         (pthread_mutexattr_setprotocol): Likewise.
28676         * nptl/pthread_mutexattr_setpshared.c
28677         (pthread_mutexattr_setpshared): Likewise.
28678         * nptl/pthread_mutexattr_setrobust.c
28679         (pthread_mutexattr_setrobust): Likewise.
28680         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28681         Likewise.
28682         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28683         Likewise.
28684         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28685         Likewise.
28686         * nptl/pthread_rwlockattr_getkind_np.c
28687         (pthread_rwlockattr_getkind_np): Likewise.
28688         * nptl/pthread_rwlockattr_getpshared.c
28689         (pthread_rwlockattr_getpshared): Likewise.
28690         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28691         Likewise.
28692         * nptl/pthread_rwlockattr_setkind_np.c
28693         (pthread_rwlockattr_setkind_np): Likewise.
28694         * nptl/pthread_rwlockattr_setpshared.c
28695         (pthread_rwlockattr_setpshared): Likewise.
28696         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28697         Likewise.
28698         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28699         Likewise.
28700         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28701         Likewise.
28702         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28703         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28704         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28705         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28706         * nptl/sem_close.c (sem_close): Likewise.
28707         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28708         * nptl/sem_init.c (__old_sem_init): Likewise.
28709         * nptl/sigaction.c (__sigaction): Likewise.
28710         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28711         * posix/_exit.c (_exit): Likewise.
28712         * posix/alarm.c (alarm): Likewise.
28713         * posix/confstr.c (confstr): Likewise.
28714         * posix/fpathconf.c (__fpathconf): Likewise.
28715         * posix/getgroups.c (__getgroups): Likewise.
28716         * posix/getpgid.c (__getpgid): Likewise.
28717         * posix/group_member.c (__group_member): Likewise.
28718         * posix/pathconf.c (__pathconf): Likewise.
28719         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28720         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28721         * posix/setgid.c (__setgid): Likewise.
28722         * posix/setpgid.c (__setpgid): Likewise.
28723         * posix/setuid.c (__setuid): Likewise.
28724         * posix/sleep.c (__sleep): Likewise.
28725         * posix/sysconf.c (__sysconf): Likewise.
28726         * posix/times.c (__times): Likewise.
28727         * posix/uname.c (__uname): Likewise.
28728         * posix/waitid.c (__waitid): Likewise.
28729         * pwd/getpw.c (__getpw): Likewise.
28730         * resolv/base64.c (b64_pton): Likewise.
28731         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28732         * resolv/gethnamaddr.c (Dprintf): Likewise.
28733         (gethostbyname): Likewise.
28734         (gethostbyname2): Likewise.
28735         (gethostbyaddr): Likewise.
28736         (_sethtent): Likewise.
28737         (_gethtbyname): Likewise.
28738         (_gethtbyname2): Likewise.
28739         (_gethtbyaddr): Likewise.
28740         (map_v4v6_address): Likewise.
28741         (map_v4v6_hostent): Likewise.
28742         (addrsort): Likewise.
28743         (ht_sethostent): Likewise.
28744         (ht_gethostbyname): Likewise.
28745         (ht_gethostbyaddr): Likewise.
28746         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28747         (inet_net_ntop_ipv4): Likewise.
28748         * resolv/inet_neta.c (inet_neta): Likewise.
28749         * resolv/inet_ntop.c (inet_ntop): Likewise.
28750         (inet_ntop4): Likewise.
28751         (inet_ntop6): Likewise.
28752         * resolv/inet_pton.c (__inet_pton): Likewise.
28753         (inet_pton4): Likewise.
28754         (inet_pton6): Likewise.
28755         * resolv/res_debug.c (loc_aton): Likewise.
28756         (loc_ntoa): Likewise.
28757         * resource/getpriority.c (__getpriority): Likewise.
28758         * resource/getrusage.c (__getrusage): Likewise.
28759         * resource/nice.c (nice): Likewise.
28760         * resource/setpriority.c (__setpriority): Likewise.
28761         * resource/setrlimit64.c (setrlimit64): Likewise.
28762         * resource/vlimit.c (vlimit): Likewise.
28763         * resource/vtimes.c (vtimes): Likewise.
28764         * rt/aio_error.c (aio_error): Likewise.
28765         * rt/aio_return.c (aio_return): Likewise.
28766         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28767         * signal/kill.c (__kill): Likewise.
28768         * signal/killpg.c (killpg): Likewise.
28769         * signal/raise.c (raise): Likewise.
28770         * signal/sigaction.c (__sigaction): Likewise.
28771         * signal/sigaddset.c (sigaddset): Likewise.
28772         * signal/sigaltstack.c (sigaltstack): Likewise.
28773         * signal/sigandset.c (sigandset): Likewise.
28774         * signal/sigblock.c (__sigblock): Likewise.
28775         * signal/sigdelset.c (sigdelset): Likewise.
28776         * signal/sigempty.c (sigemptyset): Likewise.
28777         * signal/sigfillset.c (sigfillset): Likewise.
28778         * signal/sighold.c (sighold): Likewise.
28779         * signal/sigignore.c (sigignore): Likewise.
28780         * signal/sigintr.c (siginterrupt): Likewise.
28781         * signal/sigisempty.c (sigisemptyset): Likewise.
28782         * signal/sigismem.c (sigismember): Likewise.
28783         * signal/signal.c (signal): Likewise.
28784         * signal/sigorset.c (sigorset): Likewise.
28785         * signal/sigpause.c (__sigpause): Likewise.
28786         * signal/sigpending.c (sigpending): Likewise.
28787         * signal/sigprocmask.c (__sigprocmask): Likewise.
28788         * signal/sigrelse.c (sigrelse): Likewise.
28789         * signal/sigreturn.c (__sigreturn): Likewise.
28790         * signal/sigset.c (sigset): Likewise.
28791         * signal/sigsetmask.c (__sigsetmask): Likewise.
28792         * signal/sigstack.c (sigstack): Likewise.
28793         * signal/sigsuspend.c (__sigsuspend): Likewise.
28794         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28795         * signal/sysv_signal.c (__sysv_signal): Likewise.
28796         * socket/accept.c (accept): Likewise.
28797         * socket/accept4.c (__libc_accept4): Likewise.
28798         * socket/bind.c (__bind): Likewise.
28799         * socket/connect.c (__connect): Likewise.
28800         * socket/getpeername.c (getpeername): Likewise.
28801         * socket/getsockname.c (__getsockname): Likewise.
28802         * socket/getsockopt.c (getsockopt): Likewise.
28803         * socket/listen.c (__listen): Likewise.
28804         * socket/recv.c (__recv): Likewise.
28805         * socket/recvmsg.c (__recvmsg): Likewise.
28806         * socket/send.c (__send): Likewise.
28807         * socket/sendmsg.c (__sendmsg): Likewise.
28808         * socket/shutdown.c (shutdown): Likewise.
28809         * socket/sockatmark.c (sockatmark): Likewise.
28810         * socket/socket.c (__socket): Likewise.
28811         * stdio-common/ctermid.c (ctermid): Likewise.
28812         * stdio-common/cuserid.c (cuserid): Likewise.
28813         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28814         * stdio-common/remove.c (remove): Likewise.
28815         * stdio-common/rename.c (rename): Likewise.
28816         * stdio-common/renameat.c (renameat): Likewise.
28817         * stdio-common/tempname.c (__gen_tempname): Likewise.
28818         * stdio-common/xbug.c (InitBuffer): Likewise.
28819         (AppendToBuffer): Likewise.
28820         (ReadFile): Likewise.
28821         * stdlib/a64l.c (a64l): Likewise.
28822         * stdlib/drand48_r.c (drand48_r): Likewise.
28823         * stdlib/getcontext.c (getcontext): Likewise.
28824         * stdlib/getenv.c (getenv): Likewise.
28825         * stdlib/l64a.c (l64a): Likewise.
28826         * stdlib/llabs.c (llabs): Likewise.
28827         * stdlib/lldiv.c (lldiv): Likewise.
28828         * stdlib/lrand48_r.c (lrand48_r): Likewise.
28829         * stdlib/mrand48_r.c (mrand48_r): Likewise.
28830         * stdlib/putenv.c (putenv): Likewise.
28831         * stdlib/random.c (__srandom): Likewise.
28832         (__initstate): Likewise.
28833         (__setstate): Likewise.
28834         * stdlib/random_r.c (__srandom_r): Likewise.
28835         (__setstate_r): Likewise.
28836         (__random_r): Likewise.
28837         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28838         * stdlib/setcontext.c (setcontext): Likewise.
28839         * stdlib/setenv.c (setenv): Likewise.
28840         (unsetenv): Likewise.
28841         * stdlib/srand48.c (srand48): Likewise.
28842         * stdlib/srand48_r.c (__srand48_r): Likewise.
28843         * stdlib/swapcontext.c (swapcontext): Likewise.
28844         * stdlib/system.c (__libc_system): Likewise.
28845         * stdlib/tst-strtod.c (expand): Likewise.
28846         * stdlib/tst-strtol.c (expand): Likewise.
28847         * stdlib/tst-strtoll.c (expand): Likewise.
28848         * streams/fattach.c (fattach): Likewise.
28849         * streams/fdetach.c (fdetach): Likewise.
28850         * streams/getmsg.c (getmsg): Likewise.
28851         * streams/isastream.c (isastream): Likewise.
28852         * string/ffs.c (__ffs): Likewise.
28853         * string/ffsll.c (ffsll): Likewise.
28854         * string/memcmp.c (memcmp_common_alignment): Likewise.
28855         (memcmp_not_common_alignment): Likewise.
28856         (MEMCMP): Likewise.
28857         * string/memcpy.c (memcpy): Likewise.
28858         * string/memmove.c (MEMMOVE): Likewise.
28859         * string/memset.c (memset): Likewise.
28860         * string/rawmemchr.c (RAWMEMCHR): Likewise.
28861         * string/strchrnul.c (STRCHRNUL): Likewise.
28862         * string/strerror.c (strerror): Likewise.
28863         * string/strndup.c (__strndup): Likewise.
28864         * string/strverscmp.c (__strverscmp): Likewise.
28865         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28866         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28867         (clnttcp_freeres): Likewise.
28868         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28869         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28870         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28871         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28872         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28873         (xdr_callhdr): Likewise.
28874         * sunrpc/rpcinfo.c (udpping): Likewise.
28875         (tcpping): Likewise.
28876         (pstatus): Likewise.
28877         (pmapdump): Likewise.
28878         (brdcst): Likewise.
28879         (deletereg): Likewise.
28880         (getprognum): Likewise.
28881         (getvers): Likewise.
28882         (get_inet_address): Likewise.
28883         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28884         * sunrpc/svc_udp.c (svcudp_create): Likewise.
28885         (svcudp_stat): Likewise.
28886         (svcudp_recv): Likewise.
28887         (svcudp_reply): Likewise.
28888         (svcudp_getargs): Likewise.
28889         (svcudp_freeargs): Likewise.
28890         (svcudp_destroy): Likewise.
28891         * sunrpc/xdr.c (xdr_bytes): Likewise.
28892         (xdr_netobj): Likewise.
28893         (xdr_string): Likewise.
28894         (xdr_wrapstring): Likewise.
28895         * sunrpc/xdr_float.c (xdr_float): Likewise.
28896         (xdr_double): Likewise.
28897         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28898         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28899         * sysvipc/ftok.c (ftok): Likewise.
28900         * sysvipc/msgctl.c (msgctl): Likewise.
28901         * sysvipc/msgget.c (msgget): Likewise.
28902         * sysvipc/msgrcv.c (msgrcv): Likewise.
28903         * sysvipc/msgsnd.c (msgsnd): Likewise.
28904         * sysvipc/semget.c (semget): Likewise.
28905         * sysvipc/semop.c (semop): Likewise.
28906         * sysvipc/shmat.c (shmat): Likewise.
28907         * sysvipc/shmctl.c (shmctl): Likewise.
28908         * sysvipc/shmdt.c (shmdt): Likewise.
28909         * sysvipc/shmget.c (shmget): Likewise.
28910         * termios/cfmakeraw.c (cfmakeraw): Likewise.
28911         * termios/speed.c (cfgetospeed): Likewise.
28912         (cfgetispeed): Likewise.
28913         (cfsetospeed): Likewise.
28914         (cfsetispeed): Likewise.
28915         * termios/tcflow.c (tcflow): Likewise.
28916         * termios/tcflush.c (tcflush): Likewise.
28917         * termios/tcgetattr.c (__tcgetattr): Likewise.
28918         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28919         * termios/tcgetsid.c (tcgetsid): Likewise.
28920         * termios/tcsendbrk.c (tcsendbreak): Likewise.
28921         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28922         * time/adjtime.c (__adjtime): Likewise.
28923         * time/dysize.c (dysize): Likewise.
28924         * time/ftime.c (ftime): Likewise.
28925         * time/getitimer.c (__getitimer): Likewise.
28926         * time/gettimeofday.c (__gettimeofday): Likewise.
28927         * time/gmtime.c (__gmtime_r): Likewise.
28928         (gmtime): Likewise.
28929         * time/localtime.c (__localtime_r): Likewise.
28930         (localtime): Likewise.
28931         * time/offtime.c (__offtime): Likewise.
28932         * time/settimeofday.c (__settimeofday): Likewise.
28933         * time/stime.c (stime): Likewise.
28934         * time/strftime_l.c (tm_diff): Likewise.
28935         (iso_week_days): Likewise.
28936         * time/strptime.c (strptime): Likewise.
28937         * time/time.c (time): Likewise.
28938         * time/timespec_get.c (timespec_get): Likewise.
28939         * time/tzset.c (tzset_internal): Likewise.
28940         (compute_change): Likewise.
28941         (__tz_compute): Likewise.
28942         * wcsmbs/btowc.c (__btowc): Likewise.
28943         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28944         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28945         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28946         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28947         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28948         * wcsmbs/wcscat.c (__wcscat): Likewise.
28949         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28950         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28951         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28952         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28953         * wcsmbs/wcsdup.c (wcsdup): Likewise.
28954         * wcsmbs/wcslen.c (__wcslen): Likewise.
28955         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28956         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28957         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28958         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28959         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28960         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28961         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28962         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28963         * wcsmbs/wcstok.c (wcstok): Likewise.
28964         * wcsmbs/wctob.c (wctob): Likewise.
28965         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28966         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28967         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28968         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28969         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28970         * wcsmbs/wmemset.c (__wmemset): Likewise.
28971         * wctype/wcfuncs.c (__towlower): Likewise.
28972         (__towupper): Likewise.
28974         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28975         (lll_unlock_elision): Add adapt_count parameter.
28977 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
28979         * sysdeps/nptl/configure.ac: Do not give errors based on the
28980         results of top-level configure tests.
28981         * sysdeps/nptl/configure: Regenerated.
28983         * configure.ac (libc_cv_Bgroup): Remove configure test.
28984         * configure: Regenerated.
28985         * config.make.in (have-Bgroup): Remove variable.
28987         * configure.ac (sizeof_long_double): Remove configure test.
28988         * configure: Regenerated.
28989         * config.make.in (sizeof-long-double): Remove variable.
28991         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28992         * configure: Regenerated.
28993         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28994         variable.
28995         (exceptions): Likewise.
28996         * sysdeps/arm/configure: Regenerated.
28997         * config.make.in (exceptions): Remove variable.
28998         * Makeconfig (uses-callbacks): Use -fexceptions instead of
28999         $(exceptions).
29000         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29001         (CFLAGS-vdprintf_chk.c): Likewise.
29002         (CFLAGS-printf_chk.c): Likewise.
29003         (CFLAGS-fprintf_chk.c): Likewise.
29004         (CFLAGS-vprintf_chk.c): Likewise.
29005         (CFLAGS-vfprintf_chk.c): Likewise.
29006         (CFLAGS-gets_chk.c): Likewise.
29007         (CFLAGS-fgets_chk.c): Likewise.
29008         (CFLAGS-fgets_u_chk.c): Likewise.
29009         (CFLAGS-fread_chk.c): Likewise.
29010         (CFLAGS-fread_u_chk.c): Likewise.
29011         (CFLAGS-wprintf_chk.c): Likewise.
29012         (CFLAGS-fwprintf_chk.c): Likewise.
29013         (CFLAGS-vwprintf_chk.c): Likewise.
29014         (CFLAGS-vfwprintf_chk.c): Likewise.
29015         (CFLAGS-fgetws_chk.c): Likewise.
29016         (CFLAGS-fgetws_u_chk.c): Likewise.
29017         * libio/Makefile (CFLAGS-fileops.c): Likewise.
29018         (CFLAGS-fputc.c): Likewise.
29019         (CFLAGS-fputwc.c): Likewise.
29020         (CFLAGS-freopen64.c): Likewise.
29021         (CFLAGS-freopen.c): Likewise.
29022         (CFLAGS-fseek.c): Likewise.
29023         (CFLAGS-fseeko64.c): Likewise.
29024         (CFLAGS-fseeko.c): Likewise.
29025         (CFLAGS-ftello64.c): Likewise.
29026         (CFLAGS-ftello.c): Likewise.
29027         (CFLAGS-fwide.c): Likewise.
29028         (CFLAGS-genops.c): Likewise.
29029         (CFLAGS-getc.c): Likewise.
29030         (CFLAGS-getchar.c): Likewise.
29031         (CFLAGS-getwc.c): Likewise.
29032         (CFLAGS-getwchar.c): Likewise.
29033         (CFLAGS-iofclose.c): Likewise.
29034         (CFLAGS-iofflush.c): Likewise.
29035         (CFLAGS-iofgetpos64.c): Likewise.
29036         (CFLAGS-iofgetpos.c): Likewise.
29037         (CFLAGS-iofgets.c): Likewise.
29038         (CFLAGS-iofgetws.c): Likewise.
29039         (CFLAGS-iofputs.c): Likewise.
29040         (CFLAGS-iofputws.c): Likewise.
29041         (CFLAGS-iofread.c): Likewise.
29042         (CFLAGS-iofsetpos64.c): Likewise.
29043         (CFLAGS-iofsetpos.c): Likewise.
29044         (CFLAGS-ioftell.c): Likewise.
29045         (CFLAGS-iofwrite.c): Likewise.
29046         (CFLAGS-iogetdelim.c): Likewise.
29047         (CFLAGS-iogetline.c): Likewise.
29048         (CFLAGS-iogets.c): Likewise.
29049         (CFLAGS-iogetwline.c): Likewise.
29050         (CFLAGS-ioputs.c): Likewise.
29051         (CFLAGS-ioseekoff.c): Likewise.
29052         (CFLAGS-ioseekpos.c): Likewise.
29053         (CFLAGS-iosetbuffer.c): Likewise.
29054         (CFLAGS-iosetvbuf.c): Likewise.
29055         (CFLAGS-ioungetc.c): Likewise.
29056         (CFLAGS-ioungetwc.c): Likewise.
29057         (CFLAGS-oldfileops.c): Likewise.
29058         (CFLAGS-oldiofclose.c): Likewise.
29059         (CFLAGS-oldiofgetpos64.c): Likewise.
29060         (CFLAGS-oldiofgetpos.c): Likewise.
29061         (CFLAGS-oldiofsetpos64.c): Likewise.
29062         (CFLAGS-oldiofsetpos.c): Likewise.
29063         (CFLAGS-peekc.c): Likewise.
29064         (CFLAGS-putc.c): Likewise.
29065         (CFLAGS-putchar.c): Likewise.
29066         (CFLAGS-putwc.c): Likewise.
29067         (CFLAGS-putwchar.c): Likewise.
29068         (CFLAGS-rewind.c): Likewise.
29069         (CFLAGS-wfileops.c): Likewise.
29070         (CFLAGS-wgenops.c): Likewise.
29071         (CFLAGS-oldiofopen.c): Likewise.
29072         (CFLAGS-iofopen.c): Likewise.
29073         (CFLAGS-iofopen64.c): Likewise.
29074         (CFLAGS-oldtmpfile.c): Likewise.
29075         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29076         (CFLAGS-fprintf.c): Likewise.
29077         (CFLAGS-printf.c): Likewise.
29078         (CFLAGS-vfwprintf.c): Likewise.
29079         (CFLAGS-vfscanf.c): Likewise.
29080         (CFLAGS-vfwscanf.c): Likewise.
29081         (CFLAGS-fscanf.c): Likewise.
29082         (CFLAGS-scanf.c): Likewise.
29083         (CFLAGS-isoc99_vfscanf.c): Likewise.
29084         (CFLAGS-isoc99_vscanf.c): Likewise.
29085         (CFLAGS-isoc99_fscanf.c): Likewise.
29086         (CFLAGS-isoc99_scanf.c): Likewise.
29087         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29088         (CFLAGS-isoc99_fwscanf.c): Likewise.
29089         (CFLAGS-isoc99_vwscanf.c): Likewise.
29090         (CFLAGS-isoc99_vfwscanf.c): Likewise.
29092         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29093         after mkstemp64.
29094         * login/tst-utmp.c (do_prepare): Likewise.
29095         * rt/tst-aio.c (do_prepare): Likewise.
29096         * rt/tst-aio64.c (do_prepare): Likewise.
29098 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29100         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29101         (__lll_lock_elision): Remove adapt_count decrement...
29102         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29103         (__lll_trylock_elision): Likewise.
29104         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29105         (__lll_unlock_elision): ... to here. And utilize
29106         new adapt_count parameter.
29107         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29108         (__lll_unlock_elision): Update to include adapt_count
29109         parameter.
29110         (lll_unlock_elision): Pass pointer to adapt_count
29111         variable.
29113 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29115         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29116         Add elision adapt_count parameter to list of arguments.
29117         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29118         (lll_unlock_elision): Update with new parameter list
29119         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29120         (lll_unlock_elision): Likewise.
29121         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29122         (lll_unlock_elision): Likewise.
29124 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29126         [BZ #19122]
29127         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29128         attribute_hidden.
29130         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29131         attribute_hidden.
29132         [IS_IN (rtld)] (__strdup): Likewise.
29133         [IS_IN (rtld)] (__strerror_r): Likewise.
29134         [IS_IN (rtld)] (__strsep_g): Likewise.
29135         [IS_IN (rtld)] (memchr): Likewise.
29136         [IS_IN (rtld)] (memcmp): Likewise.
29137         [IS_IN (rtld)] (memcpy): Likewise.
29138         [IS_IN (rtld)] (memmove): Likewise.
29139         [IS_IN (rtld)] (memset): Likewise.
29140         [IS_IN (rtld)] (rawmemchr): Likewise.
29141         [IS_IN (rtld)] (stpcpy): Likewise.
29142         [IS_IN (rtld)] (strchr): Likewise.
29143         [IS_IN (rtld)] (strcmp): Likewise.
29144         [IS_IN (rtld)] (strlen): Likewise.
29145         [IS_IN (rtld)] (strnlen): Likewise.
29146         [IS_IN (rtld)] (strsep): Likewise.
29148         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29149         attribute_hidden.
29150         [IS_IN (rtld)] (__strtoul_internal): Likewise.
29152         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29153         attribute_hidden.
29154         [IS_IN (rtld)] (__libc_sigaction): Likewise.
29156         * include/setjmp.h (__longjmp): Add attribute_hidden.
29157         [IS_IN (rtld)] (__sigsetjmp): Likewise.
29159         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29160         Add attribute_hidden.
29162         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29163         [IS_IN (rtld)] (__open): Likewise.
29164         [IS_IN (rtld)] (__fcntl): Likewise.
29166         * include/dirent.h (__opendirat): Add attribute_hidden.
29167         (__getdents): Likewise.
29168         (__getdents64): Likewise.
29169         (__alloc_dir): Likewise.
29170         [IS_IN (rtld)] (__closedir): Likewise.
29171         [IS_IN (rtld)] (__fdopendir): Likewise.
29172         [IS_IN (rtld)] (__readdir): Likewise.
29173         [IS_IN (rtld)] (__readdir64): Likewise.
29174         [IS_IN (rtld)] (__rewinddir): Likewise.
29176         * include/dlfcn.h (_dl_catch_error): Moved to ...
29177         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29178         attribute_hidden.
29180         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29181         (_itoa_word): Likewise.
29183         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29184         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29185         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29186         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29187         (_dl_higher_prime_number): Likewise.
29188         (_dl_debug_printf_c): Likewise.
29189         (_dl_signal_cerror): Likewise.
29190         (_dl_receive_error): Likewise.
29191         (_dl_reloc_bad_type): Likewise.
29192         (_dl_resolve_conflicts): Likewise.
29193         (_dl_check_all_versions): Likewise.
29194         (_dl_check_map_versions): Likewise.
29195         (_dl_sort_fini): Likewise.
29196         (_dl_debug_initialize): Likewise.
29197         (_dl_init_paths): Likewise.
29198         (_dl_show_auxv): Likewise.
29199         (_dl_next_ld_env_entry): Likewise.
29200         (_dl_important_hwcaps): Likewise.
29201         (_dl_load_cache_lookup): Likewise.
29202         (_dl_update_slotinfo): Likewise.
29203         (_dl_show_scope): Likewise.
29205         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29206         attribute_hidden.
29207         (_wordcopy_fwd_dest_aligned): Likewise.
29208         (_wordcopy_bwd_aligned): Likewise.
29209         (_wordcopy_bwd_dest_aligned): Likewise.
29211         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29212         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29213         Likewise.
29214         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29215         Likewise.
29216         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29218 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29220         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29221         GCC 5 requirement.
29223 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29225         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29226         test.
29227         * sysdeps/i386/configure: Regenerated.
29228         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29229         code unconditional.
29231         * configure.ac (libc_cv_asm_previous_directive): Remove configure
29232         test.
29233         (libc_cv_asm_popsection_directive): Likewise.
29234         * configure: Regenerated.
29235         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29236         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29237         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29238         (__make_section_unallocated): Make definition unconditional.
29239         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29240         Remove conditional definition.
29241         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29242         (__make_section_unallocated): Likewise.
29244         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29245         * configure: Regenerated.
29246         * config.make.in (static-libgcc): Remove variable.
29247         * Makerules (build-shlib-helper): Use -static-libgcc instead of
29248         $(static-libgcc).
29249         (build-module-helper): Likewise.
29251         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29252         * configure: Regenerated.
29254 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29256         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29257         (struct char_buffer): New type.
29258         (char_buffer_start, char_buffer_size, char_buffer_error)
29259         (char_buffer_rewind, char_buffer_add): New functions.
29260         (ADDW): Remove macro, replaced by the char_buffer_add function.
29261         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29262         of extend_alloca.  Make control flow more explicit.
29264 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29266         [BZ #19137]
29267         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29268         Add -fomit-frame-pointer.
29269         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29271 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29273         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29274         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29275         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29276         only if !__GNUC_PREREQ (5,0).
29277         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29278         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29279         (INTERNAL_SYSCALL_NCS): Likewise.
29280         (LOADREGS_0): New macro for GCC 5.
29281         (ASMARGS_0): Likewise.
29282         (LOADREGS_1): Likewise.
29283         (ASMARGS_1): Likewise.
29284         (LOADREGS_2): Likewise.
29285         (ASMARGS_2): Likewise.
29286         (LOADREGS_3): Likewise.
29287         (ASMARGS_3): Likewise.
29288         (LOADREGS_4): Likewise.
29289         (ASMARGS_4): Likewise.
29290         (LOADREGS_5): Likewise.
29291         (ASMARGS_5): Likewise.
29292         (LOADREGS_6): Likewise.
29293         (ASMARGS_6): Likewise.
29295 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29297         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29298         -fomit-frame-pointer.
29299         (CFLAGS-mmap64.c): Likewise.
29300         (CFLAGS-semtimedop.c): Likewise.
29301         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29302         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29303         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29304         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29306 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29308         [BZ #18928]
29309         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29310         _dl_pointer_guard member.
29311         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29312         initializer.
29313         (security_init): Always set up pointer guard.
29314         (process_envvars): Do not process LD_POINTER_GUARD.
29316 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
29318         [BZ #19134]
29319         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29320         (.LC2): Likewise.
29321         (.LC3): Likewise.
29322         (__lround): Do not add 0.5 to integer or out-of-range arguments.
29324 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29326         [BZ #19129]
29327         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29328         r0 and r1.
29330 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
29332         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29334 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
29336         * include/stap-probe.h: Fix macro definition formatting.
29338 2015-10-14  Florian Weimer  <fweimer@redhat.com>
29340         [BZ #19074]
29341         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29342         load and store num_ifs.
29344 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29346         [BZ #18822]
29347         * sysdeps/unix/sysv/linux/sched_getaffinity.c
29348         (__sched_getaffinity_new): Add libc_hidden_proto and
29349         libc_hidden_def.
29351 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29353         [BZ #19007]
29354         * scripts/localplt.awk: Also allow GOT references.
29355         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29356         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29357         with "+ REL R_386_GLOB_DAT".
29358         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29359         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29361 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29363         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29364         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29365         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29366         Likewise.
29367         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29368         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29369         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29370         INTERNAL_SYSCALLINTERNAL_SYSCALL and
29371         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29372         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29373         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29374         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29375         Likewise.
29376         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29378 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29380         [BZ #19125]
29381         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29382         <math_private.h> and <stdint.h>.
29383         (__llround): Avoid conversions to and from long long int, and
29384         subtractions, where those might raise spurious exceptions.
29385         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29386         <math_private.h> and <stdint.h>.
29387         (__llroundf): Avoid conversions to and from long long int, and
29388         subtractions, where those might raise spurious exceptions.
29390 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29392         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29393         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29394         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29395         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29396         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29397         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29398         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29399         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29400         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29401         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29402         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29403         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29404         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29405         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29406         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29407         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29408         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29409         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29410         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29411         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29412         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29413         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29414         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29415         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29416         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29417         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29418         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29419         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29420         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29421         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29422         (__xstat64_conv): Likewise.
29423         (__xstat32_conv): Likewise.
29425 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29427         * sysdeps/unix/sysv/linux/sysdep.h: New file.
29428         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29429         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29430         <sysdeps/unix/sysv/linux/sysdep.h>.
29431         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29432         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29433         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29434         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29435         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29436         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29437         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29438         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29439         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29443         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29444         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29445         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29446         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29447         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29448         (sysdep-dl-routines): Add sysdep.
29449         [$(subdir) == nptl] (libpthread-routines): Likewise.
29450         [$(subdir) == rt] (librt-routines): Likewise.
29451         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29452         PIC when branching to SYSCALL_ERROR_LABEL.
29453         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29454         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29455         <sysdeps/unix/sysv/linux/sysdep.h>.
29456         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29457         (SYSCALL_ERROR_ERRNO): Removed.
29458         (SYSCALL_ERROR_HANDLER): Changed to empty.
29459         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29460         (__syscall_error): New prototype.
29461         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29462         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29464 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29466         [BZ #19124]
29467         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29468         (_dl_runtime_resolve_avx512): Make it a hidden alias of
29469         _dl_runtime_resolve_avx.
29470         (_dl_runtime_profile_avx512): Make it a hidden alias of
29471         _dl_runtime_profile_avx.
29473 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29475         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29476         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29477         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29478         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29480         [BZ #16422]
29481         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29482         New configure test.
29483         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29484         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29485         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29486         <math_private.h> and <stdint.h>.
29487         (__llrint): Avoid conversions to long long int where those might
29488         raise spurious exceptions.
29489         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29490         <math_private.h> and <stdint.h>.
29491         (__llrintf): Avoid conversions to long long int where those might
29492         raise spurious exceptions.
29494 2015-10-12  Andreas Schwab  <schwab@suse.de>
29496         [BZ #18969]
29497         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
29498         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29499         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
29500         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29501         $(gen-locales).
29502         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
29503         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29504         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29505         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29506         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29507         $(gen-locales).
29508         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
29509         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29510         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29511         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29512         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29513         ($(objpfx)tst-ftell-active-handler.out)
29514         ($(objpfx)tst-ftell-append.out)
29515         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29516         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29517         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29518         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29519         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
29520         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29521         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29522         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29523         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29524         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29525         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29526         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29527         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29528         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29529         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29530         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29531         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29532         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29533         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
29534         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29535         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29536         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29537         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29538         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
29539         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29540         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29541         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29542         $(gen-locales).
29543         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
29544         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29545         $(gen-locales).
29546         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
29547         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29548         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29549         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29550         $(gen-locales).
29551         * libio/tst_wprintf2.c (main): Use explicit locale.
29552         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29554 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29556         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29557         __msg_sig_post.
29558         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29560 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29562         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29563         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29565         * sysdeps/arm/libm-test-ulps: Regenerated.
29567         [BZ #15470]
29568         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29570         [BZ #16399]
29571         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29572         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29573         and <fix-fp-int-convert-overflow.h>.
29574         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29575         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29576         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29577         and <fix-fp-int-convert-overflow.h>.
29578         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29579         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29580         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29581         <fix-fp-int-convert-overflow.h>.
29582         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29583         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29584         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29585         <fix-fp-int-convert-overflow.h>.
29586         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29587         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29588         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29589         and <fix-fp-int-convert-overflow.h>.
29590         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29591         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29592         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29593         <limits.h> and <fix-fp-int-convert-overflow.h>.
29594         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29595         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29596         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29597         and <fix-fp-int-convert-overflow.h>.
29598         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29599         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29600         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29601         and <fix-fp-int-convert-overflow.h>.
29602         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29603         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29604         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29606 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29608         [BZ #18589]
29609         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29610         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29611         $(gen-locales).
29613 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29614             Phil Blundell <pb@pbcl.net>
29616         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29617         * nptl/tst-cancel26.c: New file.
29618         * nptl/tst-cancel27.c: Likewise.
29620 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29622         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29623         __ILP32__ isn't defined.
29624         (lrint): Likewise.
29625         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29626         (lrintf): Likewise.
29627         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29628         (lrintl): Likewise.
29629         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29630         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29631         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29633 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29635         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29636         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29638         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29639         file.
29640         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29641         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29643 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29645         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29646         configure test.
29647         * sysdeps/i386/configure: Regenerated.
29648         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29649         configure test.
29650         * sysdeps/x86_64/configure: Regenerated.
29651         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29652         Make code unconditional.
29654         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29655         test.
29656         * sysdeps/i386/configure: Regenerated.
29657         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29658         test.
29659         * sysdeps/x86_64/configure: Regenerated.
29660         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29661         Make code unconditional.
29662         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29663         Likewise.
29664         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29665         Likewise.
29666         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29667         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29668         code unconditional.
29669         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29670         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29671         code unconditional.
29672         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29673         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29674         code unconditional.
29675         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29676         code unconditional.
29677         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29678         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29679         code unconditional.
29680         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29681         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29682         code unconditional.
29683         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29684         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29685         code unconditional.
29686         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29687         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29688         code unconditional.
29689         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29690         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29692         [BZ #19095]
29693         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29694         mantissa to long int before shifting left.
29696 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29698         [BZ #19094]
29699         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29700         <limits.h>.
29701         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29702         when result overflows but exception would not result from cast.
29703         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29704         <limits.h>.
29705         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29706         when result overflows but exception would not result from cast.
29707         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29708         <limits.h>.
29709         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29710         when result overflows but exception would not result from cast.
29711         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29712         <limits.h>.
29713         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29714         when result overflows but exception would not result from cast.
29715         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29716         <limits.h>.
29717         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29718         when result overflows but exception would not result from cast.
29719         * math/libm-test.inc (lrint_test_data): Add more tests.
29720         (llrint_test_data): Likewise.
29722 2015-10-08  Roland McGrath  <roland@hack.frob.com>
29724         [BZ #18872]
29725         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29726         Move out from under [$(run-built-tests) = yes] conditional.
29727         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29728         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29730 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
29732         [BZ #18589]
29733         * string/Makefile (tests): Add bug-strcoll2.
29734         (LOCALES): Add cs_CZ.UTF-8.
29735         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29737         [BZ #18589]
29738         * string/bug-strcoll2.c: New file.
29739         * locale/categories.def: Revert commit
29740         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29741         * locale/langinfo.h: Likewise.
29742         * locale/localeinfo.h: Likewise.
29743         * locale/C-collate.c: Likewise.
29744         * locale/programs/ld-collate.c (collate_output): Likewise.
29745         * string/strcoll_l.c (STRDIFF): Likewise.
29746         (STRCOLL): Likewise.
29747         * wcsmbs/wcscoll_l.c: Likewise.
29749 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29751         * math/libm-test.inc (lround_test_data): Do not expect the absence
29752         of "inexact" for some tests with non-integer arguments.
29753         (llround_test_data): Likewise.
29755         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29756         test.
29757         (libc_cv_cc_sse2avx): Likewise.
29758         * sysdeps/i386/configure: Regenerated.
29759         * sysdeps/i386/i686/multiarch/Makefile
29760         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29761         [$(subdir) = math].
29762         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29763         code unconditional.
29764         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29765         Likewise.
29766         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29767         Likewise.
29768         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29769         Likewise.
29770         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29771         test.
29772         (libc_cv_cc_sse2avx): Likewise.
29773         * sysdeps/x86_64/configure: Regenerated.
29774         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29775         unconditional.
29776         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29777         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29778         unconditional.
29779         (_dl_runtime_profile)
29780         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29781         conditional code.
29782         * sysdeps/x86_64/fpu/multiarch/Makefile
29783         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29784         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29785         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29786         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29787         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29788         * sysdeps/x86_64/fpu/multiarch/e_log.c
29789         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29790         * sysdeps/x86_64/fpu/multiarch/s_atan.c
29791         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29792         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29793         Likewise.
29794         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29795         Likewise.
29796         * sysdeps/x86_64/fpu/multiarch/s_sin.c
29797         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29798         * sysdeps/x86_64/fpu/multiarch/s_tan.c
29799         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29800         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29801         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29802         (HAVE_SSE2AVX_SUPPORT): Likewise.
29804 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
29806         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29807         instead of #pragma optimize.
29809 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29811         [BZ #17195]
29812         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29813         as is similarly done in systrim and _int_free already.
29815 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29817         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29819 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29821         [BZ #19088]
29822         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29823         <limits.h>.
29824         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29825         overflows but exception would not result from cast.
29826         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29827         and <limits.h>.
29828         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29829         overflows but exception would not result from cast.
29830         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29831         <limits.h>.
29832         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29833         overflows but exception would not result from cast.
29834         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29835         <limits.h>.
29836         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29837         overflows but exception would not result from cast.
29838         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29839         <limits.h>.
29840         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29841         overflows but exception would not result from cast.
29842         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29843         <limits.h>.
29844         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29845         overflows but exception would not result from cast.
29846         * math/libm-test.inc (lround_test_data): Add more tests.
29847         (llround_test_data): Likewise.
29849 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
29851         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29852         (CFLAGS-ialloc.c): Ditto.
29853         (CFLAGS-scheck.c): Ditto.
29855 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29857         [BZ #19086]
29858         * manual/filesys.texi (Storage Allocation): Fix argument order for
29859         posix_fallocate64.
29861 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29863         [BZ #19085]
29864         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29865         exponent below 48 inside case for non-overflowing exponent.
29866         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29868 2015-10-07  Florian Weimer  <fweimer@redhat.com>
29870         * iconvdata/cp737.h (from_idx): Add const.
29871         * iconvdata/cp775.h (from_idx): Likewise.
29873 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29875         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29876         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29877         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29879         [BZ #19079]
29880         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29881         file, conditioned on [!_LP64].
29882         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29883         [!_LP64] (__lround): Do not define as function or alias.
29884         [!_LP64] (lround): Likewise.
29885         [!_LP64] (__lroundl): Likewise.
29886         [!_LP64] (lroundl): Likewise.
29887         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29888         macro.
29889         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29890         Likewise.
29892 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
29894         * math/libm-test.inc (lrint_test_data): Add more tests.
29895         (llrint_test_data): Likewise.
29896         (lround_test_data): Likewise.
29897         (llround_test_data): Likewise.
29899         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29900         (llrint_test_data): Add tests used for lrint.
29902         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29903         test.
29904         * sysdeps/i386/configure: Regenerated.
29905         * sysdeps/i386/i686/multiarch/Makefile
29906         [$(config-cflags-sse4) = yes]: Make code unconditional.
29907         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29908         Likewise.
29909         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29910         Likewise.
29911         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29912         test.
29913         * sysdeps/x86_64/configure: Regenerated.
29914         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29915         Make code unconditional.
29916         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29917         Likewise.
29918         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29919         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29921         * scripts/rpm2dynsym.sh: Remove file.
29923 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29925         * configure.ac (libc_cv_cxx_thread_local): Define.
29926         * configure: Regenerate.
29927         * config.make.in (have-cxx-thread_local): Define.
29928         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29929         (LDLIBS-tst-thread_local1): Define.
29930         (tests): Add tst-thread_local1.
29931         [have-cxx-thread_local != yes] (tests-unsupported): Add
29932         tst-thread_local1.
29933         * nptl/tst-thread_local1.cc: New file.
29935 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
29937         [BZ #19078]
29938         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29939         (u_thres): Likewise.
29940         (__expl): Determine whether to call __kernel_standard_l based on
29941         value of result, not argument.
29943         * math/libm-test.inc (scalb_test_data): Add more expectations for
29944         the "inexact" exception.
29946         [BZ #19077]
29947         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29948         0.0L for argument 1.0L.
29950         [BZ #19076]
29951         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29952         constant 0.0L when computing infinite result.
29954 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29956         [BZ #10432]
29957         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29958         malloc_usable_size.
29960 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29962         [BZ #19018]
29963         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29964         Mangle function pointer before storing it.
29965         (__call_tls_dtors): Demangle function pointer before calling it.
29967 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29969         [BZ #19012]
29970         * iconv/gconv_db.c (gen_steps): Check for additional errors.
29971         Clean up on failure.
29973 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
29975         [BZ #19071]
29976         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29977         long int variable to store possibly incremented high part of
29978         mantissa.
29979         * math/libm-test.inc (lround_test_data): Add tests used for
29980         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
29981         for tests requiring 64-bit long.  Do not condition tests on
29982         [TEST_FLOAT] unnecessarily.
29983         (llround_test_data): Add tests used for lround.  Add another
29984         expectation for the "inexact" exception.  Do not condition tests
29985         on [TEST_FLOAT] unnecessarily.
29987         [BZ #887]
29988         [BZ #19049]
29989         [BZ #19050]
29990         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29991         * sysdeps/ieee754/dbl-64/e_log10.c: Include
29992         <fix-int-fp-convert-zero.h>.
29993         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29994         * sysdeps/ieee754/dbl-64/e_log2.c: Include
29995         <fix-int-fp-convert-zero.h>.
29996         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29997         * sysdeps/ieee754/dbl-64/s_erf.c: Include
29998         <fix-int-fp-convert-zero.h>.
29999         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30000         * sysdeps/ieee754/dbl-64/s_logb.c: Include
30001         <fix-int-fp-convert-zero.h>.
30002         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30003         * sysdeps/ieee754/flt-32/e_log10f.c: Include
30004         <fix-int-fp-convert-zero.h>.
30005         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30006         * sysdeps/ieee754/flt-32/e_log2f.c: Include
30007         <fix-int-fp-convert-zero.h>.
30008         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30009         * sysdeps/ieee754/flt-32/s_erff.c: Include
30010         <fix-int-fp-convert-zero.h>.
30011         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30012         * sysdeps/ieee754/flt-32/s_logbf.c: Include
30013         <fix-int-fp-convert-zero.h>.
30014         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30015         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30016         <fix-int-fp-convert-zero.h>.
30017         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30018         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30019         <fix-int-fp-convert-zero.h>.
30020         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30021         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30022         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30023         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30024         file.
30025         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30027 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
30029         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30031 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
30033         [BZ #19059]
30034         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30035         overflowing computation.
30036         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30037         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30038         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30039         Likewise.
30040         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30041         Likewise.
30042         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30043         Likewise.
30044         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30045         Likewise.
30046         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30047         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30048         Likewise.
30049         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30050         Likewise.
30051         * math/libm-test.inc (nexttoward_test_data): Add more tests.
30053         * nss/rewrite_field.c (__nss_rewrite_field): Use
30054         internal_function.
30055         * nss/valid_field.c (__nss_valid_field): Likewise.
30056         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30058 2015-10-02  Florian Weimer  <fweimer@redhat.com>
30060         [BZ #18724]
30061         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30062         (__nss_invalid_field_characters, __nss_valid_field)
30063         (__nss_valid_list_field, __nss_rewrite_field): Declare.
30064         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30065         tst-field.c: New file.
30066         * nss/Makefile (routines): Add valid_field, rewrite_field.
30067         (tests-static): Define unconditionally.
30068         (tests): Include tests-static.
30069         [build-static-nss] (tests-static): Use append.
30070         [build-static-nss] (tests): Remove modification.
30071         * nss/getent.c (print_group): Call putgrent.  Report error.
30072         (print_gshadow): Call putsgent.  Report error.
30073         (print_passwd): Call putpwent.  Report error.
30074         (print_shadow): Call putspent.  Report error.
30075         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30076         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30077         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
30078         name, password, directory, shell fields for valid syntax.  Rewrite
30079         GECOS field to match syntax.
30080         * pwd/Makefile (tests): Add tst-putpwent.
30081         * pwd/tst-putpwent.c: New file.
30082         * grp/putgrent.c (putgrent): Convert to ISO function definition.
30083         Check grName, grpasswd, gr_mem fields for valid syntax.
30084         Change loop variable i to size_t.
30085         * grp/Makefile (tests): Add tst-putgrent.
30086         * grp/tst-putgrent.c: New file.
30087         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30088         valid syntax.
30089         * shadow/Makefile (tests): Add tst-putspent.
30090         * shadow/tst-putspent.c: New file.
30091         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30092         sg_mem fields for valid syntax.
30093         * gshadow/Makefile (tests): Add tst-putsgent.
30094         * gshadow/tst-putsgent.c: New file.
30096 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30098         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30099         assembly instructions.
30101 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30103         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30104         prefix from operands.
30106 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
30108         [BZ #16347]
30109         [BZ #19046]
30110         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30111         <libc-internal.h>.
30112         (MAXLGM): Do not use diagnostic control macros.
30113         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30114         threshold for ldbl-128ibm.
30115         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30116         instead of multiplying by log then subtracting.
30117         * math/auto-libm-test-in: Add more tests of lgamma.
30118         * math/auto-libm-test-out: Regenerated.
30120         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30121         (TYPE_HEX_DIG): Likewise.
30122         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30123         precisions when printing floating-point numbers.
30124         (check_float_internal): Likewise.
30126 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30128         [BZ #16620]
30129         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30130         of log (10) rounded downward to 48 bits.
30131         (log10_low): Use corresponding low part of log (10).
30133         [BZ #19032]
30134         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30135         compute result as (x - x) / (x - x) not as 0 / 0.
30136         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30137         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30139         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30140         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30141         and expm1.
30142         * math/auto-libm-test-out: Regenerated.
30143         * math/libm-test.inc (acos_test_data): Add more tests.
30144         (asin_test_data): Likewise.
30145         (asinh_test_data): Likewise.
30146         (atan_test_data): Likewise.
30147         (atanh_test_data): Likewise.
30148         (atan2_test_data): Likewise.
30149         (cbrt_test_data): Likewise.
30150         (ceil_test_data): Likewise.
30151         (copysign_test_data): Likewise.
30152         (cos_test_data): Likewise.
30153         (cosh_test_data): Likewise.
30154         (erf_test_data): Likewise.
30155         (erfc_test_data): Likewise.
30156         (exp_test_data): Likewise.
30157         (exp10_test_data): Likewise.
30158         (exp2_test_data): Likewise.
30159         (expm1_test_data): Likewise.
30160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30162 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
30164         [BZ #19006]
30165         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30166         to ...
30167         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30168         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30169         to ...
30170         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30171         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30172         to ...
30173         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30174         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30175         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30176         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30177         to ...
30178         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30179         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30180         Moved to ...
30181         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30182         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30183         Moved to ...
30184         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30185         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30186         to ...
30187         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30188         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30189         Moved to ...
30190         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30191         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30192         to ...
30193         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30194         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30195         Removed.
30196         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30197         Likewise.
30198         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30199         Likewise.
30200         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30201         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30202         Likewise.
30203         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30204         Likewise.
30205         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30206         Likewise.
30207         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30208         Likewise.
30209         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30210         Likewise.
30211         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30212         Likewise.
30213         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30214         Likewise.
30215         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30216         Likewise.
30217         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30218         Likewise.
30219         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30220         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30221         Likewise.
30222         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30223         Likewise.
30224         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30225         Likewise.
30226         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30227         Likewise.
30228         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30229         Likewise.
30230         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30231         Replace ../i486/pthread_cond_timedwait.S with
30232         ../pthread_cond_timedwait.S.
30234 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30236         * math/libm-test.inc (acos_test_data): Refine expectations for
30237         errno and "inexact" exceptions.
30238         (acosh_test_data): Likewise.
30239         (asin_test_data): Likewise.
30240         (asinh_test_data): Likewise.
30241         (atan_test_data): Likewise.
30242         (atanh_test_data): Likewise.
30243         (atan2_test_data): Likewise.
30244         (cbrt_test_data): Likewise.
30245         (ceil_test_data): Likewise.
30246         (copysign_test_data): Likewise.
30247         (cosh_test_data): Likewise.
30248         (erf_test_data): Likewise.
30249         (erfc_test_data): Likewise.
30250         (exp_test_data): Likewise.
30251         (exp10_test_data): Likewise.
30252         (exp2_test_data): Likewise.
30253         (expm1_test_data): Likewise.
30254         (fabs_test_data): Likewise.
30255         (floor_test_data): Likewise.
30256         (fma_test_data): Likewise.
30257         (fmax_test_data): Likewise.
30258         (fmin_test_data): Likewise.
30259         (fmod_test_data): Likewise.
30260         (fpclassify_test_data): Likewise.
30261         (frexp_test_data): Likewise.
30262         (hypot_test_data): Likewise.
30263         (ilogb_test_data): Likewise.
30264         (isgreater_test_data): Likewise.
30265         (isgreaterequal_test_data): Likewise.
30266         (isinf_test_data): Likewise.
30267         (isless_test_data): Likewise.
30268         (islessequal_test_data): Likewise.
30269         (islessgreater_test_data): Likewise.
30270         (isnan_test_data): Likewise.
30271         (isnormal_test_data): Likewise.
30272         (issignaling_test_data): Likewise.
30273         (isunordered_test_data): Likewise.
30274         (j0_test_data): Likewise.
30275         (j1_test_data): Likewise.
30276         (jn_test_data): Likewise.
30277         (lgamma_test_data): Likewise.
30278         (lrint_test_data): Likewise.
30279         (llrint_test_data): Likewise.
30280         (log_test_data): Likewise.
30281         (log10_test_data): Likewise.
30282         (log1p_test_data): Likewise.
30283         (log2_test_data): Likewise.
30284         (logb_test_data): Likewise.
30285         (lround_test_data): Likewise.
30286         (llround_test_data): Likewise.
30287         (modf_test_data): Likewise.
30288         (nearbyint_test_data): Likewise.
30289         (nextafter_test_data): Likewise.
30290         (nexttoward_test_data): Likewise.
30291         (pow_test_data): Likewise.
30292         (remainder_test_data): Likewise.
30293         (remquo_test_data): Likewise.
30294         (rint_test_data): Likewise.
30295         (round_test_data): Likewise.
30296         (signbit_test_data): Likewise.
30297         (sinh_test_data): Likewise.
30298         (sqrt_test_data): Likewise.
30299         (tanh_test_data): Likewise.
30300         (tgamma_test_data): Likewise.
30301         (trunc_test_data): Likewise.
30302         (y0_test_data): Likewise.
30303         (y1_test_data): Likewise.
30304         (yn_test_data): Likewise.
30305         (significand_test_data): Likewise.
30307 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
30309         * manual/filesys.texi (Storage Allocation): Document that
30310         posix_fallocate emulation fails when fd is open with O_WRONLY.
30312 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
30314         [BZ #19016]
30315         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30316         allow more cases with X^2 + Y^2 >= 0.5.
30317         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
30318         normal element in sum instead of special-casing based on values of
30319         arguments.
30320         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30321         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
30322         -1 as normal element in sum instead of special-casing based on
30323         values of arguments.
30324         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30325         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30326         (__x2y2m1): Update comment.
30327         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
30328         as normal element in sum instead of special-casing based on values
30329         of arguments.
30330         * math/s_clog.c (__clog): Handle more cases using log1p without
30331         hypot.
30332         * math/s_clog10.c (__clog10): Likewise.
30333         * math/s_clog10f.c (__clog10f): Likewise.
30334         * math/s_clog10l.c (__clog10l): Likewise.
30335         * math/s_clogf.c (__clogf): Likewise.
30336         * math/s_clogl.c (__clogl): Likewise.
30337         * math/auto-libm-test-in: Add more tests of clog and clog10.
30338         * math/auto-libm-test-out: Regenerated.
30339         * sysdeps/i386/fpu/libm-test-ulps: Update.
30340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30342 2015-09-28  Martin Sebor  <msebor@redhat.com>
30344         [BZ #18969]
30345         * string/Makefile (LOCALES): Define.
30346         (gen-locales.mk): Include.
30347         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30348         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30349         * string/tst-strxfrm2.c (do_test): Print the name of the locale
30350         on setlocale failure.
30352 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30354         [BZ #18985]
30355         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30356         (__strftime_internal): Likewise.
30357         * time/tst-strftime.c (do_bz18985): New test.
30358         (do_test): Call it.
30360 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
30362         [BZ #18956]
30363         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30364         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
30365         extracting high part.
30366         * math/auto-libm-test-in: Add another test of pow.
30367         * math/auto-libm-test-out: Regenerated.
30368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30370 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30372         [BZ #18825]
30373         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30374         New macro.
30375         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30376         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30377         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30378         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30379         DBL_NARROW_EVAL, reloading the PIC register as needed.
30380         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30381         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30382         FLT_NARROW_EVAL.  Use separate return path for case when first
30383         argument is NaN.
30384         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
30385         DEFINE_LDBL_MIN.
30386         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30387         PIC register.
30388         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30389         math_check_force_underflow_nonneg.
30390         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30391         underflow for subnormal result.
30392         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30393         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30394         math_check_force_underflow_nonneg.
30395         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30396         math_check_force_underflow.
30397         * sysdeps/x86_64/fpu/x86_64-math-asm.h
30398         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30399         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
30400         DEFINE_LDBL_MIN.
30401         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30402         * math/auto-libm-test-in: Add more tests of pow.
30403         * math/auto-libm-test-out: Regenerated.
30405 2015-09-25  Florian Weimer  <fweimer@redhat.com>
30407         * nss/bug17079.c (init_test_items): Add diagnostic for
30408         inconsistent entries.
30409         (test_buffer_size): Skip inconsistent entries.
30411 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30413         [BZ #13304]
30414         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30415         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30416         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30418         [BZ #13304]
30419         * sysdeps/microblaze/s_fma.c: New file.
30420         * sysdeps/microblaze/s_fmaf.c: Likewise.
30421         * sysdeps/microblaze/sfp-machine.h: Likewise.
30423 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
30425         [BZ #17250]
30426         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30427         member.
30429 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30431         [BZ #18803]
30432         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30433         (MO): New macro.
30434         (__ieee754_hypot) [PIC]: Load PIC register.
30435         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30436         DBL_NARROW_EVAL.
30437         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30438         math_check_force_underflow_nonneg in case where result might be
30439         tiny.
30440         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30441         Likewise.
30442         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30443         Likewise.
30444         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30445         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30446         * math/auto-libm-test-in: Add more tests of hypot.
30447         * math/auto-libm-test-out: Regenerated.
30449 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
30451         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30453 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30455         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30456         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30457         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30458         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30459         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30460         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30461         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30463         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30464         LOAD_PIC_REG.
30466         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30467         (FLT_CHECK_FORCE_UFLOW): Likewise.
30468         (DBL_CHECK_FORCE_UFLOW): Likewise.
30469         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30470         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30471         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30472         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30473         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30474         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30475         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30476         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30477         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30478         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30479         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30480         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30481         (flt_min): Replace with use of DEFINE_FLT_MIN.
30482         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30483         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30484         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30485         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30486         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30487         (flt_min): Replace with use of DEFINE_FLT_MIN.
30488         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30489         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30490         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30491         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30492         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30493         (flt_min): Replace with use of DEFINE_FLT_MIN.
30494         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30495         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30496         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30497         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30498         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30499         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30500         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30501         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30502         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30503         (__atan): Use DBL_CHECK_FORCE_UFLOW.
30504         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30505         (flt_min): Replace with use of DEFINE_FLT_MIN.
30506         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30507         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30508         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30509         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
30510         main computation.
30511         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30512         (flt_min): Replace with use of DEFINE_FLT_MIN.
30513         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
30514         main computation.
30515         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30516         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30517         (MO): New macro.
30518         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30519         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30520         (flt_min): Replace with use of DEFINE_FLT_MIN.
30521         (MO): New macro.
30522         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30523         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30524         (__log1pl): Use MO.
30526         [BZ #19003]
30527         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30528         $(config-cflags-nofma).
30530 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30532         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30534 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
30536         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30537         (TWO127): Likewise.
30539         * sysdeps/generic/math_private.h (fabs_tg): New macro.
30540         (min_of_type): Likewise.
30541         (math_check_force_underflow): Likewise.
30542         (math_check_force_underflow_nonneg): Likewise.
30543         (math_check_force_underflow_complex): Likewise.
30544         * math/e_exp2l.c (__ieee754_exp2l): Use
30545         math_check_force_underflow_nonneg.
30546         * math/k_casinh.c (__kernel_casinh): Likewise.
30547         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30548         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30549         * math/s_catan.c (__catan): Use
30550         math_check_force_underflow_complex.
30551         * math/s_catanf.c (__catanf): Likewise.
30552         * math/s_catanh.c (__catanh): Likewise.
30553         * math/s_catanhf.c (__catanhf): Likewise.
30554         * math/s_catanhl.c (__catanhl): Likewise.
30555         * math/s_catanl.c (__catanl): Likewise.
30556         * math/s_ccosh.c (__ccosh): Likewise.
30557         * math/s_ccoshf.c (__ccoshf): Likewise.
30558         * math/s_ccoshl.c (__ccoshl): Likewise.
30559         * math/s_cexp.c (__cexp): Likewise.
30560         * math/s_cexpf.c (__cexpf): Likewise.
30561         * math/s_cexpl.c (__cexpl): Likewise.
30562         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30563         * math/s_clog10.c (__clog10): Likewise.
30564         * math/s_clog10f.c (__clog10f): Likewise.
30565         * math/s_clog10l.c (__clog10l): Likewise.
30566         * math/s_clogf.c (__clogf): Likewise.
30567         * math/s_clogl.c (__clogl): Likewise.
30568         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30569         * math/s_csinf.c (__csinf): Likewise.
30570         * math/s_csinh.c (__csinh): Likewise.
30571         * math/s_csinhf.c (__csinhf): Likewise.
30572         * math/s_csinhl.c (__csinhl): Likewise.
30573         * math/s_csinl.c (__csinl): Likewise.
30574         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30575         * math/s_csqrtf.c (__csqrtf): Likewise.
30576         * math/s_csqrtl.c (__csqrtl): Likewise.
30577         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30578         * math/s_ctanf.c (__ctanf): Likewise.
30579         * math/s_ctanh.c (__ctanh): Likewise.
30580         * math/s_ctanhf.c (__ctanhf): Likewise.
30581         * math/s_ctanhl.c (__ctanhl): Likewise.
30582         * math/s_ctanl.c (__ctanl): Likewise.
30583         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30584         instead of volatile.
30585         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30586         math_check_force_underflow.
30587         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30588         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30589         volatile when forcing underflow.
30590         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30591         math_check_force_underflow_nonneg.
30592         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30593         Likewise.
30594         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30595         math_check_force_underflow.
30596         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30597         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30598         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30599         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30600         math_check_force_underflow_nonneg.
30601         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30602         math_check_force_underflow.
30603         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30604         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30605         instead of volatile.
30606         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30607         math_check_force_underflow.
30608         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30609         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30610         math_check_force_underflow_nonneg.
30611         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30612         math_check_force_underflow.
30613         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30614         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30615         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30616         math_check_force_underflow_nonneg.
30617         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30618         Likewise.
30619         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30620         math_check_force_underflow.
30621         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30622         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30623         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30624         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30625         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30626         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30627         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30628         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30629         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30630         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30631         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30632         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30633         Likewise.
30634         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30635         math_check_force_underflow_nonneg.
30636         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30637         Likewise.
30638         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30639         math_check_force_underflow.
30640         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30641         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30642         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30643         Likewise.
30644         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30645         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30646         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30647         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30648         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30649         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30651         instead of volatile.
30652         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30653         math_check_force_underflow.
30654         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30655         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30656         math_check_force_underflow.
30657         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30658         Likewise.
30659         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30660         Use math_check_force_underflow_nonneg.
30661         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30662         math_check_force_underflow.
30663         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30664         Likewise.
30665         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30666         Likewise.
30667         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30668         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30669         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30670         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30671         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30672         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30673         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30674         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30675         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30676         math_check_force_underflow_nonneg.
30677         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30678         math_check_force_underflow.
30679         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30680         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30681         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30682         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30683         math_check_force_underflow_nonneg.
30684         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30685         math_check_force_underflow.
30686         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30687         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30688         instead of volatile.
30689         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30690         math_check_force_underflow.
30692         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30693         * stdlib/strtod_l.c: Include <math_private.h>.
30694         (overflow_value): Use math_narrow_eval.
30695         (underflow_value): Likewise.
30696         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30697         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30698         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30699         (__ieee754_gamma_r): Likewise.
30700         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30701         Likewise.
30702         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30703         Likewise.
30704         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30705         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30706         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30707         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30708         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30709         (__ieee754_gammaf_r): Likewise.
30710         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30711         Likewise.
30712         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30713         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30714         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30715         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30716         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30717         volatile.
30718         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30719         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30720         math_narrow_eval.
30721         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30722         Likewise.
30723         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30724         Likewise.
30725         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30726         Likewise.
30727         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30728         volatile.
30729         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30730         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30731         math_narrow_eval.
30732         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30733         Likewise.
30734         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30735         Likewise.
30737 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
30739         * nptl/Versions: Remove ignored symbols.
30741 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30743         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
30744         * nss/Makefile (tests): Update.
30746 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30748         * nss/bug18287.c: New file.
30749         * nss/Makefile (tests): Add bug18287.
30751 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30753         * mach/Versions (__mach_host_self_): Add symbol.
30755 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30757         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30758         vm_page_size.
30760 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30762         Really fix sysdeps/i386/fpu/s_scalbn.S build
30764         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30765         (libc: GLIBC_2_22): Remove unused version set.
30767 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30769         * config.make.in (enable-timezone-tools): New variable.
30770         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30771         (enable_timezone_tools): Export to generated files.
30772         * configure: Regenerate.
30773         * INSTALL: Regenerate.
30774         * manual/install.texi (--disable-timezone-tools): Document new flag.
30775         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30776         ifeq ($(enable-timezone-tools),yes) check.
30778 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30780         * timezone/Makefile: Revert previous change.
30782         [BZ #18980]
30783         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30784         (DEFINE_DBL_MIN): Likewise.
30785         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30786         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30787         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30788         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30789         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30790         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30791         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30792         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30793         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30794         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30795         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30796         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30797         (flt_min): Replace with use of DEFINE_FLT_MIN.
30798         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30799         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30800         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30801         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30802         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30803         (flt_min): Replace with use of DEFINE_FLT_MIN.
30804         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30805         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30806         (flt_min): Replace with use of DEFINE_FLT_MIN.
30807         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30808         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30809         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30810         (__ieee754_hypot): Use DBL_NARROW_EVAL.
30811         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30812         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30813         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30814         (__ieee754_pow): Use DBL_NARROW_EVAL.
30815         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30816         (__ieee754_powf): Use FLT_NARROW_EVAL.
30817         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30818         (__ieee754_expf_sse2): Convert double-precision result to single
30819         precision.
30820         * sysdeps/i386/fpu/libm-test-ulps: Update.
30822 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30824         * timezone/Makefile: Ignore unused variable errors due to private.h
30825         (time_t_min) and (time_t_max).
30826         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
30827         Likewise.
30829 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30831         [BZ #18981]
30832         * sysdeps/i386/fpu/i386-math-asm.h: New file.
30833         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30834         (__ieee754_scalb): Use DBL_NARROW_EVAL.
30835         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30836         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30837         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30838         (__scalbn): Use DBL_NARROW_EVAL.
30839         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30840         (__scalbnf): Use FLT_NARROW_EVAL.
30842 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30844         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30845         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30846         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30847         * stdio-common/printf_fp.c (___printf_fp):
30848         Use signbit to get the sign. Use isinf macro to allow inlining.
30849         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30850         * stdio-common/printf_size.c (__printf_size): Likewise.
30852 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30854         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30856 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30858         [BZ #18980]
30859         * sysdeps/generic/math_private.h: Include <float.h>.
30860         (math_narrow_eval): New macro.
30861         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30862         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30863         math_narrow_eval on overflowing return value.
30864         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30865         Likewise.
30866         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30867         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30868         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30869         Likewise.
30870         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30872 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30874         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30875         * math/Makefile: Remove isinf_ns.c.
30876         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30877         * math/multc3.c (__multc3): Likewise.
30878         * math/s_casin.c (__casin): Likewise.
30879         * math/s_casinf.c (__casinf): Likewise.
30880         * math/s_casinl.c (__casinl): Likewise.
30881         * math/s_cproj.c (__cproj): Likewise.
30882         * math/s_cprojf.c (__cprojf): Likewise.
30883         * math/s_cprojl.c (__cprofl): Likewise.
30884         * math/s_ctan.c (__ctan): Likewise.
30885         * math/s_ctanf.c (__ctanf): Likewise.
30886         * math/s_ctanh.c (__ctanh): Likewise.
30887         * math/s_ctanhf.c (__ctanhf): Likewise.
30888         * math/s_ctanhl.c (__ctanhl): Likewise.
30889         * math/s_ctanl.c (__ctanl): Likewise.
30890         * math/w_fmod.c (__fmod): Likewise.
30891         * math/w_fmodf.c (__fmodf): Likewise.
30892         * math/w_fmodl.c (_fmodl): Likewise.
30893         * math/w_remainder.c (__remainder): Likewise.
30894         * math/w_remainderf.c (__remainderf): Likewise.
30895         * math/w_remainderl.c (__remainderl): Likewise.
30896         * math/w_scalb.c (__scalb): Likewise.
30897         * math/w_scalbf.c (__scalbf): Likewise.
30898         * math/w_scalbl.c (__scalbl): Likewise.
30899         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30900         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30901         with isinf.
30902         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30903         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30904         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30905         __isinf_nsf with isinf.
30906         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30907         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30908         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30909         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30910         with isinf.
30911         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30912         __isinf_nsl with isinf.
30913         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30914         with isinf.
30915         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30916         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30917         __isinf_nsl with isinf.
30918         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30919         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30920         with isinf.
30922 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30924         * resolv/base64.c (rcsid): Remove unused static.
30925         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30926         static.  (tqpi1): Likewise.
30927         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30928         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30929         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30930         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30931         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30932         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30933         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30934         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
30935         Likewise.
30937 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
30939         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30940         <nptl/pthreadP.h>.
30941         (_longjmp_unwind): Use __libc_ptf_call.
30942         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30944 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
30946         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30947         * sysdeps/arm/__longjmp.S: Likewise.
30949 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30951         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30952         Use __builtin_signbit.
30953         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30954         Use __builtin_signbitf.
30955         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30956         Use __builtin_signbitl.
30957         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30958         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30960 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30962         [BZ #15367]
30963         [BZ #17441]
30965         * math/Makefile: Build test-snan.c with -fsignaling-nans.
30966         * math/math.h (fpclassify): Use __builtin_fpclassify when
30967         available.  (signbit): Use __builtin_signbit(f/l).
30968         (isfinite): Use__builtin_isfinite.  (isnormal): Use
30969         __builtin_isnormal.  (isnan): Use __builtin_isnan.
30970         (isinf): Use __builtin_isinf_sign.
30972 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30974         * benchtests/Makefile: Add bench-math-inlines, link with libm.
30975         * benchtests/bench-math-inlines.c: New benchmark.
30976         * benchtests/bench-util.h: New file.
30977         * benchtests/bench-util.c: New file.
30978         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30980 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
30982         * elf/tst-dlmopen1.c: Define TEST_SO.
30983         (do_test): Use TEST_SO.
30985         * elf/dl-load.c: Include libc-internal.h.
30986         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30988 2015-09-18  Vincent Bernat  <vincent@bernat.im>
30990         [BZ #17887]
30991         * time/strptime_l.c (__strptime_internal): Make %z accept
30992         [+-]HH:MM time zones.
30994 2015-09-18  Vincent Bernat  <vincent@bernat.im>
30996         [BZ #17886]
30997         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30998         valid time zone.
31000 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
31002         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31003         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31004         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31005         (__ASSUME_FDATASYNC): Delete.
31007 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31009         * conform/linknamespace.pl: Require weak undefined symbols to be
31010         in the standard namespace.
31011         (%strong_syms): Rename to %seen_syms.
31012         (%strong_seen): Rename to %seen_where.
31014 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
31016         [BZ #18970]
31017         * misc/error.c (error): Replace pthread_setcancelstate with
31018         __pthread_setcancelstate.
31019         (error_at_line): Likewise.
31020         * posix/wordexp.c (parse_comm): Likewise.
31021         * stdlib/fmtmsg.c (fmtmsg): Likewise.
31022         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31023         (__pthread_setcancelstate): This.
31024         (pthread_setcancelstate): Add an alias.
31025         * nptl/nptl-init.c (pthread_functions): Replace
31026         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31027         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31028         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31029         hidden_proto.
31030         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31031         it with hidden_def.
31032         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31033         (pthread_setcancelstate): Renamed to ...
31034         (__pthread_setcancelstate): This.
31035         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31036         __libc_ptf_call with __pthread_setcancelstate.
31038 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31039             Andreas Schwab  <schwab@suse.de>
31041         [BZ #17118]
31042         * math/s_ctan.c (__ctan): Determine sign of zero real part of
31043         result when imaginary part of argument is infinite using sine and
31044         cosine.
31045         * math/s_ctanf.c (__ctanf): Likewise.
31046         * math/s_ctanl.c (__ctanl): Likewise.
31047         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31048         of result when real part of argument is infinite using sine and
31049         cosine.
31050         * math/s_ctanhf.c (__ctanhf): Likewise.
31051         * math/s_ctanhl.c (__ctanhl): Likewise.
31052         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31053         (ctanh_test_data): Add more tests of ctanh.
31055 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31057         [BZ #15384]
31058         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31059         bit-mask as in subtraction.
31060         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31061         Likewise.
31062         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31063         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31064         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31066         [BZ #18951]
31067         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31068         underflow exception for small results.
31069         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31070         Likewise.
31071         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31072         Likewise.
31073         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31074         Likewise.
31075         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31076         Likewise.
31077         * math/auto-libm-test-in: Add more tests of tgamma.
31078         * math/auto-libm-test-out: Regenerated.
31080 2015-09-17  Andreas Schwab  <schwab@suse.de>
31082         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31084 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31086         [BZ #18977]
31087         * math/bits/mathcalls.h
31088         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31089         not declare.
31090         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31091         Likewise.
31092         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31093         Likewise.
31094         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31095         Likewise.
31096         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31097         Likewise.
31098         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31099         Likewise.
31100         * conform/data/math.h-data
31101         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31102         function.
31103         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31104         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31105         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31106         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31107         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31108         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31109         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31110         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31111         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31112         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31113         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31115         [BZ #6803]
31116         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31117         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31118         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31119         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31120         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31121         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31122         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31123         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31124         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31125         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31126         Likewise.
31127         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31128         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31129         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31130         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31131         long_double_symbol calls.
31132         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31133         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31134         strong alias of __ldexpl.
31135         (scalbnl): Define using long_double_symbol.
31136         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31137         Remove alias.
31138         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31139         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31140         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31141         (scalbln_test_data): Add more errno expectations.
31143 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
31145         Cache the host port like we cache the task port.  This way we do not
31146         need to call the kernel just to get the port.  Furthermore, we no
31147         longer increase the reference count on every invocation of
31148         `mach_host_self'.
31150         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31151         Protect declarations against the macro expansion.
31152         * mach/mach_init.c (__mach_host_self_): New variable.
31153         (mach_init): Initialize `__mach_host_self_'.
31154         * mach/mach_init.h (__mach_host_self_): New declaration.
31155         (__mach_host_self, mach_host_self): New macros.
31156         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31157         Release reference.
31159 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31161         [BZ #4404]
31162         * po/de.po: Update from Translation Project.
31164         [BZ #16415]
31165         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31166         (__expm1l): Remove code to handle positive infinity and overflow.
31167         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31168         variable.
31169         (__expm1l): Remove code to handle positive infinity and overflow.
31171 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
31172             Paul Pluzhnikov  <ppluzhnikov@google.com>
31174         [BZ #18872]
31175         * stdio-common/Makefile (tst-printf-bz18872): New test.
31176         (tst-printf-bz18872-mem.out): Likewise.
31177         * stdio-common/tst-printf-bz18872.sh: Generate new test.
31178         * stdio-common/vfprintf.c: Fix memory leaks.
31180 2015-09-16  Andreas Schwab  <schwab@suse.de>
31182         [BZ #17244]
31183         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31184         Remove extra va_start/va_end calls.
31186         [BZ #17243]
31187         * posix/execl.c (execl): Add missing va_end.
31188         * posix/execle.c (execle): Likewise.
31189         * posix/execlp.c (execlp): Likewise.
31191 2015-09-15  Roland McGrath  <roland@hack.frob.com>
31193         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31194         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31196 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
31198         [BZ #18967]
31199         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
31200         undefine around includes of <bits/mathcalls.h>.
31201         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31202         not declare function.
31203         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31204         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31205         (scalb): Likewise.
31206         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31207         not define macro.
31208         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31209         variable.
31210         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31211         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31212         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31214         [BZ #18857]
31215         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31216         return non-finite argument without doing ordered comparisons on
31217         it.
31219         [BZ #16296]
31220         * math/fenv.h (fegetround): Use __attribute_pure__.
31221         * include/fenv.h (__fegetround): Likewise.
31223         [BZ #18595]
31224         * math/s_ctan.c (__ctan): Force underflow exception for results
31225         whose real or imaginary part has small absolute value.
31226         * math/s_ctanf.c (__ctanf): Likewise.
31227         * math/s_ctanh.c (__ctanh): Likewise.
31228         * math/s_ctanhf.c (__ctanhf): Likewise.
31229         * math/s_ctanhl.c (__ctanhl): Likewise.
31230         * math/s_ctanl.c (__ctanl): Likewise.
31231         * math/auto-libm-test-in: Do not allow missing underflow for ctan
31232         and ctanh.  Add more tests of ctan and ctanh.
31234         [BZ #15918]
31235         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31236         handling of cases where one argument is an infinity.
31238         [BZ #18875]
31239         [BZ #18966]
31240         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31241         (MO): New macro.
31242         (__ieee754_exp10): For small results, force underflow exception
31243         and remove excess range and precision from return value.
31244         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31245         (MO): New macro.
31246         (__ieee754_exp10f): For small results, force underflow exception
31247         and remove excess range and precision from return value.
31248         * math/auto-libm-test-in: Add more tests of exp10.
31249         * math/auto-libm-test-out: Regenerated.
31251 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
31253         [BZ #18875]
31254         [BZ #18961]
31255         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31256         (MO): New macro.
31257         (__ieee754_exp): For small results, force underflow exception and
31258         remove excess range and precision from return value.
31259         (__exp_finite): Likewise.
31260         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31261         (MO): New macro.
31262         (__ieee754_expf): For small results, force underflow exception and
31263         remove excess range and precision from return value.
31264         (__expf_finite): Likewise.
31265         * math/auto-libm-test-in: Add more tests of exp.
31266         * math/auto-libm-test-out: Regenerated.
31268         [BZ #16521]
31269         [BZ #18875]
31270         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31271         small results.
31272         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31273         (MO): New macro.
31274         (__ieee754_exp2): For small results, force underflow exception and
31275         remove excess range and precision from return value.
31276         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31277         (MO): New macro.
31278         (__ieee754_exp2f): For small results, force underflow exception
31279         and remove excess range and precision from return value.
31280         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31281         (MO): New macro.
31282         (__ieee754_exp2l): Force underflow exception for small results.
31283         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31284         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31285         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31286         (MO): New macro.
31287         (__ieee754_exp2l): Force underflow exception for small results.
31288         * math/auto-libm-test-in: Add more tests or exp2.
31289         * math/auto-libm-test-out: Regenerated.
31291 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
31293         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31295         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31296         /dev/null.
31298 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31300         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31301         io fs process)): Drop spurious backslash.
31303 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31305         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31306         Use sysinfo system call instead of parsing /proc/meminfo.
31307         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31308         Likewise.
31310 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
31312         [BZ #16985]
31313         * programs/localedef.c (main): Display argv[remaining] when
31314         output_path is NULL.
31316 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31318         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31319         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31320         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31321         tanh.
31322         * math/auto-libm-test-out: Regenerated.
31323         * sysdeps/i386/fpu/libm-test-ulps: Update.
31324         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31325         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31328 2015-09-11  Roland McGrath  <roland@hack.frob.com>
31330         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31331         Use 'override' keyword to freeze the value here, preventing
31332         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31334 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31336         [BZ #14912]
31337         * sysdeps/aarch64/bits/atomic.h: Move to ...
31338         * sysdeps/aarch64/atomic-machine.h: ...here.
31339         (_AARCH64_BITS_ATOMIC_H): Rename macro to
31340         _AARCH64_ATOMIC_MACHINE_H.
31341         * sysdeps/alpha/bits/atomic.h: Move to ...
31342         * sysdeps/alpha/atomic-machine.h: ...here.
31343         * sysdeps/arm/bits/atomic.h: Move to ...
31344         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
31345         * bits/atomic.h: Move to ...
31346         * sysdeps/generic/atomic-machine.h: ...here.
31347         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31348         * sysdeps/i386/bits/atomic.h: Move to ...
31349         * sysdeps/i386/atomic-machine.h: ...here.
31350         * sysdeps/ia64/bits/atomic.h: Move to ...
31351         * sysdeps/ia64/atomic-machine.h: ...here.
31352         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31353         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31354         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31355         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31356         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31357         * sysdeps/microblaze/bits/atomic.h: Move to ...
31358         * sysdeps/microblaze/atomic-machine.h: ...here.
31359         * sysdeps/mips/bits/atomic.h: Move to ...
31360         * sysdeps/mips/atomic-machine.h: ...here.
31361         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31362         * sysdeps/powerpc/bits/atomic.h: Move to ...
31363         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
31364         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31365         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
31366         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
31367         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31368         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
31369         <atomic-machine.h> instead of <bits/atomic.h>.
31370         * sysdeps/s390/bits/atomic.h: Move to ...
31371         * sysdeps/s390/atomic-machine.h: ...here.
31372         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31373         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31374         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31375         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31376         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31377         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31378         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31379         * sysdeps/tile/bits/atomic.h: Move to ...
31380         * sysdeps/tile/atomic-machine.h: ...here.
31381         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31382         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
31383         <sysdeps/tile/atomic-machine.h> instead of
31384         <sysdeps/tile/bits/atomic.h>.
31385         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31386         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31387         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
31388         <sysdeps/tile/atomic-machine.h> instead of
31389         <sysdeps/tile/bits/atomic.h>.
31390         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31391         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31392         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
31393         <sysdeps/arm/atomic-machine.h> instead of
31394         <sysdeps/arm/bits/atomic.h>.
31395         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31396         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31397         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31398         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31399         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31400         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31401         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31402         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31403         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31404         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31405         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31406         * sysdeps/x86_64/bits/atomic.h: Move to ...
31407         * sysdeps/x86_64/atomic-machine.h: ...here.
31408         * include/atomic.h: Include <atomic-machine.h> instead of
31409         <bits/atomic.h>.
31411         * sysdeps/mips/mips32/libm-test-ulps: Update.
31412         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31414         [BZ #18952]
31415         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31416         not convert non-integer negative arguments to int to determine the
31417         value of signgam.
31418         * math/auto-libm-test-in: Add more tests of lgamma.
31419         * math/auto-libm-test-out: Regenerated.
31421         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31422         cosh, csqrt, erfc, expm1 and lgamma.
31423         * math/auto-libm-test-out: Regenerated.
31424         * sysdeps/i386/fpu/libm-test-ulps: Update.
31425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31427 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
31429         [BZ #2542]
31430         [BZ #2543]
31431         [BZ #2558]
31432         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31433         __lgamma_neg for arguments from -28.0 to -2.0.
31434         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31435         __lgamma_negf for arguments from -15.0 to -2.0.
31436         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31437         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31438         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31439         Call __lgamma_negl for arguments from -33.0 to -2.0.
31440         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31441         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31442         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31443         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31444         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31445         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31446         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31447         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31448         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31449         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31450         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31451         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31452         (__lgamma_neg): Likewise.
31453         (__lgamma_negl): Likewise.
31454         (__lgamma_product): Likewise.
31455         (__lgamma_productl): Likewise.
31456         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31457         * math/auto-libm-test-in: Add more tests of lgamma.
31458         * math/auto-libm-test-out: Regenerated.
31459         * sysdeps/i386/fpu/libm-test-ulps: Update.
31460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31462 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
31464         [BZ #18675]
31465         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31467 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
31469         [BZ #14912]
31470         * bits/libc-lock.h: Move to ...
31471         * sysdeps/generic/libc-lock.h: ...here.
31472         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31473         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31474         * sysdeps/mach/hurd/libc-lock.h: ...here.
31475         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31476         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31477         * sysdeps/mach/bits/libc-lock.h: Move to ...
31478         * sysdeps/mach/libc-lock.h: ...here.
31479         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31480         * sysdeps/nptl/bits/libc-lock.h: Move to ...
31481         * sysdeps/nptl/libc-lock.h: ...here.
31482         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31483         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31484         * sysdeps/nptl/libc-lockP.h: ...here.
31485         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31486         * crypt/crypt_util.c: Include <libc-lock.h> instead of
31487         <bits/libc-lock.h>.
31488         * dirent/scandir-tail.c: Likewise.
31489         * dlfcn/dlerror.c: Likewise.
31490         * elf/dl-close.c: Likewise.
31491         * elf/dl-iteratephdr.c: Likewise.
31492         * elf/dl-lookup.c: Likewise.
31493         * elf/dl-open.c: Likewise.
31494         * elf/dl-support.c: Likewise.
31495         * elf/dl-writev.h: Likewise.
31496         * elf/rtld.c: Likewise.
31497         * grp/fgetgrent.c: Likewise.
31498         * gshadow/fgetsgent.c: Likewise.
31499         * gshadow/sgetsgent.c: Likewise.
31500         * iconv/gconv_conf.c: Likewise.
31501         * iconv/gconv_db.c: Likewise.
31502         * iconv/gconv_dl.c: Likewise.
31503         * iconv/gconv_int.h: Likewise.
31504         * iconv/gconv_trans.c: Likewise.
31505         * include/link.h: Likewise.
31506         * inet/getnameinfo.c: Likewise.
31507         * inet/getnetgrent.c: Likewise.
31508         * inet/getnetgrent_r.c: Likewise.
31509         * intl/bindtextdom.c: Likewise.
31510         * intl/dcigettext.c: Likewise.
31511         * intl/finddomain.c: Likewise.
31512         * intl/gettextP.h: Likewise.
31513         * intl/loadmsgcat.c: Likewise.
31514         * intl/localealias.c: Likewise.
31515         * intl/textdomain.c: Likewise.
31516         * libidn/idn-stub.c: Likewise.
31517         * libio/libioP.h: Likewise.
31518         * locale/duplocale.c: Likewise.
31519         * locale/freelocale.c: Likewise.
31520         * locale/newlocale.c: Likewise.
31521         * locale/setlocale.c: Likewise.
31522         * login/getutent_r.c: Likewise.
31523         * login/getutid_r.c: Likewise.
31524         * login/getutline_r.c: Likewise.
31525         * login/utmp-private.h: Likewise.
31526         * login/utmpname.c: Likewise.
31527         * malloc/mtrace.c: Likewise.
31528         * misc/efgcvt.c: Likewise.
31529         * misc/error.c: Likewise.
31530         * misc/fstab.c: Likewise.
31531         * misc/getpass.c: Likewise.
31532         * misc/mntent.c: Likewise.
31533         * misc/syslog.c: Likewise.
31534         * nis/nis_call.c: Likewise.
31535         * nis/nis_callback.c: Likewise.
31536         * nis/nss-default.c: Likewise.
31537         * nis/nss_compat/compat-grp.c: Likewise.
31538         * nis/nss_compat/compat-initgroups.c: Likewise.
31539         * nis/nss_compat/compat-pwd.c: Likewise.
31540         * nis/nss_compat/compat-spwd.c: Likewise.
31541         * nis/nss_nis/nis-alias.c: Likewise.
31542         * nis/nss_nis/nis-ethers.c: Likewise.
31543         * nis/nss_nis/nis-grp.c: Likewise.
31544         * nis/nss_nis/nis-hosts.c: Likewise.
31545         * nis/nss_nis/nis-network.c: Likewise.
31546         * nis/nss_nis/nis-proto.c: Likewise.
31547         * nis/nss_nis/nis-pwd.c: Likewise.
31548         * nis/nss_nis/nis-rpc.c: Likewise.
31549         * nis/nss_nis/nis-service.c: Likewise.
31550         * nis/nss_nis/nis-spwd.c: Likewise.
31551         * nis/nss_nisplus/nisplus-alias.c: Likewise.
31552         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31553         * nis/nss_nisplus/nisplus-grp.c: Likewise.
31554         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31555         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31556         * nis/nss_nisplus/nisplus-network.c: Likewise.
31557         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31558         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31559         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31560         * nis/nss_nisplus/nisplus-service.c: Likewise.
31561         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31562         * nis/ypclnt.c: Likewise.
31563         * nptl/libc_pthread_init.c: Likewise.
31564         * nss/getXXbyYY.c: Likewise.
31565         * nss/getXXent.c: Likewise.
31566         * nss/getXXent_r.c: Likewise.
31567         * nss/nss_db/db-XXX.c: Likewise.
31568         * nss/nss_db/db-netgrp.c: Likewise.
31569         * nss/nss_db/nss_db.h: Likewise.
31570         * nss/nss_files/files-XXX.c: Likewise.
31571         * nss/nss_files/files-alias.c: Likewise.
31572         * nss/nsswitch.c: Likewise.
31573         * posix/regex_internal.h: Likewise.
31574         * posix/wordexp.c: Likewise.
31575         * pwd/fgetpwent.c: Likewise.
31576         * resolv/res_hconf.c: Likewise.
31577         * resolv/res_libc.c: Likewise.
31578         * shadow/fgetspent.c: Likewise.
31579         * shadow/lckpwdf.c: Likewise.
31580         * shadow/sgetspent.c: Likewise.
31581         * socket/opensock.c: Likewise.
31582         * stdio-common/reg-modifier.c: Likewise.
31583         * stdio-common/reg-printf.c: Likewise.
31584         * stdio-common/reg-type.c: Likewise.
31585         * stdio-common/vfprintf.c: Likewise.
31586         * stdio-common/vfscanf.c: Likewise.
31587         * stdlib/abort.c: Likewise.
31588         * stdlib/cxa_atexit.c: Likewise.
31589         * stdlib/fmtmsg.c: Likewise.
31590         * stdlib/random.c: Likewise.
31591         * stdlib/setenv.c: Likewise.
31592         * string/strsignal.c: Likewise.
31593         * sunrpc/auth_none.c: Likewise.
31594         * sunrpc/bindrsvprt.c: Likewise.
31595         * sunrpc/create_xid.c: Likewise.
31596         * sunrpc/key_call.c: Likewise.
31597         * sunrpc/rpc_thread.c: Likewise.
31598         * sysdeps/arm/backtrace.c: Likewise.
31599         * sysdeps/generic/ldsodefs.h: Likewise.
31600         * sysdeps/generic/stdio-lock.h: Likewise.
31601         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31602         * sysdeps/i386/backtrace.c: Likewise.
31603         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31604         * sysdeps/m68k/backtrace.c: Likewise.
31605         * sysdeps/mach/hurd/cthreads.c: Likewise.
31606         * sysdeps/mach/hurd/dirstream.h: Likewise.
31607         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31608         * sysdeps/nptl/malloc-machine.h: Likewise.
31609         * sysdeps/nptl/stdio-lock.h: Likewise.
31610         * sysdeps/posix/dirstream.h: Likewise.
31611         * sysdeps/posix/getaddrinfo.c: Likewise.
31612         * sysdeps/posix/system.c: Likewise.
31613         * sysdeps/pthread/aio_suspend.c: Likewise.
31614         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31615         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31616         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31617         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31618         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31619         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31620         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31621         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31622         * sysdeps/unix/sysv/linux/system.c: Likewise.
31623         * sysdeps/x86_64/backtrace.c: Likewise.
31624         * time/alt_digit.c: Likewise.
31625         * time/era.c: Likewise.
31626         * time/tzset.c: Likewise.
31627         * wcsmbs/wcsmbsload.c: Likewise.
31628         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31629         instead of <bits/libc-lock.h> in comment.
31631 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
31633         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31634         Only use .set mips2 if the current ISA is below mips2.
31635         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31636         Likewise.
31637         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31638         mips32r2 if the current ISA is below mips32r2.
31639         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31640         (TLS_IE): Updated to use the TLD_RDHWR macro.
31641         (TLS_LE): Likewise.
31642         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31643         __ASSEMBLER__ condition.
31645 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31647         Fix parallel build of before-compile targets.
31649         * sysdeps/mach/Makefile ($(patsubst
31650         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31651         mach-before-compile target.
31652         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31653         io fs process)): Move rule to dedicated hurd-before-compile target.
31655 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31657         Fix rules generating headers in hurd/ and mach/ when initial make call
31658         has subdir= explicitly set.
31660         * sysdeps/mach/Makefile ($(patsubst
31661         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31662         calling $(MAKE).
31663         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31664         io fs process)): Force subdir to hurd when calling $(MAKE).
31665         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31666         subdir to mach when calling $(MAKE).
31668 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
31670         Check sysheaders when looking for Mach and Hurd headers
31672         * sysdeps/mach/configure.ac: Add sysheaders check.
31673         * sysdeps/mach/configure: Regenerate.
31674         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31675         * sysdeps/mach/hurd/configure: Regenerate.
31677 2015-09-04  Roland McGrath  <roland@hack.frob.com>
31679         [BZ #18921]
31680         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31681         Fix inverted sense of test of 'o_directory_works' value.
31682         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31683         Bernhard Voelker <mail@bernhard-voelker.de>.
31685 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31687         [BZ #14912]
31688         * bits/linkmap.h: Move to ...
31689         * sysdeps/generic/linkmap.h: ...here.
31690         * sysdeps/aarch64/bits/linkmap.h: Move to ...
31691         * sysdeps/aarch64/linkmap.h: ...here.
31692         * sysdeps/arm/bits/linkmap.h: Move to ...
31693         * sysdeps/arm/linkmap.h: ...here.
31694         * sysdeps/hppa/bits/linkmap.h: Move to ...
31695         * sysdeps/hppa/linkmap.h: ...here.
31696         * sysdeps/ia64/bits/linkmap.h: Move to ...
31697         * sysdeps/ia64/linkmap.h: ...here.
31698         * sysdeps/mips/bits/linkmap.h: Move to ...
31699         * sysdeps/mips/linkmap.h: ...here.
31700         * sysdeps/s390/bits/linkmap.h: Move to ...
31701         * sysdeps/s390/linkmap.h: ...here.
31702         * sysdeps/sh/bits/linkmap.h: Move to ...
31703         * sysdeps/sh/linkmap.h: ...here.
31704         * sysdeps/x86/bits/linkmap.h: Move to ...
31705         * sysdeps/x86/linkmap.h: ...here.
31706         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31708 2015-09-04  Andreas Schwab  <schwab@suse.de>
31710         [BZ #18635]
31711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31712         (__makecontext): Terminate FDE before return label.
31713         (__novec_makecontext): Likewise.
31715 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31717         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31718         first member of struct sv in syscall macro.
31720 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31722         [BZ #14912]
31723         * bits/stdio-lock.h: Move to ...
31724         * sysdeps/generic/stdio-lock.h: ...here.
31725         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31726         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31727         * sysdeps/nptl/stdio-lock.h: ...here.
31728         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31729         * include/libio.h: Include <stdio-lock.h> instead of
31730         <bits/stdio-lock.h>.
31731         * sysdeps/nptl/fork.c: Likewise.
31732         * sysdeps/pthread/flockfile.c: Likewise.
31733         * sysdeps/pthread/ftrylockfile.c: Likewise.
31734         * sysdeps/pthread/funlockfile.c: Likewise.
31736         [BZ #14912]
31737         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31738         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31739         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31740         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31741         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31742         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31743         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31745 2015-09-03  Roland McGrath  <roland@hack.frob.com>
31747         * elf/Makefile (test-xfail-tst-protected1a): New variable.
31748         (test-xfail-tst-protected1b): New variable.
31750 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
31752         [BZ #14912]
31753         * bits/libc-tsd.h: Move to ...
31754         * sysdeps/generic/libc-tsd.h: ...here.
31755         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31756         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31757         * sysdeps/mach/hurd/libc-tsd.h: ...here.
31758         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31759         * include/ctype.h: Include <libc-tsd.h> instead of
31760         <bits/libc-tsd.h>.
31761         * include/rpc/rpc.h: Likewise.
31762         * locale/localeinfo.h: Likewise.
31763         * sunrpc/rpc_thread.c: Likewise.
31764         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31765         * sysdeps/nptl/malloc-machine.h: Likewise.
31767         * Makefile (headers): Remove bits/libc-lock.h.
31768         * libio/Makefile (headers): Remove bits/stdio-lock.h.
31770         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31771         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31772         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31773         <bits/stdio-lock.h>.
31774         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31775         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31777 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31779         [BZ #18757]
31780         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31781         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31782         BZ #18757.
31784 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31786         * malloc/mtrace.pl: Filter out NULL entries.
31788 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
31790         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31791         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31792         macro.
31794         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31795         (TCP_CC_INFO): Likewise.
31796         (TCP_SAVE_SYN): Likewise.
31797         (TCP_SAVED_SYN): Likewise.
31799 2015-08-31  Brett Neumeier <brett@neumeier.us>
31801         [BZ #18870]
31802         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31804 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
31806         [BZ #18873]
31807         Fix broken overflow check in posix_fallocate
31808         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31809         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31810         Fix parenthesization typo.
31812 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
31814         [BZ #18887]
31815         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31816         tst-mntent-blank-passno.
31817         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31818         * misc/tst-mntent-blank-corrupt.c: New test.
31819         * misc/tst-mntent-blank-passno.c: New test ripped from ...
31820         * misc/tst-mntent.c (do_test): ... here.
31822 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
31824         [BZ #4404]
31825         * po/de.po: Fix SIGALRM typo.
31827 2015-08-28  James Perkins  <james@loowit.net>
31829         * time/tst-strptime2.c (tests): Replace short list of test
31830         strings for strptime %z specifier with code which exhaustively
31831         tests every combination of sign and 0 to 5 digits. Tests for
31832         rejection of invalid strings.
31834 2015-08-28  James Perkins  <james@loowit.net>
31836         [BZ #16141]
31837         * time/strptime_l.c (__strptime_internal): Fix %z minutes
31838         calculation, removing incorrect decimal time rounding, so that
31839         all minute values result in a valid seconds value.
31840         * time/strptime_l.c (__strptime_internal): Extend %z time zone
31841         offset range limits to UTC-99:59 through UTC+99:59 to parse
31842         current and historical use cases.
31843         * time/tst-strptime2.c (tests): Modify and add tests for the
31844         strptime %z input field descriptor, specifically conversion of
31845         minutes to seconds and validating an offset range of -9959 to
31846         +9959.
31848 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31849             Dmitry V. Levin  <ldv@altlinux.org>
31851         [BZ #18877]
31852         * posix/Makefile (tests): Add tst-mmap-offset.
31853         * posix/tst-mmap.c: New file.
31854         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31855         offset calculation for negative values.
31857 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31859         * sysdeps/i386/init-arch.h: New file.
31860         * sysdeps/i386/i586/init-arch.h: Likewise.
31861         * sysdeps/i386/i686/init-arch.h: Likewise.
31862         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31863         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
31864         * sysdeps/x86/cpu-features.h (bit_I586): New.
31865         (bit_I686): Likewise.
31866         (bit_CX8): Likewise.
31867         (bit_CMOV): Likewise.
31868         (index_CX8): Likewise.
31869         (index_CMOV): Likewise.
31870         (index_I586): Likewise.
31871         (index_I686): Likewise.
31872         (reg_CX8): Likewise.
31873         (reg_CMOV): Likewise.
31874         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31875         available at compile-time.
31876         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31877         available at compile-time.
31878         * sysdeps/x86/init-arch.h (USE_I586): New macro.
31879         (USE_I686): Likewise.
31881 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31883         * sysdeps/i386/bcopy.S: New file.
31884         * sysdeps/i386/bzero.S: Likewise.
31885         * sysdeps/i386/memcpy.S: Likewise.
31886         * sysdeps/i386/memmove.S: Likewise.
31887         * sysdeps/i386/mempcpy.S: Likewise.
31888         * sysdeps/i386/memset.S: Likewise.
31889         * sysdeps/i386/bzero.c: Removed.
31890         * sysdeps/i386/memset.c: Likewise.
31891         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31892         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31893         * sysdeps/i386/i586/memset_chk.S: Likewise.
31894         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31895         * sysdeps/i386/memcpy_chk.S: Here.
31896         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31897         * sysdeps/i386/memmove_chk.S: Here.
31898         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31899         * sysdeps/i386/mempcpy_chk.S: Likewise.
31900         * sysdeps/i386/i686/memset_chk.S: Moved to ...
31901         * sysdeps/i386/memset_chk.S: Likewise.
31903 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
31905         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31906         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31907         file, move DIAG_POP_NEEDS_COMMENT to end of file.
31908         * soft-fp/fmadf4.c: Ditto.
31909         * soft-fp/fmatf4.c: Ditto.
31911 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31913         * sysdeps/i386/i586/Implies: Removed.
31914         * sysdeps/i386/i686/Implies: Likewise.
31916 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31918         * sysdeps/i386/i486/strlen.S: Moved to ...
31919         * sysdeps/i386/strlen.S: Here.
31921 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31923         * sysdeps/i386/i486/strcat.S: Moved to ...
31924         * sysdeps/i386/strcat.S: Here.
31926 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31928         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31929         * sysdeps/i386/pthread_spin_trylock.S: Here.
31930         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31931         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31933 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31935         * sysdeps/i386/i486/string-inlines.c: Moved to ...
31936         * sysdeps/i386/string-inlines.c: Here.
31938 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31940         * sysdeps/i386/i486/htonl.S: Moved ...
31941         * sysdeps/i386/htonl.S: here.
31943 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31945         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31946         * sysdeps/i386/bits/atomic.h: Here.
31948 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31950         * sysdeps/i386/i486/Versions: Removed.
31952 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31954         [BZ #2898]
31955         * misc/mktemp.c: Add mkdtemp to the link_warning message.
31956         Based on patch by Aurelien Jarno.
31958 2015-08-26  Stan Shebs  <stanshebs@google.com>
31960         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31961         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31963 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31965         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31966         * sysdeps/powerpc/dl-procinfo.c:
31967         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31968         feature so it shows when LD_SHOW_AUXV=1.
31970 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31972         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31973         (__arch_compare_and_exchange_val_32_acq): Remove and use common
31974         definition.  ISA 2.07B no longer requires full sync.
31976 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
31978         [BZ #18863]
31979         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31980         (si_call_addr): Define.
31981         (si_syscall): Define.
31982         (si_arch): Define.
31984 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31986         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31987         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31988         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31989         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31990         (__memset_zero_constant_len_parameter): New.
31991         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31992         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31993         (__memset_zero_constant_len_parameter): Don't define if
31994         __memset_chk or USE_AS_BZERO are defined.
31996         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31997         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31998         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32000         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32001         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32002         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32003         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
32004         comments.
32005         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32006         -mno-mmx for $(all-rtld-routines).
32007         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32008         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
32009         i386.
32011 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32013         * sysdeps/generic/unwind.h
32014         (_Unwind_Word): Use __mode__(__unwind_word__)
32015         instead of __mode__(__word__).
32016         (_Unwind_Sword): Likewise.
32018         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32019         (MAX_NEEDED_INPUT): New define.
32020         (MAX_NEEDED_OUTPUT): New define.
32022         * NEWS: New item for IBM z13 string optimizations.
32024         * sysdeps/s390/multiarch/memrchr-c.c: New File.
32025         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32026         * sysdeps/s390/multiarch/memrchr.c: Likewise.
32027         * sysdeps/s390/multiarch/Makefile
32028         (sysdep_routines): Add memrchr functions.
32029         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32030         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32032         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32033         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32034         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32035         * sysdeps/s390/multiarch/Makefile
32036         (sysdep_routines): Add wmemcmp functions.
32037         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32038         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32039         * benchtests/bench-wmemcmp.c: New File.
32040         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32042         * sysdeps/s390/multiarch/wmemset-c.c: New File.
32043         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32044         * sysdeps/s390/multiarch/wmemset.c: Likewise.
32045         * sysdeps/s390/multiarch/Makefile
32046         (sysdep_routines): Add wmemset functions.
32047         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32048         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32049         * wcsmbs/wmemset.c: Use WMEMSET if defined.
32050         * string/test-memset.c: Add wmemset support.
32051         * wcsmbs/test-wmemset.c: New File.
32052         * wcsmbs/Makefile (strop-tests): Add wmemset.
32053         * benchtests/bench-memset.c: Add wmemset support.
32054         * benchtests/bench-wmemset.c: New File.
32055         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32057         * sysdeps/s390/multiarch/memccpy-c.c: New File.
32058         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32059         * sysdeps/s390/multiarch/memccpy.c: Likewise.
32060         * sysdeps/s390/multiarch/Makefile
32061         (sysdep_routines): Add memccpy functions.
32062         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32063         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32064         * string/memccpy.c: Use MEMCCPY if defined.
32066         * sysdeps/s390/multiarch/memchr-vx.S: New File.
32067         * sysdeps/s390/multiarch/memchr.c: Likewise.
32068         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32069         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32070         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32071         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32072         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32073         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32074         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32075         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32076         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32077         and rawmemchr functions.
32078         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32079         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32080         and wmemchr.
32081         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32082         * string/test-memchr.c: Add wmemchr support.
32083         * wcsmbs/test-wmemchr.c: New File.
32084         * wcsmbs/Makefile (strop-tests): Add wmemchr.
32085         * benchtests/bench-memchr.c: Add wmemchr support.
32086         * benchtests/bench-wmemchr.c: New File.
32087         * benchtests/Makefile (wcsmbs-bench): wmemchr.
32089         * sysdeps/s390/multiarch/strcspn-c.c: New File.
32090         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32091         * sysdeps/s390/multiarch/strcspn.c: Likewise.
32092         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32093         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32094         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32095         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32096         wcscspn functions.
32097         * sysdeps/s390/multiarch/ifunc-impl-list.c
32098         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32099         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32100         * string/test-strcspn.c: Add wcscspn support.
32101         * wcsmbs/test-wcscspn.c: New File.
32102         * wcsmbs/Makefile (strop-tests): Add wcscspn.
32103         * benchtests/bench-strcspn.c: Add wcscspn support.
32104         * benchtests/bench-wcscspn.c: New File.
32105         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32107         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32108         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32109         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32110         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32111         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32112         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32113         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32114         wcspbrk functions.
32115         * sysdeps/s390/multiarch/ifunc-impl-list.c
32116         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32117         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32118         * string/test-strpbrk.c: Add wcspbrk support.
32119         * wcsmbs/test-wcspbrk.c: New File.
32120         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32121         * benchtests/bench-strpbrk.c: Add wcspbrk support.
32122         * benchtests/bench-wcspbrk.c: New File.
32123         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32125         * sysdeps/s390/multiarch/strspn-c.c: New File.
32126         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32127         * sysdeps/s390/multiarch/strspn.c: Likewise.
32128         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32129         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32130         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32131         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32132         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32133         wcsspn functions.
32134         * sysdeps/s390/multiarch/ifunc-impl-list.c
32135         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32136         * string/test-strspn.c: Add wcsspn support.
32137         * wcsmbs/test-wcsspn.c: New File.
32138         * wcsmbs/Makefile (strop-tests): Add wcsspn.
32139         * benchtests/bench-strspn.c: Add wcsspn support.
32140         * benchtests/bench-wcsspn.c: New File.
32141         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32143         * sysdeps/s390/multiarch/strrchr-c.c: New File.
32144         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32145         * sysdeps/s390/multiarch/strrchr.c: Likewise.
32146         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32147         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32148         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32149         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32150         wcsrchr functions.
32151         * sysdeps/s390/multiarch/ifunc-impl-list.c
32152         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32153         * benchtests/bench-wcsrchr.c: New File.
32154         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32156         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32157         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32158         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32159         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32160         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32161         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32162         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32163         wcschrnul functions.
32164         * sysdeps/s390/multiarch/ifunc-impl-list.c
32165         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32166         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32167         * string/test-strchr.c: Add wcschrnul support.
32168         * wcsmbs/test-wcschrnul.c: New File.
32169         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32170         * benchtests/bench-strchr.c: Add wcschrnul support.
32171         * benchtests/bench-wcschrnul.c: New File.
32172         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32174         * sysdeps/s390/multiarch/strchr-c.c: New File.
32175         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32176         * sysdeps/s390/multiarch/strchr.c: Likewise.
32177         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32178         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32179         * sysdeps/s390/multiarch/wcschr.c: Likewise.
32180         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32181         wcschr functions.
32182         * sysdeps/s390/multiarch/ifunc-impl-list.c
32183         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32184         * string/strchr.c (STRCHR): Define and use macro.
32185         * benchtests/bench-wcschr.c: New File.
32186         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32188         * sysdeps/s390/multiarch/strncmp-c.c: New File.
32189         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32190         * sysdeps/s390/multiarch/strncmp.c: Likewise.
32191         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32192         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32193         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32194         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32195         wcsncmp functions.
32196         * sysdeps/s390/multiarch/ifunc-impl-list.c
32197         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32198         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32199         * benchtests/bench-strncmp.c: Add wcsncmp support.
32200         * benchtests/bench-wcsncmp.c: New File.
32201         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32203         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32204         * sysdeps/s390/multiarch/strcmp.c: Likewise.
32205         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32206         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32207         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32208         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32209         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32210         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32211         wcscmp functions.
32212         * sysdeps/s390/multiarch/ifunc-impl-list.c
32213         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32214         * string/strcmp.c (STRCMP): Define and use macro.
32215         * benchtests/bench-wcscmp.c: New File.
32216         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32217         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32218         instead of _HAVE_STRING_ARCH_memchr.
32220         * sysdeps/s390/multiarch/strncat-c.c: New File.
32221         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32222         * sysdeps/s390/multiarch/strncat.c: Likewise.
32223         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32224         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32225         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32226         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32227         wcsncat functions.
32228         * sysdeps/s390/multiarch/ifunc-impl-list.c
32229         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32230         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32231         * string/test-strncat.c: Add wcsncat support.
32232         * wcsmbs/test-wcsncat.c: New File.
32233         * wcsmbs/Makefile (strop-tests): Add wcsncat.
32234         * benchtests/bench-strncat.c: Add wcsncat support.
32235         * benchtests/bench-wcsncat.c: New File.
32236         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32238         * sysdeps/s390/multiarch/strcat-c.c: New File.
32239         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32240         * sysdeps/s390/multiarch/strcat.c: Likewise.
32241         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32242         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32243         * sysdeps/s390/multiarch/wcscat.c: Likewise.
32244         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32245         wcscat functions.
32246         * sysdeps/s390/multiarch/ifunc-impl-list.c
32247         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32248         * string/strcat.c (STRCAT): Define and use macro.
32249         * wcsmbs/wcscat.c: Use WCSCAT if defined.
32250         * string/test-strcat.c: Add wcscat support.
32251         * wcsmbs/test-wcscat.c: New File.
32252         * wcsmbs/Makefile (strop-tests): Add wcscat.
32253         * benchtests/bench-strcat.c: Add wcscat support.
32254         * benchtests/bench-wcscat.c: New File.
32255         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32257         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32258         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32259         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32260         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32261         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32262         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32263         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32264         wcpncpy functions.
32265         * sysdeps/s390/multiarch/ifunc-impl-list.c
32266         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32267         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32268         * string/test-stpncpy.c: Add wcpncpy support.
32269         * wcsmbs/test-wcpncpy.c: New File.
32270         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32271         * benchtests/bench-stpncpy.c: Add wcpncpy support.
32272         * benchtests/bench-wcpncpy.c: New File.
32273         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32275         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32276         * sysdeps/s390/multiarch/strncpy.c: Likewise.
32277         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32278         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32279         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32280         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32281         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32283         wcsncpy functions.
32284         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32285         * sysdeps/s390/multiarch/ifunc-impl-list.c
32286         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32287         * string/test-strncpy.c: Add wcsncpy support.
32288         * wcsmbs/test-wcsncpy.c: New File.
32289         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32290         * benchtests/bench-strncpy.c: Add wcsncpy support.
32291         * benchtests/bench-wcsncpy.c: New File.
32292         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32294         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32295         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32296         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32297         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32298         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32299         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32300         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32301         wcpcpy functions.
32302         * string/stpcpy.c: Use STPCPY if defined.
32303         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32304         * sysdeps/s390/multiarch/ifunc-impl-list.c
32305         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32306         * string/test-stpcpy.c: Add wcpcpy support.
32307         * wcsmbs/test-wcpcpy.c: New File.
32308         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32309         * benchtests/bench-stpcpy.c: Add wcpcpy support.
32310         * benchtests/bench-wcpcpy.c: New File.
32311         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32313         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32314         * sysdeps/s390/multiarch/strcpy.c: Likewise.
32315         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32316         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32317         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32318         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32319         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32320         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32321         wcscpy functions.
32322         * sysdeps/s390/multiarch/ifunc-impl-list.c
32323         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32324         * benchtests/bench-wcscpy.c: New File.
32325         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32327         * sysdeps/s390/multiarch/strnlen-c.c: New File.
32328         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32329         * sysdeps/s390/multiarch/strnlen.c: Likewise.
32330         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32331         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32332         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32333         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32334         wcsnlen functions.
32335         * sysdeps/s390/multiarch/ifunc-impl-list.c
32336         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32337         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32338         * string/test-strnlen.c: Add wcsnlen support.
32339         * wcsmbs/test-wcsnlen.c: New File.
32340         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32341         * benchtests/bench-strnlen.c: Add wcsnlen support.
32342         * benchtests/bench-wcsnlen.c: New File.
32343         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32345         * sysdeps/s390/multiarch/Makefile: New File.
32346         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32347         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32348         * sysdeps/s390/multiarch/strlen.c: Likewise.
32349         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32350         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32351         * sysdeps/s390/multiarch/wcslen.c: Likewise.
32352         * string/strlen.c (STRLEN): Define and use macro.
32353         * sysdeps/s390/multiarch/ifunc-impl-list.c
32354         (IFUNC_VX_IMPL): New macro function.
32355         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32356         * benchtests/Makefile (wcsmbs-bench): New variable.
32357         (string-bench-all): Added wcsmbs-bench.
32358         * benchtests/bench-wcslen.c: New File.
32360         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32361         s390_vx_libc_ifunc2): New macro function.
32363         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32364         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32365         assembler support.
32366         * sysdeps/s390/configure: Regenerated.
32368         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32369         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32371         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32372         * sysdeps/s390/dl-procinfo.h: Add vector capability.
32373         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32375         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32376         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32377         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32378         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32379         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32380         (memcmp, bcmp): Use __memcmp_default as alias source.
32381         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32382         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32383         Rename to __memcmp_default.
32384         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32385         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32386         (memcpy): Use __memcpy_default as alias source.
32387         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32388         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32389         Rename to __memcpy_default.
32390         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32391         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32392         (memset): Use __memset_default as alias source.
32393         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32394         * sysdeps/s390/s390-32/memset.S (__memset_g5):
32395         Rename to __memset_default.
32396         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32397         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32398         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32399         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32400         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32401         (memcmp, bcmp): Use __memcmp_default as alias source.
32402         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32403         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32404         Rename to __memcmp_default.
32405         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32406         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32407         (memcpy): Use __memcpy_default as alias source.
32408         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32409         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32410         Rename to __memcpy_default.
32411         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32412         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32413         (memset): Use __memset_default as alias source.
32414         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32415         * sysdeps/s390/s390-64/memset.S (__memset_z900):
32416         Rename to __memset_default.
32417         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32418         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32420         [BZ #18610]
32421         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32422         __ieee_instruction_pointer to __unused.
32423         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32424         __ieee_instruction_pointer.
32425         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32426         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32427         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32428         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32429         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32430         Mark dxc-field as reserved.
32432 2015-08-25  Roland McGrath  <roland@hack.frob.com>
32434         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32435         if the weak reference is not null.
32437 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32439         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32441         [BZ #11214]
32442         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32444 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32446         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32447         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32448         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32449         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32450         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32451         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32452         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32453         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32454         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32455         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32456         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32457         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32458         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32459         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32460         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32461         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32462         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32463         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32465 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32467         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32468         register other than r0 for tabort, it has special meaning.
32469         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32470         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32471         transaction before starting syscall.
32473 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32475         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32477 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32479         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32481         * sysdeps/x86_64/rtld-memcmp.c: Removed.
32482         * sysdeps/x86_64/rtld-memset.S: Likewise.
32483         * sysdeps/x86_64/rtld-strchr.S: Likewise.
32484         * sysdeps/x86_64/rtld-strlen.S: Likewise.
32485         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32486         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32488         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32490 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
32492         * debug/strcpy_chk.c: Improve performance.
32493         * debug/stpcpy_chk.c: Likewise.
32494         * sysdeps/x86_64/strcpy_chk.S: Remove.
32495         * sysdeps/x86_64/stpcpy_chk.S: Remove.
32497         [BZ #18240]
32498         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32500 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32502         [BZ #15128]
32503         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32504         ifuncmain8.
32505         (modules-names): Add ifuncmod8.
32506         ($(objpfx)ifuncmain8): New rule.
32507         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32508         <cpuid.h>.
32509         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32510         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32511         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32512         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32513         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32514         * sysdeps/x86_64/dl-trampoline.h: Likewise.
32515         * sysdeps/x86_64/ifuncmain8.c: New file.
32516         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32517         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32518         Removed.
32519         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32520         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32521         Change rtld_savespace_sse to __glibc_unused2.
32522         (RTLD_CHECK_FOREIGN_CALL): Removed.
32523         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32524         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32525         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32527 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32529         * sysdeps/aarch64/bzero.S (__bzero): Remove.
32531 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32533         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32534         Unconditionally set __fpcr to avoid uninialized warning.
32535         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32537 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32539         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32540         is corrupt.
32542         * malloc/arena.c (arena_get2): Drop unused argument.
32543         (arena_lock): Adjust.
32544         (arena_get_retry): Likewise.
32546 2015-08-24  Andreas Schwab  <schwab@suse.de>
32548         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32549         Don't define.
32550         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32551         (__ASSUME_IPC64): Don't undef.
32552         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32553         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32554         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32555         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32556         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32557         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32558         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32559         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32560         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32561         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32562         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32563         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32564         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32565         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32566         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32567         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32568         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32569         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32570         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32571         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32572         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32574 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32576         * manual/Makefile (install): Only build manual when perl is available.
32578 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32580         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32581         '#undef memcpy' by '#undef memchr'.
32583 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32585         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32586         memchr not point to the internal __GI_memchr implementation.
32588 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32590         * timezone/Makefile (CFLAGS-zdump.c): Remove
32591         -Wno-strict-prototypes.
32592         (CFLAGS-zic.c): Likewise.
32593         (CFLAGS-ialloc.c): Likewise.
32594         (CFLAGS-scheck.c): Likewise.
32596         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32597         -Wno-error=undef.
32599 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32601         * i386/i686/multiarch/strcasestr-c.c: Removed.
32602         * x86_64/multiarch/strcasestr.c: Likewise.
32603         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32604         Remove strcasestr.
32606 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32608         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32610         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32611         variables for high and low parts before possibly modifying them.
32613 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32615         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32616         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32617         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32618         of "multiarch/init-arch.h".
32619         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32620         * sysdeps/x86/init-arch.h: This.
32622 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32624         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32625         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32627 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
32629         [BZ #17787]
32630         * manual/macros.texi: Add twoexp macro.
32631         * manual/filesys.texi: Fix exponents.
32632         * manual/llio.texi: Likewise.
32633         * manual/stdio.texi: Likewise.
32635 2015-08-20  Florian Weimer  <fweimer@redhat.com>
32637         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32638         incorrect use.
32640 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32642         [BZ #18370]
32643         * math/s_csqrt.c (__csqrt): Force underflow exception for results
32644         whose real or imaginary part has small absolute value.
32645         * math/s_csqrtf.c (__csqrtf): Likewise.
32646         * math/s_csqrtl.c (__csqrtl): Likewise.
32647         * math/auto-libm-test-in: Add more tests of csqrt.
32648         * math/auto-libm-test-out: Regenerated.
32649         * sysdeps/i386/fpu/libm-test-ulps: Update.
32651 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
32653         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32654         __ppc_set_ppr_very_low): New functions.
32655         * manual/platform.texi: Add documentation about
32656         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32658 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
32660         * string/stpncpy.c (stpncpy): Improve performance using
32661         __strnlen/memcpy/memset.
32663 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32665         [BZ #18796]
32666         * scripts/test-installation.pl: Don't add -lmvec to build options if
32667         libmvec wasn't built.
32669 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32671         [BZ #14341]
32672         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32673         case when there is a gap between DT_REL and DT_JMPREL sections.
32674         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32675         (LDFLAGS-tst-split-dynreloc): New.
32676         (tst-split-dynreloc-ENV): Likewise.
32677         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32678         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32680 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32682         [BZ #18822]
32683         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32684         attribute_hidden.
32685         (__xstat64_conv): Likewise.
32686         (__xstat32_conv): Likewise.
32688 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32690         [BZ #18822]
32691         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32692         Don't load %ebx when calling __setcontext.  Call __setcontext
32693         with HIDDEN_JUMPTARGET.
32694         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32695         libc_hidden_def.
32697 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32699         * sysdeps/i386/i686/Makefile
32700         [$(subdir) == string] (sysdep_routines): Moved to ...
32701         * sysdeps/i386/Makefile: Here.
32702         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32703         * sysdeps/i386/cacheinfo.c: Here.
32704         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32705         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32706         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32707         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32709 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32711         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32712         __i586__ is defined.
32713         (HAS_I686): Defined to 1 if __i686__ is defined.
32715 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32717         * elf/Makefile [$(have-z-execstack) = yes]
32718         (CPPFLAGS-tst-execstack.c): New variable.
32720         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32721         conditional to [defined UTMPX || _HAVE_UT_TYPE].
32722         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32723         UTMPX || _HAVE_UT_TV].
32724         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32725         UTMPX || _HAVE_UT_TV - 0].
32727 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
32729         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32730         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32731         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32733 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32735         * sysdeps/powerpc/dl-procinfo.c:
32736         (_dl_powerpc_cap_flags): Added missing strings for some
32737         hwcap features.
32738         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32740 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
32742         Port the 0x7efe...feff pattern to GCC 6.
32743         See Steve Ellcey's bug report in:
32744         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32745         * string/memrchr.c (MEMRCHR):
32746         * string/rawmemchr.c (RAWMEMCHR):
32747         * string/strchr.c (strchr):
32748         * string/strchrnul.c (STRCHRNUL):
32749         Rewrite code to avoid issues with signed shift overflow.
32751 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
32753         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32754         whether cpuid is available only if HAS_CPUID is 0.
32755         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32756         (HAS_I586): Likewise.
32757         (HAS_I686): Likewise.
32759 2015-08-18  Zack Weinberg  <zackw@panix.com>
32761         * misc/Versions (libc): Add GLIBC_2.23.
32763 2015-08-18  Alan Modra  <amodra@gmail.com>
32765         [BZ #18421]
32766         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32767         .Lp__global.
32768         (_start): Load %dp via .Lp__global.
32769         [!SHARED]: Use .section .rodata.
32771 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32773         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32774         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32776 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32778         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32779         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32781 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32783         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32784         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32786 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32788         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32789         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32791 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32793         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32794         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32796 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32798         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32799         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32801 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32803         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32805 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32807         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32808         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
32809         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32810         (__ASSUME_LWS_CAS): Delete.
32812 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32814         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32815         * sysdeps/hppa/configure: Regenerated.
32816         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32817         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32818         * sysdeps/hppa/nptl/tls.h: Likewise.
32820 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
32822         [BZ #18823]
32823         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32824         for scaling up small arguments.
32825         * math/s_csqrtf.c (__csqrtf): Likewise.
32826         * math/s_csqrtl.c (__csqrtl): Likewise.
32827         * math/auto-libm-test-in: Add more tests of csqrt.
32828         * math/auto-libm-test-out: Regenerated.
32830 2015-08-17  Andreas Schwab  <schwab@suse.de>
32832         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32833         version set GLIBC_2.19.
32835 2015-08-16  Zack Weinberg  <zackw@panix.com>
32837         [BZ #18681]
32838         * misc/regexp.h: This interface is no longer supported.
32839         Remove all contents, leaving only an #error directive.
32840         * misc/regexp.c (loc1, loc2, locs, step, advance):
32841         Demote to compatibility symbols.
32843 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
32845         [BZ #18084]
32846         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32847         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32848         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32849         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32850         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32851         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32852         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32853         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32854         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32856 2015-08-15  Zack Weinberg  <zackw@panix.com>
32858         [BZ #18795]
32859         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32860         buffer length is known to be too large, not if it's known to be
32861         small enough.
32862         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32863         overflow at runtime, involving a length parameter, twice: once
32864         with a compile-time constant length parameter, once without.
32866 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
32868         [BZ #18824]
32869         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32870         scaling x * y up instead of down.
32871         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32873         * math/auto-libm-test-in: Add more tests of fma.
32874         * math/auto-libm-test-out: Regenerated.
32876 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32878         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32880 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32882         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32883         unnecessary movq.
32884         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32885         Likewise.
32887 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
32889         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32890         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32891         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32892         and tgamma.
32893         * math/auto-libm-test-out: Regenerated.
32894         * sysdeps/i386/fpu/libm-test-ulps: Update.
32895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32897         [BZ #16520]
32898         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32899         (__tanh): Force underflow exception for arguments with small
32900         absolute value.
32901         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32902         (__tanhf): Force underflow exception for arguments with small
32903         absolute value.
32904         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32905         (__tanhl): Force underflow exception for arguments with small
32906         absolute value.
32907         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32908         (__tanhl): Force underflow exception for arguments with small
32909         absolute value.
32910         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32911         (__tanhl): Force underflow exception for arguments with small
32912         absolute value.
32913         * math/auto-libm-test-in: Add more tests of tanh.
32914         * math/auto-libm-test-out: Regenerated.
32915         * sysdeps/i386/fpu/libm-test-ulps: Update.
32917 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32919         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32920         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32922 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32924         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32925         <cpuid.h>.
32927 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32929         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32930         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32932 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32934         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32935         Remove $(objpfx)init-arch.o.
32936         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32937         init-arch.
32938         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32939         (INIT_ARCH_EXT): Defined as empty.
32940         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32941         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32942         __init_cpu_features call.  Replace HAS_XXX with
32943         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32944         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32945         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32946         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32947         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32948         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32949         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32950         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32951         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32952         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32953         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32954         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32955         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32956         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32957         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32958         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32961         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32962         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32963         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32964         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32965         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32966         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32967         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32968         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32969         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32970         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32971         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32972         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32973         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32974         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32975         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32976         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32977         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32978         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32980 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32982         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32983         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32984         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32985         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32986         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32987         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32988         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32989         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32990         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32991         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32992         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32993         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
32994         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32995         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32996         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32997         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32998         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32999         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33000         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33001         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33002         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33003         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33004         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33005         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33006         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33007         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33008         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33009         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33010         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33011         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33012         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33013         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33014         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33015         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33016         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33017         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33018         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33019         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33020         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33021         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33022         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33023         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33024         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33026 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33028         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33029         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33030         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33031         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33032         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33033         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33034         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33035         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33036         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33037         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33038         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33039         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33040         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33041         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33042         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33043         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33044         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33045         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33046         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33047         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33048         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33049         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33050         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33051         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33052         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33053         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33054         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33055         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
33056         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33057         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33058         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33059         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33060         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33061         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33062         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33063         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33064         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33065         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33066         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33067         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33068         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33069         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33070         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33072 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33074         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33075         (dl_platform_init): Call init_cpu_features.
33076         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33077         * sysdeps/i386/i686/cacheinfo.c
33078         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33079         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33080         * sysdeps/i386/i686/multiarch/Versions: Removed.
33081         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33082         Removed.
33083         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33084         * sysdeps/unix/sysv/linux/x86/Makefile
33085         (libpthread-sysdep_routines): Remove init-arch.
33086         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33087         <sysdeps/x86_64/dl-procinfo.c> instead of
33088         sysdeps/generic/dl-procinfo.c>.
33089         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33090         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33091         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33092         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33093         [$(subdir) == elf] (tests-static): Add
33094         tst-get-cpu-features-static.
33095         * sysdeps/x86/Versions: New file.
33096         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33097         * sysdeps/x86/cpu-features.c: Likewise.
33098         * sysdeps/x86/cpu-features.h: Likewise.
33099         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33100         * sysdeps/x86/libc-start.c: Likewise.
33101         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33102         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33103         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33104         * sysdeps/x86_64/dl-procinfo.c: Likewise.
33105         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33106         Assume USE_MULTIARCH is defined and don't check it.
33107         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33108         (is_amd): Likewise.
33109         (max_cpuid): Likewise.
33110         (intel_check_word): Likewise.
33111         (__cache_sysconf): Don't call __init_cpu_features.
33112         (__x86_preferred_memory_instruction): Removed.
33113         (init_cacheinfo): Don't call __init_cpu_features. Replace
33114         __cpu_features with GLRO(dl_x86_cpu_features).
33115         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33116         (dl_platform_init): Call init_cpu_features.
33117         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33118         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33119         * sysdeps/x86_64/multiarch/Versions: Removed.
33120         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33121         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33122         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33123         Removed.
33124         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33126 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33128         [BZ #18820]
33129         * libio/Makefile (test-fmemopen-mem): New test.
33130         * libio/test-fmemopen.c (do_bz18820): New test.
33131         * libio/fmemopen.c (__fmemopen): Fix memory leak.
33132         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33134 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33136         [BZ #16734]
33137         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33138         (FREE_BUF): Delete.
33139         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33140         * libio/genops.c (_IO_setb): Use malloc and free directly.
33141         (_IO_default_doallocate, _IO_default_finish): Likewise.
33142         ( _IO_unbuffer_all): Likewise.
33143         ( libc_freeres_fn): Likewise.
33144         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33145         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33146         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33147         (_IO_wdefault_doallocate): Likewise.
33149 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33151         [BZ #18086]
33152         * sysdeps/posix/nice.c (nice): Restore old errno.
33153         * posix/tst-nice.c (do_test): Add test for BZ #18086.
33155 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
33157         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33159 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33161         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33162         __bcopy and add a weak_alias to bcopy.
33163         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33164         for static build.
33166         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33167         cleanup macro usage.
33168         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33169         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33171         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33172         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33173         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33174         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33175         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33176         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33177         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33178         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33179         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33180         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33181         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33182         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33183         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33184         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33185         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33186         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33188         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33189         libc_hidden_def.
33190         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33192         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33193         (sysdep_routines): Add strstr-ppc64.
33194         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33196 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
33198         [BZ #18778]
33199         * elf/Makefile (tests): Add Add tst-nodelete2.
33200         (modules-names): Add tst-nodelete2mod.
33201         (tst-nodelete2mod.so-no-z-defs): New.
33202         ($(objpfx)tst-nodelete2): Likewise.
33203         ($(objpfx)tst-nodelete2.out): Likewise.
33204         (LDFLAGS-tst-nodelete2): Likewise.
33205         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33206         out of loop through all loaded libraries.
33207         * elf/tst-nodelete2.c: New file.
33208         * elf/tst-nodelete2mod.c: Likewise.
33209         * elf/tst-znodelete-zlib.cc: Delete.
33211 2015-08-11  Andreas Schwab  <schwab@suse.de>
33213         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33214         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33215         (__openat64_nocancel): Likewise.
33217 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
33219         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33220         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33221         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33222         * math/auto-libm-test-out: Regenerated.
33223         * sysdeps/i386/fpu/libm-test-ulps: Update.
33224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33226 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33228         [BZ #18790]
33229         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33230         threshold for returning +/- 1.
33231         * math/auto-libm-test-in: Add more tests of tanh.
33232         * math/auto-libm-test-out: Regenerated.
33233         * sysdeps/i386/fpu/libm-test-ulps: Update.
33235 2015-08-10  Andreas Schwab  <schwab@suse.de>
33237         [BZ #18781]
33238         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33239         MORE_OFLAGS to oflag.
33240         * io/test-lfs.c (do_test): Test openat64.
33242 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33244         [BZ #18789]
33245         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33246         smaller threshold for returning the argument.
33247         * math/auto-libm-test-in: Add more tests of sinh.
33248         * math/auto-libm-test-out: Regenerated.
33249         * sysdeps/i386/fpu/libm-test-ulps: Update.
33251 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33253         [BZ #18674]
33254         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33255         break.
33257 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
33259         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33260         (generated): Don't add $(addprefix z.,$(tzfiles)).
33262 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33264         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33265         * scripts/sysd-rules.awk: Likewise.
33267 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33269         * iconvdata/tst-tables.sh: Change echo -n to printf.
33270         * nss/db-Makefile: Likewise.
33271         * posix/tst-getconf.sh: Likewise.
33272         * stdio-common/tst-unbputc.sh: Likewise.
33274 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33276         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33277         MADV_*_PAGES defines behind this feature check.
33279 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
33281         [BZ #18480]
33282         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33283         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33284         Define.
33285         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33286         LOAD_REGS_5, LOAD_REGS_6): Update.
33287         (INTERNAL_SYSCALL): Update using new LOAD defines.
33288         (INTERNAL_SYSCALL_NCS): Likewise.
33289         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33291 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33293         [BZ #16734]
33294         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33296 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33298         [BZ #17905]
33299         * catgets/Makefile (tst-catgets-mem): New test.
33300         * catgets/catgets.c (catopen): Don't use unbounded alloca.
33301         * catgets/open_catalog.c (__open_catalog): Likewise.
33302         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33304 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
33306         [BZ #18787]
33307         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33308         clobber registers.
33309         (atomic_compare_and_exchange_val_acq): Use register asms to assign
33310         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
33311         Cast return to __typeof (oldval).
33313 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
33315         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33316         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
33317         and delete sys/syscall.h include.
33319 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
33321         [BZ #16517]
33322         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33323         (tan): Force underflow exception for arguments with small absolute
33324         value.
33325         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33326         (__kernel_tanf): Force underflow exception for arguments with
33327         small absolute value.
33328         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33329         (__kernel_tanl): Force underflow exception for arguments with
33330         small absolute value.
33331         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33332         (__kernel_tanl): Force underflow exception for arguments with
33333         small absolute value.
33334         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33335         (__kernel_tanl): Force underflow exception for arguments with
33336         small absolute value.
33337         * math/auto-libm-test-in: Add more tests of tan.
33338         * math/auto-libm-test-out: Regenerated.
33340 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33342         Fix sysdeps/i386/fpu/s_scalbn.S build
33344         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33346 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
33348         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33350 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33352         Fix gcrt0.o compilation
33354         When static-start-installed-name is different from
33355         start-installed-name, we must not use the shared objects.
33357         * csu/Makefile
33358         (extra-objs): Add gmon-start.o when building shared library and
33359         $(static-start-installed-name) is different from
33360         $(start-installed-name).
33361         $(objpfx)g$(static-start-installed-name): When building shared
33362         library and $(static-start-installed-name) is different from
33363         $(static-start-installed-name), revert to non-shared rule,
33364         i.e. using $(objpfx)% and gmon-start.o.
33366 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
33368         [BZ #16519]
33369         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33370         (__ieee754_sinh): Force underflow exception for arguments with
33371         small absolute value.
33372         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33373         (__ieee754_sinhf): Force underflow exception for arguments with
33374         small absolute value.
33375         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33376         (__ieee754_sinhl): Force underflow exception for arguments with
33377         small absolute value.
33378         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33379         (__ieee754_sinhl): Force underflow exception for arguments with
33380         small absolute value.
33381         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33382         (__ieee754_sinhl): Force underflow exception for arguments with
33383         small absolute value.
33384         * math/auto-libm-test-in: Add more tests of sinh.
33385         * math/auto-libm-test-out: Regenerated.
33386         * sysdeps/i386/fpu/libm-test-ulps: Update.
33388 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33390         * libio/oldfileops.c: Include unistd.h.
33392 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
33394         * stdlib/isomac.c: Include ctype.h.
33396 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
33398         * dirent/tst-seekdir.c (main): Converted to ...
33399         (do_test): ... this.
33400         (TEST_FUNCTION): New macro.
33401         Include test-skeleton.c.
33402         * elf/tst-dlmodcount.c (main): Converted to ...
33403         (do_test): ... this.
33404         (TEST_FUNCTION): New macro.
33405         Include test-skeleton.c.
33406         * elf/tst-order-main.c (main): Converted to ...
33407         (do_test): ... this.
33408         (TEST_FUNCTION): New macro.
33409         Include test-skeleton.c.
33410         * elf/tst-pie2.c (main): Converted to ...
33411         (do_test): ... this.
33412         (TEST_FUNCTION): New macro.
33413         Include test-skeleton.c.
33414         * inet/tst-ether_aton.c (main): Converted to ...
33415         (do_test): ... this.
33416         (TEST_FUNCTION): New macro.
33417         Include test-skeleton.c.
33418         * misc/tst-mntent.c (main): Converted to ...
33419         (do_test): ... this.
33420         (TEST_FUNCTION): New macro.
33421         Include test-skeleton.c.
33422         * misc/tst-tsearch.c (main): Converted to ...
33423         (do_test): ... this.
33424         (TEST_FUNCTION): New macro.
33425         Include test-skeleton.c.
33426         * posix/tst-regexloc.c (main): Converted to ...
33427         (do_test): ... this.
33428         (TEST_FUNCTION): New macro.
33429         Include test-skeleton.c.
33430         * resolv/tst-aton.c (main): Converted to ...
33431         (do_test): ... this.
33432         (TEST_FUNCTION): New macro.
33433         Include test-skeleton.c.
33434         * stdio-common/test-fwrite.c (main): Converted to ...
33435         (do_test): ... this.
33436         (TEST_FUNCTION): New macro.
33437         Include test-skeleton.c.
33438         * stdio-common/tst-ferror.c (main): Converted to ...
33439         (do_test): ... this.
33440         (TEST_FUNCTION): New macro.
33441         Include test-skeleton.c.
33442         * stdio-common/tst-printf.c (main): Converted to ...
33443         (do_test): ... this.
33444         (TEST_FUNCTION): New macro.
33445         Include test-skeleton.c.
33446         * stdio-common/tst-printfsz.c (main): Converted to ...
33447         (do_test): ... this.
33448         (TEST_FUNCTION): New macro.
33449         Include test-skeleton.c.
33450         * stdlib/tst-strtod.c (main): Converted to ...
33451         (do_test): ... this.
33452         (TEST_FUNCTION): New macro.
33453         Include test-skeleton.c.
33454         * string/tst-strlen.c (main): Converted to ...
33455         (do_test): ... this.
33456         (TEST_FUNCTION): New macro.
33457         Include test-skeleton.c.
33458         * string/tst-svc.c (main): Converted to ...
33459         (do_test): ... this.
33460         (TEST_FUNCTION): New macro.
33461         Include test-skeleton.c.
33462         * time/tst-strptime.c (main): Converted to ...
33463         (do_test): ... this.
33464         (TEST_FUNCTION): New macro.
33465         Include test-skeleton.c.
33466         * timezone/tst-timezone.c (main): Converted to ...
33467         (do_test): ... this.
33468         (TEST_FUNCTION): New macro.
33469         Include test-skeleton.c.
33471 2015-08-05  Zack Weinberg  <zackw@panix.com>
33473         * misc/regexp.h: Update comments.
33475 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
33477         [BZ #18635]
33478         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33479         before return label.
33481 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33483         [BZ #18661]
33484         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33485         when calling __errno_location.
33486         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33487         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33489 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33491         [BZ #18661]
33492         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33493         (__lll_timedwait_tid): Align stack to 16 bytes when calling
33494         __gettimeofday.
33496 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33498         [BZ #18661]
33499         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33500         (__start_context): Don't use pop to restore %rdi so that stack
33501         is aligned to 16 bytes when calling __setcontext.
33503 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33505         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33506         only for libc.
33507         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33509 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33511         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33512         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33513         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33515 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33517         * string/memccpy.c (memccpy):
33518         Improve performance by using memchr/memcpy/__mempcpy.
33520 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33522         * string/strncpy.c (strncpy):
33523         Improve performance by using __strnlen/memcpy.
33525 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33527         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33528         Optimize to avoid an unnecessary FPCR read.
33530 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33532         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33533         Optimize to reduce FPCR/FPSR accesses.
33535 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33537         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33538         dead->data[category] != NULL.
33540 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
33542         [BZ #18647]
33543         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33544         and |x| close to 1, use absolute value of x when computing log.
33545         * math/auto-libm-test-in: Add more tests of pow.
33546         * math/auto-libm-test-out: Regenerated.
33548 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33550         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33551         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33552         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33554 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33556         [BZ #18525]
33557         * locales/km_KH: Remove timezone definition.
33558         * locales/lo_LA: Likewise.
33559         * locales/my_MM: Likewise.
33560         * locales/nan_TW@latin: Likewise.
33561         * locales/th_TH: Likewise.
33562         * locales/uk_UA: Likewise.
33564 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33566         [BZ #18265]
33567         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33568         (wcsncat): Likewise.
33569         (wcscmp): Likewise.
33570         (wcsncmp): Likewise.
33572 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33574         * test-skeleton.c (usage): New function.
33575         (main): Call usage when opt is '?'.
33577 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33579         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33580         before first use.
33582 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33584         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33585         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33586         in there too.
33588 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33590         * version.h (RELEASE): Set to "development".
33591         (VERSION): Set to "2.22.90"
33593         * version.h (RELEASE): Set to "stable".
33594         (VERSION): Set to "2.22"
33595         * include/features.h (__GLIBC_MINOR__): Set to 22.
33597 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33599         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33600         Restructure macro to avoid "value computed is not used" warning.
33601         (atomic_compare_and_exchange_val_acq): Likewise.
33603 2015-08-04  Andreas Schwab  <schwab@suse.de>
33605         [BZ #18635]
33606         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33607         ret.
33608         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33610 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33612         * po/pl.po: Updated translation.
33613         * po/uk.po: Likewise.
33614         * po/fi.po: Likewise.
33615         * po/ko.po: Likewise.
33616         * po/ru.po: Likewise.
33617         * po/vi.po: Likewise.
33619 2015-07-31  Zack Weinberg  <zackw@panix.com>
33621         [BZ #18681]
33622         * regexp.h: Add unconditional #warning stating that this header
33623         will be removed soon.  Revise banner comment to match.
33624         (compile): Consistently use ERROR instead of RETURN to report
33625         errors (partial fix for BZ #18681).
33626         * regexp.c: Don't include regexp.h. Remove some unnecessary
33627         declarations.
33629 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
33631         * po/libc.pot: Regenerated.
33633 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33635         [BZ #18740]
33636         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33637         float-vlen4-arch-ext-cflags): Removed.
33638         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33639         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33641 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33643         [BZ #14113]
33644         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33645         aligned to __aligned__.
33646         (pthread_cond_t, pthread_rwlock_t): Likewise.
33648 2015-07-30  Torvald Riegel  <triegel@redhat.com>
33650         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33652 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33654         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33655         (struct sigaction): Change sa_flags from a long to an int, and add
33656         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33658 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33660         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33661         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33662         sysdeps/generic/sysdep.h include.
33663         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33664         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
33665         sysdeps/hppa/sysdep.h.
33666         (ENTRY, PSEUDO): Undefine before defining.
33668 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33670         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33671         from scratch to use INTERNAL_SYSCALL.
33673 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
33675         [BZ #18078]
33676         * scripts/check-localplt.awk: Support alternate relocations.
33677         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33678         sections.
33679         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33680         malloc entries with + REL R_386_GLOB_DAT.
33681         * sysdeps/x86_64/localplt.data: New file.
33683 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
33685         [BZ #18731]
33686         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33687         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33688         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33690 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33692         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33694 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33696         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33697         directly in terms of __sync_fetch_and_add and delete (int) cast.
33699 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33701         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33702         the -D_ASM_IA64_CURRENT_H flag.
33704 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33706         [BZ #18641]
33707         * pwd/pwd.h (putpwent): Delete __nonnull markings.
33709 2015-07-27  Andreas Schwab  <schwab@suse.de>
33711         * conform/conformtest.pl (checknamespace): Filter out string
33712         literals while tokenizing.
33714 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33716         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33717         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33718         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33720 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33722         * nptl/tst-join7mod.c: Add #include <string.h>.
33724 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33726         * sysdeps/nios2/libm-test-ulps: Update.
33728 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33730         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33731         Fix order of arguments to the rt_sigprocmask syscall.
33732         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33733         Likewise.
33735 2015-07-24  Roland McGrath  <roland@hack.frob.com>
33737         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33739 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33741         [BZ #18457]
33742         * nptl/Makefile (tests): New test case tst-join7.
33743         (modules-names): New test case module tst-join7mod.
33744         * nptl/tst-join7.c: New file.
33745         * nptl/tst-join7mod.c: New file.
33746         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33747         all translation units in libc.so, libpthread.so and rtld.
33749 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33753 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33755         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33756         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33757         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33758         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33759         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33760         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33761         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33762         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33763         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33764         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33765         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33766         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33767         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33768         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33769         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33770         implementation.
33772 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33774         [BZ #17711]
33775         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33776         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33777         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33778         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33779         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33780         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33782 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33784         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33785         instead of just saying load lock in the comments.
33787 2015-07-23  Roland McGrath  <roland@hack.frob.com>
33789         * sysdeps/unix/Subdirs: Moved ...
33790         * sysdeps/posix/Subdirs: ... here.
33791         * login/pty.h (struct termios, struct winsize): Add forward decls.
33792         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33793         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33794         * sysdeps/arm/nacl/libc.abilist: Updated.
33795         * sysdeps/nacl/libutil.abilist: New file.
33797         * bits/signum.h: Update comments to mention 1003.1-2013 too.
33798         (SIGWINCH): New macro.
33800         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33801         * sysdeps/arm/nacl/libc.abilist: Add it.
33803 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33805         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33807 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33809         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33810         Swap __glibc_reserved0 and sa_flags order.
33812 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33814         [BZ #18657]
33815         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33816         are pending TLS destructor calls.
33817         * include/link.h (struct link_map): Add concurrency note for
33818         L_TLS_DTOR_COUNT.
33819         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33820         Don't touch the link map flag.  Atomically increment
33821         l_tls_dtor_count.
33822         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33823         Avoid taking the load lock and don't touch the link map flag.
33824         * stdlib/tst-tls-atexit-nodelete.c: New test case.
33825         * stdlib/Makefile (tests): Use it.
33826         * stdlib/tst-tls-atexit.c (do_test): dlopen
33827         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
33828         to allow tst-tls-atexit-nodelete test case to use it.
33830 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33832         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33833         to bits/types.h.
33834         (msgqnum_t): New typedef.
33835         (msglen_t): Likewise.
33836         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
33837         and msg_qbytes type to msglen_t.
33839 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33841         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33842         pad0 to __glibc_reserved0.
33843         (struct stat64): Likewise.
33845 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33847         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33848         Change sa_flags from a long to an int and add __glibc_reserved0 before
33849         it for padding.
33851 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33853         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33854         anonymous by deleting "siginfo" name.
33856 2015-07-21  Roland McGrath  <roland@hack.frob.com>
33858         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33859         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33860         rather than __nacl_irt_filename.
33861         * sysdeps/nacl/xstat.c (__xstat): Likewise.
33863         * NEWS: New item for arm-nacl port.
33864         * sysdeps/arm/nacl/libc.abilist: New file.
33865         * sysdeps/nacl/ld.abilist: New file.
33866         * sysdeps/nacl/libBrokenLocale.abilist: New file.
33867         * sysdeps/nacl/libanl.abilist: New file.
33868         * sysdeps/nacl/libcrypt.abilist: New file.
33869         * sysdeps/nacl/libdl.abilist: New file.
33870         * sysdeps/nacl/libm.abilist: New file.
33871         * sysdeps/nacl/libpthread.abilist: New file.
33872         * sysdeps/nacl/libresolv.abilist: New file.
33873         * sysdeps/nacl/librt.abilist: New file.
33875 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
33877         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33878         __startcontext to initialize the new context.
33879         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33880         up CFI directive to forbid further backtracing.
33882 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
33884         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33885         reference.
33886         * charmaps/ANSI_X3.4-1968: Likewise.
33887         * charmaps/BS_4730: Likewise.
33888         * charmaps/BS_VIEWDATA: Likewise.
33889         * charmaps/CP1250: Likewise.
33890         * charmaps/CP1251: Likewise.
33891         * charmaps/CP1252: Likewise.
33892         * charmaps/CP1253: Likewise.
33893         * charmaps/CP1254: Likewise.
33894         * charmaps/CP1255: Likewise.
33895         * charmaps/CP1256: Likewise.
33896         * charmaps/CSN_369103: Likewise.
33897         * charmaps/EBCDIC-DK-NO: Likewise.
33898         * charmaps/GB_1988-80: Likewise.
33899         * charmaps/GREEK-CCITT: Likewise.
33900         * charmaps/GREEK7: Likewise.
33901         * charmaps/INIS-8: Likewise.
33902         * charmaps/ISIRI-3342: Likewise.
33903         * charmaps/ISO_2033-1983: Likewise.
33904         * charmaps/ISO_5427-EXT: Likewise.
33905         * locales/POSIX: Likewise.
33906         * locales/ar_SA: Likewise.
33907         * locales/be_BY: Likewise.
33908         * locales/be_BY@latin: Likewise.
33909         * locales/ca_ES: Likewise.
33910         * locales/cs_CZ: Likewise.
33911         * locales/da_DK: Likewise.
33912         * locales/de_BE: Likewise.
33913         * locales/de_CH: Likewise.
33914         * locales/de_LU: Likewise.
33915         * locales/en_AU: Likewise.
33916         * locales/en_BW: Likewise.
33917         * locales/en_CA: Likewise.
33918         * locales/en_DK: Likewise.
33919         * locales/en_GB: Likewise.
33920         * locales/en_IE: Likewise.
33921         * locales/en_NZ: Likewise.
33922         * locales/en_ZA: Likewise.
33923         * locales/en_ZW: Likewise.
33924         * locales/es_AR: Likewise.
33925         * locales/es_BO: Likewise.
33926         * locales/es_CL: Likewise.
33927         * locales/es_CO: Likewise.
33928         * locales/es_DO: Likewise.
33929         * locales/es_EC: Likewise.
33930         * locales/es_ES: Likewise.
33931         * locales/es_HN: Likewise.
33932         * locales/es_MX: Likewise.
33933         * locales/es_PA: Likewise.
33934         * locales/es_PE: Likewise.
33935         * locales/es_PY: Likewise.
33936         * locales/es_SV: Likewise.
33937         * locales/es_US: Likewise.
33938         * locales/es_UY: Likewise.
33939         * locales/es_VE: Likewise.
33940         * locales/et_EE: Likewise.
33941         * locales/fa_IR: Likewise.
33942         * locales/fo_FO: Likewise.
33943         * locales/fr_CA: Likewise.
33944         * locales/fr_CH: Likewise.
33945         * locales/gv_GB: Likewise.
33946         * locales/he_IL: Likewise.
33947         * locales/hr_HR: Likewise.
33948         * locales/id_ID: Likewise.
33949         * locales/is_IS: Likewise.
33950         * locales/it_CH: Likewise.
33951         * locales/iw_IL: Likewise.
33952         * locales/kl_GL: Likewise.
33953         * locales/ko_KR: Likewise.
33954         * locales/kw_GB: Likewise.
33955         * locales/lg_UG: Likewise.
33956         * locales/lt_LT: Likewise.
33957         * locales/lv_LV: Likewise.
33958         * locales/mi_NZ: Likewise.
33959         * locales/nhn_MX: Likewise.
33960         * locales/nl_BE: Likewise.
33961         * locales/pl_PL: Likewise.
33962         * locales/sk_SK: Likewise.
33963         * locales/sl_SI: Likewise.
33964         * locales/sv_FI: Likewise.
33965         * locales/tl_PH: Likewise.
33966         * locales/tr_TR: Likewise.
33967         * locales/vi_VN: Likewise.
33969 2015-07-21  Khem Raj  <raj.khem@gmail.com>
33971         [BZ #17475]
33972         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33973         of tu_IN and bh_IN.
33975 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
33977         [BZ #18694]
33978         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33979         bits/wordsize.h.
33980         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33982 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33984         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33985         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33986         (spawn_thread): New function.
33987         (load): Rename to reg_dtor_and_close.  Move dlopen to...
33988         (do_test): ... here.  Use IS_LOADED to test for its
33989         availability.
33991 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
33993         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33995 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
33997         [BZ #18696]
33998         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33999         si_addr_bnd.
34000         (si_lower): New.
34001         (si_upper): Likewise.
34003 2015-07-16  David S. Miller  <davem@davemloft.net>
34005         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34007 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34009         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34010         buffer.
34011         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34012         fail output information.
34014 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34017         and strstr-ppc64..
34018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34019         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34020         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34021         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34022         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34024 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34026         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34027         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34028         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34029         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34031 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34033         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34034         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34035         rtld_hidden_proto.
34036         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34038 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34040         * tst-nodelete-opened.c (do_test): Add comment to clarify how
34041         the test can fail.
34043         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34045         [BZ #18676]
34046         * elf/tst-nodelete-opened.c: New test case.
34047         * elf/tst-nodelete-opened-lib.c: New test case module.
34048         * elf/Makefile (tests, modules-names): Use them.
34049         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34050         early.
34052 2015-07-15  David S. Miller  <davem@davemloft.net>
34054         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34055         futex-intenal.h
34056         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34057         * sysdeps/sparc/sparc64/Makefile: Likewise.
34058         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34059         Remove space from macro define.
34060         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34062 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
34064         [BZ #17475]
34065         * locale/iso-639.def: Update Bhili and Tulu language codes as
34066         per iso639-3.
34068 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
34070         * elf/tst-leaks1.c (main): Converted to ...
34071         (do_test): ... this.
34072         (TEST_FUNCTION): New macro.
34073         Include test-skeleton.c.
34074         * localedata/tst-langinfo.c (main): Converted to ...
34075         (do_test): ... this.
34076         (TEST_FUNCTION): New macro.
34077         Include test-skeleton.c.
34078         * math/test-fpucw.c (main): Converted to ...
34079         (do_test): ... this.
34080         (TEST_FUNCTION): New macro.
34081         Include test-skeleton.c.
34082         * math/test-tgmath.c (main): Converted to ...
34083         (do_test): ... this.
34084         (TEST_FUNCTION): New macro.
34085         Include test-skeleton.c.
34086         * math/test-tgmath2.c (main): Converted to ...
34087         (do_test): ... this.
34088         (TEST_FUNCTION): New macro.
34089         Include test-skeleton.c.
34090         * setjmp/tst-setjmp.c (main): Converted to ...
34091         (do_test): ... this.
34092         (TEST_FUNCTION): New macro.
34093         Include test-skeleton.c.
34094         * stdio-common/tst-sscanf.c (main): Converted to ...
34095         (do_test): ... this.
34096         (TEST_FUNCTION): New macro.
34097         Include test-skeleton.c.
34098         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34099         (do_test): ... this.
34100         (TEST_FUNCTION): New macro.
34101         Include test-skeleton.c.
34103         * elf/tst-audit9.c (main): Converted to ...
34104         (do_test): ... this.
34105         (TEST_FUNCTION): New macro.
34106         Include test-skeleton.c.
34108 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
34110         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34112 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34114         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34115         New variable.
34117 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34119         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34121 2015-07-14  Roland McGrath  <roland@hack.frob.com>
34123         * sysdeps/generic/dl-fileid.h: New file.
34124         * sysdeps/posix/dl-fileid.h: New file.
34125         * sysdeps/nacl/dl-fileid.h: New file.
34126         * include/link.h: Include <dl-fileid.h>.
34127         (struct link_map): Replace l_dev and l_ino with l_file_id.
34128         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34129         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
34130         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
34132 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34134         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34136 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34138         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34139         Add iff $CXX is set.
34140         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34141         Likewise.
34142         (tst-nodelete-zmodiff): Likewise.
34143         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34145 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34147         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34149 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34151         * sysdeps/aarch64/fpu/math_private.h
34152         (define math_opt_barrier): Add AArch64 version.
34153         (math_force_eval): Likewise.
34155 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34157         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34159 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
34161         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34162         %ld with %jd and cast to intmax_t.
34163         (do_test_length_zero): Likewise.
34165 2015-07-10  Roland McGrath  <roland@hack.frob.com>
34167         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34169 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
34171         * sysdeps/tile/libm-test-ulps: Regenerated.
34173         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34174         Comment out the whole function, not just its body.
34176 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34178         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34179         locks.
34181         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34183 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34185         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34186         (sem_assume_only_signals_cause_futex_EINTR): Remove.
34188 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34190         * sysdeps/nptl/futex-internal.h: New file.
34191         * sysdeps/nacl/futex-internal.h: New file.
34192         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34193         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34194         error checking.
34195         (setxid_unmark_thread): Likewise.
34196         (__nptl_setxid): Likewise.
34197         (__wait_lookup_done): Likewise.
34198         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34199         * nptl/nptl-init.c (sighandler_setxid): Likewise.
34200         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34201         * nptl/pthread_once.c (clear_once_control): Likewise.
34202         (__pthread_once_slow): Likewise.
34203         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34204         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34205         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34206         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34207         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34208         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34209         Likewise.
34210         (__pthread_rwlock_rdlock): Likewise.
34211         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34212         Likewise.
34213         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34214         Likewise.
34215         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34216         Likewise.
34217         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34218         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34219         Likewise.
34220         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34221         __ASSUME_PRIVATE_FUTEX check.
34222         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34223         Check that shared futexes are supported.
34224         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34225         wrappers with error checking.
34226         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34227         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34228         * nptl/pthread_barrierattr_setpshared.c
34229         (pthread_barrierattr_setpshared): Check that shared futexes are
34230         supported.
34231         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34232         Likewise.
34233         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34234         Likewise.
34235         * nptl/sem_init.c (futex_private_if_supported): Remove.
34236         (__new_sem_init): Adapt and check that shared futexes are supported.
34237         * nptl/sem_open.c (sem_open): Likewise.
34238         * nptl/sem_post.c (futex_wake): Remove.
34239         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34240         (do_futex_wait): Use futex wrappers with error checking.
34241         * nptl/sem_wait.c: Include lowlevellock.h.
34242         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34243         Use futex_supports_pshared.
34244         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34245         Use futex wrappers with error checking.
34246         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34247         Likewise.
34248         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34249         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34250         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34251         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34252         (futex_wake): Likewise.
34253         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34254         (do_futex_wait): Use futex wrappers with error checking.
34255         (__new_sem_wait_slow): Update EINTR handling.
34256         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34258 2015-07-09  Martin Sebor  <msebor@redhat.com>
34260         [BZ #18435]
34261         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34262         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34263         * nptl/Makefile (test-xfail-tst-once5): Define.
34265 2015-07-09  Roland McGrath  <roland@hack.frob.com>
34267         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34268         * elf/dl-minimal.c: For readability, reorder some definitions and
34269         introduce more page breaks.  Include <stdio.h>.
34270         (__libc_fatal): New function.
34272         * include/unistd.h: Add rtld_hidden_proto for _exit.
34273         * posix/_exit.c: Add rtld_hidden_def.
34274         * sysdeps/mach/hurd/_exit.c: Likewise.
34275         * sysdeps/nacl/_exit.c: Likewise.
34276         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34277         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34279 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
34281         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34282         bndmov encoding with zero displacement.
34284 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34285             H.J. Lu  <hongjiu.lu@intel.com>
34287         [BZ #18134]
34288         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34289         * sysdeps/i386/configure: Regenerated.
34290         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34291         (_dl_runtime_profile): Save and restore Intel MPX return bound
34292         registers when calling _dl_call_pltexit.  Add
34293         PRESERVE_BND_REGS_PREFIX before return.
34294         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34295         (LRV_BND1_OFFSET): Likewise.
34296         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34297         lrv_bnd1.
34298         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34299         typo in bndmov encoding.
34300         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34301         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
34302         branch instructions to preserve bounds.
34304 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34307         [GLIBC_2.22]: Add fmemopen.
34309 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34311         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34312         returns an error, also try to use host port from __mach_host_self for
34313         the __vm_wire call.
34314         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34316 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34318         [BZ #18400]
34319         [BZ #18648]
34320         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34321         Fix pr_uid and pr_gid members.
34322         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34323         definition to elf_greg_t.
34325 2015-07-08  Roland McGrath  <roland@hack.frob.com>
34327         [BZ #18383]
34328         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34329         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34330         * sysdeps/arm/configure: Regenerated.
34331         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34332         (test-xfail-tst-tlsalign-static): Variable removed.
34334         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34335         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34336         rather than explicit 'ln -s'.
34338         * resolv/rpc/netdb.h: New file.
34339         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34341 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34343         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34344         length buffers.
34345         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34346         test-skeleton.c.
34348         [BZ #6544]
34349         [BZ #11216]
34350         [BZ #12836]
34351         [BZ #13151]
34352         [BZ #13152]
34353         [BZ #14292]
34354         * include/stdio.h (fmemopen): Remove hidden prototype.
34355         (__fmemopen): Add new hidden prototype.
34356         * libio/Makefile: Add oldfmemopen object.
34357         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34358         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34359         compliance.
34360         * libio/oldfmemopen.c: New file: old fmemopen implementation for
34361         symbol compatibility.
34362         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34363         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34364         fmemopen.
34365         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34366         on append and read mode.
34367         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34368         fmemopen.
34369         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34370         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34371         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34372         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34373         Likewise.
34374         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34375         [GLIBC_2.22]: Likewise.
34376         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34377         Likewise.
34378         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34379         Likewise.
34380         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34381         [GLIBC_2.22]: Likewise.
34382         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34383         [GLIBC_2.22]: Likewise.
34384         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34385         [GLIBC_2.22]: Likewise.
34386         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34387         [GLIBC_2.22]: Likewise.
34388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34389         [GLIBC_2.22]: Likewise.
34390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34391         [GLIBC_2.22]: Likewise.
34392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34393         [GLIBC_2.22]: Likewise.
34394         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34395         Likewise.
34396         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34397         Likewise.
34398         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34399         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34400         [GLIBC_2.22]: Likewise.
34401         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34402         [GLIBC_2.22]: Likewise.
34403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34404         [GLIBC_2.22]: Likewise.
34405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34406         [GLIBC_2.22]: Likewise.
34407         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34408         Likewise.
34409         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34410         Likewise.
34411         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34412         Likewise.
34413         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34414         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34416 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34418         [BZ #18643]
34419         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34420         IPV6_PATHMTU, and IPV6_DONTFRAG.
34422 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
34424         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34425         and _IO_UNBUFFERED.
34426         * libio/oldfileops.c: Likewise.
34427         * libio/wfileops.c: Likewise.
34429 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34431         * nscd/selinux.c: Delete selinux/flask.h include.
34433 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34435         [BZ #18641]
34436         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34437         (putpwent): Likewise.
34438         (getpwnam): Likewise.
34439         (getpwent_r): Likewise.
34440         (getpwuid_r): Likewise.
34441         (getpwnam_r): Likewise.
34442         (fgetpwent_r): Likewise.
34444 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34446         [BZ #18557]
34447         * inet/rcmd.c (__validuser2_sa): Check user first to
34448         short-circuit host check.
34450 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
34451             Mikhail Ilin  <m.ilin@samsung.com>
34453         [BZ #17833]
34454         * elf/Makefile (tests): Add tst-nodelete.
34455         (modules-names): Add tst-nodelete-uniquemod.
34456         (tst-nodelete-uniquemod.so-no-z-defs): New.
34457         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34458         (tst-nodelete-zmod.so-no-z-defs): Likewise.
34459         ($(objpfx)tst-nodelete): Likewise.
34460         ($(objpfx)tst-nodelete.out): Likewise.
34461         (LDFLAGS-tst-nodelete): Likewise.
34462         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34463         * elf/dl-close.c (_dl_close_worker): Add a parameter to
34464         implement forced object deletion.
34465         (_dl_close): Pass false to _dl_close_worker.
34466         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34467         * elf/tst-nodelete.cc: New file.
34468         * elf/tst-nodeletelib.cc: Likewise.
34469         * elf/tst-znodeletelib.cc: Likewise.
34470         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34472 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34474         [BZ #18508]
34475         * stdlib/Makefile ($(objpfx)tst-makecontext3):
34476         Depend on $(libdl).
34477         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34478         is not called infinitely times.
34479         (backtrace_helper): New function.
34480         (trace_arg): New struct.
34481         (st1): Enlarge stack size.
34482         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34483         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34484         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34485         Likewise.
34487 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34489         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34491 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34493         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34494         Include sys/types.h instead of bits/types.h.
34495         Remove inclusion of bits/wordsize.h.
34497 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34499         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34500         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34501         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34502         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34503         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34504         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34506 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34508         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34509         link-defines.sym.
34510         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34511         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34512         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34513         and LR_SIZE.
34514         * sysdeps/i386/link-defines.sym: New file.
34516 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34518         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34519         (modules-names): Add tst-auditmod3a tst-auditmod3b.
34520         ($(objpfx)tst-audit3): New rule.
34521         ($(objpfx)tst-audit3.out): Likewise.
34522         * sysdeps/i386/tst-audit3.c: New file.
34523         * sysdeps/i386/tst-audit3.h: Likewise.
34524         * sysdeps/i386/tst-auditmod3a.c: Likewise.
34525         * sysdeps/i386/tst-auditmod3b.c: Likewise.
34527 2015-07-07  Torvald Riegel  <triegel@redhat.com>
34529         [BZ #18633]
34530         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34531         pointer in C code.
34532         (__strcat_c): Likewise.
34533         (__strcat_g): Likewise.
34535 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
34537         [BZ #18592]
34538         * misc/sbrk.c: Set errno to ENOMEM on overflow.
34540 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34542         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34543         New function.  (__ieee754_sqrtf): New function.
34544         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34545         New function.
34546         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34547         New function.
34549 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34551         * sysdeps/ieee754/support.c: Remove unused file.
34553 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34555         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34556         registers instead of d ones so the layout is kernel abi compatible.
34557         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34558         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34559         Likewise.
34561 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34563         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34565 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34567         [BZ #18619]
34568         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34569         and return argument in case of subnormal argument.
34571 2015-07-01  Martin Sebor  <msebor@redhat.com>
34573         [BZ #18435]
34574         * nptl/Makefile: Add tst-once5.cc.
34575         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34576         Remove macro redefinitions.
34577         * nptl/tst-once5.cc: New test.
34579 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34581         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34583         * sysdeps/arm/libm-test-ulps: Regenerated.
34585         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34586         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34588 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34590         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34591         lll_lock_wait_private and lll_futex_wake probes.
34593         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34594         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34595         Likewise.
34596         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34597         atomic_spin_nop.
34598         * sysdeps/x86_64/bits/atomic.h: Likewise.
34599         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34600         to atomic_spin_nop and move ...
34601         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34602         ... here and ...
34603         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34604         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34605         atomic_spin_nop instead of BUSY_WAIT_NOP.
34606         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34607         Likewise.
34608         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34609         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34610         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34611         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34612         instead of atomic_delay.
34614 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34616         [BZ #18613]
34617         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34618         X_ADJ not X when adjusting exponent.
34619         (__ieee754_gamma_r): Do intermediate computations in
34620         round-to-nearest then adjust overflowing and underflowing results
34621         as needed.
34622         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34623         of X_ADJ not X when adjusting exponent.
34624         (__ieee754_gammaf_r): Do intermediate computations in
34625         round-to-nearest then adjust overflowing and underflowing results
34626         as needed.
34627         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34628         log of X_ADJ not X when adjusting exponent.
34629         (__ieee754_gammal_r): Do intermediate computations in
34630         round-to-nearest then adjust overflowing and underflowing results
34631         as needed.  Use 1.0L not 1.0f as numerator of division.
34632         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34633         log of X_ADJ not X when adjusting exponent.
34634         (__ieee754_gammal_r): Do intermediate computations in
34635         round-to-nearest then adjust overflowing and underflowing results
34636         as needed.  Use 1.0L not 1.0f as numerator of division.
34637         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34638         of X_ADJ not X when adjusting exponent.
34639         (__ieee754_gammal_r): Do intermediate computations in
34640         round-to-nearest then adjust overflowing and underflowing results
34641         as needed.  Use 1.0L not 1.0f as numerator of division.
34642         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
34643         to auto-libm-test-in.
34644         (tgamma_test): Use ALL_RM_TEST.
34645         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
34646         tests of tgamma with spurious-overflow.
34647         * math/auto-libm-test-out: Regenerated.
34648         * math/gen-libm-have-vector-test.sh: Do not check for START.
34649         * sysdeps/i386/fpu/libm-test-ulps: Update.
34650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34652         [BZ #18612]
34653         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34654         arguments, just return 0.5 times the argument, with underflow
34655         forced as needed.
34656         * math/auto-libm-test-in: Add more tests of j1.
34657         * math/auto-libm-test-out: Regenerated.
34659         [BZ #16559]
34660         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34661         (__ieee754_j1): Force underflow exception for small results.
34662         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34663         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34664         (__ieee754_j1f): Force underflow exception for small results.
34665         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34666         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34668         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34669         (__ieee754_j1l): Force underflow exception for small results.
34670         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34671         * math/auto-libm-test-in: Add more tests of j1 and jn.
34672         * math/auto-libm-test-out: Regenerated.
34674         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34675         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34676         (PF_MPLS): Likewise.
34677         (AF_IB): Likewise.
34678         (AF_MPLS): Likewise.
34679         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34680         value and macro.
34681         (MS_RMT_MASK): Include MS_LAZYTIME.
34683 2015-06-26  Mel Gorman  <mgorman@suse.de>
34685         [BZ #18502]
34686         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34687         already minimal.
34689 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
34691         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34692         (DT_MIPS_NUM): Update.
34693         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34694         DT_MIPS_RLD_MAP_REL.
34696 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
34698         [BZ #16559]
34699         [BZ #18602]
34700         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34701         round-to-nearest internally then recompute results that
34702         underflowed to zero in the original rounding mode.
34703         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34704         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34705         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34706         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34707         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34708         * sysdeps/i386/fpu/libm-test-ulps: Update.
34709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34711 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34713         * NEWS: Fixed description of link with vector math library.
34715 2015-06-25  Andreas Schwab  <schwab@suse.de>
34717         [BZ #18549]
34718         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34719         * libio/test-fmemopen.c (do_test): Add test for it.
34721 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34723         [BZ #17841]
34724         * Makeconfig (no-pie-ldflag): New.
34725         (+link): Set to $(+link-pie) if default to PIE.
34726         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34727         * config.make.in (build-pie-default): New.
34728         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
34729         is default.  AC_SUBST.
34730         * configure: Regenerated.
34731         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34733 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34735         * nptl/descr.h (struct pthread): Change type of field setxid_futex
34736         to 'unsigned int'.
34738         * resolv/gai_misc.h (struct waitlist): Change type of field
34739         counterp to 'volatile unsigned int *'.
34740         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34741         FUTEXADDR and OLDVAL.
34742         * resolv/getaddrinfo_a.c (getaddrinfo_a):
34743         Give local variable TOTAL type 'volatile unsigned int'.
34744         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34745         * resolv/gai_suspend.c (gai_suspend):
34746         Give local variable CNTR type 'unsigned int'.
34748         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34749         counterp to 'volatile unsigned int *'.
34750         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34751         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34752         (aio_suspend): Give local variable CNTR type 'unsigned int'.
34753         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34754         Give local variable TOTAL type 'volatile unsigned int'.
34755         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34757 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34759         [BZ #18383]
34760         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34761         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
34762         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34763         comment for i386/x86-64.
34764         (test-xfail-tst-tlsalign-extern-static): Removed.
34766 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34768         * math/test-double.h: New file.
34769         * math/test-float.h: Likewise.
34770         * math/test-ldouble.h: Likewise.
34771         * math/test-math-inline.h: Likewise.
34772         * math/test-math-no-inline.h: Likewise.
34773         * math/test-math-scalar.h: Likewise.
34774         * math/test-math-vector.h: Likewise.
34775         * math/test-vec-loop.h: Remove file.  Contents moved into
34776         test-math-vector.h.
34777         * math/libm-test.inc (MATHCONST): Do not document macro.
34778         * math/test-double.c: Include test-double.h, test-math-no-inline.h
34779         and test-math-scalar.h.
34780         (FUNC): Remove macro.
34781         (FUNC_TEST): Likewise.
34782         (FLOAT): Likewise.
34783         (MATHCONST): Likewise.
34784         (PRINTF_EXPR): Likewise.
34785         (PRINTF_XEXPR): Likewise.
34786         (PRINTF_NEXPR): Likewise.
34787         (TEST_DOUBLE): Likewise.
34788         (TEST_MATHVEC): Likewise.
34789         (__NO_MATH_INLINES): Likewise.
34790         * math/test-float.c: Include test-float.h, test-math-no-inline.h
34791         and test-math-scalar.h.
34792         (FUNC): Remove macro.
34793         (FUNC_TEST): Likewise.
34794         (FLOAT): Likewise.
34795         (MATHCONST): Likewise.
34796         (PRINTF_EXPR): Likewise.
34797         (PRINTF_XEXPR): Likewise.
34798         (PRINTF_NEXPR): Likewise.
34799         (TEST_FLOAT): Likewise.
34800         (TEST_MATHVEC): Likewise.
34801         (__NO_MATH_INLINES): Likewise.
34802         * math/test-idouble.c: Include test-double.h, test-math-inline.h
34803         and test-math-scalar.h.
34804         (FUNC): Remove macro.
34805         (FUNC_TEST): Likewise.
34806         (FLOAT): Likewise.
34807         (MATHCONST): Likewise.
34808         (PRINTF_EXPR): Likewise.
34809         (PRINTF_XEXPR): Likewise.
34810         (PRINTF_NEXPR): Likewise.
34811         (TEST_DOUBLE): Likewise.
34812         (TEST_MATHVEC): Likewise.
34813         (TEST_INLINE): Likewise.
34814         (__NO_MATH_INLINES): Likewise.
34815         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34816         test-math-scalar.h.
34817         (FUNC): Remove macro.
34818         (FUNC_TEST): Likewise.
34819         (FLOAT): Likewise.
34820         (MATHCONST): Likewise.
34821         (PRINTF_EXPR): Likewise.
34822         (PRINTF_XEXPR): Likewise.
34823         (PRINTF_NEXPR): Likewise.
34824         (TEST_FLOAT): Likewise.
34825         (TEST_MATHVEC): Likewise.
34826         (TEST_INLINE): Likewise.
34827         (__NO_MATH_INLINES): Likewise.
34828         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34829         and test-math-scalar.h.
34830         (FUNC): Remove macro.
34831         (FUNC_TEST): Likewise.
34832         (FLOAT): Likewise.
34833         (MATHCONST): Likewise.
34834         (PRINTF_EXPR): Likewise.
34835         (PRINTF_XEXPR): Likewise.
34836         (PRINTF_NEXPR): Likewise.
34837         (TEST_LDOUBLE): Likewise.
34838         (TEST_MATHVEC): Likewise.
34839         (TEST_INLINE): Likewise.
34840         (__NO_MATH_INLINES): Likewise.
34841         * math/test-ldouble.c: Include test-ldouble.h,
34842         test-math-no-inline.h and test-math-scalar.h.
34843         (FUNC): Remove macro.
34844         (FUNC_TEST): Likewise.
34845         (FLOAT): Likewise.
34846         (MATHCONST): Likewise.
34847         (PRINTF_EXPR): Likewise.
34848         (PRINTF_XEXPR): Likewise.
34849         (PRINTF_NEXPR): Likewise.
34850         (TEST_LDOUBLE): Likewise.
34851         (TEST_MATHVEC): Likewise.
34852         (__NO_MATH_INLINES): Likewise.
34853         * math/test-double-vlen2.h: Include test-double.h,
34854         test-math-no-inline.h and test-math-vector.h.
34855         (FLOAT): Remove macro.
34856         (FUNC): Likewise.
34857         (MATHCONST): Likewise.
34858         (PRINTF_EXPR): Likewise.
34859         (PRINTF_XEXPR): Likewise.
34860         (PRINTF_NEXPR): Likewise.
34861         (TEST_DOUBLE): Likewise.
34862         (TEST_MATHVEC): Likewise.
34863         (__NO_MATH_INLINES): Likewise.
34864         (CNCT): Likewise.
34865         (CONCAT): Likewise.
34866         (WRAPPER_NAME): Likewise.
34867         (WRAPPER_DECL): Likewise.
34868         (WRAPPER_DECL_ff): Likewise.
34869         (WRAPPER_DECL_fFF): Likewise.
34870         (VECTOR_WRAPPER): Likewise.
34871         (VECTOR_WRAPPER_ff): Likewise.
34872         (VECTOR_WRAPPER_fFF): Likewise.
34873         (VEC_LEN): New macro.
34874         * math/test-double-vlen4.h: Include test-double.h,
34875         test-math-no-inline.h and test-math-vector.h.
34876         (FLOAT): Remove macro.
34877         (FUNC): Likewise.
34878         (MATHCONST): Likewise.
34879         (PRINTF_EXPR): Likewise.
34880         (PRINTF_XEXPR): Likewise.
34881         (PRINTF_NEXPR): Likewise.
34882         (TEST_DOUBLE): Likewise.
34883         (TEST_MATHVEC): Likewise.
34884         (__NO_MATH_INLINES): Likewise.
34885         (CNCT): Likewise.
34886         (CONCAT): Likewise.
34887         (WRAPPER_NAME): Likewise.
34888         (WRAPPER_DECL): Likewise.
34889         (WRAPPER_DECL_ff): Likewise.
34890         (WRAPPER_DECL_fFF): Likewise.
34891         (VECTOR_WRAPPER): Likewise.
34892         (VECTOR_WRAPPER_ff): Likewise.
34893         (VECTOR_WRAPPER_fFF): Likewise.
34894         (VEC_LEN): New macro.
34895         * math/test-double-vlen8.h: Include test-double.h,
34896         test-math-no-inline.h and test-math-vector.h.
34897         (FLOAT): Remove macro.
34898         (FUNC): Likewise.
34899         (MATHCONST): Likewise.
34900         (PRINTF_EXPR): Likewise.
34901         (PRINTF_XEXPR): Likewise.
34902         (PRINTF_NEXPR): Likewise.
34903         (TEST_DOUBLE): Likewise.
34904         (TEST_MATHVEC): Likewise.
34905         (__NO_MATH_INLINES): Likewise.
34906         (CNCT): Likewise.
34907         (CONCAT): Likewise.
34908         (WRAPPER_NAME): Likewise.
34909         (WRAPPER_DECL): Likewise.
34910         (WRAPPER_DECL_ff): Likewise.
34911         (WRAPPER_DECL_fFF): Likewise.
34912         (VECTOR_WRAPPER): Likewise.
34913         (VECTOR_WRAPPER_ff): Likewise.
34914         (VECTOR_WRAPPER_fFF): Likewise.
34915         (VEC_LEN): New macro.
34916         * math/test-float-vlen4.h: Include test-float.h,
34917         test-math-no-inline.h and test-math-vector.h.
34918         (FLOAT): Remove macro.
34919         (FUNC): Likewise.
34920         (MATHCONST): Likewise.
34921         (PRINTF_EXPR): Likewise.
34922         (PRINTF_XEXPR): Likewise.
34923         (PRINTF_NEXPR): Likewise.
34924         (TEST_FLOAT): Likewise.
34925         (TEST_MATHVEC): Likewise.
34926         (__NO_MATH_INLINES): Likewise.
34927         (CNCT): Likewise.
34928         (CONCAT): Likewise.
34929         (WRAPPER_NAME): Likewise.
34930         (WRAPPER_DECL): Likewise.
34931         (WRAPPER_DECL_ff): Likewise.
34932         (WRAPPER_DECL_fFF): Likewise.
34933         (VECTOR_WRAPPER): Likewise.
34934         (VECTOR_WRAPPER_ff): Likewise.
34935         (VECTOR_WRAPPER_fFF): Likewise.
34936         (VEC_LEN): New macro.
34937         * math/test-float-vlen8.h: Include test-float.h,
34938         test-math-no-inline.h and test-math-vector.h.
34939         (FLOAT): Remove macro.
34940         (FUNC): Likewise.
34941         (MATHCONST): Likewise.
34942         (PRINTF_EXPR): Likewise.
34943         (PRINTF_XEXPR): Likewise.
34944         (PRINTF_NEXPR): Likewise.
34945         (TEST_FLOAT): Likewise.
34946         (TEST_MATHVEC): Likewise.
34947         (__NO_MATH_INLINES): Likewise.
34948         (CNCT): Likewise.
34949         (CONCAT): Likewise.
34950         (WRAPPER_NAME): Likewise.
34951         (WRAPPER_DECL): Likewise.
34952         (WRAPPER_DECL_ff): Likewise.
34953         (WRAPPER_DECL_fFF): Likewise.
34954         (VECTOR_WRAPPER): Likewise.
34955         (VECTOR_WRAPPER_ff): Likewise.
34956         (VECTOR_WRAPPER_fFF): Likewise.
34957         (VEC_LEN): New macro.
34958         * math/test-float-vlen16.h: Include test-float.h,
34959         test-math-no-inline.h and test-math-vector.h.
34960         (FLOAT): Remove macro.
34961         (FUNC): Likewise.
34962         (MATHCONST): Likewise.
34963         (PRINTF_EXPR): Likewise.
34964         (PRINTF_XEXPR): Likewise.
34965         (PRINTF_NEXPR): Likewise.
34966         (TEST_FLOAT): Likewise.
34967         (TEST_MATHVEC): Likewise.
34968         (__NO_MATH_INLINES): Likewise.
34969         (CNCT): Likewise.
34970         (CONCAT): Likewise.
34971         (WRAPPER_NAME): Likewise.
34972         (WRAPPER_DECL): Likewise.
34973         (WRAPPER_DECL_ff): Likewise.
34974         (WRAPPER_DECL_fFF): Likewise.
34975         (VECTOR_WRAPPER): Likewise.
34976         (VECTOR_WRAPPER_ff): Likewise.
34977         (VECTOR_WRAPPER_fFF): Likewise.
34978         (VEC_LEN): New macro.
34979         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34980         test-vec-loop.h.
34981         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34982         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34983         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34984         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34985         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34986         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34987         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34989 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34991         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34992         (__getlogin_r): ... this.
34994 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34996         [BZ #18594]
34997         * math/s_ccosh.c (__ccosh): Compare with least normal value
34998         instead of comparing class with FP_SUBNORMAL.
34999         * math/s_ccoshf.c (__ccoshf): Likewise.
35000         * math/s_ccoshl.c (__ccoshl): Likewise.
35001         * math/s_cexp.c (__cexp): Likewise.
35002         * math/s_cexpf.c (__cexpf): Likewise.
35003         * math/s_cexpl.c (__cexpl): Likewise.
35004         * math/s_csin.c (__csin): Likewise.
35005         * math/s_csinf.c (__csinf): Likewise.
35006         * math/s_csinh.c (__csinh): Likewise.
35007         * math/s_csinhf.c (__csinhf): Likewise.
35008         * math/s_csinhl.c (__csinhl): Likewise.
35009         * math/s_csinl.c (__csinl): Likewise.
35010         * math/s_ctan.c (__ctan): Likewise.
35011         * math/s_ctanf.c (__ctanf): Likewise.
35012         * math/s_ctanh.c (__ctanh): Likewise.
35013         * math/s_ctanhf.c (__ctanhf): Likewise.
35014         * math/s_ctanhl.c (__ctanhl): Likewise.
35015         * math/s_ctanl.c (__ctanl): Likewise.
35016         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35017         csin, csinh, ctan and ctanh.
35018         * math/auto-libm-test-out: Regenerated.
35019         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35020         * sysdeps/i386/fpu/libm-test-ulps: Update.
35021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35023 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35025         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35026         return value is wrong, print the expected value too.
35028 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35030         [BZ #18585]
35031         * elf/readlib.c (is_gdb_python_file): New.
35032         (process_file): Don't issue errors on filenames with -gdb.py
35033         suffix.
35035 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35037         * math/auto-libm-test-in: Add more tests of csin and csinh.
35038         * math/auto-libm-test-out: Regenerated.
35039         * math/libm-test.inc (csin_test_data): Remove tests moved to
35040         auto-libm-test-in.
35041         (csinh_test_data): Likewise.
35043         [BZ #18593]
35044         * math/s_csin.c (__csin): Negate before rather than after possibly
35045         overflowing multiplication.
35046         * math/s_csinf.c (__csinf): Likewise.
35047         * math/s_csinh.c (__csinh): Likewise.
35048         * math/s_csinhf.c (__csinhf): Likewise.
35049         * math/s_csinhl.c (__csinhl): Likewise.
35050         * math/s_csinl.c (__csinl): Likewise.
35051         * math/auto-libm-test-in: Add some tests of csin and csinh.
35052         * math/auto-libm-test-out: Regenerated.
35053         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35054         (csinh_test_data): Likewise.
35055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35057         [BZ #18586]
35058         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35059         underflow exception for small results.
35061 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
35063         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35064         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35065         variable and included header.
35066         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35067         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35068         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35069         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35070         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35072         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35073         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35074         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35075         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35076         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35077         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35078         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35079         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35080         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35081         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35083 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35085         [BZ #16526]
35086         [BZ #16538]
35087         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35088         (__sin): Force underflow exception for arguments with small
35089         absolute value.
35090         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35091         (__kernel_sinf): Force underflow exception for arguments with
35092         small absolute value.
35093         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35094         (__kernel_sincosl): Force underflow exception for arguments with
35095         small absolute value.
35096         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35097         (__kernel_sinl): Force underflow exception for arguments with
35098         small absolute value.
35099         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35100         (__kernel_sincosl): Force underflow exception for arguments with
35101         small absolute value.
35102         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35103         (__kernel_sinl): Force underflow exception for arguments with
35104         small absolute value.
35105         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35106         (__kernel_sinl): Force underflow exception for arguments with
35107         small absolute value.
35108         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35109         (__kernel_sinf): Force underflow exception for arguments with
35110         small absolute value.
35111         * math/auto-libm-test-in: Add more tests of sin and sincos.
35112         * math/auto-libm-test-out: Regenerated.
35114         [BZ #18245]
35115         [BZ #18583]
35116         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35117         (__kernel_standard_l): Use feholdexcept and fesetenv around
35118         conversion to double instead of special-casing overflow and
35119         underflow.
35120         * math/libm-test.inc (fmod_test_data): Add more tests.
35121         (remainder_test_data): Likewise.
35122         (sqrt_test_data): Likewise.
35124 2015-06-23  Torvald Riegel  <triegel@redhat.com>
35126         [BZ #17403]
35127         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35128         atomic_read_barrier, atomic_write_barrier): Define.
35129         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35130         atomic_read_barrier, atomic_write_barrier): Define.
35132 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35134         * math/Makefile [$(PERL) != no]
35135         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35136         dependency on libm-test.stmp below the inclusion of Rules.
35138 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
35140         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35141         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35142         and included header.
35143         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35145         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35146         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35147         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35148         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35149         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35150         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35151         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35152         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35153         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35154         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35155         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35156         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35157         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35158         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35159         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35160         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35161         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35163 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35165         [BZ #18371]
35166         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35167         intermediate but not final result might underflow.
35168         * math/s_csqrtf.c (__csqrtf): Likewise.
35169         * math/s_csqrtl.c (__csqrtl): Likewise.
35170         * math/auto-libm-test-in: Add more tests of csqrt.
35171         * math/auto-libm-test-out: Regenerated.
35172         * sysdeps/i386/fpu/libm-test-ulps: Update.
35174         [BZ #18219]
35175         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35176         threshold on absolute value of exponent for which scaling is used.
35177         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35178         * math/auto-libm-test-in: Add more tests of exp2.
35179         * math/auto-libm-test-out: Regenerated.
35181 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
35183         [BZ #17977]
35184         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35185         when initializing interface list, based on the bug analysis
35186         and the patch proposed by Eric Newton.
35187         * resolv/tst-res_hconf_reorder.c: New test.
35188         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35189         tst-res_hconf_reorder.
35190         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35191         and $(shared-thread-library).
35192         (tst-res_hconf_reorder-ENV): New variable.
35194         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35195         in comment.
35197 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
35199         [BZ #16353]
35200         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35201         (__expm1): Force underflow exception for arguments with small
35202         absolute value.
35203         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35204         (__expm1f): Force underflow exception for arguments with small
35205         absolute value.
35206         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35207         (__expm1): Force underflow exception for arguments with small
35208         absolute value.
35209         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35210         (__expm1f): Force underflow exception for arguments with small
35211         absolute value.
35212         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35213         Check for small arguments before calling __expm1.
35214         * math/auto-libm-test-in: Do not mark underflow exceptions as
35215         possibly missing for bug 16353.
35216         * math/auto-libm-test-out: Regenerated.
35218 2015-06-22  Andreas Schwab  <schwab@suse.de>
35220         [BZ #18513]
35221         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35222         PTR queries.
35224 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
35226         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35228         * string/strcoll_l.c: Remove unused struct element idxnow.
35230 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
35232         [BZ #18569]
35233         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35234         underflow and return argument in case of subnormal argument.
35235         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35236         Likewise.
35237         * math/auto-libm-test-in: Add more tests of expm1.
35238         * math/auto-libm-test-out: Regenerated.
35240         [BZ #16361]
35241         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35242         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35243         tiny results.
35244         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35245         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35246         tiny results.
35247         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
35248         mark underflow exceptions as possibly missing for bug 16361.
35249         * math/auto-libm-test-out: Regenerated.
35251 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
35253         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35254         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35255         Remove variable.
35256         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35257         (test-xfail-XOPEN2K8/utmpx.h/conform).
35259         * conform/conformtest.pl ($xerrors): New variable.
35260         (note_error): New function.
35261         (compiletest): New argument $xfail.  Use not_error.
35262         (runtest): Likewise.
35263         (top level): Handle xfail- lines.  Update calls to compiletest and
35264         runtest.  Handle xfail- and optional- in headers listed with
35265         allow-header.
35266         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35267         (O_EXEC): Likewise.
35268         (O_SEARCH): Likewise.
35269         * conform/data/stropts.h-data (ioctl): Likewise.
35270         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35271         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35272         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35273         (msghdr.msg_controllen): Likewise.
35274         (cmsghdr.cmsg_len): Likewise.
35275         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35276         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35277         variable.
35278         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35279         (test-xfail-XPG4/stropts.h/conform): Likewise.
35280         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35281         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35282         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35283         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35284         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35285         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35286         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35287         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35288         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35289         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35290         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35291         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35292         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35293         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35294         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35295         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35296         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35297         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35298         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35300 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
35302         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35303         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35304         definitions for proper unfolding of __MATHDECL_VEC.
35306 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35308         * benchtests/bench-strcoll.c:
35309         Include string.h.
35310         (main): Remove unused variable res.
35312 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35314         * timezone/Makefile (%/UTC %/Universal):
35315         Generate test-result files for UTC and Universal.
35317 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35319         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35321 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
35323         [BZ #16350]
35324         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35325         for arguments with small absolute value.
35326         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35327         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35328         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35329         (__asinh): Force underflow exception for arguments with small
35330         absolute value.
35331         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35332         (__asinhf): Force underflow exception for arguments with small
35333         absolute value.
35334         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35335         (__asinhl): Force underflow exception for arguments with small
35336         absolute value.
35337         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35338         (__asinhl): Force underflow exception for arguments with small
35339         absolute value.
35340         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35341         (__asinhl): Force underflow exception for arguments with small
35342         absolute value.
35343         * math/auto-libm-test-in: Do not mark underflow exceptions as
35344         possibly missing for bug 16350.
35345         * math/auto-libm-test-out: Regenerated.
35347         * include/bits/ipc.h: Remove file.
35348         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35349         variable.
35350         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35351         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35352         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35353         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35354         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35355         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35356         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35357         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35358         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35360         * math/auto-libm-test-in: Remove spurious underflow allowance for
35361         tests of cexp.
35362         * math/auto-libm-test-out: Regenerated.
35364         [BZ #18558]
35365         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35366         unconditional definition.
35367         (MCAST_BLOCK_SOURCE): Likewise.
35368         (MCAST_UNBLOCK_SOURCE): Likewise.
35369         (MCAST_LEAVE_GROUP): Likewise.
35370         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35371         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35372         (MCAST_MSFILTER): Likewise.
35373         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35374         Remove variable.
35375         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35376         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35377         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35378         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35379         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35381 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
35383         * NEWS: Mention addition of x86_64 vector sincosf.
35384         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35385         * math/test-float-vlen4.h: Likewise.
35386         * math/test-float-vlen8.h: Likewise.
35387         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35388         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35389         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35390         * sysdeps/x86_64/fpu/Versions: New versions added.
35391         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35392         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35393         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35394         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35395         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35396         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35397         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35398         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35399         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35400         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35401         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35402         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35403         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35404         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35405         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35406         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35407         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35408         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35409         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35410         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35411         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35412         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35413         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35414         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35416         * NEWS: Mention addition of x86_64 vector sincos.
35417         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35418         * math/math.h (__MATHDECL_VEC): New macro.
35419         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35420         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35421         declaration under condition.
35422         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35423         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35424         TEST_VEC_LOOP change.
35425         * math/test-double-vlen4.h: Likewise.
35426         * math/test-double-vlen8.h: Likewise.
35427         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35428         * math/test-float-vlen4.h: Likewise.
35429         * math/test-float-vlen8.h: Likewise.
35430         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35431         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35432         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35433         * sysdeps/x86_64/fpu/Versions: New versions added.
35434         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35435         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35436         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35437         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35438         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35439         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35440         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35442         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35443         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35444         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35445         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35446         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35447         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35448         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35449         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35450         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35451         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35452         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35453         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35454         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35455         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35456         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35457         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35459         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35460         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35461         redirections for powf.
35462         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35463         * sysdeps/x86_64/fpu/Versions: New versions added.
35464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35465         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35466         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35467         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35468         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35469         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35470         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35471         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35472         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35473         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35474         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35475         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35476         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35477         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35478         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35479         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35480         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35481         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35482         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35483         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35484         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35485         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35486         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35487         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35488         * math/test-float-vlen16.h: Fixed 2 argument macro.
35489         * math/test-float-vlen4.h: Likewise.
35490         * math/test-float-vlen8.h: Likewise.
35491         * NEWS: Mention addition of x86_64 vector powf.
35493 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
35495         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35496         and redefine.
35497         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35498         and redefine.
35499         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35500         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35501         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35503         [BZ #18553]
35504         * resource/getpriority.c (getpriority): Rename to __getpriority
35505         and define as weak alias of __getpriority.
35506         * resource/setpriority.c (setpriority): Rename to __setpriority
35507         and define as weak alias of __setpriority.
35508         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35509         __getpriority and define as weak alias of __getpriority.
35510         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35511         __setpriority and define as weak alias of __setpriority.
35512         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35513         strong name.
35514         (setpriority): Use __setpriority as strong name.
35515         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35516         __getpriority and define as weak alias of __getpriority.
35517         * include/sys/resource.h (__getpriority): Declare.  Use
35518         libc_hidden_proto.
35519         (__setpriority): Likewise.
35520         (getpriority): Don't use libc_hidden_proto.
35521         (setpriority): Likewise.
35522         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35523         getpriority.  Call __setpriority instead of setpriority.
35524         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35525         Remove variable.
35527         [BZ #18547]
35528         * misc/getttyent.c (getttynam): Rename to __getttynam and define
35529         as weak alias of __getttynam.  Use prototype function definition.
35530         Call __setttyent, __getttyent and __endttyent instead of
35531         setttyent, getttyent and endttyent.
35532         (getttyent): Rename to __getttyent and define as weak alias of
35533         __getttyent.  Call __setttyent instead of setttyent.  Call
35534         __fgets_unlocked instead of fgets_unlocked.
35535         (setttyent): Rename to __setttyent and define as weak alias of
35536         __setttyent.
35537         (endttyent): Rename to __endttyent and define as weak alias of
35538         __endttyent.
35539         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
35540         (__setttyent): Likewise.
35541         (__endttyent): Likewise.
35542         (getttyent): Don't use libc_hidden_proto.
35543         (setttyent): Likewise.
35544         (endttyent): Likewise.
35545         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35546         __endttyent instead of setttyent, getttyent and endttyent.
35547         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35548         Remove variable.
35550         [BZ #18546]
35551         * socket/recv.c (__recv): Use libc_hidden_def.
35552         * socket/socket.c (__socket): Likewise.
35553         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35554         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35555         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35556         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35557         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35558         libc_hidden_def.
35559         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35560         libc_hidden_weak.
35561         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35562         Use libc_hidden_proto.
35563         (__recv): Likewise.
35564         * socket/Versions (libc): Export __recv and __socket at version
35565         GLIBC_PRIVATE.
35566         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35567         instead of recv.
35568         (init_mq_netlink): Call __socket instead of socket.
35569         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35570         Remove variable.
35572         [BZ #18545]
35573         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35574         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35575         hidden_weak.
35576         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35577         define as alias of __mq_timedsend.  Use hidden_weak.
35578         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35579         __mq_timedsend as strong name.
35580         (mq_timedreceive): Use __mq_timedreceive as strong name.
35581         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35582         (__mq_timedreceive): Likewise.
35583         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35584         __mq_timedreceive instead of mq_timedreceive.
35585         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35586         instead of mq_timedsend.
35587         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35588         Remove variable.
35590         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35591         hidden_def and hidden_weak instead of libc_hidden_def and
35592         libc_hidden_weak.
35593         (top level): Refer to hidden_def in comment.
35594         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35595         macro.  Use it instead of libc_hidden_def.
35596         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35597         specify __GI_* name explicitly.
35598         (mq_timedreceive): Likewise.
35599         (mq_setattr): Likewise.
35601         [BZ #18544]
35602         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35603         __pthread_barrier_init and define as weak alias of
35604         __pthread_barrier_init.
35605         * sysdeps/sparc/nptl/pthread_barrier_init.c
35606         (pthread_barrier_init): Likewise.
35607         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35608         __pthread_barrier_wait and define as weak alias of
35609         __pthread_barrier_wait.
35610         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35611         (pthread_barrier_wait): Likewise.
35612         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35613         (pthread_barrier_wait): Likewise.
35614         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35615         (pthread_barrier_wait): Likewise.
35616         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35617         (pthread_barrier_wait): Likewise.
35618         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35619         __pthread_barrier_wait at version GLIBC_PRIVATE.
35620         * include/pthread.h (__pthread_barrier_init): Declare.
35621         (__pthread_barrier_wait): Likewise.
35622         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35623         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35624         (helper_thread): Likewise.
35625         (init_mq_netlink): Call __pthread_barrier_init instead of
35626         pthread_barrier_init.
35628         [BZ #18542]
35629         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35630         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35631         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
35632         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35633         vswscanf.
35634         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35635         Remove variable.
35637         [BZ #18540]
35638         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35639         strong alias of _IO_fflush.  Use libc_hidden_def.
35640         * libio/iofflush_u.c (fflush_unlocked): Rename to
35641         __fflush_unlocked and define as weak alias of __fflush_unlocked.
35642         Use libc_hidden_weak.
35643         * include/stdio.h (__fflush_unlocked): Declare.  Use
35644         libc_hidden_proto.
35645         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35646         fflush_unlocked.
35647         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35648         Remove variable.
35650         [BZ #18539]
35651         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35652         define as weak alias of __addseverity.
35653         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35654         Remove variable.
35655         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35656         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35657         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35659         [BZ #18536]
35660         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35661         (__tfind): Likewise.
35662         (__tdelete): Likewise.
35663         (__twalk): Likewise.
35664         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35665         __twalk to GLIBC_PRIVATE.
35666         * include/search.h (__tsearch): Use libc_hidden_proto.
35667         (__tfind): Likewise.
35668         (__tdelete): Likewise.
35669         (__twalk): Likewise.
35670         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35671         Call __tdelete instead of tdelete.
35672         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35673         tfind.  Call __tsearch instead of tsearch.
35674         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35675         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35676         Remove variable.
35677         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35679         [BZ #18534]
35680         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35681         (dprintf): Define as a weak alias of __dprintf, not a strong
35682         alias.
35683         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
35684         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35685         dprintf.
35686         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35687         Remove variable.
35688         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35689         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35691         [BZ #18533]
35692         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35693         not a strong alias.
35694         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35695         Remove variable.
35697         [BZ #18532]
35698         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35699         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
35700         (in6addr_loopback): Rename to __in6addr_loopback and define as
35701         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
35702         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
35703         libc_hidden_proto.
35704         (__in6addr_any): Likewise.
35705         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35706         in6addr_any.
35707         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35708         variable.
35709         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35711 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
35713         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35714         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35715         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35716         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35717         redirections for pow.
35718         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35719         * sysdeps/x86_64/fpu/Versions: New versions added.
35720         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35721         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35722         build of SSE, AVX2 and AVX512 IFUNC versions.
35723         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35724         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35725         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35726         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35727         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35728         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35729         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35730         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35731         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35732         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35733         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35734         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35735         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35736         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35737         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35738         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35739         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35740         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35741         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35742         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35743         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35744         * NEWS: Mention addition of x86_64 vector pow.
35746         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35747         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35748         redirections for expf.
35749         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35750         * sysdeps/x86_64/fpu/Versions: New versions added.
35751         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35752         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35753         build of SSE, AVX2 and AVX512 IFUNC versions.
35754         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35755         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35756         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35757         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35758         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35759         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35760         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35761         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35762         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35763         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35764         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35765         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35766         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35767         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35768         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35769         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35770         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35771         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35772         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35773         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35774         * NEWS: Mention addition of x86_64 vector expf.
35776         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35777         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35778         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35779         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35780         redirections for exp.
35781         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35782         * sysdeps/x86_64/fpu/Versions: New versions added.
35783         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35784         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35785         build of SSE, AVX2 and AVX512 IFUNC versions.
35786         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35787         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35788         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35789         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35790         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35791         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35792         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35793         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35794         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35795         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35796         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35797         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35798         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35799         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35800         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35801         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35802         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35803         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35804         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35805         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35806         * NEWS: Mention addition of x86_64 vector exp.
35808         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35809         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35810         redirections for logf.
35811         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35812         * sysdeps/x86_64/fpu/Versions: New versions added.
35813         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35814         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35815         build of SSE, AVX2 and AVX512 IFUNC versions.
35816         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35817         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35818         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35819         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35820         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35821         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35822         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35823         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35824         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35825         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35826         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35827         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35828         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35829         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35830         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35831         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35832         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35833         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35834         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35835         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35836         * NEWS: Mention addition of x86_64 vector logf.
35838         * bits/libm-simd-decl-stubs.h: Added stubs for log.
35839         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35840         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35841         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35842         redirections for log.
35843         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35844         * sysdeps/x86_64/fpu/Versions: New versions added.
35845         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35846         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35847         build of SSE, AVX2 and AVX512 IFUNC versions.
35848         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35849         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35850         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35851         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35852         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35853         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35854         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35855         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35856         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35857         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35858         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35859         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35860         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35861         test.
35862         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35863         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35864         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35865         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35866         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35867         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35868         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35869         * NEWS: Mention addition of x86_64 vector log.
35871 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35873         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35874         cfi_adjust_cfa_offset argument.
35875         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35876         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35878         [BZ #18034]
35879         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35880         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35881         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35882         ordering using ldar.
35883         (_dl_tlsdesc_dynamic): Likewise.
35884         (_dl_tlsdesc_return_lazy): Likewise.
35885         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35886         relaxed atomics instead of volatile and synchronize with release store.
35887         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35888         volatile.
35889         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35891 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
35893         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35894         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35895         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35896         * sysdeps/x86_64/fpu/Versions: New versions added.
35897         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35898         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35899         build of SSE, AVX2 and AVX512 IFUNC versions.
35900         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35901         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35902         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35903         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35904         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35905         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35906         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35907         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35908         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35909         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35910         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35911         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35912         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35913         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35914         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35915         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35916         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35918         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35919         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35920         * NEWS: Mention addition of x86_64 vector sinf.
35922 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
35924         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35925         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35926         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35927         Remove variable.
35928         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35929         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35931 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
35933         [BZ #18530]
35934         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35935         strong alias of _IO_fputs.  Use libc_hidden_def.
35936         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35937         and define as weak alias of __fputs_unlocked.  Use
35938         libc_hidden_weak.
35939         * include/stdio.h (__fputs_unlocked): Declare.  Use
35940         libc_hidden_proto.
35941         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35942         fputs_unlocked.
35944         [BZ #18529]
35945         * resolv/netdb.h [__USE_POSIX]: Change condition to
35946         [__USE_XOPEN2K].
35947         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35948         not expect.
35949         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35950         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35951         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35952         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35953         [XPG4 || UNIX98] (AI_ALL): Likewise.
35954         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35955         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35956         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35957         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35958         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35959         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35960         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35961         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35962         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35963         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35964         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35965         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35966         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35967         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35968         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35969         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35970         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35971         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35972         [XPG4 || UNIX98] (gai_strerror): Likewise.
35973         [XPG4 || UNIX98] (getaddrinfo): Likewise.
35974         [XPG4 || UNIX98] (getnameinfo): Likewise.
35976         [BZ #18528]
35977         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35978         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35979         __USE_XOPEN2K8].
35980         (getgrent): Likewise.
35981         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35982         expect.
35983         [XPG3 || POSIX2008] (endgrent): Likewise.
35984         [XPG3] (setgrent): Likewise.
35985         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35986         variable.
35987         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35989         [BZ #18527]
35990         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35991         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
35992         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35993         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35994         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35995         * include/unistd.h (__getlogin_r): Declare.  Use
35996         libc_hidden_proto.
35997         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35998         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35999         variable.
36000         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36001         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36002         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36004 2015-06-12  Martin Sebor  <msebor@redhat.com>
36006         [BZ #18512]
36007         * Makerules (check-install-supported): New target.
36008         (install): Add check-install-supported as a dependency.
36009         * manual/install.texi (Installing the C Library): Document
36010         that overriding prefix and exec_prefix is not supported.
36011         Mention DESTDIR.
36012         * INSTALL: Regenerate from the above.
36014 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36016         [BZ #18519]
36017         * posix/Versions (libc): Export __libc_pread at version
36018         GLIBC_PRIVATE.
36019         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36020         instead of pread.
36021         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36022         variable.
36024         [BZ #18522]
36025         * misc/efgcvt_r.c
36026         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36027         (cvt_symbol): Use weak_alias instead of strong_alias.
36028         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36029         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36030         Remove variable.
36031         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36032         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36034         [BZ #18520]
36035         * inet/herrno.c (h_errno): Rename to __h_errno.
36036         (__libc_h_errno): Define as alias of __h_errno not h_errno.
36037         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36038         to __h_errno instead of h_errno.
36039         * nptl/herrno.c (h_errno): Rename to __h_errno.
36040         (__h_errno_location): Refer to __h_errno not h_errno.
36041         * resolv/Versions (h_errno): Rename to __h_errno.
36042         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36043         Remove variable.
36044         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36046 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
36048         * configure.ac: More strict check for AVX512 assembler support.
36049         * configure: Regenerated.
36051         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36052         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36053         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36054         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36055         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36056         * sysdeps/x86_64/fpu/Versions: New versions added.
36057         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36058         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36059         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36060         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36061         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36062         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36063         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36064         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36065         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36066         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36067         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36068         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36069         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36070         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36071         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36072         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36073         test.
36074         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36075         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36076         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36077         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36078         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36079         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36080         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36081         * NEWS: Mention addition of x86_64 vector sin.
36083 2015-06-11  Florian Weimer  <fweimer@redhat.com>
36085         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36086         comment.
36088 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
36090         [BZ #18479]
36091         * nptl/pt-interp.c: New file.
36092         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36093         Add pt-interp.
36094         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36095         $(common-objpfx)runtime-linker.h.
36097 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
36099         * Makeconfig (+interp): Remove unused variable.
36100         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36101         only.  Depend on $(common-objpfx)runtime-linker.h instead of
36102         $(elf-objpfx)runtime-linker.h.
36103         ($(elf-objpfx)runtime-linker.h): Rename to
36104         $(common-objpfx)runtime-linker.h and move ...
36105         * Makerules [$(build-shared) = yes]: ... here.
36106         * elf/interp.c: Include <runtime-linker.h> instead of
36107         <elf/runtime-linker.h>.
36109 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36111         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36112         (__gettimeofday_syscall): Remove vsyscall fallback.
36113         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36114         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36115         Add syscall fallback function.
36116         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36117         if vDSO is not present.
36118         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36119         fallback function.
36120         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36121         present.
36122         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36123         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36125 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
36127         [BZ #18497]
36128         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36129         of wcscmp.
36130         (wcscmp): Define as weak alias of WCSCMP.
36131         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36132         wcscoll.
36133         (USE_HIDDEN_DEF): Define.
36134         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36135         __wcscoll.  Don't use libc_hidden_weak.
36136         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36137         wcscmp.
36138         * sysdeps/i386/i686/multiarch/wcscmp-c.c
36139         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36140         __GI_wcscmp.
36141         (weak_alias): Undefine and redefine.
36142         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36143         __wcscmp and define as weak alias of __wcscmp.
36144         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36145         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
36146         (__wcscoll): Likewise.
36147         (wcscmp): Don't use libc_hidden_proto.
36148         (wcscoll): Likewise.
36149         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36150         wcscoll.
36151         * posix/regexec.c (check_node_accept_bytes): Likewise.
36152         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36153         variable.
36154         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36155         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36157         [BZ #18507]
36158         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36159         __fstatvfs and define as weak alias of __fstatvfs.  Use
36160         libc_hidden_weak.
36161         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36162         and define as weak alias of __statvfs.  Use libc_hidden_weak.
36163         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36164         Define as alias of __fstatvfs, not fstatvfs.
36165         (fstatvfs64): Likewise.
36166         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36167         Define as alias of __statvfs, not statvfs.
36168         (statvfs64): Likewise.
36169         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36170         Remove variable.
36172 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36175         (HAVE_GETCPU_VSYSCALL): Define.
36176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36177         (HAVE_GETCPU_VSYSCALL): Likewise.
36178         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36179         * sysdeps/unix/sysv/linux/sched_getcpu.c
36180         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36181         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36182         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36183         prototype.
36184         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36185         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36186         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36187         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36188         Define.
36189         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36190         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36191         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36192         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36194 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
36196         * sysdeps/x86_64/fpu/Makefile: New file.
36197         * sysdeps/x86_64/fpu/Versions: New file.
36198         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36199         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36200         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36201         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36202         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36203         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36204         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36205         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36206         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36207         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36208         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36209         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36210         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36211         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36212         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36213         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36214         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36215         * sysdeps/x86_64/configure.ac: Options for libmvec build.
36216         * sysdeps/x86_64/configure: Regenerated.
36217         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36218         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36219         * manual/install.texi (Configuring and compiling): Document
36220         --disable-mathvec.
36221         * INSTALL: Regenerated.
36222         * NEWS: Mention addition of libmvec and x86_64 vector cos.
36224         * math/Makefile: Added rules for vector tests.
36225         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36226         declaration under condition.
36227         * math/test-double-vlen2.h: New file.
36228         * math/test-double-vlen4.h: New file.
36229         * math/test-double-vlen8.h: New file.
36230         * math/test-vec-loop.h: Added initialization macro.
36231         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36232         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36233         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36234         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36235         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36236         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36238         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36239         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36240         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36241         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36243         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36244         * sysdeps/x86_64/fpu/Versions: New versions added.
36245         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36246         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36247         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36248         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36249         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36250         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36251         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36252         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36253         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36254         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36255         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36256         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36257         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36258         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36259         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36260         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36261         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36262         * NEWS: Mention addition of x86_64 vector cosf.
36264         * math/Makefile: Added CFLAGS for new tests.
36265         * math/test-float-vlen16.h: New file.
36266         * math/test-float-vlen4.h: New file.
36267         * math/test-float-vlen8.h: New file.
36268         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36269         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36270         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36271         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36272         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36273         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36274         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36275         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36276         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36277         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36278         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36280 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
36282         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36283         * locale/programs/ld-ctype.c: Likewise.
36285 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
36287         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36288         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36289         bit_ZMM16_31_state): New macro.
36290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36291         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36293 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
36295         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36297 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
36299         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36301 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
36303         [BZ #18498]
36304         * libio/memstream.c (open_memstream): Rename to __open_memstream
36305         and define as weak alias of __open_memstream.
36306         * include/stdio.h (__open_memstream): Declare.  Use
36307         libc_hidden_proto.
36308         (open_memstream): Don't use libc_hidden_proto.
36309         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36310         open_memstream.
36311         * posix/getopt.c (_getopt_internal_r): Likewise.
36312         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36313         variable.
36314         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36315         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36316         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36318         [BZ #18496]
36319         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36320         instead of wcrtomb.
36322         [BZ #18483]
36323         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36324         [__USE_XOPEN2K8].  Remove redundant #endif.
36325         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36326         Remove redundant #if.
36327         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36328         Remove variable.
36329         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36330         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36332         [BZ #18495]
36333         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36334         (__iswlower): Likewise.
36335         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
36336         (__iswlower): Likewise.
36337         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36338         instead of towlower.
36339         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36340         instead of iswlower.  Call __towupper instead of towupper.
36341         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36342         instead of iswalnum.
36344 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36346         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36347         errors to stderr.
36349 2015-06-05  Florian Weimer  <fweimer@redhat.com>
36351         [BZ #15661]
36352         [BZ #17322]
36353         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36354         Check for overflow properly.  Check for O_APPEND.  Ignore large
36355         file system block sizes.  Add comments about problems.
36356         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36357         * manual/filesys.texi (Storage Allocation): New node.
36359 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36361         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36362         cancellable syscalls.
36363         (SYS_ify): Add guard to no redefine it.
36364         (INLINE_SYSCALL): Likewise.
36365         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36366         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36367         SYSCALL_CANCEL instead.
36368         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36369         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36370         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36371         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36372         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36373         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36374         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36375         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36376         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36377         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36378         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36379         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36380         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36381         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36382         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36383         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36384         Likewise.
36385         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36386         (__libc_pread64): Likewise.
36387         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36388         (__libc_preadv): Likewise.
36389         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36390         (__libc_readv64): Likewise.
36391         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36392         (__libc_pwrite): Likewise.
36393         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36394         (__libc_pwrite64): Likewise.
36395         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36396         (__libc_pwritev): Likewise.
36397         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36398         (__libc_pwritev64): Likewise.
36399         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36400         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36401         (sync_file_range): Likewise.
36402         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36403         Likewise.
36404         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36405         Likewise.
36406         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36407         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36408         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36409         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36410         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36411         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36412         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36413         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36415         Likewise.
36416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36417         (__libc_read64): Likewise.
36418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36419         Likewise.
36420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36421         Likewise.
36422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36423         Likewise.
36424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36425         Likewise.
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36427         (__libc_pread64): Likewise.
36428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36429         Likewise.
36430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36431         (__libc_pwrite64): Likewise.
36432         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36433         (sync_file_range): Likewise.
36434         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36435         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36436         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36437         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36438         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36439         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36440         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36441         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36442         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36443         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36444         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36445         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36446         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36447         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36448         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36449         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36450         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36451         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36452         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36453         Likewise.
36454         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36455         Likewise.
36456         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36457         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36458         Likewise.
36459         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36460         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36461         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36462         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36463         Likewise.
36464         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36465         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36466         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36467         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36468         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36470 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
36472         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36473         Include dl-vdso.
36474         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36475         Use VDSO routines for gettimeofday, clock_gettime if
36476         available.
36477         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36478         Declare VDSO symbols.
36479         * sysdeps/unix/sysv/linux/arm/sysdep.h:
36480         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36481         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36482         * sysdeps/unix/sysv/linux/arm/Versions: Add
36483         __vdso_clock_gettime.
36485 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36487         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36488         be an inline implementation regardless of library is built within.
36489         (open_not_cancel_2): Likewise.
36490         (__read_nocancel): Likewise.
36491         (__write_nocancel): Likewise.
36492         (openat_not_cancel): Likewise.
36493         (openat_not_cancel_3): Likewise.
36494         (openat64_not_cancel): Likewise.
36495         (openat64_not_cancel_3): Likewise.
36496         (__close_nocancel): Likewise.
36497         (pause_not_cancel): Likewise.
36498         (nanosleep_not_cancel): Likewise.
36499         (sigsuspend_not_cancel): Likewise.
36501 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36503         [BZ #14958]
36504         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36505         wake-up.
36506         (__pthread_rwlock_rdlock_slow): Likewise.
36507         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36508         Likewise.
36509         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36510         Likewise.
36511         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36512         * nptl/tst-rwlock16.c: New file.
36513         * nptl/Makefile (tests): Add new test.
36515 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36517         [BZ #18324]
36518         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36519         missing wake-up of readers.
36520         * nptl/tst-rwlock15.c: New file.
36521         * nptl/Makefile (tests): Add new test.
36523 2015-06-03  Roland McGrath  <roland@hack.frob.com>
36525         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36526         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36527         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36528         and __nacl_supply_interface_rtld.
36529         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36530         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36531         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36532         Add __nacl_supply_interface_rtld.
36533         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36535 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36537         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36538         isfinite.
36539         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36540         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36542 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36544         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36545         __signbit* with standard C99 macros.
36546         * math/e_exp10l.c: Likewise.
36547         * math/e_exp2l.c: Likewise.
36548         * math/e_scalb.c: Likewise.
36549         * math/e_scalbf.c: Likewise.
36550         * math/e_scalbl.c: Likewise.
36551         * math/s_ldexp.c: Likewise.
36552         * math/s_ldexpf.c: Likewise.
36553         * math/s_ldexpl.c: Likewise.
36554         * math/w_atan2.c: Likewise.
36555         * math/w_atan2f.c: Likewise.
36556         * math/w_atan2l.c: Likewise.
36557         * math/w_cosh.c: Likewise.
36558         * math/w_coshf.c: Likewise.
36559         * math/w_coshl.c: Likewise.
36560         * math/w_exp10.c: Likewise.
36561         * math/w_exp10f.c: Likewise.
36562         * math/w_exp10l.c: Likewise.
36563         * math/w_exp2.c: Likewise.
36564         * math/w_exp2f.c: Likewise.
36565         * math/w_exp2l.c: Likewise.
36566         * math/w_fmod.c: Likewise.
36567         * math/w_fmodf.c: Likewise.
36568         * math/w_fmodl.c: Likewise.
36569         * math/w_hypot.c: Likewise.
36570         * math/w_hypotf.c: Likewise.
36571         * math/w_hypotl.c: Likewise.
36572         * math/w_jnl.c: Likewise.
36573         * math/w_lgamma.c: Likewise.
36574         * math/w_lgamma_r.c: Likewise.
36575         * math/w_lgammaf.c: Likewise.
36576         * math/w_lgammaf_r.c: Likewise.
36577         * math/w_lgammal.c: Likewise.
36578         * math/w_lgammal_r.c: Likewise.
36579         * math/w_pow.c: Likewise.
36580         * math/w_powf.c: Likewise.
36581         * math/w_powl.c: Likewise.
36582         * math/w_remainder.c: Likewise.
36583         * math/w_remainderf.c: Likewise.
36584         * math/w_remainderl.c: Likewise.
36585         * math/w_scalb.c: Likewise.
36586         * math/w_scalbf.c: Likewise.
36587         * math/w_scalbl.c: Likewise.
36588         * math/w_scalbln.c: Likewise.
36589         * math/w_scalblnf.c: Likewise.
36590         * math/w_scalblnl.c: Likewise.
36591         * math/w_sinh.c: Likewise.
36592         * math/w_sinhf.c: Likewise.
36593         * math/w_sinhl.c: Likewise.
36594         * math/w_tgamma.c: Likewise.
36595         * math/w_tgammaf.c: Likewise.
36596         * math/w_tgammal.c: Likewise.
36597         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36598         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36599         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36600         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36601         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36602         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36603         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36604         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36605         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36606         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36607         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36608         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36609         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36610         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36611         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36612         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36613         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36614         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36615         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36616         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36617         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36618         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36619         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36621         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36622         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36623         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36624         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36625         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36626         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36627         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36628         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36629         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36630         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36631         * stdio-common/printf_fp.c: Likewise.
36632         * stdio-common/printf_fphex.c: Likewise.
36633         * stdio-common/printf_size.c: Likewise.
36635 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
36637         [BZ #18470]
36638         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36639         strnlen.
36640         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36641         Remove variable.
36642         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36643         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36644         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36645         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36646         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36647         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36648         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36649         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36650         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36651         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36653         [BZ #18468]
36654         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36655         weak alias of __wmemchr.  Use libc_hidden_weak.
36656         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
36657         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36658         instead of wmemchr.
36660 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36662         [BZ #18383]
36663         * elf/tst-tlsalign-extern.c: New file.
36664         * elf/tst-tlsalign-extern-static.c: New file.
36665         * elf/tst-tlsalign-vars.c: New file.
36666         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36667         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36668         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36669         ($(objpfx)tst-tlsalign-extern-static): Likewise.
36670         (test-xfail-tst-tlsalign-extern-static): New variable.
36672 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
36674         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36675         Use variable name _sc_err instead of err.
36676         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36677         instead of ret.
36678         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36679         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36680         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36681         (INLINE_SYSCALL): Likewise.
36683         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36684         * include/string.h (__strnlen): Use libc_hidden_proto.
36685         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36686         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36687         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36688         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36689         (libc_hidden_def): Undefine and redefine.
36690         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36691         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36692         __GI_strnlen.
36693         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36694         libc_hidden_def.
36695         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36697         [BZ #18469]
36698         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36699         weak alias of __towlower.  Use libc_hidden_weak.
36700         (towupper): Rename to __towupper and define as weak alias of
36701         __towupper.  Use libc_hidden_weak.
36702         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
36703         (__towupper): Likewise.
36704         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36705         __towlower instead of towlower.
36707 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36709         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36710         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36712 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36714         * sysdeps/aarch64/libm-test-ulps: Update.
36716 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36718         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36719         Define.
36720         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36721         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36722         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36723         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36724         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36725         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36726         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36728 2015-06-01  Martin Sebor  <msebor@redhat.com>
36730         [BZ #18116]
36731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36732         (__setcontext): Use extended four-operand version of mtsf whenever
36733         possible.
36734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36735         (__novec_swapcontext): Likewise.
36737 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36739         * benchtests/scripts/compare_bench.py: New file.
36740         * benchtests/scripts/import_bench.py (mean): New function.
36741         (split_list): Likewise.
36742         (do_for_all_timings): Likewise.
36743         (compress_timings): Likewise.
36745         * benchtests/scripts/import_bench.py: New file.
36746         * benchtests/scripts/validate_benchout.py: Import import_bench
36747         instead of jsonschema.
36748         (validate_bench): Remove function.
36749         (main): Use import_bench.
36751 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
36753         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36754         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36756 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36760 2015-05-28  Roland McGrath  <roland@hack.frob.com>
36762         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36763         set THREAD_SELF->tid to a magic value and futex-wake it.
36764         Pass its address to the thread_exit system call.
36765         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36766         bit is clear.
36767         * sysdeps/nacl/lowlevellock.h: New file.
36768         * sysdeps/nacl/lll_timedwait_tid.c: New file.
36770         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36771         Add TIMEOUT to current time, don't subtract it.
36773 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
36775         [BZ #2981]
36776         [BZ #18422]
36777         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36778         ($(objpfx)tst-audit2.out): Also depend on
36779         $(objpfx)tst-auditmod9b.so.
36780         * elf/tst-audit2.c: Include <dlfcn.h>.
36781         (calloc_called): New.
36782         (calloc): Allow to be called more than once.
36783         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36785 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
36787         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36788         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36790 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
36792         * stdlib/monetary.h: Fix comment.
36794 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
36796         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36797         Avoid using variables in #defines that might cause shadowing.
36798         (INTERNAL_VSYSCALL_CALL): Likewise.
36800 2015-05-26  Roland McGrath  <roland@hack.frob.com>
36802         * sysdeps/nacl/lll_timedlock_wait.c: New file.
36804         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36805         * nptl/lll_timedlock_wait.c: ... to this new file.
36806         * nptl/Makefile (libpthread-routines): Add it.
36807         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36808         * nptl/lll_timedwait_tid.c: ... to this new file.
36809         * nptl/Makefile (libpthread-routines): Add it.
36810         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36811         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36812         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36813         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36814         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36815         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36816         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36817         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36818         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36819         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36821 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36823         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36824         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36825         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36826         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36827         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36828         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36829         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36831         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36832         * sysdeps/unix/sysv/linux/tile/sysdep.h
36833         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36834         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36835         using vDSO syscall macro.
36837 2015-05-26  Andriy Rysin  <arysin@gmail.com>
36839         [BZ #17293]
36840         * uk_UA: Fix sorting order for Ukrainian locale
36842 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
36844         * stdlib/monetary.h: Fix comment.
36846 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36848         [BZ #18234]
36849         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36850         st_mtim and st_ctim members.
36851         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36852         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36853         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36854         (struct stat64): Likewise.
36855         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36856         (struct stat64): Likewise.
36857         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36858         (struct stat64): Likewise.
36860 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36862         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36863         Define and include sysdep-vdso.h.
36864         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36865         Likewise.
36866         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36867         Likewise.
36868         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36869         Define with VDSO_SYMBOL and use PTR_MANGLE.
36870         (__vdso_clock_gettime): Likewise.
36871         (__vdso_clock_getres): Likewise.
36872         (_libc_vdso_platform_setup): Likewise.
36873         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36874         Likewise.
36875         (_libc_vdso_platform_setup): Likewise.
36876         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36877         Likewise.
36878         (__vdso_clock_gettime): Likewise.
36879         (__vdso_clock_getres): Likewise.
36880         (__vdso_get_tbfreq): Likewise.
36881         (__vdso_getcpu): Likewise.
36882         (__vdso_time): Likewise.
36883         (__vdso_sigtramp_rt64): Likewise.
36884         (__vdso_signtramp32): Likewise.
36885         (__vdso_sigtramp_rt32): Likewise.
36886         (_libc_vdso_platform_setup): Likewise.
36887         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36888         Likewise.
36889         (__vdso_clock_gettime): Likewise.
36890         (__vdso_clock_getres): Likewise.
36891         (_libc_vdso_platform_setup): Likewise.
36892         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36893         Likewise.
36894         (__vdso_clock_gettime): Likewise.
36895         (_libc_vdso_platform_setup): Likewise.
36896         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36897         Likewise.
36898         (__vdso_getcpu): Likewise.
36899         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36900         Use VDSO_SYMBOL macro to define.
36901         (__vdso_clock_gettime): Likewise.
36902         (__vdso_clock_getres): Likewise.
36903         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36904         Likewise.
36905         (__vdso_clock_gettime): Likewise.
36906         (__vdso_clock_getres): Likewise.
36907         (__vdso_get_tbfreq): Likewise.
36908         (__vdso_getcpu): Likewise.
36909         (__vdso_time): Likewise.
36910         (__vdso_sigtramp_rt64): Likewise.
36911         (__vdso_signtramp32): Likewise.
36912         (__vdso_sigtramp_rt32): Likewise.
36913         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36914         Likewise.
36915         (__vdso_clock_gettime): Likewise.
36916         (__vdso_clock_getres): Likewise.
36917         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36918         Likewise.
36919         (__vdso_clock_gettime): Likewise.
36920         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36921         Likewise.
36922         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
36923         macro.
36924         (INTERNAL_VSYSCALL): Likewise.
36925         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36926         Remove macro.
36927         (INTERNAL_VSYSCALL): Likewise.
36928         (INTERNAL_VSYSCALL_NCS): Likewise.
36929         (INTERNAL_VSYSCALL_CALL): New macro.
36930         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36931         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36932         Likewise.
36933         (INTERNAL_VSYSCALL): Likewise.
36934         (INTERNAL_VSYSCALL_NCS): Likewise.
36935         (INTERNAL_VSYSCALL_CALL): New macro.
36936         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36938         (INLINE_VSYSCALL): Remove macro.
36939         (INTERNAL_VSYSCALL): Remove macro.
36940         (INTERNAL_VSYSCALL_NCS): Remove macro.
36941         (INTERNAL_VSYSCALL_CALL): New macro.
36942         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36943         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36944         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36945         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36946         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36948         (INLINE_VSYSCALL): Remove macro.
36949         (INTERNAL_VSYSCALL): Likewise.
36950         (INTERNAL_VSYSCALL_NCS): Likewise.
36951         (INTERNAL_VSYSCALL_CALL): New macro.
36952         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36953         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36954         PTR_DEMANGLE on vDSO pointer.
36955         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36956         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36957         macro.
36958         (INTERNAL_SYSCALL): Likewise.
36959         (INTERNAL_VSYSCALL_NCS): Remove macro.
36960         (INTERNAL_VSYSCALL_CALL): New macro.
36961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36962         Remove macro.
36963         (INTERNAL_VSYSCALL): Likewise.
36964         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36965         sysdep-vdso.h instead of libc-vdso.h.
36966         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36967         definition.
36968         (INLINE_VSYSCALL): Likewise.
36969         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36970         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36971         definition.
36972         (INLINE_VSYSCALL): Likewise.
36973         (INTERNAL_VSYSCALL): Likewise.
36974         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36975         * sysdeps/unix/sysv/linux/timespec_get.c
36976         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36977         (timespec_get): Use ANSI prototype.
36978         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36979         and definition for Linux.
36981 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
36983         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36984         * include/libc-symbols.h: libmvec_hidden_* macro series added.
36986 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36988         [BZ #2981]
36989         [BZ #18410]
36990         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36991         for missing DT_PLTRELSZ.
36993 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36995         Remove obsolete aliases that broke 'locale -a'
36996         [BZ #18412]
36997         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36998         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36999         breaking some applications that use 'locale -a' output.
37000         Change the encoding of this file from Latin-1 to ASCII to avoid
37001         other potential problems with people grepping this file.
37003 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37005         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37006         -fasynchronous-unwind-tables.
37007         (CFLAGS-sendto.c): Likewise.
37008         (CFLAGS-sendmsg.c): Likewise.
37009         (CFLAGS-connect.c): Likewise.
37010         (CFLAGS-recvmsg.c): Likewise.
37011         (CFLAGS-recvfrom.c): Likewise.
37012         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37013         (SOCKETCALL): New macro: non-cancellable socketcall.
37014         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37015         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37016         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37017         * sysdeps/unix/sysv/linux/accept.c: New file.
37018         * sysdeps/unix/sysv/linux/bind.c: Likewise.
37019         * sysdeps/unix/sysv/linux/connect.c: Likewise.
37020         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37021         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37022         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37023         * sysdeps/unix/sysv/linux/listen.c: Likewise.
37024         * sysdeps/unix/sysv/linux/recv.c: Likewise.
37025         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37026         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37027         * sysdeps/unix/sysv/linux/send.c: Likewise.
37028         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37029         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37030         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37031         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37032         * sysdeps/unix/sysv/linux/socket.c: Likewise.
37033         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37034         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37035         prototype.
37036         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37037         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37038         instead of __internal_xxx function.
37039         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37040         prototype.
37041         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37042         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37043         instead of __internal_xxx function.
37044         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37045         prototype.
37046         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37047         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37048         instead of __internal_xxx function.
37049         * sysdeps/unix/sysv/linux/accept.S: Remove file.
37050         * sysdeps/unix/sysv/linux/bind.S: Likewise.
37051         * sysdeps/unix/sysv/linux/connect.S: Likewise.
37052         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37053         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37054         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37055         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37056         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37057         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37058         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37059         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37060         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37061         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37062         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37063         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37064         * sysdeps/unix/sysv/linux/listen.S: Likewise.
37065         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37066         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37067         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37068         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37071         * sysdeps/unix/sysv/linux/recv.S: Likewise.
37072         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37073         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37074         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37075         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37076         * sysdeps/unix/sysv/linux/send.S: Likewise.
37077         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37078         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37079         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37080         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37081         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37082         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37083         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37084         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37085         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37086         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37087         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37088         socketcall is implemented in GLIBC.
37090 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37092         * soft-fp/fmadf4.c: Include <libc-internal.h>.
37093         (__fma): Ignore uninitialized warnings around packing.
37094         * soft-fp/fmasf4.c: Include <libc-internal.h>.
37095         (__fmaf): Ignore uninitialized warnings around packing.
37096         * soft-fp/fmatf4.c: Include <libc-internal.h>.
37097         (__fmal): Ignore uninitialized warnings around packing.
37099         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37100         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37101         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37102         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37104         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37105         switch statement into default case.
37106         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37108         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37109         a conditional in forcing "inexact".
37110         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37111         Likewise.
37113 2015-05-22  Roland McGrath  <roland@hack.frob.com>
37115         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37116         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37117         for each INTERNAL_SYSCALL use.
37119 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37121         [BZ #438]
37122         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37123         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37124         variable.
37126         [BZ #18444]
37127         * string/basename.c (basename): Rename to __basename and define as
37128         weak alias of __basename.  Use libc_hidden_weak.
37129         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
37130         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37131         __basename instead of basename.
37132         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37133         Remove variable.
37134         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37136 2015-05-18  Florian Weimer  <fweimer@redhat.com>
37138         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37139         (_IO_JUMPS_FILE_plus): New.
37140         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37141         _IO_CAST_FIELD_ACCESS.
37142         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37143         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37144         * libio/freopen.c (freopen): Likewise.
37145         * libio/freopen64.c (freopen64): Likewise.
37146         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37147         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37148         * libio/iofwide.c (_IO_fwide): Likewise.
37149         * libio/memstream.c (open_memstream): Likewise.
37150         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37151         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37152         * libio/oldiopopen.c (_IO_old_popen): Likewise.
37154 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
37156         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37157         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37158         NADJ.
37159         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37160         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37161         NADJ.
37162         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37163         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37164         NADJ.
37166         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37167         (p == 4) case.
37169         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37170         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37171         Remove variable.
37172         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37173         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37174         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37176 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37178         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37179         Adjust jump table label generation macros.
37181 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37183         * stdio-common/vfprintf.c (vfprintf): Move local variables
37184         args_malloced, specs, specs_malloced, and the code after
37185         do_positional to the printf_positional function.
37186         (printf_positional): New function.
37188 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37190         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37191         function.
37192         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37193         STEP4_TABLE, process_arg): Move macro definitions
37194         out of the vfprintf function.  (Cosmetic change only.)
37196 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
37198         * benchtests/Makefile (stdio-common-bench): Define.
37199         (benchset): Add stdio-common-bench.
37200         * sprintf-inputs: New file.
37201         * sprintf-source.c: New file.
37203 2015-05-21  Andreas Schwab  <schwab@suse.de>
37205         [BZ #13028]
37206         [BZ #17053]
37207         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37208         of struct __res_state.
37209         * resolv/res_send.c (__libc_res_nsend): Likewise.
37210         (get_nsaddr): New function.
37211         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37212         statp directly.
37214 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
37216         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37217         -D_POSIX_C_SOURCE=199506L.
37219         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37221         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37222         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37223         Do not mention otherwise.
37224         [POSIX] (_XOPEN_VERSION): Do not expect.
37225         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37226         [POSIX] (_POSIX2_C_BIND): Likewise.
37227         [POSIX] (_POSIX2_VERSION): Likewise.
37228         [POSIX] (_XOPEN_XPG2): Likewise.
37229         [POSIX] (_XOPEN_XPG3): Likewise.
37230         [POSIX] (_XOPEN_XPG4): Likewise.
37231         [POSIX] (_XOPEN_UNIX): Likewise.
37232         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37233         [POSIX] (_POSIX_BARRIERS): Likewise.
37234         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37235         [POSIX] (_POSIX_CPUTIME): Likewise.
37236         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37237         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37238         [POSIX] (_POSIX_SHELL): Likewise.
37239         [POSIX] (_POSIX_SPAWN): Likewise.
37240         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37241         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37242         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37243         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37244         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37245         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37246         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37247         [POSIX] (_XBS5_LP64_OFF64): Likewise.
37248         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37249         [POSIX] (_POSIX_TIMEOUTS): Likewise.
37250         [POSIX] (_POSIX2_PBS): Likewise.
37251         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37252         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37253         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37254         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37255         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37256         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37257         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37258         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37259         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37260         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37261         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37262         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37263         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37264         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37265         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37266         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37267         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37268         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37269         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37270         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37271         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37272         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37273         [POSIX] (_SC_2_C_BIND): Likewise.
37274         [POSIX] (_SC_2_C_VERSION): Likewise.
37275         [POSIX] (_SC_2_PBS): Likewise.
37276         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37277         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37278         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37279         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37280         [POSIX] (_SC_2_PBS_TRACK): Likewise.
37281         [POSIX] (_SC_ATEXIT_MAX): Likewise.
37282         [POSIX] (_SC_BARRIERS): Likewise.
37283         [POSIX] (_SC_BASE): Likewise.
37284         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37285         [POSIX] (_SC_DEVICE_IO): Likewise.
37286         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37287         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37288         [POSIX] (_SC_FD_MGMT): Likewise.
37289         [POSIX] (_SC_FIFO): Likewise.
37290         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37291         [POSIX] (_SC_FILE_LOCKING): Likewise.
37292         [POSIX] (_SC_FILE_SYSTEM): Likewise.
37293         [POSIX] (_SC_IOV_MAX): Likewise.
37294         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37295         [POSIX] (_SC_NETWORKING): Likewise.
37296         [POSIX] (_SC_PAGE_SIZE): Likewise.
37297         [POSIX] (_SC_PASS_MAX): Likewise.
37298         [POSIX] (_SC_PIPE): Likewise.
37299         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37300         [POSIX] (_SC_REGEXP): Likewise.
37301         [POSIX] (_SC_SHELL): Likewise.
37302         [POSIX] (_SC_SIGNALS): Likewise.
37303         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37304         [POSIX] (_SC_SPIN_LOCKS): Likewise.
37305         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37306         [POSIX] (_SC_USER_GROUPS): Likewise.
37307         [POSIX] (_SC_USER_GROUPS_R): Likewise.
37308         [POSIX] (_SC_STREAMS): Likewise.
37309         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37310         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37311         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37312         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37313         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37314         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37315         [POSIX] (_PC_FILESIZEBITS): Likewise.
37316         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37317         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37318         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37319         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37320         [POSIX] (uid_t): Likewise.
37321         [POSIX] (gid_t): Likewise.
37322         [POSIX] (off_t): Likewise.
37323         [POSIX] (pid_t): Likewise.
37324         [POSIX] (cuserid): Allow.
37325         (_SC_2_CHAR_TERM): Require constant.
37326         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37327         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37328         variable.
37330 2015-05-20  Roland McGrath  <roland@hack.frob.com>
37332         * sysdeps/nacl/pthread-pids.h: New file.
37333         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37334         (create_thread): Use __nacl_get_tid to initialize PD->tid.
37336         * nptl/pthread-pids.h: New file.
37337         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37338         * nptl/nptl-init.c: Include <pthread-pids.h>.
37339         (__pthread_initialize_minimal_internal):
37340         Call __pthread_initialize_pids instead of set_tid_address syscall.
37342         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37343         * sysdeps/posix/usleep.c: ... here.
37345 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37347         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37348         call_pselect6 object.
37349         [$(subdir) = io]: Remove call_sync_file_range object.
37350         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37351         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37352         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37353         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37355 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
37357         * math/s_cproj.c: Add include "math_private.h".
37358         * math/s_cprojf.c: Likewise.
37359         * math/s_cprojl.c: Likewise.
37361 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
37363         [BZ #18244]
37364         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37365         high mantissa bit when testing whether P is a NaN.
37366         * math/libm-test.inc (remainder_test_data): Add more tests.
37367         (remquo_test_data): Likewise.
37369         [BZ #18049]
37370         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37371         below -32, return the argument, with underflow if subnormal.
37372         * math/auto-libm-test-in: Add more tests of atanh.
37373         * math/auto-libm-test-out: Regenerated.
37375 2015-05-19  Roland McGrath  <roland@hack.frob.com>
37377         [BZ #18434]
37378         * nptl/tst-sem15.c: New file.
37379         * nptl/Makefile (tests): Add it.
37380         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37381         s/<</>>/ to fix typo in EOVERFLOW check.
37382         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37384 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37386         * manual/strings.texi (envz_remove): Fix typo in safety
37387         annotations.
37389 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
37390             Steve Ellcey  <sellcey@imgtec.com>
37392         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37393         in order to avoid strict alias warnings.
37394         (iruserok_af): Ditto for ra.
37396 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
37398         [BZ #17581]
37399         * malloc/hooks.c
37400         (magicbyte): Convert to a function and avoid returning 0x01.
37401         (mem2mem_check): Avoid using a length byte equal to the magic byte.
37402         (mem2chunk_check): Fix unsigned comparisons to zero.
37403         Hoist defs of sz and magic.
37405 2015-05-19  Richard Henderson  <rth@redhat.com>
37407         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37409         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37411 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37413         [BZ #16159]
37414         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37415         * malloc/arena.c (arena_lock): Check if arena is corrupt.
37416         (reused_arena): Find a non-corrupt arena.
37417         (heap_trim): Pass arena to unlink.
37418         * malloc/hooks.c (malloc_check_get_size): Pass arena to
37419         malloc_printerr.
37420         (top_check): Likewise.
37421         (free_check): Likewise.
37422         (realloc_check): Likewise.
37423         * malloc/malloc.c (malloc_printerr): Add arena argument.
37424         (unlink): Likewise.
37425         (munmap_chunk): Adjust.
37426         (ARENA_CORRUPTION_BIT): New macro.
37427         (arena_is_corrupt): Likewise.
37428         (set_arena_corrupt): Likewise.
37429         (sysmalloc): Use mmap if there are no usable arenas.
37430         (_int_malloc): Likewise.
37431         (__libc_malloc): Don't fail if arena_get returns NULL.
37432         (_mid_memalign): Likewise.
37433         (__libc_calloc): Likewise.
37434         (__libc_realloc): Adjust for additional argument to
37435         malloc_printerr.
37436         (_int_free): Likewise.
37437         (malloc_consolidate): Likewise.
37438         (_int_realloc): Likewise.
37439         (_int_memalign): Don't touch corrupt arenas.
37440         * malloc/tst-malloc-backtrace.c: New test case.
37442         * Makefile (summarize-tests): Fix return value on success.
37444         * manual/string.texi (Envz Functions): Add envz_remove.
37446 2015-05-18  Roland McGrath  <roland@hack.frob.com>
37448         * sysdeps/posix/opendir.c: Include <stdbool.h>.
37449         (invalid_name): New function, broken out of ...
37450         (__opendirat): ... here.  Call it.
37451         (need_isdir_precheck): New function, broken out of ...
37452         (__opendirat): ... here.  Call it.
37453         Use __fxstatat64, not __xstatat64.
37454         (opendir_oflags): New function, broken out of ...
37455         (__opendirat): ... here.  Call it.
37456         (opendir_tail): New function, broken out of ...
37457         (__opendirat): ... here.  Call it.
37458         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37459         opendir_tail, rather than punting to __opendirat.
37460         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37462 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37464         * .gitignore: Ignore generated *.pyc.
37466 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
37468         * include/stdio.h: Define __need_wint_t.
37469         * test-skeleton.c: Avoid `for' loop initial declaration.
37470         * nptl/tst-initializers1.c: Use test-skeleton.c.
37472 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37474         [BZ #18418]
37475         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37477 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37479         [BZ #16352]
37480         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37481         (__ieee754_atanh): Force underflow exception for results with
37482         small absolute value.
37483         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37484         (__ieee754_atanhf): Force underflow exception for results with
37485         small absolute value.
37486         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37487         (__ieee754_atanh): Force underflow exception for results with
37488         small absolute value.
37489         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37490         (__ieee754_atanhf): Force underflow exception for results with
37491         small absolute value.
37492         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37493         (__ieee754_atanhl): Force underflow exception for results with
37494         small absolute value.
37495         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37496         (__ieee754_atanhl): Force underflow exception for results with
37497         small absolute value.
37498         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37499         (__ieee754_atanhl): Force underflow exception for results with
37500         small absolute value.
37501         * math/auto-libm-test-in: Do not allow missing underflow
37502         exceptions from atanh.
37503         * math/auto-libm-test-out: Regenerated.
37505         [BZ #18221]
37506         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37507         2**-28 as threshold for returning x or +/- 1/x.
37508         * math/auto-libm-test-in: Add more tests of tan.
37509         * math/auto-libm-test-out: Regenerated.
37511         [BZ #18220]
37512         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37513         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37514         * math/auto-libm-test-in: Add another test of lgamma.
37515         * math/auto-libm-test-out: Regenerated.
37517 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
37519         * stdio-common/printf_fp.c (___printf_fp): Use abs.
37520         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
37521         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37522         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37523         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
37524         (ADD2A): Use fabs.  (SUB2A): Use fabs.
37525         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37526         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37527         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37528         (log1): Use fabs.  (my_log2): Use fabs.
37529         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37530         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37531         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37532         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37533         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37534         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
37535         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
37536         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
37537         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
37538         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37539         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37541 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37543         [BZ #18217]
37544         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37545         as threshold for returning 1 - x.
37546         * math/auto-libm-test-in: Add more tests of erfc.
37547         * math/auto-libm-test-out: Regenerated.
37549 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
37551         [BZ #18196]
37552         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37553         threshold for large arguments.
37554         * math/auto-libm-test-in: Add another test of atan.
37555         * math/auto-libm-test-out: Regenerated.
37557         [BZ #16339]
37558         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37559         (__log1p): Force underflow exception for results with small
37560         absolute value.
37561         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37562         (__log1pf): Force underflow exception for results with small
37563         absolute value.
37564         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37565         (__log1p): Force underflow exception for results with small
37566         absolute value.
37567         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37568         (__log1pf): Force underflow exception for results with small
37569         absolute value.
37570         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37571         (__log1pl): Force underflow exception for results with small
37572         absolute value.
37573         * math/auto-libm-test-in: Do not allow missing underflow
37574         exceptions from log1p.
37575         * math/auto-libm-test-out: Regenerated.
37577 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37578             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37580         [BZ #16704]
37581         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37583 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37585         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37586         (libmvec): New variable.
37587         * configure.ac: Added option for mathvec build.
37588         * configure: Regenerated.
37589         * mathvec/Depend: New file.
37590         * mathvec/Makefile: New file.
37591         * shlib-versions: Added libmvec.
37592         * math/Makefile: Added rule for libm.so installation.
37594         * bits/math-vector.h: New file.
37595         * bits/libm-simd-decl-stubs.h: New header.
37596         * math/Makefile (headers): Added new header
37597         libm-simd-decl-stubs.h.
37598         * math/math.h (__MATHCALL_VEC): New macro.
37600         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37601         for conditions in testing functions.
37602         * math/Makefile: Added call of libm-have-vector-test.sh.
37603         * math/libm-test.inc (HAVE_VECTOR): New macros.
37605         * math/libm-test.inc: START refactored.
37606         * math/test-double.c (TEST_MATHVEC): Add define.
37607         * math/test-float.c: Likewise.
37608         * math/test-idouble.c: Likewise.
37609         * math/test-ifloat.c: Likewise.
37610         * math/test-ildoubl.c: Likewise.
37611         * math/test-ldouble.c: Likewise.
37612         * sysdeps/generic/math-tests-arch.h
37613         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37614         architecture check.
37616         * math/test-double.c (FUNC_TEST): New macro.
37617         * math/test-float.c: Likewise.
37618         * math/test-idouble.c: Likewise.
37619         * math/test-ifloat.c: Likewise.
37620         * math/test-ildoubl.c: Likewise.
37621         * math/test-ldouble.c: Likewise.
37622         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37624 2015-05-13  Roland McGrath  <roland@hack.frob.com>
37626         * sysdeps/nacl/fdopendir.c: New file.
37628         * dirent/scandir-tail.c: New file.
37629         * dirent/scandir64-tail.c: New file.
37630         * dirent/Makefile (routines): Add them.
37631         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37632         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37633         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37634         [!SCANDIR] (SCANDIR_TAIL): New macro.
37635         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37636         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37637         (SCANDIRAT): Macro removed.
37638         (SCANDIR_TAIL): New macro.
37639         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37640         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37641         (SCANDIRAT): Just call __opendirat and __scandir_tail.
37642         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37643         (READDIR): Macro removed.
37644         (SCANDIR_TAIL): New macro.
37645         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37646         (SCANDIR_TAIL): New macro.
37648         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37649         * dirent/scandir-cancel.c: ... to this new file.
37650         * dirent/Makefile (routines): Add it.
37651         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37652         * sysdeps/unix/sysv/linux/i386/scandir64.c
37653         (SKIP_SCANDIR_CANCEL): Macro removed.
37654         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37656         * dirent/tst-scandir.c: New file.
37657         * dirent/tst-scandir64.c: New file.
37658         * dirent/Makefile (tests): Add them.
37660 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
37662         [BZ #18409]
37663         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37665 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37667         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37668         list.
37670 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
37672         * benchtests/bench-strcoll.c: New benchmark.
37673         * benchtests/Makefile: Generate locales and run benchmark.
37674         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37675         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37676         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37677         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37678         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37679         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37680         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37681         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37682         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37683         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37684         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37685         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37686         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37687         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37688         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37689         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37690         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37691         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37692         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37693         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37694         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37695         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37696         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37697         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37699 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
37701         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37702         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37704 2015-05-12  Roland McGrath  <roland@hack.frob.com>
37706         * posix/uname-values.h: New file.
37707         * posix/uname.c: Include that instead of <config-name.h>.
37708         * sysdeps/nacl/uname-values.h: New file.
37709         * sysdeps/arm/nacl/uname-values.h: New file.
37711 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
37713         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37714         splitting into fields.
37716 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
37718         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37719         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37720         * locale/localeinfo.h: Add enum collation_encoding_type.
37721         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37722         * programs/ld-collate.c (collate_output): Add encoding type info.
37723         * string/strcoll_l.c (STRDIFF): New function.
37724         * (STRCOLL): Use STRDIFF to skip over equal prefix.
37725         * wcsmbs/wcscoll_l.c: Define STRDIFF.
37727 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
37729         [BZ #18397]
37730         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37731         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
37732         <fpu_control.h> instead of <math/fpu_control.c>.
37733         * sysdeps/mips/mips32/fpu/Makefile: New file.
37735 2015-05-11  Andreas Schwab  <schwab@suse.de>
37737         [BZ #18007]
37738         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37739         nss_endgrent.
37740         (_nss_compat_endgrent): Call nss_endgrent.
37741         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37742         nss_endpwent.
37743         (_nss_compat_endpwent): Call nss_endpwent.
37744         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37745         needent, call nss_setspent only if non-zero.
37746         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37747         (internal_endspent): Don't call nss_endspent.
37748         (_nss_compat_endspent): Call nss_endspent.
37749         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37750         Remove.  All uses removed.
37751         (internal_setent): Remove parameter stayopen, add parameter
37752         stream.  Use it instead of global variable.
37753         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37754         (internal_endent, internal_getent): Add parameter stream.  Use it
37755         instead of global variable.
37756         (CONCAT(_nss_files_end,ENTNAME))
37757         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37758         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
37759         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
37760         uses removed.
37761         (internal_setent, internal_endent): Add parameter stream.  Use it
37762         instead of global variable.
37763         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37764         stream.
37765         (get_next_alias): Add parameter stream.
37766         (_nss_files_getaliasent_r): Pass global stream.
37767         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
37768         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37769         (_nss_files_gethostbyname4_r): Pass local stream to
37770         internal_setent, internal_getent and internal_endent.  Remove
37771         locking.
37773 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37775         * tst-strfmon1.c (tests): Update expected currency symbol.
37777 2015-05-08  Roland McGrath  <roland@hack.frob.com>
37779         * sysdeps/nacl/gethostname.c: New file.
37781 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
37783         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37784         and sinh.
37785         * math/auto-libm-test-out: Regenerated.
37786         * sysdeps/i386/fpu/libm-test-ulps: Update.
37787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37789 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
37791         [BZ #18125]
37792         * stdlib/tst-setcontext3.c: New file.
37793         * stdlib/tst-setcontext3.sh: New file.
37794         * stdlib/Makefile (tests): Add tst-setcontext3.
37795         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37796         to verify test program created output file.
37797         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37798         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37799         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37800         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37802 2015-05-06  Roland McGrath  <roland@hack.frob.com>
37804         [BZ #18383]
37805         * elf/tst-tlsalign.c: New file.
37806         * elf/tst-tlsalign-static.c: New file.
37807         * elf/tst-tlsalign-lib.c: New file.
37808         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37809         (tests-static): Add tst-tlsalign-static.
37810         (modules-names): Add tst-tlsalign-lib.
37811         (test-xfail-tst-tlsalign): New variable.
37812         (test-xfail-tst-tlsalign-static): New variable.
37814         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37815         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37817 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
37819         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37820         csqrt, erfc, sin and sincos.
37821         * math/auto-libm-test-out: Regenerated.
37822         * sysdeps/i386/fpu/libm-test-ulps: Update.
37823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37825 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37827         * sysdeps/aarch64/libm-test-ulps: Update.
37829 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
37831         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37832         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37833         * math/auto-libm-test-out: Regenerated.
37834         * sysdeps/i386/fpu/libm-test-ulps: Update.
37835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37837 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
37839         [BZ #18265]
37840         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37841         (wcsncpy): Likewise.
37843 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37845         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37846         Assume __ASSUME_FALLOCATE is always true.
37847         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37848         (__posix_fallocate64_l64): Likewise.
37849         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37850         (posix_fallocate): Likewise.
37851         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37852         (__posix_fallocate64_l64): Likewise.
37853         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37854         [!__ASSUME_FALLOCATE]: Add comment.
37856 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37858         * sysdeps/unix/sysv/linux/i386/Makefile
37859         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37860         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37861         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37862         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37863         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37864         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37865         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37867 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
37869         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37870         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37871         tgamma.
37872         * math/auto-libm-test-out: Regenerated.
37873         * sysdeps/i386/fpu/libm-test-ulps: Update.
37874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37876 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37878         * math/auto-libm-test-in: Add more tests of tgamma.
37879         * math/auto-libm-test-out: Regenerated.
37880         * sysdeps/i386/fpu/libm-test-ulps: Update.
37881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37883         * math/auto-libm-test-in: Add more tests of tanh.
37884         * math/auto-libm-test-out: Regenerated.
37885         * sysdeps/i386/fpu/libm-test-ulps: Update.
37886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37888         * math/auto-libm-test-in: Add more tests of tan.
37889         * math/auto-libm-test-out: Regenerated.
37890         * sysdeps/i386/fpu/libm-test-ulps: Update.
37891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37893         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37894         * math/auto-libm-test-out: Regenerated.
37895         * sysdeps/i386/fpu/libm-test-ulps: Update.
37896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37898         * math/auto-libm-test-in: Add another test of pow.
37899         * math/auto-libm-test-out: Regenerated.
37900         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37902         * math/auto-libm-test-in: Add more tests of lgamma.
37903         * math/auto-libm-test-out: Regenerated.
37904         * sysdeps/i386/fpu/libm-test-ulps: Update.
37905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37907         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37908         log1p.
37909         * math/auto-libm-test-out: Regenerated.
37910         * sysdeps/i386/fpu/libm-test-ulps: Update.
37911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37913 2015-05-01  Mark Wielaard  <mjw@redhat.com>
37915         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37916         Elf64_Chdr structs and ELFCOMPRESS constants.
37918 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37920         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37921         expm1.
37922         * math/auto-libm-test-out: Regenerated.
37923         * sysdeps/i386/fpu/libm-test-ulps: Update.
37924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37926         * math/auto-libm-test-in: Add more tests of erf and erfc.
37927         * math/auto-libm-test-out: Regenerated.
37928         * sysdeps/i386/fpu/libm-test-ulps: Update.
37929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37931 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37933         * config.h.in (HAVE_AARCH64_BE): Add.
37935 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
37937         * math/auto-libm-test-in: Add more tests of csqrt.
37938         * math/auto-libm-test-out: Regenerated.
37939         * sysdeps/i386/fpu/libm-test-ulps: Update.
37940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37942         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37943         * math/auto-libm-test-out: Regenerated.
37944         * sysdeps/i386/fpu/libm-test-ulps: Update.
37945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37947         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37949 2015-04-29  Roland McGrath  <roland@hack.frob.com>
37951         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37952         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37954         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37955         (euidaccess, eaccess): Define as weak aliases.
37957         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37958         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
37959         but __suseconds_t is often 'long int' so some sources assume that
37960         type is being used (e.g. they use %ld to print tv_usec).
37962 2015-04-29  Florian Weimer  <fweimer@redhat.com>
37964         [BZ #18007]
37965         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37966         (CVE-2014-8121)
37967         * nss/tst-nss-getpwent.c: New file.
37968         * nss/Makefile (tests): Add new test.
37970 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
37972         [BZ #18346]
37973         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37974         exponents less than 48 as cases where high part of mantissa needs
37975         examining to determine whether argument is integral.
37976         * math/libm-test.inc (round_test_data): Add more tests.
37978 2015-04-28  Mark Wielaard  <mjw@redhat.com>
37980         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37982 2015-04-27  David S. Miller  <davem@davemloft.net>
37984         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37985         __tls_get_addr.
37986         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37988 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
37990         [BZ #18333]
37991         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37993 2015-04-27  Florian Weimer  <fweimer@redhat.com>
37995         [BZ #18333]
37996         * time/tzset.c (parse_tzname): Return error on memory allocation
37997         failure.
37998         * test-skeleton.c (struct temp_name_list): Change type of name
37999         member to non-const.
38000         (add_temp_file): Create a copy of the file name.
38001         (delete_temp_files): Deallocate memory.
38002         (create_temp_file): Add comment.
38004 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38006         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38007         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38009 2015-04-24  Roland McGrath  <roland@hack.frob.com>
38011         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38012         * sysdeps/arm/configure: Regenerated.
38014 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38016         [BZ #17715]
38017         * time/tzfile.c (__tzfile_read): Check for large values of
38018         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
38019         * time/tzset.c (__tzstring_len): New function, based on the old
38020         __tzstring function.
38021         (__tzstring): Call __tzstring_len.
38022         (parse_tzname): New helper function extracted from
38023         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
38024         the input string.
38025         (parse_offset): New helper function extracted from
38026         __tzset_parse_tz.  Replace switch with fallthrough with
38027         initialization before sscanf.
38028         (parse_rule): Likewise.
38029         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
38030         new-style function definition.
38031         * timezone/Makefile (tests): Add tst-tzset.
38032         (tst-tzset.out): Dependencies on time zone files.
38033         (tst-tzset-ENV): Set TZDIR.
38034         (testdata/XT%): Copy crafted time zone files.
38035         * timezone/README: Mention crafted time zone files.
38036         * timezone/testdata/XT1, timezone/testdata/XT2,
38037         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38038         files.
38039         * timezone/tst-tzset.c: New test.
38041 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38043         * Makeconfig (+gccwarn): Remove -Winline.
38045 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38047         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38049 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38051         * NEWS: Mention sysconf() cache information support for s390.
38052         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38054 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
38056         * math/k_casinh.c (__kernel_casinh): Use __copysign.
38057         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38058         (__nearbyint): Likewise.
38059         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38060         (copysignl): Likewise.
38062 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
38064         [BZ #18287]
38065         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38066         based on padding.  (CVE-2015-1781)
38068 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38070         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38071         libc-vdso.h.
38072         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38073         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38074         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38075         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38076         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38077         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38078         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38079         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38080         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38081         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38082         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38083         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38084         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38085         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38086         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38087         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38088         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38089         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38090         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38091         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38092         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38093         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38094         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38096 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
38098         * stdlib/setenv.c (__add_to_environ):
38099         Dump core quickly if setenv (..., NULL, ...) is called.
38100         This time, do it the right way, and pacify GCC with a pragma.
38102 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38104         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38105         IMAP->l_prev cannot be null, and #if out the code for the contrary
38106         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38107         believe that NS (&_dl_ns[NSID]) could point outside the array.
38109         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38110         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38111         before using NSID as an index.
38113 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
38115         [BZ #17825]
38116         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38117         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38118         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38120 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38122         Add preliminary port to Google Native Client on ARM.
38123         * abi-tags (.*-.*-nacl.*): New entry.
38124         * sysdeps/arm/nacl: New directory.
38125         * sysdeps/nacl: New directory.
38127 2015-04-16  David S. Miller  <davem@davemloft.net>
38129         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38130         lowlevellock-futex.h
38132 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
38134         * sysdeps/tile/configure.ac: New file.
38135         * sysdeps/tile/configure: Regenerated.
38137 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38139         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
38140         conditionals for weak_alias and libc_hidden_weak.
38141         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38142         libc_hidden_weak and weak_alias.
38143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38144         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38145         and weak_alias for static one.
38147 2015-04-15  David S. Miller  <davem@davemloft.net>
38149         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38151 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38153         [BZ #18206]
38154         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38155           Use signed comparision instead of substraction to avoid
38156           overflow bug.
38157         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38158           Take the sign of ret.
38159         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38160           Do not expect precise return values. Only the sign matters.
38161         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38162         * wcsmbs/test-wcsncmp.c: New File.
38163         * string/test-strncmp.c: Add wcsncmp support.
38165 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38167         [BZ #6792]
38168         * math/w_log1p.c: New file.
38169         * math/w_log1pf.c: Likewise.
38170         * math/w_log1pl.c: Likewise.
38171         * math/Makefile (libm-calls): Add w_log1p.
38172         * math/s_log1pl.c (log1pl): Remove weak_alias.
38173         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38174         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38175         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38176         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38177         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38178         [NO_LONG_DOUBLE] (log1pl): Likewise.
38179         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38180         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38181         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38182         (log1p): Remove long_double_symbol.
38183         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38184         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38185         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38186         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38187         remove weak_alias for corresponding log1p function.
38188         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38189         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38190         * sysdeps/ia64/fpu/w_log1p.c: New file.
38191         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38192         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38193         * math/libm-test.inc (log1p_test_data): Add errno expectations.
38195 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
38197         [BZ #18247]
38198         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38199         decimal exponent by 1.
38200         * stdlib/tst-strtod-round-data: Add more tests.
38201         * stdlib/tst-strtod-round.c (tests): Regenerated.
38203 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
38205         * math/auto-libm-test-in: Add more tests of clog and clog10.
38206         * math/auto-libm-test-out: Regenerated.
38207         * sysdeps/i386/fpu/libm-test-ulps: Update.
38208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38210 2015-04-09  Roland McGrath  <roland@hack.frob.com>
38212         * Makeconfig (module-cppflags): Exclude all .v.i files.
38213         (skip-module-cppflags): Variable removed.
38215         * configure.ac (libc_config_ok): Initialize before reading
38216         preconfigure scripts, not after.
38217         * configure: Regenerated.
38219         * test-skeleton.c (TIMEOUT): Move #define to top level.
38220         (main): Grok environment variable TEST_DIRECT.  If set, print
38221         test expectation details into that file and then behave as if
38222         given --direct.
38224 2015-04-09  Florian Weimer  <fweimer@redhat.com>
38226         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38227         warning on 32-bit.
38229 2015-04-08  David S. Miller  <davem@davemloft.net>
38231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38233 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38235         * math/auto-libm-test-in: Add more tests of atanh.
38236         * math/auto-libm-test-out: Regenerated.
38237         * sysdeps/i386/fpu/libm-test-ulps: Update.
38238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38240         * math/auto-libm-test-in: Add more tests of atan.
38241         * math/auto-libm-test-out: Regenerated.
38242         * sysdeps/i386/fpu/libm-test-ulps: Update.
38243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38245 2015-04-08  Florian Weimer  <fweimer@redhat.com>
38247         * elf/pldd.c (main): Rewrite to use struct
38248         scratch_buffer instead of extend_alloca.
38249         * elf/pldd-xx.c (find_maps): Likewise.
38250         * grp/initgroups.c: Include <scratch_buffer.h> instead of
38251         <alloca.h>.
38252         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38253         scratch_buffer instead of extend_alloca.
38254         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38255         grp/compat-initgroups.c.
38256         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38257         Rewrite to use struct scratch_buffer instead of extend_alloca.
38258         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38259         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38261 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38263         * math/auto-libm-test-in: Add more tests of cbrt.
38264         * math/auto-libm-test-out: Regenerated.
38265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38267         * math/auto-libm-test-in: Add more tests of cabs.
38268         * math/auto-libm-test-out: Regenerated.
38269         * sysdeps/i386/fpu/libm-test-ulps: Update.
38270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38272         [BZ #18210]
38273         [BZ #18211]
38274         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38275         (__ieee754_atan2): Set FE_TONEAREST mode for internal
38276         computations.
38277         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38278         clog10.
38279         * math/auto-libm-test-out: Regenerated.
38280         * sysdeps/i386/fpu/libm-test-ulps: Update.
38281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38283         [BZ #18197]
38284         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38285         (atan): Set FE_TONEAREST mode for internal computations.
38286         * math/auto-libm-test-in: Add more tests of atan.
38287         * math/auto-libm-test-out: Regenerated.
38289 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
38291         [BZ #17930]
38292         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38294 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38296         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38298 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38300         * include/scratch_buffer.h: New file.
38301         * malloc/scratch_buffer_grow.c: Likewise.
38302         * malloc/scratch_buffer_grow_preserve.c: Likewise.
38303         * malloc/scratch_buffer_set_array_size.c: Likewise.
38304         * malloc/tst-scratch_buffer.c: Likewise.
38305         * malloc/Makefile (routines): Add scratch_buffer_grow.
38306         (tests): Add test case.
38307         * malloc/Versions (GLIBC_PRIVATE): Export
38308         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38309         __libc_scratch_buffer_set_array_size.
38311 2015-04-06  Richard Henderson  <rth@redhat.com>
38313         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38314         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38316         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38317         unsigned int before printing.
38319 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38321         [BZ #17596]
38322         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38323         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38325 2015-04-02  Florian Weimer  <fweimer@redhat.com>
38327         * include/libc-internal.h (libc_max_align_t): Define.
38329 2015-04-02  Andreas Schwab  <schwab@suse.de>
38331         [BZ #16850]
38332         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38334 2015-04-02  Mel Gorman  <mgorman@suse.de>
38336         [BZ #17195]
38337         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38338         as well as the main arena.
38340 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38342         [BZ #18185]
38343         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38344         sharing L2 cache to 2 for Silvermont/Knights Landing.
38346 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38348         [BZ #17711]
38349         * config.make.in (have-protected-data): New.
38350         * configure.ac: Check linker support for protected data symbol.
38351         * configure: Regenerated.
38352         * elf/Makefile (modules-names): Add tst-protected1moda and
38353         tst-protected1modb if $(have-protected-data) is yes.
38354         (tests): Add tst-protected1a and tst-protected1b if
38355         $(have-protected-data) is yes.
38356         ($(objpfx)tst-protected1a): New.
38357         ($(objpfx)tst-protected1b): Likewise.
38358         (tst-protected1modb.so-no-z-defs): Likewise.
38359         * elf/tst-protected1a.c: New file.
38360         * elf/tst-protected1b.c: Likewise.
38361         * elf/tst-protected1mod.h: Likewise.
38362         * elf/tst-protected1moda.c: Likewise.
38363         * elf/tst-protected1modb.c: Likewise.
38365 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38367         [BZ #17711]
38368         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38369         indicates it is called from do_lookup_x on relocation against
38370         protected data, skip the data definion in the executable from
38371         copy reloc.
38372         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38373         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38374         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38375         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38376         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38377         otherwise to 0.
38378         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38379         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38380         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38381         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38382         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38383         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38385 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
38387         * sysdeps/nptl/pthread.h: Remove duplicate definition of
38388         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38390 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
38392         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38393         THREAD_SETMEM_NC.
38394         * sysdeps/x86_64/nptl/tls.h: Ditto.
38396 2015-03-27  Roland McGrath  <roland@hack.frob.com>
38398         * dlfcn/tststatic.c (main): Converted to ...
38399         (do_test): ... this.
38400         (TEST_FUNCTION): New macro.
38401         Include test-skeleton.c.
38403 2015-03-26  Alan Modra  <amodra@gmail.com>
38405         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38406         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
38407         zero for undefined weak.
38408         (elf_machine_plt_conflict): Similarly.
38410 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38412         * math/auto-libm-test-in: Add more tests of acosh, asinh and
38413         atanh.
38414         * math/auto-libm-test-out: Regenerated.
38415         * sysdeps/i386/fpu/libm-test-ulps: Update.
38416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38418         * math/auto-libm-test-in: Add another test of asin.
38419         * math/auto-libm-test-out: Regenerated.
38420         * sysdeps/i386/fpu/libm-test-ulps: Update.
38421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38423         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38424         Remove macro.
38425         (LLL_EBX_REG): Likewise.
38426         (LLL_ENTER_KERNEL): Likewise.
38428         * math/auto-libm-test-in: Add more tests of asin.
38429         * math/auto-libm-test-out: Regenerated.
38430         * sysdeps/i386/fpu/libm-test-ulps: Update.
38431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38433         [BZ #18138]
38434         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38435         libc_do_syscall_args): New structure.
38436         (INTERNAL_SYSCALL_MAIN_0): New macro.
38437         (INTERNAL_SYSCALL_MAIN_1): Likewise.
38438         (INTERNAL_SYSCALL_MAIN_2): Likewise.
38439         (INTERNAL_SYSCALL_MAIN_3): Likewise.
38440         (INTERNAL_SYSCALL_MAIN_4): Likewise.
38441         (INTERNAL_SYSCALL_MAIN_5): Likewise.
38442         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
38443         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38444         Replace conditional definitions by conditional definitions of ....
38445         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
38446         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38447         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38448         (libpthread-sysdep_routines): Add libc-do-syscall.
38449         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38450         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38451         to __NR_futex not 240.
38453 2015-03-25  Alan Modra  <amodra@gmail.com>
38455         * NEWS: Advertise TLS optimization.
38456         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38457         (DT_PPC_NUM): Increment.
38458         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38459         (CHECK_STATIC_TLS): Use here.
38460         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38461         TLS descriptors.
38462         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38463         * sysdeps/powerpc/dl-tls.c: New file.
38464         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38465         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38466         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38467         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38472 2015-03-25  Alan Modra  <amodra@gmail.com>
38474         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38475         for overlapping .opd entries" to "support...".
38476         * sysdeps/powerpc/powerpc64/configure: Regenerate
38478 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38480         * math/auto-libm-test-in: Add more tests of acos.
38481         * math/auto-libm-test-out: Regenerated.
38482         * sysdeps/i386/fpu/libm-test-ulps: Update.
38483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38485         * math/auto-libm-test-in: Add more tests of expm1.
38486         * math/auto-libm-test-out: Regenerated.
38487         * sysdeps/i386/fpu/libm-test-ulps: Update.
38488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38490 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
38492         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38493         * math/auto-libm-test-out: Regenerated.
38494         * sysdeps/i386/fpu/libm-test-ulps: Update.
38495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38497         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38500         * math/auto-libm-test-in: Add more tests of log2.
38501         * math/auto-libm-test-out: Regenerated.
38502         * sysdeps/i386/fpu/libm-test-ulps: Update.
38503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38505 2015-03-23  Roland McGrath  <roland@hack.frob.com>
38507         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38508         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
38509         _IO_IS_APPENDING bit in READ_WRITE instead.
38511 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38513         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38514         (__determine_cpumask_size): Replace extend_alloca with a
38515         variable-length array.  Do not treat res == 0 as an error.
38517 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38519         [BZ #18100]
38520         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38521         and integer overflow.
38522         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38523         (main): Add integer overflow tests.
38524         * manual/pattern.texi (Calling Wordexp): Document additional use
38525         for WRDE_SYNTAX.
38527 2015-03-23  Alan Modra  <amodra@gmail.com>
38529         * config.h.in: Remove HAVE_ASM_PPC_REL16.
38530         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38531         and false branch of conditional.
38532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38533         Likewise.
38535 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
38537         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38538         libc-modules.h
38539         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38540         unused declaration of _hurd_intr_rpc_msg_in_trap.
38541         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38542         defined instead of whether it is non-zero.
38543         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38544         input constraint instead of both input and output constraint.  Use ecx
38545         clobber instead of %ecx.
38546         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38547         mutex_unlock): Use a statement expression instead of an expression list.
38548         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38549         type to vm_size_t instead of vm_address_t.
38550         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38551         defined instead of whether it is non-zero.
38552         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38553         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38554         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38555         comparisons with mapaddr.
38556         * nscd/nscd-client.h: Include <time.h>.
38557         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38558         9th parameter to __vm_region instead of int.
38559         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38560         * scripts/check-local-headers.sh (exclude): Add device/,
38561         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38562         cthreads.h.
38564 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38566         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38567         to account for alignment padding.
38568         * sysdeps/arm/memmove.S: Likewise.
38570 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38572         * sysdeps/unix/sysv/linux/generic/README: New file.
38574 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38576         [BZ #18138]
38577         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38578         (futex_abstimed_wait)
38579         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38580         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38581         of lll_futex_timed_wait.
38583 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38585         [BZ #17542]
38586         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38588 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38590         [BZ #17090]
38591         [BZ #17620]
38592         [BZ #17621]
38593         [BZ #17628]
38594         * NEWS: Update.
38595         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38596         entries with Static TLS too.  Skip entries past the end of the
38597         allocated DTV, from Alan Modra.
38598         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38599         Static TLS DTV entry set up from...
38600         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38601         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38602         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38603         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38604         for Static TLS.
38605         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38606         that the slot we find is associated with the given map before
38607         using its generation count.
38608         * nptl_db/db_info.c: Include ldsodefs.h.
38609         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38610         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38611         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38612         (link_map::l_tls_offset): New struct field.
38613         (dtv_t::counter): Likewise.
38614         (rtld_global): New struct.
38615         (_rtld_global): New rtld variable.
38616         (dl_tls_dtv_slotinfo_list): New rtld global field.
38617         (dtv_slotinfo_list): New struct.
38618         (dtv_slotinfo): Likewise.
38619         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38620         (td_lookup): Rename to...
38621         (td_mod_lookup): ... this.  Use new mod parameter instead of
38622         LIBPTHREAD_SO.
38623         * nptl_db/td_thr_tlsbase.c: Include link.h.
38624         (dtv_slotinfo_list, dtv_slotinfo): New functions.
38625         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
38626         addresses even if the DTV is out of date or missing them.
38627         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38628         index zero-length arrays.
38629         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38630         (td_lookup): Make it a macro implemented in terms of...
38631         (td_mod_lookup): ... this declaration.
38632         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38633         (DB_MAIN_VARIABLE): Likewise.
38635 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38637         [BZ #18134]
38638         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38640 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
38642         * stdlib/setenv.c (__add_to_environ): Revert previous change.
38644 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
38646         [BZ #18128]
38647         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38648         (atomic_add, atomic_increment_and_test)
38649         (atomic_decrement_and_test): Fix 64-bit arithmetic.
38651 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
38653         * stdlib/setenv.c (__add_to_environ):
38654         Dump core quickly if setenv (..., NULL, ...) is called.
38656 2015-03-13  Roland McGrath  <roland@hack.frob.com>
38658         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38659         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38660         all the necessary asm magic in one place.
38661         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38662         using those.
38664 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
38666         [BZ #14906]
38667         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38668         traced file mtime. Use consistent log message.
38669         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38670         (register_traced_file): Call install_watches. Always set mtime.
38671         (invalidate_cache): Iterate over all trace files. Call install_watches.
38672         (inotify_check_files): Don't inline. Handle watching parent
38673         directories and configuration file movement in and out.
38674         (handle_inotify_events): New function.
38675         (main_loop_poll): Call handle_inotify_events.
38676         (main_loop_epoll): Likewise.
38677         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38678         (struct traced_file): Use array of inotify fds. Add parent directory,
38679         and basename.
38680         (struct database_dyn): Remove unused file_mtime.
38681         (init_traced_file): New inline function.
38682         (define_traced_file): New macro.
38683         * nss/nss_db/db-init.c: Use define_traced_file.
38684         (_nss_db_init): Use init_traced_file.
38685         * nss/nss_files/files-init.c: Use define_traced_file.
38686         (_nss_files_init): Use init_traced_file.
38688 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
38690         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38691         [_LIBC]: Do not include <stdlib.h>.
38692         [!_LIBC] (abort): Remove declaration.
38693         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38694         _FP_STATIC_ASSERT instead of conditionally calling abort.
38695         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38696         (_FP_EXTEND_CNAN): Likewise.
38697         (FP_TRUNC): Likewise.
38698         (__FP_CLZ): Likewise.
38699         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38701 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
38703         * manual/string.texi (XPG basename): Fix prototype.
38705 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38707         [BZ #18080]
38708         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38709         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38710         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38711         (__setcontext): Likewise.
38712         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38713         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38714         Call rt_sigprocmask syscall one time to set new signal mask
38715         and retrieve the current signal mask instead of two calls.
38716         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38717         (__swapcontext): Likewise.
38718         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38719         * stdlib/tst-setcontext2.c: New file.
38721 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38723         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38725 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
38727         [BZ #18093]
38728         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38729         the wrong size.
38731 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38733         [BZ #18043]
38734         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38736 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38738         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38739         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38740         Remove define.
38741         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38742         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38743         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38744         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38745         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38746         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38747         define.
38748         * nptl_db/td_symbol_list.c (td_lookup): Remove
38749         HAVE_ASM_GLOBAL_DOT_NAME code.
38750         * sysdeps/powerpc/powerpc64/configure.ac: Remove
38751         HAVE_ASM_GLOBAL_DOT_NAME check.
38752         * sysdeps/powerpc/powerpc64/configure: Regenerate.
38753         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38754         (DOT_LABEL): Remove define.
38755         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38756         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38757         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38758         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38759         (__TLS_GET_ADDR): Likewise.
38760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38761         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38763 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
38765         [BZ #18111]
38766         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38767         (_FPU_SETCW): Initialize cw from fpsr before storing.
38768         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38769         (fesetexceptflag): Rewrite using fpu_control.h.
38770         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38772 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
38774         [BZ #18110]
38775         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38776         asms.
38777         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38779 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
38781         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38782         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38783         abort.
38784         (_FP_FMA): Likewise.
38785         (_FP_DIV): Likewise.
38787 2015-03-10  Roland McGrath  <roland@hack.frob.com>
38789         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38790         with 0 in that case.
38791         * Makefile (summarize-tests): New canned sequence, factored out of
38792         commands for targets tests and xtests.  Display summary lines that
38793         don't start with PASS: or XFAIL: rather than ones that do start with
38794         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
38795         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38796         do start with ERROR: or FAIL:.
38797         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38798         (except for [$(build-shared) = yes]).
38799         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38800         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38801         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38802         * nptl/Makefile: Revert 2015-03-04 changes.
38803         [$(CXX) empty] (tests-unsupported): New variable.
38804         * debug/Makefile: Likewise.
38806         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38807         gnulib file.  Replace __attribute with __attribute__ throughout.
38809 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
38811         * sysdeps/hppa/fpu/libm-test-ulps: Update.
38813 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38815         [BZ #18104]
38816         * math/auto-libm-test-in: Add another test of pow.
38817         * math/auto-libm-test-out: Regenerated.
38819 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38821         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38822         $(config-cflags-nofma).
38824 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38826         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38827         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38828         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38829         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38830         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38831         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38832         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38833         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38834         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38835         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38836         Add comment on closing #endif.
38838 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38840         * posix/wordexp.c (CHAR_IN_SET): New macro.
38841         (parse_param): Use it.
38843 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38845         * sysdeps/powerpc/fpu/libm-test-ulps: update.
38847 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38849         [BZ #18043]
38850         * posix/wordexp.c (parse_param): Fix buffer overflow.
38851         * posix/wordexp-test.c (test_case): Add test case.
38853 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38855         [BZ #18042]
38856         * posix/wordexp.c (parse_backtick): Fix off-by-one.
38857         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38859 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38861         [BZ #18043]
38862         * posix/wordexp-test.c (test_case): Add test for BZ #18043
38863         (do_bz18043): Delete.
38864         (at_page_end): New.
38865         (testit): Refactor to have words at the edge of unreadable page.
38867 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
38869         [BZ #16734]
38870         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38871         Cleanup read-only streams as well.
38872         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38874 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38876         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38877         <bits/libc-lockP.h>
38879 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
38881         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
38882         on [__KERNEL__].
38883         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38884         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38885         * soft-fp/op-common.h (_FP_DECL): Likewise.
38887 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
38889         * elf/ifuncdep2.c (global): Replace
38890         __attribute__((visibility("protected"))) with
38891         asm (".protected global").
38892         * elf/ifuncmod1.c (global): Likewise.
38893         * elf/ifuncmod5.c (global): Likewise.
38895 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
38897         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38898         <asm/sfp-machine.h> instead of <sfp-machine.h>.
38900 2015-03-06  Roland McGrath  <roland@hack.frob.com>
38902         * manual/install.texi (Configuring and compiling):
38903         Document test-wrapper-env-only.
38904         * INSTALL: Regenerated.
38906 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38908         [BZ #18043]
38909         * posix/wordexp.c (parse_param): Fix buffer overflow.
38910         * posix/wordexp-test.c (do_bz18043): Add test case.
38912 2015-03-06  Vincent Bernat  <vincent@bernat.im>
38914         * time/tst-strptime2.c (do_test): Ensure failing tests are
38915         reported correctly.
38916         * time/tst-strptime3.c (do_test): Likewise.
38918 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
38920         Fix aio_error thread-safety.
38921         * sysdeps/pthread/aio_error.c: New file
38922         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38923         synchronization.
38925 2015-03-06  Florian Weimer  <fweimer@redhat.com>
38927         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38928         (group_number, vfprintf): Use it.
38929         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38930         (JUMP, REF): Use it.
38931         (WORK_BUFFER_SIZE): New enum constant.
38932         (process_arg, vfprintf): Use it.
38934 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
38936         * manual/errno.texi (Error Messages): Complete example function
38937         by adding missing #define.
38938         (program_invocation_name): Add statement indicating GNU
38939         extension and reference which header file declares the variable.
38940         (program_invocation_short_name): Likewise.
38942 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
38944         * manual/errno.texi (Error Messages): Delete strerror ISO C89
38945         compatibility note.
38947 2015-03-05  Roland McGrath  <roland@hack.frob.com>
38949         * Makeconfig (test-wrapper-env-only): New variable.
38950         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38951         then use that with $(test-wrapper-env-only) rather than using
38952         $(test-wrapper-env) $(run-program-env) $($*-ENV).
38954 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38956         [BZ #18082]
38957         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38958         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38959         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38960         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38961         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38962         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38963         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38964         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38965         Likewise.
38966         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38967         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38968         Likewise.
38969         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38970         Likewise.
38971         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38972         Likewise.
38973         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38974         Likewise.
38975         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38976         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38977         Likewise.
38978         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38979         Likewise.
38980         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38981         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38983 2015-03-04  Roland McGrath  <roland@hack.frob.com>
38985         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38986         (ETH_ALEN): New macro.
38987         (struct ether_addr): Use it for length of ether_addr_octet.
38989         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38990         (setdb): Don't call __nss_configure_lookup for "rpc".
38991         (do_test): Don't call test_rpc.
38992         (output_rpcent, test_rpc): Functions moved ...
38993         * sunrpc/test-rpcent.c: ... to this new file.
38994         * sunrpc/Makefile (tests): Add it.
38996         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38997         __xpg_sigpause.
38998         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38999         * nptl/tst-signal6.c: Likewise.
39000         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39001         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39003         * configure.ac (libc_cv_cxx_link_ok): New check.
39004         Reset CXX to empty if it fails to link.
39005         * configure: Regenerated.
39006         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39007         bug-atexit3-lib only if $(CXX) is nonempty.
39008         * nptl/Makefile (tests): Likewise for tst-cancel24.
39009         (tests, tests-static): Likewise for tst-cancel24-static.
39010         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39011         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39012         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39013         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39015 2015-03-04  Andreas Schwab  <schwab@suse.de>
39017         [BZ #17631]
39018         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39019         for non-GCC compilers.
39020         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39021         Likewise.
39023 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39025         [BZ #17776]
39026         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39027         integer before bitwise and assembly operations.
39028         (feclearexcept): Likewise.
39029         * math/test-fenvinline.c: New file.
39030         * math/Makefile: Add test-fenvinline test.
39032 2015-03-03  Alan Modra  <amodra@gmail.com>
39034         [BZ #16512]
39035         * scripts/localplt.awk: Strip off symbol version.
39036         * NEWS: Mention bug fix.
39038 2015-03-02  Roland McGrath  <roland@hack.frob.com>
39040         * sysdeps/pthread/timer_routines.c
39041         (timer_free_list, thread_free_list, thread_active_list): Make static.
39043 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
39045         [BZ #17779]
39046         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39047         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39048         Undefine.
39049         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39050         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39051         Likewise.
39052         * sysdeps/unix/sysv/linux/sh/kernel-features.h
39053         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39054         Likewise.
39056 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39058         [BZ #18036]
39059         * posix/fnmatch_loop.c (END): Detect invalid pattern.
39060         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39062 2015-03-02  Andreas Schwab  <schwab@suse.de>
39064         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39065         variable name.
39067 2015-03-02  Florian Weimer  <fweimer@redhat.com>
39069         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39070         Return error status.
39072 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
39074         [BZ #15969]
39075         * locale/findlocale.c (_nl_find_locale): Introduce const
39076         version of loc_name and drop unsafe type casts.
39078 2015-02-27  Roland McGrath  <roland@hack.frob.com>
39080         * dlfcn/tststatic2.c (main): Converted to ...
39081         (do_test): ... this.
39082         (TEST_FUNCTION): New macro.
39083         Include test-skeleton.c.
39085 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
39087         [BZ #17711]
39088         * elf/Makefile (tests): Add vismain only if PIE is enabled.
39089         (tests-pie): Add vismain.
39090         (CFLAGS-vismain.c): New.
39091         * elf/vismain.c: Add comments for PIE requirement.
39093 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39095         [BZ #18046]
39096         [BZ #18047]
39097         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39098         0x1p-56L as threshold for just returning the argument.
39099         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39100         0x1p-32L as threshold for just returning the argument.
39101         * math/auto-libm-test-in: Add more tests of atanh.
39102         * math/auto-libm-test-out: Regenerated.
39103         * sysdeps/i386/fpu/libm-test-ulps: Update.
39104         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39106 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39108         * string/bcopy.c (bcopy): Call memmove for performance.
39110 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39112         * string/bzero.c (__bzero): Call memset for performance.
39114 2015-02-27  John David Anglin  <dave.anglin@bell.net>
39116         [BZ #18068]
39117         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39118         to 00100000.
39120 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39122         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39124 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39126         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39127         (__kernel_standard): Use CSTR macro when setting exc.name.
39128         * sysdeps/ieee754/Makefile [$(subdir) = math]
39129         (CFLAGS-k_standard.c): Remove variable.
39131         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39132         setting p and q from "else if" to "else".
39133         (qzero): Likewise.
39134         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39135         (qone): Likewise.
39136         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39137         (qzerof): Likewise.
39138         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39139         (qonef): Likewise.
39140         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39141         (qzero): Likewise.
39142         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39143         (qone): Likewise.
39145         [BZ #18038]
39146         [BZ #18039]
39147         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39148         return pi/2 for arguments below 0x1p-113L.
39149         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39150         return pi/2 for arguments below 0x1p-106L.
39151         * math/auto-libm-test-in: Add more tests of acos.
39152         * math/auto-libm-test-out: Regenerated.
39154         [BZ #16351]
39155         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39156         (MO): New macro.
39157         (__ieee754_asin): Force underflow exception for results with small
39158         absolute value.
39159         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39160         (MO): New macro.
39161         (__ieee754_asinf): Force underflow exception for results with
39162         small absolute value.
39163         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39164         (__ieee754_asin): Force underflow exception for results with small
39165         absolute value.
39166         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39167         (__ieee754_asinf): Force underflow exception for results with
39168         small absolute value.
39169         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39170         (__ieee754_asinl): Force underflow exception for results with
39171         small absolute value.
39172         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39173         (__ieee754_asinl): Force underflow exception for results with
39174         small absolute value.
39175         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39176         (__ieee754_asinl): Force underflow exception for results with
39177         small absolute value.
39178         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39179         Include <math.h>.
39180         * math/auto-libm-test-in: Do not mark underflow exceptions as
39181         possibly missing for bug 16351.
39182         * math/auto-libm-test-out: Regenerated.
39184         [BZ #18030]
39185         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39186         of power of 2 down when low part has opposite sign.
39187         * math/libm-test.inc (logb_test_data): Add more tests.
39189 2015-02-26  Andreas Schwab  <schwab@suse.de>
39191         [BZ #18032]
39192         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39193         over collating symbol inside a bracket expression.  Minor cleanup.
39194         * posix/tst-fnmatch3.c (do_test): Add test case.
39196 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39198         [BZ #18029]
39199         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39200         Adjust exponent of power of 2 down when low part has opposite
39201         sign.
39202         * math/libm-test.inc (ilogb_test_data): Add more tests.
39204 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
39206         [BZ #15969]
39207         * locale/findlocale.c (_nl_find_locale): Fix constness error in
39208         the previous change.
39210         [BZ #15969]
39211         * locale/findlocale.c (_nl_find_locale): Retry archive search
39212         after alias expansion.
39214 2015-02-25  Roland McGrath  <roland@hack.frob.com>
39216         * iconv/tst-iconv3.c (main): Converted to ...
39217         (do_test): ... this.
39218         (TEST_FUNCTION): New macro.
39219         Include test-skeleton.c.
39221         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39222         (convert): Make function static.
39223         (test_unalign): Likewise.  Add const to argument pointee types.
39224         (main): Replace with static function do_test.
39225         Print "Succeeded." only if RET is zero.
39226         (TEST_FUNCTION): New macro.
39227         Include test-skeleton.c.
39229         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39230         returns a null pointer.
39232 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39234         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39235         to __memcpy_ppc only for static builds.
39237 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
39239         [BZ #18020]
39240         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39241         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39242         * math/auto-libm-test-in: Add more tests of asinh.
39243         * math/auto-libm-test-out: Regenerated.
39244         * sysdeps/i386/fpu/libm-test-ulps: Update.
39245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39247 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
39249         [BZ #15850]
39250         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39251         and ip6_mtuinfo definitions here.
39252         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39253         in this define too.  Update comment.
39255 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
39257         * elf/sprof.c (load_shobj): Tweak error message to match others.
39259 2015-02-24  Kevin Easton  <kevin@guarana.org>
39261         [BZ #16145] (partial fix)
39262         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39263         to reduce lock contention.
39265 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
39267         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39268         (struct timex): Update time comment.
39269         (ADJ_SETOFFSET): Define.
39271 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39273         [BZ #18019]
39274         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39275         2**56 not 2**28 as threshold for log (2x) formula.
39276         * math/auto-libm-test-in: Add more tests of acosh.
39277         * math/auto-libm-test-out: Regenerated.
39278         * sysdeps/i386/fpu/libm-test-ulps: Update.
39279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39281 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39283         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39284         parenthesis around the buf assignment.
39285         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39287 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39289         [BZ #16783]
39290         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39291         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39292         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39293         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39294         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39295         * math/libm-test.inc (scalb_test_data): Add more tests.
39297 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39299         [BZ #17916]
39300         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39301         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39303 2015-02-24  Eric Rannaud  <e@nanocritical.com>
39305         [BZ #17523]
39306         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39307         * io/bits/fcntl2.h (open): Use it.
39308         (openat): Likewise.
39309         * io/open.c (__libc_open): Likewise.
39310         * io/open64.c (__libc_open64): Likewise.
39311         * io/open64_2.c (__open64_2): Likewise.
39312         * io/open_2.c (__open_2): Likewise.
39313         * io/openat.c (__openat): Likewise.
39314         * io/openat64.c (__openat64): Likewise.
39315         * io/openat64_2.c (__openat64_2): Likewise.
39316         * io/openat_2.c (__openat_2): Likewise.
39317         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39318         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39319         * sysdeps/posix/open64.c (__libc_open64): Likewise.
39320         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39321         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39322         (__open_nocancel): Likewise.
39323         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39324         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39325         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39327 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39329         [BZ #14841]
39330         * resolv/gethnamaddr.c (getanswer): Skip logging if
39331         RES_USE_DNSSEC is set.
39332         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39334 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39336         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39338 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
39340         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39341         201304L, for Unicode 7.
39343 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
39345         [BZ #17836]
39346         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39347         shared library.  Add gmon-start.os otherwise.
39348         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39349         $(objpfx)gmon-start.os if builing shared library.
39350         ($(objpfx)g$(static-start-installed-name)): Likewise.
39352 2015-02-23  Andreas Schwab  <schwab@suse.de>
39354         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39356 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39358         [BZ #17269]
39359         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39360         (enlarge_userbuf): Likewise.
39362 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
39364         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39365         * math/atest-exp.c (TIMEOUT): Adjust to 200.
39366         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39367         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39369 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
39371         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39372         expression inside statement expression.
39374 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39376         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39377         <sysdeps/nptl/lowlevellock.h> and remove macros and
39378         functions that are now defined there.
39379         (SYS_futex): Remove.
39380         (lll_compare_and_swap): Remove.
39381         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39383 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
39385         [BZ #17999]
39386         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39387         instead of scandirat.
39388         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39389         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39390         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39391         __scandirat.
39392         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39393         (__scandirat): Declare.  Use libc_hidden_proto.
39394         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39395         Remove variable.
39396         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39398 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39400         [BZ #15319]
39401         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39402         (MO): New macro.
39403         (__ieee754_atan2): For results with small absolute value, force
39404         underflow exception and remove excess range and precision from
39405         return value.
39406         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39407         (MO): New macro.
39408         (__ieee754_atan2f): For results with small absolute value, force
39409         underflow exception and remove excess range and precision from
39410         return value.
39411         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39412         (MO): New macro.
39413         (__atan): For results with small absolute value, force underflow
39414         exception and remove excess range and precision from return value.
39415         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39416         (MO): New macro.
39417         (__atanf): For results with small absolute value, force underflow
39418         exception and remove excess range and precision from return value.
39419         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39420         <math.h>.
39421         (__ieee754_atan2): Force underflow exception for results with
39422         small absolute value.
39423         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39424         <math_private.h>.
39425         (atan): Force underflow exception for results with small absolute
39426         value.
39427         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39428         (__atanf): Force underflow exception for results with small
39429         absolute value.
39430         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39431         <math.h>.
39432         (__atanl): Force underflow exception for results with small
39433         absolute value.
39434         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39435         (__atanl): Force underflow exception for results with small
39436         absolute value.
39437         * sysdeps/x86/fpu/bits/mathinline.h
39438         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39439         (__ieee754_atan2): Only define inline for long double.
39440         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39441         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39442         * math/auto-libm-test-in: Do not mark underflow exceptions as
39443         possibly missing for bug 15319.  Add more tests of atan2.
39444         * math/auto-libm-test-out: Regenerated.
39445         * math/libm-test.inc (casin_test_data): Do not mark underflow
39446         exceptions as possibly missing for bug 15319.
39447         (casinh_test_data): Likewise.
39448         * sysdeps/i386/fpu/libm-test-ulps: Update.
39450 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
39452         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39453         * sysdeps/mips/bits/endian.h: Fix comments.
39455 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39457         [BZ #17996]
39458         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39459         (hdestroy_r): Likewise.
39460         (hsearch_r): Likewise.
39461         (__hcreate_r): Declare and use libc_hidden_proto.
39462         (__hdestroy_r): Likewise.
39463         (__hsearch_r): Likewise.
39464         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39465         (hcreate): Call __hcreate_r instead of hcreate_r.
39466         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39467         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39468         as weak alias of __hcreate_r.
39469         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39470         __hdestroy_r.
39471         (hsearch_r): Rename to __hsearch_r and define as weak alias of
39472         __hsearch_r.
39473         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39474         Remove variable.
39475         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39476         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39477         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39478         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39480 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39482         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39483         arena_lock into a single arena_get.
39485 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
39487         * dl-reloc.c: Inlucde libc-internal.h.
39488         (_dl_try_allocate_static_tls): Call ALIGN_UP.
39489         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39490         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39491         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39492         (grow_heap): Likewise.
39493         * malloc/malloc.c: Include libc-internal.h.
39494         (do_check_malloc): Call powerof2.
39495         (sysmalloc): Use pagesize. Call ALIGN_UP.
39496         (systrim): Use pagesize.
39497         (mremap_chunk): Use pagesize. Call ALIGN_UP.
39498         (__libc_valloc): Use pagesize.
39499         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39501 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39503         [BZ #17991]
39504         * include/sys/resource.h (__getrlimit64): Declare.  Use
39505         libc_hidden_proto.
39506         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39507         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
39508         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39509         getrlimit64.
39510         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39511         __getrlimit64.
39512         [!getrlimit64] (getrlimit64): Define as weak alias of
39513         __getrlimit64.  Use libc_hidden_weak.
39514         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39515         using __getrlimit64 not __new_getrlimit64.
39516         (__GI_getrlimit64): Likewise.
39517         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39518         Likewise.
39519         (__GI_getrlimit64): Likewise.
39520         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39522         (getrlimit): Add __getrlimit64 alias.
39523         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39524         Likewise.
39525         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39526         Remove variable.
39527         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39528         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39530 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
39532         * libio/fileops.c: Add missing sys/mman.h
39533         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39535 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39537         * manual/math.texi (Errors in Math Functions): Clarify goals
39538         regarding inexact and underflow exceptions.
39540 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39542         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39543         * sysdeps/mips/memset.S: Ditto.
39545 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39547         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39549 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39551         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39552         (__v1longjmp): Remove versioned symbol.
39553         (__v1siglongjmp): Remove alias and versioned symbol.
39554         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39555         (__v2siglongjmp): Likewise.
39557 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39559         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39561 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39563         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39565 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39567         [BZ #17987]
39568         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39569         zero result does not depend on the sign resulting from
39570         subtraction.
39571         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39572         Likewise.
39573         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39574         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39575         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39576         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39577         * math/libm-test.inc (remquo_test_data): Add more tests.
39579 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39581         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39582         Problem reported by J William Piggott.
39584 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39586         [BZ #17978]
39587         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39588         products 4 * y and 2 * y where those would overflow.
39589         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39590         Likewise.
39591         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39592         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39593         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39594         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39595         * math/libm-test.inc (remquo_test_data): Add more tests.
39597         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39599         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39600         [defined _COMPILING_NEWLIB].
39601         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39602         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39604         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39605         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39607 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39609         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39610         acquired.
39612 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39614         [BZ #17792]
39615         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39616         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39617         HOST_STACK_END_ADDR): Likewise.
39619 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39621         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39622         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39623         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39625 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39627         * sysdeps/generic/c++-types.data: New file.
39628         * sysdeps/generic/ld.abilist: New file.
39629         * sysdeps/generic/libBrokenLocale.abilist: New file.
39630         * sysdeps/generic/libanl.abilist: New file.
39631         * sysdeps/generic/libc.abilist: New file.
39632         * sysdeps/generic/libcrypt.abilist: New file.
39633         * sysdeps/generic/libdl.abilist: New file.
39634         * sysdeps/generic/libm.abilist: New file.
39635         * sysdeps/generic/libpthread.abilist: New file.
39636         * sysdeps/generic/libresolv.abilist: New file.
39637         * sysdeps/generic/librt.abilist: New file.
39639 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39641         [BZ #17569]
39642         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39643         Compute absolute value of x as modified by fmod, not original
39644         value of x.
39645         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39646         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
39647         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
39648         RUN_TEST_ffI_f1_mod8.
39649         (remquo_test_data): Add more tests.
39651 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39653         * sysdeps/init_array/pt-crti.S: New file.
39655 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39657         [BZ #17967]
39658         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39659         __builtin_fmaf instead of relying on contraction of a * b + c.
39661 2015-02-12  J William Piggott  <elseifthen@gmx.com>
39663         [BZ #17969]
39664         * manual/time.texi: correct the zoneinfo path in the TZ Variable
39665         node.
39667 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39669         [BZ #17964]
39670         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39671         __builtin_fma instead of relying on contraction of a * b + c.
39673 2015-02-12  Roland McGrath  <roland@hack.frob.com>
39675         * Makeconfig (ASFLAGS): Add -Werror=undef.
39676         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39677         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39678         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39680         * Makeconfig (after-link): New variable.
39681         (+link-pie, +link-pie-tests): Use it.
39682         (+link-static, +link-static-tests): Likewise.
39683         (+link, +link-tests): Likewise.
39684         * Makerules (build-module, build-module-asneeded): Likewise.
39685         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39686         Likewise.
39687         * elf/Makefile ($(objpfx)ld.so): Likewise.
39689 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
39691         [BZ #17965]
39692         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39693         both struct timeval and struct timespec.
39695 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39697         [BZ #16560]
39698         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39699         and redefine.
39700         (__ieee754_exp2l): Do not multiply small fractional parts by
39701         M_LN2l.
39702         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39703         small argument.
39704         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39705         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39706         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39707         * math/auto-libm-test-in: Add more tests of exp2.
39708         * math/auto-libm-test-out: Regenerated.
39710 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39712         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39713         unaligned path.
39715 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39717         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39718         little endian.
39720 2015-02-12  Andreas Schwab  <schwab@suse.de>
39722         [BZ #15790]
39723         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39724         Filter out elision flags from value returned in kind.
39725         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39726         * nptl/tst-pthread-mutexattr.c: New file.
39728 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39730         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39731         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39732         into gnu-gnu, and update comment to refer to abi-tags.
39734 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
39736         [BZ #15467]
39737         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39738         (__sincos): Set errno to EDOM for infinite argument.
39739         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39740         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39741         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39742         (__sincosl): Set errno to EDOM for infinite argument.
39743         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39744         (__sincosl): Set errno to EDOM for infinite argument.
39745         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39746         (__sincosl): Set errno to EDOM for infinite argument.
39747         * math/libm-test.inc (sincos_test_data): Test errno setting.
39749 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
39751         * string/strxfrm_l.c: Remove #define STRCMP.
39752         * string/strcoll_l.c: Remove #define STRLEN.
39753         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39754         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39756 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
39758         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39759         * sysdeps/mips/mips32/sfp-machine.h: ... here.
39760         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39761         * sysdeps/mips/mips64/Makefile: ... here.
39762         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39763         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39764         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39765         * sysdeps/mips/mips64/sfp-machine.h: ... here.
39766         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39767         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39768         * sysdeps/mips/mips64/n64/Implies: Likewise.
39770 2015-02-10  Roland McGrath  <roland@hack.frob.com>
39772         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39773         <sys/time.h>, <string.h>, and <errno.h>.
39774         (dest_offset, dest_address, value, zero): Remove unused variables.
39775         (ldouble): Remove typedef.
39776         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39777         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
39778         1).  Fix code style.
39779         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39780         (check): Function removed.
39781         (CHECK): New macro.
39782         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
39783         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39784         Don't call set_sigaction_FP and remove_sigaction_FP here.
39785         (ldouble_test): Just use 'long double' as macro argument, no need for
39786         the 'ldouble' typedef.
39787         (do_test): Set up SIGFPE handler at start, using plain signal rather
39788         than sigaction.  Fix code style.
39790 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
39792         [BZ #17949]
39793         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39794         jump label.
39796 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39798         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39799         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39801         * sysdeps/powerpc/configure.ac: Remove file.
39802         * sysdeps/powerpc/configure: Likewise.
39804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39805         [sysdep_routines]: Remove wordcopy-power6 object.
39806         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39807         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39808         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39809         (__memmove_ppc32): Likewise.
39810         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39811         file.
39812         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39813         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39814         Remove preprocessor.
39816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39817         [sysdep_routines]: Remove wide chars objects.
39818         [wcsmbs]: New rule for wide char objects.
39820         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39821         Remove wordcopy-power6 obejct.
39822         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39823         Use local call for wordcopy and memcpy symbols.
39824         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39825         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39826         implementation for loader.
39827         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39829         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39830         Remove wordcopy-power7 object.
39831         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39832         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39833         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39834         (_wordcopy_fwd_dest_aligned): Likewise.
39835         (_wordcopy_bwd_aligned): Likewise.
39836         (_wordcopy_bwd_dest_aligned): Likewise.
39838         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39839         Rewrite to call __memmove_ppc instead of include default
39840         implementation.
39842         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39843         Remove wide chars objects.
39844         [wcsmbs]: New rule for wide char objects.
39846 2015-02-09  Andreas Schwab  <schwab@suse.de>
39848         [BZ #17912]
39849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39850         in terms of __O_DIRECTORY.
39852 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39854         * time/getdate.c: Include <stdbool.h>.
39855         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39856         call PTR_MANGLE.
39857         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39858         PTR_DEMANGLE.
39860 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
39862         Add ersatz _Static_assert on older C hosts
39863         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39864         pre-C11 C platform that is not known to support _Static_assert.
39866 2015-02-07  Richard Braun  <rbraun@sceen.net>
39868         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39869         sigstate.
39870         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39872 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39874         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39875         priority against unexistent AIO_PRIO_DELTA_MAX.
39876         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39877         instead of int.
39878         * misc/fchflags.c (fchflags): Likewise.
39879         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39880         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39881         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39882         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39883         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39884         Declare macros.
39885         [__USE_MISC] (chflags, fchflags): Declare functions.
39886         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39887         EINVAL when nfds is greater than FD_SETSIZE.
39888         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39889         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39890         45.
39891         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39892         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39893         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39894         MACH_RCV_TIMED_OUT.
39895         * hurd/hurd/signal.h (_hurd_self_sigstate,
39896         _hurd_critical_section_lock, _hurd_critical_section_unlock):
39897         Explicit casts from void *.
39898         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39899         * abi-tags: Rename gnu-gnu os into gnu.
39901         [BZ #4719]
39902         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39903         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39904         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39905         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39906         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39907         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39909         [BZ #17944]
39910         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39911         duplicates ADDR->sun_path with sockaddr LEN limitation.
39912         * sysdeps/mach/hurd/connect.c: Include <string.h>
39913         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39914         * sysdeps/mach/hurd/sendmsg.c: Likewise.
39915         * sysdeps/mach/hurd/sendto.c: Likewise.
39916         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39917         implementing it by hand.
39919 2015-02-06  Roland McGrath  <roland@hack.frob.com>
39921         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39922         Use sfi_breg on ldr.
39923         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39924         Likewise.
39926         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39927         it's defined.
39928         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39929         Test SIGSETXID only if it's defined.
39931         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39933         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39934         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
39936         * nptl/tst-align2.c: Moved ...
39937         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39938         * nptl/Makefile (tests): Remove tst-align2.
39939         * sysdeps/unix/sysv/linux/Makefile
39940         [$(subdir) = nptl] (tests): Add tst-align-clone.
39941         * nptl/tst-getpid1.c: Moved ...
39942         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39943         * nptl/tst-getpid2.c: Moved ...
39944         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39945         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39946         * sysdeps/unix/sysv/linux/Makefile
39947         [$(subdir) = nptl] (tests): ... here.
39948         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39949         * sysdeps/unix/sysv/linux/Makefile
39950         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39952         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39953         Drop trailing \n from perror argument.  Use return rather than exit.
39955         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39956         on [SA_SIGINFO].
39957         * nptl/tst-cancel21.c (do_test): Likewise.
39958         * debug/tst-backtrace6.c: Include <signal.h> first thing.
39959         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39960         [!SA_SIGINFO]: Make it a stub test.
39962         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39963         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39965         * posix/tst-getlogin.c: Move to ...
39966         * login/tst-getlogin.c: ... here.
39967         * posix/Makefile (tests): Move tst-getlogin to ...
39968         * login/Makefile (tests): ... here.
39970         * libio/tst-atime.c (do_test): Move local variables SV and E
39971         inside [ST_NOATIME] conditional.
39973         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39975         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39977         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39978         (wait_code): New function replaces macro.
39979         Call nanosleep rather than syscall.
39981         * nptl/pt-system.c: Rewritten.  Put everything under
39982         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39983         Use IFUNC to redirect when possible.
39985         * nptl/pt-longjmp.c: Rewritten.  Put everything under
39986         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39987         Use IFUNC to redirect when possible.
39989         * nptl/pt-fork.c: Rewritten.  Put everything under
39990         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39991         Use IFUNC to redirect when possible.
39992         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39994         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39995         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39996         unconditionally nowadays.  This included the only reference to
39997         __vdso_clock_gettime that appears outside libc proper.
39998         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39999         Remove version set (containing only __vdso_clock_gettime).
40000         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40001         Add attribute_hidden.
40002         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40003         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40004         libc_hidden_data_def.
40005         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40006         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40008         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40009         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40010         setrpcent, and getrpcport to ...
40011         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40012         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40013         getrpcbynumber_r, and getrpcent_r to ...
40014         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40015         * inet/getrpcbyname.c: Moved ...
40016         * sunrpc/getrpcbyname.c: ... here.
40017         * inet/getrpcbyname_r.c: Moved ...
40018         * sunrpc/getrpcbyname_r.c: ... here.
40019         * inet/getrpcbynumber.c: Moved ...
40020         * sunrpc/getrpcbynumber.c: ... here.
40021         * inet/getrpcbynumber_r.c: Moved ...
40022         * sunrpc/getrpcbynumber_r.c: ... here.
40023         * inet/getrpcent.c: Moved ...
40024         * sunrpc/getrpcent.c: ... here.
40025         * inet/getrpcent_r.c: Moved ...
40026         * sunrpc/getrpcent_r.c: ... here.
40027         * inet/Makefile (routines): Move those to ...
40028         * sunrpc/Makefile (routines): ... here.
40029         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40030         the $(subdirs) list.
40031         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
40032         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40033         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40034         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40036         * elf/Makefile (routines): Include $(all-dl-routines), not just
40037         $(dl-routines).
40038         (rtld-routines): Likewise.  Use = rather than :=.
40039         * sysdeps/aarch64/Makefile [$(subdir) = elf]
40040         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40041         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40042         * sysdeps/arm/Makefile: Likewise.
40043         * sysdeps/i386/Makefile: Likewise.
40044         * sysdeps/x86_64/Makefile: Likewise.
40045         * sysdeps/hppa/Makefile [$(subdir) = elf]
40046         (sysdep_routines, sysdep-rtld-routines): Don't add
40047         $(sysdep-dl-routines) to these.
40048         * sysdeps/ia64/Makefile: Likewise.
40049         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40050         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40051         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40052         Don't add dl-static to these; sysdep-dl-routines alone is enough.
40053         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40054         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40055         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40056         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40057         * sysdeps/powerpc/Makefile [$(subdir) = elf]
40058         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40059         these; sysdep-dl-routines alone is enough.
40061 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
40063         [BZ #17932]
40064         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40065         where multiplication results in zero and third argument is finite
40066         and nonzero.
40067         * math/auto-libm-test-in: Add more tests of fma.
40068         * math/auto-libm-test-out: Regenerated.
40070         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40071         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40072         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40073         (_FP_CMP_EQ): Likewise.
40074         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40076         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40077         extra argument CHECK_NAN.  Redefine as wrapper around
40078         _FP_EXTEND_CNAN.
40080 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
40082         * version.h (RELEASE): Set to "stable".
40083         (VERSION): Set to "2.21"
40084         * include/features.h (__GLIBC_MINOR__): Set to 21.
40086         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40088 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40089             Paul Eggert  <eggert@cs.ucla.edu>
40091         [BZ #16618]
40092         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40093         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40094         size in bytes. Store needed elements in wpmax. Use needed size
40095         in bytes for extend_alloca.
40097 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
40099         * manual/install.texi: Latest tested versions are GCC 4.9.2,
40100         binutls 2.25, and texinfo 5.2.
40101         * INSTALL: Regenerate.
40102         * sysdeps/nios2/configure: Regenerate.
40103         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40104         * manual/contrib.texi: Update.
40105         * po/be.po: Update.
40106         * po/bg.po: Update.
40107         * po/ca.po: Update.
40108         * po/cs.po: Update.
40109         * po/da.po: Update.
40110         * po/de.po: Update.
40111         * po/el.po: Update.
40112         * po/eo.po: Update.
40113         * po/es.po: Update.
40114         * po/fi.po: Update.
40115         * po/fr.po: Update.
40116         * po/gl.po: Update.
40117         * po/hr.po: Update.
40118         * po/hu.po: Update.
40119         * po/ia.po: Update.
40120         * po/id.po: Update.
40121         * po/it.po: Update.
40122         * po/ja.po: Update.
40123         * po/ko.po: Update.
40124         * po/lt.po: Update.
40125         * po/nb.po: Update.
40126         * po/nl.po: Update.
40127         * po/pl.po: Update.
40128         * po/pt_BR.po: Update.
40129         * po/ru.po: Update.
40130         * po/rw.po: Update.
40131         * po/sk.po: Update.
40132         * po/sl.po: Update.
40133         * po/sv.po: Update.
40134         * po/tr.po: Update.
40135         * po/uk.po: Update.
40136         * po/vi.po: Update.
40137         * po/zh_CN.po: Update.
40138         * po/zh_TW.po: Update.
40140         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40141         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40142         * sysdeps/hppa/dl-irel.h: Remove #warning.
40143         * sysdeps/hppa/entry.h: Provide prototype for
40144         __canonicalize_funcptr_for_compare and cast argument.
40145         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40146         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40147         * sysdeps/hppa/sotruss-lib.c: New file.
40148         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40149         (atomic_compare_and_exchange_val_acq): Use __typeof__.
40150         (atomic_compare_and_exchange_bool_acq): Likewise.
40151         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40152         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40154         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40155         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40156         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40158 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
40160         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40161         called function in non-PIC case.
40163 2015-01-31  David S. Miller  <davem@davemloft.net>
40165         * sysdeps/sparc/sparc32/bits/atomic.h
40166         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40167         unlock not after it.
40168         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40169         volatile register usage warnings from the compiler.
40171         * sysdeps/sparc/nptl/sem_init.c: Delete.
40172         * sysdeps/sparc/nptl/sem_post.c: Delete.
40173         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40174         * sysdeps/sparc/nptl/sem_wait.c: Delete.
40175         * sysdeps/sparc/sparc32/sem_init.c: New file.
40176         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40177         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40178         padding explicitly initialized.
40179         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40180         padding for in-semaphore spinlock.
40181         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40182         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40183         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40184         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40185         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40186         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40187         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40188         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40189         version.
40190         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40191         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40193 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
40195         [BZ #17801]
40196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40197         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40198         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40199         New.
40200         (index_AVX_Fast_Unaligned_Load): Likewise.
40201         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40202         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40203         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40204         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40205         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40206         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40207         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40208         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40209         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40211 2015-01-29  Andreas Schwab  <schwab@suse.de>
40213         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40215 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
40217         [BZ #17892]
40218         * nscd/nscd_stat.c (send_stats): Initialize DATA.
40220 2015-01-28  Martin Sebor  <msebor@redhat.com>
40222         * math/README.libm-test: Clarify. Add "How to read the test output."
40224 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
40226         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40227         Define to 0.
40229 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
40231         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40232         (__HAVE_64B_ATOMICS): Define to 0.
40234 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40236         [BZ #17885]
40237         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40238         value to set as new flag.
40240         [BZ #16576]
40241         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40242         and use _ARCH_PPCSQ instead.
40243         (__ieee754_sqrt): Likewise.
40244         (__ieee754_sqrtf): Likewise.
40245         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40246         _ARCH_PPCSQ is defined.
40247         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40248         fsqrt instruction.
40249         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40250         _ARCH_PPCSQ is defined.
40251         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40252         fsqrts instruction.
40253         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40255 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40257         * iconv/loop.c: Suppress array out of bound warning caused by GCC
40258         bug (GCC BZ #64739).
40260 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
40262         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40263         Mark _retval as used.
40264         (lll_futex_wake_unlock): Likewise.
40265         (lll_futex_timed_wait_requeue_pi): Likewise.
40267         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40268         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40269         register variables.
40271         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40272         libm_hidden_def.
40274         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40275         (__bswap_64): Mark as __always_inline.
40277 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
40279         [BZ #15378]
40280         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40281         when none of the search directories exist.
40283 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40285         [BZ #17869]
40286         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40287         power8 in .machine directive.
40289         [BZ #17868]
40290         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40291         set dependency from opd value.
40293 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40296         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40297         architecture.
40299 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40301         [BZ #17870]
40302         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40303         with uint64_t.
40304         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40305         (uint64_t) 1.
40306         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40307         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40308         Replace 1UL with (uint64_t) 1.
40309         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40310         int with uint64_t.
40312 2015-01-23  Roland McGrath  <roland@hack.frob.com>
40314         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40315         (if_freenameindex): Likewise.
40317         * resource/getrlimit64.c: Add missing libc_hidden_def.
40319 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
40321         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40322         __label__.
40323         (_FP_FMA): Likewise.
40324         (_FP_TO_INT_ROUND): Likewise.
40325         (_FP_FROM_INT): Likewise.
40327 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40329         [BZ #16418]
40330         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40331         Make code racy and cancel safe.
40333 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
40335         * sysdeps/arm/unwind-resume.h: Fix copyright year.
40336         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40337         attribution.
40339         * pwd/tst-getpw.c: Rewrite.
40341         [BZ #17702]
40342         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40343         (modules-names): Add moddummy1 and moddummy2.
40344         ($(objpfx)tst-rec-dlopen): Define.
40345         * dlfcn/moddummy1.c: New file.
40346         * dlfcn/moddummy2.c: New file.
40347         * dlfcn/tst-rec-dlopen.c: New file.
40348         * elf/dl-cache.c (_dl_load_cache_lookup):
40349         Return char*. Copy result with alloca/strcpy/strdup.
40350         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40351         returns char*. Free cached. If not saving realname
40352         free cached.
40353         * elf/dl-open.c (dl_open_worker): Do not assert that
40354         _r_debug->r_state is RT_CONSISTENT.
40355         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40356         returns char*.
40358 2015-01-21  Torvald Riegel  <triegel@redhat.com>
40359             Carlos O'Donell  <carlos@redhat.com>
40361         [BZ #12674]
40362         * nptl/sem_waitcommon.c: New file.
40363         * nptl/sem_wait.c: Include sem_waitcommon.c.
40364         (__sem_wait_cleanup, do_futex_wait): Remove.
40365         (__new_sem_wait): Adapt.
40366         (__new_sem_trywait): New function.
40367         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40368         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40369         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40370         (sem_timedwait): Adapt.
40371         * nptl/sem_post.c (__new_sem_post): Adapt.
40372         (futex_wake): New function.
40373         (__old_sem_post): Add release MO fence.
40374         * nptl/sem_open.c (sem_open): Adapt.
40375         * nptl/sem_init.c (__new_sem_init): Adapt.
40376         (futex_private_if_supported): New function.
40377         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40378         (__old_sem_getvalue): Add using previous code.
40379         * sysdeps/nptl/internaltypes.h: Adapt.
40380         * nptl/tst-sem13.c (do_test): Adapt.
40381         * nptl/tst-sem11.c (main): Adapt.
40382         * nptl/sem_trywait.c: Remove.
40383         * nptl/DESIGN-sem.txt: Remove.
40384         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40385         (gen-as-const-headers): Remove structsem.sym.
40386         * nptl/structsem.sym: Remove.
40387         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40388         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40389         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40390         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40391         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40392         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40393         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40394         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40395         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40396         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40397         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40398         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40399         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40400         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40401         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40402         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40403         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40404         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40405         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40406         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40407         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40408         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40410 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
40412         * INSTALL: Regenerated.
40414         * po/libc.pot: Regenerated.
40416 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
40417             Sandra Loosemore  <sandra@codesourcery.com>
40418             Andrew Jenner  <andrew@codesourcery.com>
40419             Joseph Myers  <joseph@codesourcery.com>
40420             Nathan Sidwell  <nathan@codesourcery.com>
40422         * NEWS: Mention new Nios II port.
40423         * sysdeps/nios2/Implies: New file.
40424         * sysdeps/nios2/Makefile: New file.
40425         * sysdeps/nios2/Subdirs: New file.
40426         * sysdeps/nios2/Versions: New file.
40427         * sysdeps/nios2/__longjmp.S: New file.
40428         * sysdeps/nios2/abort-instr.h: New file.
40429         * sysdeps/nios2/backtrace.c: New file.
40430         * sysdeps/nios2/bits/endian.h: New file.
40431         * sysdeps/nios2/bits/fenv.h: New file.
40432         * sysdeps/nios2/bits/link.h: New file.
40433         * sysdeps/nios2/bits/setjmp.h: New file.
40434         * sysdeps/nios2/bsd-_setjmp.S: New file.
40435         * sysdeps/nios2/bsd-setjmp.S: New file.
40436         * sysdeps/nios2/configure: New generated file.
40437         * sysdeps/nios2/configure.ac: New file.
40438         * sysdeps/nios2/crti.S: New file.
40439         * sysdeps/nios2/crtn.S: New file.
40440         * sysdeps/nios2/dl-init.c: New file.
40441         * sysdeps/nios2/dl-machine.h: New file.
40442         * sysdeps/nios2/dl-sysdep.h: New file.
40443         * sysdeps/nios2/dl-tls.h: New file.
40444         * sysdeps/nios2/dl-trampoline.S: New file.
40445         * sysdeps/nios2/gccframe.h: New file.
40446         * sysdeps/nios2/gmp-mparam.h: New file.
40447         * sysdeps/nios2/jmpbuf-offsets.h: New file.
40448         * sysdeps/nios2/jmpbuf-unwind.h: New file.
40449         * sysdeps/nios2/ldsodefs.h: New file.
40450         * sysdeps/nios2/libc-tls.c: New file.
40451         * sysdeps/nios2/libm-test-ulps: New file.
40452         * sysdeps/nios2/machine-gmon.h: New file.
40453         * sysdeps/nios2/math-tests.h: New file.
40454         * sysdeps/nios2/math_private.h: New file.
40455         * sysdeps/nios2/memusage.h: New file.
40456         * sysdeps/nios2/nptl/Makefile: New file.
40457         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40458         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40459         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40460         * sysdeps/nios2/nptl/pthreaddef.h: New file.
40461         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40462         * sysdeps/nios2/nptl/tls.h: New file.
40463         * sysdeps/nios2/preconfigure: New file.
40464         * sysdeps/nios2/s_fma.c: New file.
40465         * sysdeps/nios2/s_fmaf.c: New file.
40466         * sysdeps/nios2/setjmp.S: New file.
40467         * sysdeps/nios2/sfp-machine.h: New file.
40468         * sysdeps/nios2/sotruss-lib.c: New file.
40469         * sysdeps/nios2/stackguard-macros.h: New file.
40470         * sysdeps/nios2/stackinfo.h: New file.
40471         * sysdeps/nios2/start.S: New file.
40472         * sysdeps/nios2/sysdep.h: New file.
40473         * sysdeps/nios2/tls-macros.h: New file.
40474         * sysdeps/nios2/tst-audit.h: New file.
40475         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40476         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40477         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40478         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40479         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40480         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40481         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40482         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40483         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40484         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40485         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40486         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40487         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40488         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40489         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40490         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40491         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40492         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40493         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40494         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40495         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40496         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40497         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40498         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40499         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40500         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40501         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40502         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40503         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40504         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40505         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40506         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40507         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40508         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40509         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40510         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40511         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40512         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40513         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40514         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40515         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40516         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40517         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40518         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40520 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40522         [BZ #17844]
40523         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40524         (getutent): Use weak_alias in non SHARED case
40525         and default_symbol_version in SHARED case.
40526         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40527         (getutent_r, pututline): Likewise.
40528         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40529         (getutid): Likewise.
40530         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40531         (getutid_r): Likewise.
40532         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40533         (getutline): Likewise.
40534         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40535         (getutline_r): Likewise.
40536         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40537         (updwtmp): Likewise.
40539 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40541         [BZ #17848]
40542         * sysdeps/s390/s390-32/memcmp.S
40543         (memcmp_g5): Rename to __memcmp_g5.
40544         * sysdeps/s390/s390-32/memcpy.S
40545         (memcpy_g5): Rename to __memcpy_g5.
40546         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40547         (memcpy_mvcle) Rename to __memcpy_mvcle.
40548         * sysdeps/s390/s390-32/memset.S
40549         (memset_g5): Rename to __memset_g5.
40550         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40551         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40552         and use prefixed functions.
40553         * sysdeps/s390/s390-32/multiarch/memcmp.S
40554         (memcmp_z196): Rename to __memcmp_z196.
40555         (memcmp_z10): Rename to __memcmp_z10.
40556         (memcmp): Set alias to __memcmp_g5.
40557         (bcmp): Set alias to __memcmp_g5.
40558         * sysdeps/s390/s390-32/multiarch/memcpy.S
40559         (memcpy_z196): Rename to __memcpy_z196.
40560         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40561         (memcpy_z10): Rename to __memcpy_z10.
40562         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40563         (memcpy): Set alias to __memcpy_g5.
40564         * sysdeps/s390/s390-32/multiarch/memset.S
40565         (memset_z196): Rename to __memset_z196.
40566         Jump to __memset_mvcle instead of memset_mvcle.
40567         (memset_z10): Rename to __memset_z10.
40568         Jump to __memset_mvcle instead of memset_mvcle.
40569         (memset_mvcle) Rename to __memset_mvcle.
40570         (memset): Set alias to __memset_g5.
40571         * sysdeps/s390/s390-64/memcmp.S
40572         (memcmp_z900): Rename to __memcmp_z900.
40573         * sysdeps/s390/s390-64/memcpy.S
40574         (memcpy_z900): Rename to __memcpy_z900.
40575         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40576         (memcpy_mvcle) Rename to __memcpy_mvcle.
40577         * sysdeps/s390/s390-64/memset.S
40578         (memset_z900): Rename to __memset_z900.
40579         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40580         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40581         and use prefixed functions.
40582         * sysdeps/s390/s390-64/multiarch/memcmp.S
40583         (memcmp_z196): Rename to __memcmp_z196.
40584         (memcmp_z10): Rename to __memcmp_z10.
40585         (memcmp): Set alias to __memcmp_z900.
40586         (bcmp): Set alias to __memcmp_z900.
40587         * sysdeps/s390/s390-64/multiarch/memcpy.S
40588         (memcpy_z196): Rename to __memcpy_z196.
40589         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40590         (memcpy_z10): Rename to __memcpy_z10.
40591         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40592         (memcpy): Set alias to __memcpy_z900.
40593         * sysdeps/s390/s390-64/multiarch/memset.S
40594         (memset_z196): Rename to __memset_z196.
40595         Jump to __memset_mvcle instead of memset_mvcle.
40596         (memset_z10): Rename to __memset_z10.
40597         Jump to __memset_mvcle instead of memset_mvcle.
40598         (memset_mvcle) Rename to __memset_mvcle.
40599         (memset): Set alias to __memset_z900.
40601 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40603         [BZ #17748]
40604         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40605         __fesetenv instead of fesetenv.
40607 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40609         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40610         macro.
40612 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40614         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40615         regression on LE.
40617         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40618         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40619         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40620         strncmp-power8 object.
40621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40622         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40623         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40624         * NEWS: Update.
40626 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40627             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40629         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40630         trailing byte check.
40632 2015-01-13  David S. Miller  <davem@davemloft.net>
40634         * include/signal.h (__sigreturn): Guard with __USE_MISC.
40636 2015-01-13  Roland McGrath  <roland@hack.frob.com>
40638         * login/logout.c (logout): Use memset rather than bzero.
40639         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40640         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40641         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40642         (_gethtbyaddr): Likewise.
40643         * locale/programs/simple-hash.c (bcopy): Macro removed.
40645 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40647         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40648         Add strcmp-power8 object.
40649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40650         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40651         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40652         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40653         __strcmp_power8 implementation.
40654         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40655         * NEWS: Update.
40657         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40658         Add strncpy-power8 and stpncpy-power8 objects.
40659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40660         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40661         implementations.
40662         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40663         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40664         __stpncpy_power8 implementation.
40665         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40666         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40667         __strncpy_power8 implementation.
40668         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40669         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40670         * NEWS: Update.
40672         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40673         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40674         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40676         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40677         strncat-power8 object.
40678         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40679         __strcat_power8 implementation.
40680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40681         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40682         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40683         optimized strcat for power8.
40685         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40686         strcpy-power8 and stpcpy-power8 objects.
40687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40688         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40689         implementations.
40690         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40691         multiarch stpcpy implementation for POWER8.
40692         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40693         multiarch strcpy implementation for POWER8.
40694         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40695         __strcpy_power8 function.
40696         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40697         stpcpy for POWER8.
40698         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40699         strcpy for POWER8.
40700         * NEWS: Update.
40702 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
40704         [BZ #16009]
40705         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40706         weights and rules. Use do_xfrm_cached if data fits in cache,
40707         do_xfrm otherwise.  Moved former main loop to...
40708         * (do_xfrm_cached): New function.
40709         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40710         find_idx, find_position and stack_push.
40711         * (find_idx): New function.
40712         * (find_position): Likewise.
40713         * localedata/sort-test.sh: Added test run for do_xfrm.
40714         * localedata/xfrm-test.c (main): Added command line option
40715         -nocache to run the test with strings that are too large for
40716         the STRXFRM cache.
40718 2015-01-13  Torvald Riegel  <triegel@redhat.com>
40720         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40721         variable to lll_futex_wake call, not the value itself.
40723 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
40725         [BZ #17803]
40726         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40727         twom64.  Adjust value to 0x1p-64L.
40728         (__scalblnl): Only return standard underflowing result for K <=
40729         -64 not K <= -63; adjust exponent for underflowing result by 64
40730         not 63.
40731         * math/libm-test.inc (scalbn_test_data): Add more tests.
40732         (scalbln_test_data): Likewise.
40734         [BZ #17834]
40735         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40736         0x1p63L.
40737         (__scalblnl): Get new exponent of adjusted subnormal value from ES
40738         not HX.
40739         * math/libm-test.inc (scalbn_test_data): Add more tests.
40740         (scalbln_test_data): Likewise.
40742 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40743             Stefani Seibold  <stefani@seibold.net>
40745         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40746         (sysdep_routines): Add dl-vdso here, ...
40747         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40748         (sysdep_routines): ... not here.
40749         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40750         fallback when vDSO is not presented.
40751         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40752         Define with libc_hidden_proto/libc_hidden_data_def definitions.
40753         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40754         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40755         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40756         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40757         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40758         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40759         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40760         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40761         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
40762         fallback configurable symbol when vDSO is not available.
40763         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40764         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
40765         be able to redefine fallback symbol when vDSO is not available.
40766         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40767         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40769 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40771         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40772         (TLS_INIT_TP): Add tm_capable initialization.
40773         (TLS_DEFINE_INIT_TP): Likewise.
40774         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40775         TCB.
40776         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40777         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40778         calculation.
40779         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40780         transactoion is lock elision is built and TCB tm_capable is set.
40781         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40783         (INTERNAL_SYSCALL_NCS): Likewise.
40784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40785         (INTERNAL_SYSCALL_NCS): Likewise.
40786         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40788         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40789         for powerpc.
40790         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40791         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40792         and remove it for 32 bits case.
40793         [pthread_rwlock_t] (__rwelision): New field for lock elision.
40794         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40795         initialization.
40796         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40797         Disable lock elision with rdlocks if elision is not available.
40799         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40800         (sysdep_routines): Add lock elision objects.
40801         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40802         [pthread_mutex_t] (__spins): Rework to add lock elision field.
40803         [pthread_mutex_t] (__elision): Add field.
40804         [__PTHREAD_SPINS]: Adjust to init lock elision field.
40805         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40806         elision definitions for powerpc.
40807         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40808         implementation of lock elision for powerpc.
40809         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40810         implementation of timed lock elision for powerpc.
40811         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40812         implementation of trylock with lock elision for powerpc.
40813         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40814         implementaion of unlock for lock elision for powerpc.
40815         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40816         automatic enable lock elision for mutexes.
40817         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40818         transaction execution definitions for powerpc.
40819         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40820         definitions.
40821         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40822         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40823         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40824         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40825         * NEWS: Update.
40827 2015-01-09  Roland McGrath  <roland@hack.frob.com>
40829         * sysdeps/posix/shm-directory.c: Use <> rather than ""
40830         for #include of <shm-directory.h>.
40832 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
40834         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40835         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40837 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
40839         [BZ #17791]
40840         * NEWS: Mention bug fix.
40841         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40842         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40843         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40845 2015-01-09  Torvald Riegel <triegel@redhat.com>
40847         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40849 2015-01-09  Torvald Riegel <triegel@redhat.com>
40851         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40853 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40855         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40856         pointer and cast to uintptr_t.
40858 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40860         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40861         removed.
40862         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40864 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40866         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40867         of 0.
40869 2015-01-08  Roland McGrath  <roland@hack.frob.com>
40871         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40872         <nptl/pthreadP.h> instead.
40873         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40875         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40876         already defined.
40877         [__SIGRTMIN] (init): Function removed.
40878         [__SIGRTMIN] (initialized): Variable removed.
40879         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40880         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40881         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40882         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40883         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40884         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40885         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40886         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40887         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40888         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40889         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40890         * sysdeps/nptl/allocrtsig.c: New file.
40891         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40892         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40893         * sysdeps/generic/testrtsig.h: File removed.
40895         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40896         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40898         * nptl/nptl-init.c (pthread_functions): Conditionalize
40899         .ptr__nptl_setxid initialization on [SIGSETXID].
40901         * sysdeps/nptl/sys/procfs.h: New file.
40902         * nptl_db/Makefile (headers): Add it.
40903         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40905         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40906         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40907         * nptl/pthread_attr_setaffinity.c: Include it.
40908         * nptl/pthread_setattr_default_np.c: Likewise.
40909         * nptl/check-cpuset.h: New file.
40911 2015-01-08  Richard Henderson  <rth@redhat.com>
40913         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40914         (CFLAGS-tst-execstack-prog.c): Likewise.
40915         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40917 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
40918             Sandra Loosemore  <sandra@codesourcery.com>
40919             Andrew Jenner  <andrew@codesourcery.com>
40920             Joseph Myers  <joseph@codesourcery.com>
40921             Nathan Sidwell  <nathan@codesourcery.com>
40923         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40924         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40925         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40926         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40927         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40928         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40929         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40930         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40931         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40932         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40933         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40934         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40935         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40936         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40937         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40938         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40939         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40941 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40943         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40944         timespec struct member in syscall macro.
40945         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40946         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40947         first timeval struct member in syscall macro.
40948         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40950 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
40952         [BZ #17748]
40953         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40954         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40955         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40956         __feupdateenv and define as weak alias of __feupdateenv.  Use
40957         libm_hidden_weak.
40958         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40959         libm_hidden_def.
40960         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40961         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
40962         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40963         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40964         libm_hidden_def.
40965         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40966         __feupdateenv and define as weak alias of __feupdateenv.  Use
40967         libm_hidden_weak.
40968         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40969         libm_hidden_def.
40970         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40971         __feupdateenv and define as weak alias of __feupdateenv.  Use
40972         libm_hidden_weak.
40973         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40974         libm_hidden_def.
40975         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40976         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40977         (__feupdateenv): Likewise.
40978         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40979         __feupdateenv and define as weak alias of __feupdateenv.  Use
40980         libm_hidden_weak.
40981         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40982         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40983         libm_hidden_def.
40984         * sysdeps/tile/math_private.h (__feupdateenv): New inline
40985         function.
40986         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40987         libm_hidden_def.
40988         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40989         __feupdateenv instead of feupdateenv.
40990         (default_libc_feupdateenv_test): Likewise.
40991         (libc_feresetround_ctx): Likewise.
40993 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40995         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40996         prototype.
40998 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
41000         * posix/regcomp.c (parse_bracket_exp): Initialize type to
41001         COLL_SYM in a couple of places to avoid uninitialized variable
41002         wanings on tilegx gcc 4.8.2.
41004 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41006         * sysdeps/aarch64/strcpy.S: New file.
41007         * sysdeps/aarch64/stpcpy.S: New file.
41008         * NEWS: Updated.
41010 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41012         * sysdeps/aarch64/strrchr.S: New file.
41013         * NEWS: Updated.
41015 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
41017         [BZ #17658]
41018         * stdlib/setenv.c: Fix memory leak when setting large,
41019         duplicate string.
41021 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
41023         [BZ #17273]
41024         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41025         and tabs from buffer before parsing fstab entry.
41026         * misc/tst-mntent.c (main): Add test for mount entry with
41027         trailing spaces and tabs.
41029 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
41031         [BZ #17748]
41032         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
41033         * math/fesetround.c (fesetround): Rename to __fesetround and
41034         define as weak alias of __fesetround.  Use libm_hidden_weak.
41035         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41036         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41037         * sysdeps/arm/fesetround.c (fesetround): Likewise.
41038         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41039         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41040         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41041         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41042         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41043         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41044         __fesetround_inline.
41045         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41046         __fesetround_inline instead of __fesetround.
41047         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41048         __fesetround and define as weak alias of __fesetround.  Use
41049         libm_hidden_weak.  Call __fesetround_inline instead of
41050         __fesetround.
41051         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41052         __fesetround and define as weak alias of __fesetround.  Use
41053         libm_hidden_weak.
41054         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41055         Likewise.
41056         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41057         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41058         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41059         * sysdeps/tile/math_private.h (__fesetround): New inline function.
41060         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41061         __fesetround and define as weak alias of __fesetround.  Use
41062         libm_hidden_weak.
41063         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41064         __fesetround instead of fesetround.
41065         (default_libc_feholdexcept_setround): Likewise.
41066         (libc_feholdsetround_ctx): Likewise.
41067         (libc_feholdsetround_noex_ctx): Likewise.
41069         [BZ #17748]
41070         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41071         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41072         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41073         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41074         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41075         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41076         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41077         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41078         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41079         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41080         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41081         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41082         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41083         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41084         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41085         libm_hidden_def.
41086         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41087         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41088         Likewise.
41089         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41090         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41091         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41092         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41093         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41094         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41095         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41096         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41097         __fesetenv instead of fesetenv.
41098         (libc_feresetround_noex_ctx): Likewise.
41099         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41100         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41101         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41102         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41103         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41104         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41105         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41106         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41107         (__feupdateenv): Likewise.
41108         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41109         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41110         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41111         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41113 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41115         [BZ #17806]
41116         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41117         addresses have been freed.
41119 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41121         * resolv/res_init.c (__res_vinit): Improve comments about nserv
41122         and nservall.
41124 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
41126         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41127         Clean up check_pf allocation pattern. addresses
41129 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41131         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41132         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41133         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41134         * nptl/pthread_exit.c (__pthread_exit): Likewise.
41135         * nptl/pthread_join.c (pthread_join): Likewise.
41136         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41137         * sysdeps/posix/waitid.c (__waitid): Likewise.
41138         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41139         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41140         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41141         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41142         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41143         Likewise.
41144         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41145         (__libc_pread64): Likewise.
41146         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41147         (__libc_pwrite): Likewise.
41148         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41149         (__libc_pwrite64): Likewsie.
41150         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41151         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41152         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41153         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41154         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41155         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41156         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41158         Likewise.
41159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41160         (__libc_pread64): Likewise.
41161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41162         Likewise.
41163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41164         (__libc_pwrite64): Likewise.
41165         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41166         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41167         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41168         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41169         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41170         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41171         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41172         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41173         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41174         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41175         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41176         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41177         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41178         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41179         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41180         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41181         Likewise.
41183 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41185         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41186         (CFLAGS-test-double.c): Likewise.
41187         (CFLAGS-test-ldouble.c): Likewise.
41188         (CPPFLAGS-test-ifloat.c): Likewise.
41189         (CPPFLAGS-test-idouble.c): Likewise.
41190         (CPPFLAGS-test-ildoubl.c): Likewise.
41191         (CFLAGS-test-test-fenv.c): Remove variable.
41192         (CFLAGS-test-misc.c): Likewise.
41194 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
41196         [BZ #17797]
41197         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41198         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41199         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41200         CLOCKS_PER_SEC == 1000000.
41201         * time/clocktest.c (main): Replace %ld with %jd and cast to
41202         intmax_t.
41204 2015-01-05  Roland McGrath  <roland@hack.frob.com>
41206         * sysdeps/generic/unwind-resume.h: New file.
41207         * sysdeps/gnu/unwind-resume.c: Include it.
41208         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41209         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41210         argument list.
41211         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41212         global rather than static.
41213         (_Unwind_Resume): Update user.
41214         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41215         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
41216         rather than static.  Add __attribute__ ((cold)).
41217         (_Unwind_Resume, __gcc_personality_v0): Update callers.
41218         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41219         * sysdeps/arm/arm-unwind-resume.S: New file.
41220         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41221         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41222         * sysdeps/arm/Makefile [$(subdir) = csu]
41223         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41224         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41225         Add rt-arm-unwind-resume.
41226         [$(subdir) = nptl]
41227         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41228         Add pt-arm-unwind-resume.
41229         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41230         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41232 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41234         [BZ #17748]
41235         * include/fenv.h (__feholdexcept): Declare.  Use
41236         libm_hidden_proto.
41237         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41238         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
41239         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41240         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41241         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41242         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41243         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41244         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41245         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41246         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41247         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41248         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41249         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41250         (feholdexcept): Likewise.
41251         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41252         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41253         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41254         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41255         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41256         __feholdexcept instead of feholdexcept.
41257         (default_libc_feholdexcept_setround): Likewise.
41259 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41261         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41262         to avoid using stl/str to align destination.
41264 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41266         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41268 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41270         [BZ #17796]
41271         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41272         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41273         Define as weak alias not strong alias.
41275 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41277         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41278         bltzal with addiupc.
41279         (RTLD_START): Ditto.
41281 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
41283         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41284         for __vdso_* functions in declarations.
41285         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41286         definitions.
41287         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41288         INTERNAL_VSYSCALL): Use struct return types to check for error.
41290         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41291         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41292         function with cast from llround().
41293         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41294         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41295         Define.
41297 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41299         [BZ #17793]
41300         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41301         Define as weak alias not strong alias.
41303         [BZ #17635]
41304         * ctype/ctype-c99.c: New file.  isblank implementation moved from
41305         ...
41306         * ctype/ctype-extn.c: ... here.
41307         (__isblank_l): Move to ...
41308         * ctype/ctype-c99_l.c: ... here.  New file.
41309         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41310         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41311         Remove variable.
41312         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41313         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41314         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41315         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41316         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41318         [BZ #17777]
41319         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41320         (posix_fadvise64): Define as weak alias not strong alias.
41321         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41322         (posix_fallocate64): Likewise.
41323         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41324         Remove variable.
41325         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41326         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41327         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41328         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41329         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41331 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
41333         [BZ #16191]
41334         * NEWS: Mention bug fix.
41335         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41336         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41337         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41338         (HOST_STACK_END_ADDR): Likewise.
41340 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41342         [BZ #17748]
41343         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
41344         * math/fegetround.c (fegetround): Rename to __fegetround and
41345         define as weak alias of __fegetround.  Use libm_hidden_weak.
41346         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41347         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41348         * sysdeps/arm/fegetround.c (fegetround): Likewise.
41349         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41350         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41351         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41352         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41353         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41354         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41355         Undefine after rather than before function definition; use
41356         parentheses around function name in definition.
41357         (__fegetround): Also undefine macro after function definition.
41358         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41359         __fegetround and define as weak alias of __fegetround.  Use
41360         libm_hidden_weak.  Do not undefine as macro.
41361         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41362         Likewise.
41363         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41364         __fegetround and define as weak alias of __fegetround.  Use
41365         libm_hidden_weak.
41366         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41367         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41368         * sysdeps/tile/math_private.h (__fegetround): New inline function.
41369         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41370         __fegetround and define as weak alias of __fegetround.  Use
41371         libm_hidden_weak.
41372         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41373         __fegetround instead of fegetround.
41375         [BZ #17782]
41376         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41377         Condition macro definition on [__USE_MISC].
41379         [BZ #17781]
41380         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41381         (struct sigaction): Change type of sa_flags field to int.
41383         [BZ #17780]
41384         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41385         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41386         __glibc_reserved0.
41388         * nptl/version.c (banner): Use single year in copyright notice.
41390         * NEWS: Update copyright dates.
41391         * catgets/gencat.c (print_version): Likewise.
41392         * csu/version.c (banner): Likewise.
41393         * debug/catchsegv.sh: Likewise.
41394         * debug/pcprofiledump.c (print_version): Likewise.
41395         * debug/xtrace.sh (do_version): Likewise.
41396         * elf/ldconfig.c (print_version): Likewise.
41397         * elf/ldd.bash.in: Likewise.
41398         * elf/pldd.c (print_version): Likewise.
41399         * elf/sotruss.sh: Likewise.
41400         * elf/sprof.c (print_version): Likewise.
41401         * iconv/iconv_prog.c (print_version): Likewise.
41402         * iconv/iconvconfig.c (print_version): Likewise.
41403         * locale/programs/locale.c (print_version): Likewise.
41404         * locale/programs/localedef.c (print_version): Likewise.
41405         * login/programs/pt_chown.c (print_version): Likewise.
41406         * malloc/memusage.sh (do_version): Likewise.
41407         * malloc/memusagestat.c (print_version): Likewise.
41408         * malloc/mtrace.pl: Likewise.
41409         * manual/libc.texinfo: Likewise.
41410         * nptl/version.c (banner): Likewise.
41411         * nscd/nscd.c (print_version): Likewise.
41412         * nss/getent.c (print_version): Likewise.
41413         * nss/makedb.c (print_version): Likewise.
41414         * posix/getconf.c (main): Likewise.
41415         * scripts/test-installation.pl: Likewise.
41416         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41418 2015-01-02  Will Newton  <will.newton@linaro.org>
41420         * sysdeps/arm/armv7/configure: Removed.
41421         * sysdeps/arm/armv7/configure.ac: Likewise.
41423 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41425         * All files with FSF copyright notices: Update copyright dates
41426         using scripts/update-copyrights.
41427         * intl/plural.c: Regenerated.
41428         * locale/programs/charmap-kw.h: Likewise.
41429         * locale/programs/locfile-kw.h: Likewise.
41431 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41433         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41435 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41437         [BZ #17748]
41438         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41439         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41440         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41441         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41442         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41443         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41444         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41445         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41446         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41447         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41448         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41449         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41450         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41451         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41452         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41453         libm_hidden_def.
41454         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41455         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41456         Likewise.
41457         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41458         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41459         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41460         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41461         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41462         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41463         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41464         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41465         __fegetenv instead of fegetenv.
41466         (libc_feholdsetround_noex_ctx): Likewise.
41468 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41470         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41471         (Elf_MIPS_ABIFlags_v0): New structure.
41472         (EF_MIPS_FP64): Define.
41473         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41474         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41475         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41476         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41477         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41478         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41479         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41480         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41481         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41482         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41483         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41484         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41485         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41486         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41487         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41488         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41489         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41490         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41491         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41492         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41493         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41494         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41495         field.
41496         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41497         EF_MIPS_FP64.
41498         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41499         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41500         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41501         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41502         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41503         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41504         * sysdeps/mips/tst-abi-interlink.c: Likewise.
41505         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41506         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41507         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41508         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41509         record the current FP ABI extension.
41510         (mips-mode-switch): Define to show if kernel headers support mode
41511         switching.
41512         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41513         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41514         supported SYSV ABI version to 3.
41515         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41516         feature.
41518 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41519             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41521         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41522         path.
41523         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41525 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41527         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41528         __fegetround and redefine to call __fegetround.  Remove condition
41529         on [!__NO_MATH_INLINES].
41530         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41531         function.
41532         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41533         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41534         Remove macro.
41535         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41536         instead of <fenv_libc.h>.
41537         (__llrintl): Call fegetround instead of __fegetround.
41538         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41539         instead of <fenv_libc.h>.
41540         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41541         (__lrintl): Call fegetround instead of __fegetround.
41542         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41543         instead of <fenv_libc.h>.
41544         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41545         (__rintl): Call fegetround instead of __fegetround.
41547 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41549         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41550         arrays.
41552 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41554         [BZ #17775]
41555         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41556         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41557         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41559 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41561         * sysdeps/i386/tls-macros.h: Include <features.h>.
41562         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41563         (TLS_IE): Likewise.
41564         (TLS_LD): Likewise.
41565         (TLS_GD): Likewise.
41566         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41567         define for GCC >= 5.0.
41569 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41571         * math/test-fenv.c (test_single_exception, set_single_exc,
41572         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41573         feexcp_mask_test, feenable_test, fe_single_test): Add
41574         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41575         case where they are not used.
41576         * math/libm-test.inc: Likewise.
41577         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41578         unused in the absence of FP rounding/exception support.
41579         * stdio-common/tst-printf-round.c: Likewise.
41580         * stdlib/tst-strtod-round.c: Likewise.
41581         * stdlib/tst-strtod-underflow.c: Likewise.
41583 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41585         [BZ #17723]
41586         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41587         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41588         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41589         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41590         libm_hidden_weak.
41591         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41592         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41593         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41594         libm_hidden_def.
41595         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41596         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41597         libm_hidden_weak.
41598         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41599         Likewise.
41600         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41601         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41602         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41603         libm_hidden_weak.
41604         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41605         libm_hidden_def.
41606         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41607         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41608         (__feraiseexcept): Likewise.
41609         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41610         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41611         libm_hidden_weak.
41612         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41613         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41614         libm_hidden_def.
41615         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41616         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41617         Use libm_hidden_def.
41618         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41619         libm_hidden_def.
41620         (feraiseexcept): Define as weak not strong alias.  Use
41621         libm_hidden_weak.
41622         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41623         New inline function.  Factored out of ...
41624         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
41625         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41626         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41627         feraiseexcept.
41628         * math/w_acos.c (__acos): Likewise.
41629         * math/w_asin.c (__asin): Likewise.
41630         * math/w_ilogb.c (__ilogb): Likewise.
41631         * math/w_j0.c (y0): Likewise.
41632         * math/w_j1.c (y1): Likewise.
41633         * math/w_jn.c (yn): Likewise.
41634         * math/w_log.c (__log): Likewise.
41635         * math/w_log10.c (__log10): Likewise.
41636         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41637         * sysdeps/aarch64/fpu/math_private.h
41638         (libc_feupdateenv_test_aarch64): Likewise.
41639         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41640         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41641         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41642         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41643         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41644         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41645         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41646         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41647         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41648         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41650 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41652         [BZ #17732]
41653         * io/test-utime.c (main): Replace %ld with %jd and cast to
41654         intmax_t.
41655         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41656         * nptl/tst-mutex5.c: Include <stdint.h>.
41657         (do_test): Replace %ld with %jd and cast to intmax_t.
41658         * posix/tst-regex.c (run_test): Likewise.
41659         (run_test_backwards): Likewise.
41660         * rt/tst-clock.c: Include <stdint.h>.
41661         (clock_test): Replace %ld with %jd and cast to intmax_t.
41662         * rt/tst-cpuclock1.c: Include <stdint.h>.
41663         (do_test): Replace %lu with %ju and cast to uintmax_t.
41664         * rt/tst-cpuclock2.c: Include <stdint.h>.
41665         (do_test): Replace %lu with %ju and cast to uintmax_t.
41666         * rt/tst-mqueue1.c: Include <stdint.h>.
41667         (check_attrs): Replace %ld with %jd and cast to intmax_t.
41668         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41669         intmax_t.
41670         * rt/tst-mqueue4.c (do_test): Likewise.
41671         * rt/tst-timer4.c: Include <stdint.h>.
41672         (check_ts): Replace %ld with %jd and cast to intmax_t.
41673         (do_test): Likewise.
41674         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41675         and cast to intmax_t.
41676         * sysdeps/pthread/tst-timer.c (main): Likewise.
41677         * time/clocktest.c (main): Likewise.
41678         * time/tst-posixtz.c (do_test): Likewise.
41679         * timezone/tst-timezone.c (main): Likewise.
41681 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41682             H.J. Lu  <hongjiu.lu@intel.com>
41684         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41685         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41686         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41687         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41688         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41689         version if bit_Fast_Unaligned_Load is set.
41690         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41691         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41692         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41693         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41694         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41695         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41696         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41697         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41698         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41699         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41700         to 4.
41701         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41702         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41703         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41704         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41706 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
41708         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41709         instead of #if to avoid a Wundef warning.
41710         * stdlib/tst-limits.c (do_test): Likewise.
41712         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41713         parallel other exception macros.
41714         (fegetenv): Convert from macro to extern inline so that it applies
41715         retroactively to inline functions already seen by the compiler.
41716         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41718         * posix/Makefile (before-compile): Use $(objpfx) for
41719         posix-conf-vars-def.h.
41721 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41723         * posix/getconf.c (main): Use size_t for type of I.
41724         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41725         NSPEC.
41727         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41728         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41729         * posix/posix-envs.def: Likewise.
41730         * sysdeps/posix/sysconf.c: Likewise.
41731         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41732         (specs): Remove array.
41733         * scripts/gen-posix-conf-vars.awk: Support generation of specs
41734         array.
41736         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41737         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41738         (__sysconf): Use CONF_IS_* macros.
41740         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41741         ($(objpfx)posix-conf-vars-def.h): New target.
41742         * posix/posix-conf-vars.list: New file.
41743         * posix/posix-conf-vars.h: New file.
41744         * posix/confstr.c: Include posix-conf-vars.h.
41745         (confstr): Use CONF_IS_* macros.
41746         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
41747         CONF_IS_* macros.
41748         * scripts/gen-posix-conf-vars.awk: New file.
41750 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
41752         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41753         fegetround): Add no-op macros to avoid linknamespace issues.
41755         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41756         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41758         * sysdeps/unix/sysv/linux/tile/sysdep.h
41759         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41760         assembly-specific section to avoid a redefinition warning.
41762         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41763         long before casting to pointer to avoid a cast warning.
41765 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
41767         * sysdeps/tile/tilegx/Implies: New file.
41769 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
41771         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41773 2014-12-23  Florian Weimer  <fweimer@redhat.com>
41775         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41777 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41779         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41780         not define.
41781         * sysdeps/unix/sysv/linux/utimes.c: Do not include
41782         <kernel-features.h>.
41783         (__utimes) [__NR_utimes]: Make code unconditional.
41784         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41785         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41786         (__ASSUME_UTIMES): Do not undefine.
41787         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41788         (__ASSUME_UTIMES): Likewise.
41789         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41790         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41791         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41792         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41794 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41796         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41798 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
41800         [BZ #17747]
41801         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41802         alias to weak alias for j0l, y0l.
41803         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41804         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41806         [BZ #17746]
41807         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41808         conversion.
41810 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41812         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41813         to zero if not already defined.
41815 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41817         [BZ #17724]
41818         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41819         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
41820         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
41821         (char *) casts added.
41822         * sysdeps/ieee754/k_standardf.c: New file.
41823         * sysdeps/ieee754/k_standardl.c: Likewise.
41824         * math/Makefile (libm-support): Remove k_standard.
41825         (libm-calls): Add k_standard.
41827 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41829         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41830         Optimize to avoid an unnecessary FPCR read.
41832 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41834         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41835         Optimize to reduce FPCR/FPSR accesses.
41837 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41839         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41840         Call libc_fetestexcept_aarch64.
41842 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41844         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41845         Call libc_fesetround_aarch64.
41847 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41849         [BZ #17733]
41850         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41851         (__bind): Do not define as weak alias.
41852         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41853         define.
41854         (__getsockname): Do not define as weak alias.
41856 2014-12-22  Will Newton  <will.newton@linaro.org>
41858         * manual/install.texi: Document that we require bison 2.7
41859         or above.
41860         * INSTALL: Regenerate.
41861         * configure.ac: Use AC_CHECK_PROG_VER instead of
41862         AC_PATH_PROG when checking for bison and check for
41863         version 2.7 or above.
41864         * configure: Regenerate.
41866 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
41868         [BZ #17745]
41869         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41870         * sysdeps/tile/ffsll.c (ffsll): To here.
41872         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41874 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41876         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41877         if not defined.
41878         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41879         definition.
41880         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41881         hidden ___tls_get_addr.
41882         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41883         hidden __tls_get_addr.
41884         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41885         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41886         Likewise.
41888 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41890         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41891         _dl_init call.
41893 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41895         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41896         from "call _dl_init@PLT".
41897         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41899 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
41901         * manual/search.texi: (Array Sort Function): Clarify stable sorting
41902         guarantees.
41904 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
41906         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41908 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
41910         [BZ #17744]
41911         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41912         strnlen.
41914 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
41916         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41917         of multu on MIPSr6.
41918         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41919         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41920         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41921         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41922         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41924 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
41926         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41927         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41928         (PTR_SUBU): Use subu for mips32r6/mips64r6.
41929         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41930         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41931         mips32r6/mips64r6.
41932         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41934 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
41936         * string/strncat.c (STRNCAT): Simplify implementation.
41938 2014-12-19  David S. Miller  <davem@davemloft.net>
41940         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41941         access the quad as both a long double and as a series of 4 words.
41943         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41944         link_map->l_info array access.
41946 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
41948         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41950         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41951         * math/atest-exp2.c (TIMEOUT): Likewise.
41952         * math/atest-sincos.c (TIMEOUT): Likewise.
41954 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41956         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41957         -Wno-error with -fno-builtin-lround.
41959 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41961         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41962         Contains futex constants and functions moved over from ...
41963         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
41964         <lowlevellock-futex.h>.
41965         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41966         (lll_timedwait_tid): Add comments and parentheses around macro
41967         arguments.
41969 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41971         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41972         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
41973         (__lll_private_flag): Remove.
41974         (lll_futex_wait): Likewise.
41975         (lll_futex_timed_wait): Likewise.
41976         (lll_futex_wake): Likewise.
41977         (lll_futex_requeue): Likewise.
41978         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41979         (__lll_timedwait_tid): Spell out argument names.
41980         (lll_timedwait_tid): Add comments and parentheses around macro
41981         arguments.
41982         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41983         LLL_SHARED and LLL_PRIVATE usable from assembly code.
41985 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41987         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41988         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41989         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41990         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41991         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41992         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41993         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41994         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41995         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41996         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41997         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41998         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41999         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42000         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42001         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42002         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42003         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42004         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42005         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42007 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42009         * sysdeps/x86_64/x32/Makefile: New file.
42011 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42013         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42014         1L with (mp_limb_t) 1.
42016 2014-12-17  Roland McGrath  <roland@hack.frob.com>
42018         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42019         * nptl/libc_pthread_init.c: ... here.
42020         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42021         * nptl/register-atfork.c: ... here.
42023         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42024         Use pthread_sigmask rather than INTERNAL_SYSCALL.
42025         Use assert_perror to check its return value.
42026         (__gai_create_helper_thread): Likewise.
42028         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42030         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42032 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
42034         [BZ #17725]
42035         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42036         __profil_counter.
42037         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42038         Likewise.
42039         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42040         Likewise.
42041         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42042         Likewise.
42043         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42044         (profil_counter): Likewise.
42045         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42046         (profil_counter): Likewise.
42047         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42048         Likewise.
42049         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42050         Likewise.
42051         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42052         (profil_counter): Likewise.
42053         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42054         Likewise.
42055         [!__profil_counter] (profil_counter): Define as weak alias of
42056         __profil_counter.
42057         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42058         (profil_counter): Rename to __profil_counter.
42059         [!__profil_counter] (profil_counter): Define as weak alias of
42060         __profil_counter.
42061         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42062         (profil_counter): Rename to __profil_counter.
42063         [!__profil_counter] (profil_counter): Define as weak alias of
42064         __profil_counter.
42065         * sysdeps/posix/profil.c: Update comment referring to
42066         profil_counter.
42067         (__profil): Use __profil_counter instead of profil_counter.
42068         * sysdeps/posix/sprofil.c (profil_counter): Rename to
42069         __profil_counter.  Use __profil_counter_ushort and
42070         __profil_counter_uint in definitions.
42071         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42072         instead of profil_counter_uint and profil_counter_ushort.
42074         [BZ #17722]
42075         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42076         define as weak alias of __inet_makeaddr.
42077         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42078         as weak alias of __inet_addr.
42079         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42080         as weak alias of __inet_pton.  Use libc_hidden_weak.
42081         * include/arpa/inet.h (__inet_pton): Declare.  Use
42082         libc_hidden_proto.
42083         (inet_makeaddr): Don't use libc_hidden_proto.
42084         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
42085         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42086         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
42087         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42088         Remove variable.
42089         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42090         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42092 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
42094         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42096 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42098         * stdio-common/bug-vfprintf-nargs.c (do_test):
42099         Cast value to intptr_t to avoid format warning
42100         for usage with PRIdPTR printing macro.
42102 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42104         * libio/tst-widetext.c (do_test):
42105         Use format type %td instead of %Zd for ptrdiff_t
42106         in order to avoid format warning.
42108 2014-12-17  Andreas Schwab  <schwab@suse.de>
42110         * nscd/mem.c (gc): Add size_t cast to match printf format.
42112 2014-12-16  Roland McGrath  <roland@hack.frob.com>
42114         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42115         (init): Apply PTR_MANGLE to pointers before storing them.
42116         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42117         before using them.
42119 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
42121         [BZ #17719]
42122         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42123         define as weak alias of __memrchr.
42124         (__memrchr): Do not define as strong alias of memrchr.
42125         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42126         Remove variable.
42127         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42128         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42129         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42131         [BZ #17717]
42132         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42133         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
42134         (if_indextoname): Rename to __if_indextoname and define as weak
42135         alias of __if_indextoname.  Use libc_hidden_weak.
42136         (if_freenameindex): Rename to __if_freenameindex and define as
42137         weak alias of __if_freenameindex.
42138         (if_nameindex): Rename to __if_nameindex and define as weak alias
42139         of __if_nameindex.
42140         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42141         __if_nametoindex and define as weak alias of __if_nametoindex.
42142         Use libc_hidden_weak.
42143         (if_freenameindex): Rename to __if_freenameindex and define as
42144         weak alias of __if_freenameindex.
42145         (if_nameindex): Rename to __if_nameindex and define as weak alias
42146         of __if_nameindex.
42147         (if_indextoname): Rename to __if_indextoname and define as weak
42148         alias of __if_indextoname.  Use libc_hidden_weak.
42149         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42150         __if_nametoindex and define as weak alias of __if_nametoindex.
42151         Use libc_hidden_weak.
42152         (if_freenameindex): Rename to __if_freenameindex and define as
42153         weak alias of __if_freenameindex.  Use libc_hidden_weak.
42154         (if_nameindex_netlink): Use __if_freenameindex instead of
42155         if_freenameindex.
42156         (if_nameindex): Rename to __if_nameindex and define as weak alias
42157         of __if_nameindex.  Use libc_hidden_weak.
42158         (if_indextoname): Rename to __if_indextoname and define as weak
42159         alias of __if_indextoname.  Use libc_hidden_weak.
42160         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42161         libc_hidden_proto.
42162         [!_ISOMAC] (__if_freenameindex): Likewise.
42163         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42164         if_nametoindex.
42165         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42166         variable.
42167         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42168         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42169         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42170         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42171         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42172         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42173         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42175         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42176         Remove variable.
42177         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42178         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42180 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42182         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42183         subscript above bounds'
42185         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42186         bounds.
42188 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
42190         * libio/tst-fopenloc.c: Use test-skeleton.c.
42192         * stdlib/tst-bsearch.c: Use test-skeleton.c.
42193         (entry): Rename to ITEM.
42194         (do_test, comp): Adjust.
42196         * stdio-common/tst-fseek.c: Use test-skeleton.c.
42198 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42200         * string/tester.c: Include <libc-internal.h>.
42201         (test_memset): Ignore -Wmemset-transposed-args.
42203 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42205         * misc/tst-mntent2.c (do_test): Fix warning.
42207 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42209         * elf/tst-unique4lib.cc(a): Mark as used.
42211 2014-12-16  Florian Weimer  <fweimer@redhat.com>
42213         [BZ #17630]
42214         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42215         names.
42217 2014-12-16  Allan McRae  <allan@archlinux.org>
42219         * stdio-common/Makefile (tests): Re-add bug26.
42221 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
42223         [BZ #17657]
42224         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42225         static array.
42227 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
42229         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42230         (__lll_lock_wait): Likewise.
42231         (__lll_timedlock_wait): Likewise.
42232         (__lll_timedwait_tid): Likewise.
42233         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42234         (__lll_robust_timedlock_wait): Likewise.
42235         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42236         (lll_cond_trylock): Likewise.
42237         (__lll_lock): Likewise.
42238         (__lll_robust_lock): Likewise.
42239         (__lll_cond_lock): Likewise.
42240         (lll_robust_cond_lock): Likewise.
42241         (__lll_timedlock): Likewise.
42242         (__lll_robust_timedlock): Likewise.
42243         (__lll_unlock): Likewise.
42244         (__lll_robust_unlock): Likewise.
42245         (lll_wait_tid): Likewise.
42246         (lll_timedwait_tid): Likewise.
42248 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42250         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42252 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42254         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42256 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42258         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42259         * stdio-common/tst-sprintf.c: Likewise.
42261 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42263         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42265 2014-12-15  Jeff Law  <law@redhat.com>
42267         [BZ #16617]
42268         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42269         on the heap.  (CVE-2012-3406)
42270         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42271         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
42272         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42274 2014-12-15  Will Newton  <will.newton@linaro.org>
42276         * manual/install.texi: Bump required version of texinfo
42277         to 4.7 from 4.5.
42278         * INSTALL: Regenerated.
42279         * configure.ac: Check for makeinfo version 4.7 and above.
42280         * configure: Regenerated.
42282 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42284         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42285         PREFIX, string constant to insert between directory and name.
42286         * sysdeps/posix/shm_open.c: Update caller.
42287         * sysdeps/posix/shm_unlink.c: Likewise.
42288         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42289         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42290         (SEM_SHM_PREFIX): New macro.
42291         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42292         [$(have-thread-library) = no].
42293         * nptl/Makefile (libpthread-routines): Add shm-directory.
42294         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42295         * sysdeps/nptl/shm-directory.h: New file.
42296         * sysdeps/posix/shm-directory.c
42297         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42298         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42299         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42300         INTERNAL_SYSCALL.
42301         (__where_is_shmfs): Function removed.
42302         (mountpoint, defaultmount, defaultdir, __namedsem_once):
42303         Variables removed.
42304         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42305         Use SHM_GET_NAME.
42306         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
42308         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42309         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42310         unconditional for use inside libpthread.
42311         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42313 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42315         * nptl/pthread_getaffinity.c: New file.
42316         * nptl/pthread_setaffinity.c: New file.
42317         * nptl/pthread_getname.c: New file.
42318         * nptl/pthread_setname.c: New file.
42320         * nptl/pthread_create.c (START_THREAD_DEFN)
42321         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42323 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42324             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42326         * resolv/res_send.c (send_vc): Disable warning resplen may
42327         be used uninitialized.
42329 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42331         * nptl/tst-mutex6.c
42332         (ATTR_NULL): New define checks ATTR against NULL.
42333         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42334         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42336 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
42338         [BZ #17581]
42339         * malloc/hooks.c
42340         (mem2mem_check): Revert my previous change.
42341         (malloc_check_get_size): Revert my previous change.
42342         (mem2chunk_check): Revert my previous change.
42344 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42346         * sysdeps/posix/shm-directory.c: New file.
42347         * sysdeps/posix/shm-directory.h: New file.
42348         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42349         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42350         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
42351         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42352         Transmute EPERM to EACCES.
42353         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42354         from ...
42355         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
42356         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42358 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42360         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42361         pointer and cast to uintptr_t.
42362         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42363         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42364         Add cast to avoid warning.
42365         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42367 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42369         * nptl/semaphore.h: Move to ...
42370         * sysdeps/pthread/semaphore.h: ... here.
42371         * Makefile (installed-headers): Change nptl/semaphore.h to
42372         sysdeps/pthread/semaphore.h.
42374 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42376         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42377         generated error format strings.
42379         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42380         -Wformat-extra-args warnings for scanf formats.
42381         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42382         test of zero-length format (duh).
42383         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42384         corner-case scanf format test.
42385         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42386         generated fprintf format string.
42387         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42388         corner-case sprintf format tests.
42389         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42390         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42391         -Wformat-extra-args warnings throughout.
42392         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42393         (CFLAGS-scanf4.c): Likewise.
42394         (CFLAGS-scanf7.c): Likewise.
42395         (CFLAGS-tst-sprintf.c): Likewise.
42396         (CFLAGS-tst-printf.c): Likewise.
42397         (CFLAGS-tst-printfsz.c): Likewise.
42399 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42401         * include/cpio.h: New file.
42402         * include/fmtmsg.h: Likewise.
42404         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
42405         corresponding format argument to size_t.
42406         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
42407         arguments.
42408         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
42409         corresponding format argument to size_t.
42410         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
42411         arguments.
42412         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
42413         corresponding format argument to size_t.
42414         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42415         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42416         (CFLAGS-tst-mbswcs2.c): Likewise.
42417         (CFLAGS-tst-mbswcs3.c): Likewise.
42418         (CFLAGS-tst-mbswcs4.c): Likewise.
42419         (CFLAGS-tst-mbswcs5.c): Likewise.
42420         (CFLAGS-tst-trans.c): Likewise.
42422 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42424         * posix/regexbug1.c (main): Use "%s" format with regerror results,
42425         rather than assuming they won't contain any '%'s.
42427 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
42429         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42430         inhibit_loop_to_libcall to avoid recursive calls.
42431         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42432         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42434 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42436         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42437         prototype.
42439 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42441         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42442         integer value instead of boolean.
42444 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42446         * malloc/malloc.c: Fix powerof2 check.
42448 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42450         * locale/programs/locfile.h (maybe_swap_uint32):
42451         Remove inline and add unused attribute.
42453 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42455         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42456         Truncating assembler expression to a .long expression.
42458 2014-12-11  Andreas Schwab  <schwab@suse.de>
42460         * elf/rtld.c (struct map_args): Constify str member.
42461         (do_preload): Constify fname argument.
42463 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42465         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42466         constants definition.
42468 2014-12-11  Andreas Schwab  <schwab@suse.de>
42470         [BZ #16657]
42471         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42472         FORCE_ELISION instead of DO_ELISION.
42473         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42474         Remove.
42475         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42476         Likewise.
42478         * iconvdata/gconv-modules: Remove duplicate entry.
42480 2014-12-11  Will Newton  <will.newton@linaro.org>
42482         Merge gettext 0.19.3 into intl/.
42484         This involves a number of cosmetic changes to comments
42485         and ANSI function definitions and prototypes throughout
42486         all the files. The gettext copyright header is used but
42487         with the date ranges taken from the glibc copy.
42489         * NEWS: Add gettext merge to 2.21.
42490         * intl/bindtextdom.c: Switch to gettext copyright.
42491         Use ANSI definitions and prototypes.
42492         Use gl_* locking primitives rather than __libc_* ones.
42493         Use __builtin_expect rather than __glibc_likely/unlikely.
42494         * intl/dcgettext.c: Switch to gettext copyright.
42495         Use ANSI definitions and prototypes.
42496         * intl/dcigettext.c: Switch to gettext copyright.
42497         Use ANSI definitions and prototypes.
42498         (INTDIV0_RAISES_SIGFPE): New define.
42499         Use gl_* locking primitives rather than __libc_* ones.
42500         Include eval-plural.h instead of plural-eval.c.
42501         Use __builtin_expect rather than __glibc_likely/unlikely.
42502         * intl/dcngettext.c: Switch to gettext copyright.
42503         Use ANSI definitions and prototypes.
42504         * intl/dgettext.c: Likewise.
42505         * intl/dngettext.c: Likewise.
42506         * intl/plural-eval.c: Renamed to...
42507         * intl/eval-plural.h: ...this.
42508         * intl/explodename.c: Switch to gettext copyright.
42509         Use ANSI definitions and prototypes.
42510         (_nl_explode_name): Use strchr instead of __rawmemchr.
42511         * intl/finddomain.c: Switch to gettext copyright.
42512         Use ANSI definitions and prototypes.
42513         Use gl_* locking primitives rather than __libc_* ones.
42514         (_nl_find_domain): Use malloc rather than alloca for
42515         allocation of temporary locale name.
42516         * intl/gettext.c: Switch to gettext copyright.
42517         Use ANSI definitions and prototypes.
42518         * intl/gettextP.h: Switch to gettext copyright.
42519         Use ANSI definitions and prototypes.
42520         Use gl_* locking primitives rather than __libc_* ones.
42521         * intl/gmo.h: Switch to gettext copyright.
42522         (struct sysdep_string): Move struct segment_pair outside of
42523         struct definition.
42524         * intl/hash-string.c: Use ANSI definitions and prototypes.
42525         * intl/hash-string.h: Switch to gettext copyright.
42526         Use ANSI definitions and prototypes.
42527         * intl/l10nflist.c: Switch to gettext copyright.
42528         Use ANSI definitions and prototypes.
42529         (_nl_normalize_codeset): Avoid integer overflow.
42530         * intl/loadinfo.h: Switch to gettext copyright.
42531         Use ANSI definitions and prototypes.
42532         (LIBINTL_DLL_EXPORTED): New define.
42533         (PATH_SEPARATOR): New define.
42534         * intl/loadmsgcat.c: Switch to gettext copyright.
42535         * intl/localealias.c: Switch to gettext copyright.
42536         Use ANSI definitions and prototypes.
42537         (_nl_expand_alias): Use PATH_SEPARATOR.
42538         * intl/ngettext.c: Switch to gettext copyright.
42539         Use ANSI definitions and prototypes.
42540         * intl/plural-exp.c: Likewise.
42541         * intl/plural-exp.h: Switch to gettext copyright.
42542         Use ANSI definitions and prototypes.
42543         (struct expression): Move definition of enum operator outside
42544         of struct definition.
42545         * intl/plural.c: Regenerate.
42546         * intl/plural.y: Switch to gettext copyright.
42547         Use ANSI definitions and prototypes.
42548         Port to bison 3.0.
42549         * intl/textdomain.c: Switch to gettext copyright.
42550         Use ANSI definitions and prototypes.
42551         Use gl_* locking primitives rather than __libc_* ones.
42553 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
42555         * debug/warning-nop.c: Add used atrribute.
42557 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42559         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42561         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42562         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42563         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42565 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42566             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42568         [BZ #17634]
42569         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42570         Undefine after defining function.  Define as weak alias of
42571         __wcschr.  Use libc_hidden_weak.
42572         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42573         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42574         (libc_hidden_def): Also define __GI___wcschr alias.
42575         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42576         __wcschr and define as weak alias of __wcschr.
42577         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42578         __wcschr.
42579         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42580         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42581         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42582         libc_hidden_weak.  Do not use libc_hidden_def.
42583         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42584         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42585         __GI___wcschr alias.
42586         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42587         [IS_IN (libc)] (wcschr): Define as macro expanding to
42588         __redirect_wcschr.
42589         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42590         [IS_IN (libc)] (__wcschr_power6): Likewise.
42591         [IS_IN (libc)] (__wcschr_power7): Likewise.
42592         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42593         instead of wcschr.
42594         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42595         __libc_wcschr.
42596         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42597         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42598         __wcschr and define as weak alias of __wcschr.  Use
42599         libc_hidden_builtin_def.
42600         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42601         as weak alias of __wcschr.  Use libc_hidden_weak.
42602         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42603         wcschr.
42604         * time/era.c (_nl_init_era_entries): Likewise.
42605         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42606         variable.
42607         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42608         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42610 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42612         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42613         format for long int variable.
42615 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42617         [BZ #10672]
42618         * manual/search.texi: (Array Sort Function): Remove claim how to make
42619         qsort stable.
42621 2014-12-10  Andreas Schwab  <schwab@suse.de>
42623         [BZ #12847]
42624         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42625         user-controlled locks.
42627 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
42629         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42630         register.
42632 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42634         * configure.ac (--disable-werror): New configure option.
42635         (enable_werror): New AC_SUBST.
42636         * configure: Regenerated.
42637         * config.make.in (enable-werror): New variable.
42638         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42639         -Wno-error=undef.
42640         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42641         * manual/install.texi (Configuring and compiling): Document
42642         --disable-werror.
42643         * INSTALL: Regenerated.
42644         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42645         (CFLAGS-tst-chk2.c): Likewise.
42646         (CFLAGS-tst-chk3.c): Likewise.
42647         (CFLAGS-tst-chk4.cc): Likewise.
42648         (CFLAGS-tst-chk5.cc): Likewise.
42649         (CFLAGS-tst-chk6.cc): Likewise.
42650         (CFLAGS-tst-lfschk1.c): Likewise.
42651         (CFLAGS-tst-lfschk2.c): Likewise.
42652         (CFLAGS-tst-lfschk3.c): Likewise.
42653         (CFLAGS-tst-lfschk4.cc): Likewise.
42654         (CFLAGS-tst-lfschk5.cc): Likewise.
42655         (CFLAGS-tst-lfschk6.cc): Likewise.
42657         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42658         (main): Disable -Wdeprecated-declarations around calls to
42659         register_printf_function.
42661         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42662         (do_test): Disable -Wdiv-by-zero around some calls to
42663         fwrite_unlocked and fread_unlocked.
42665         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42666         (DIAG_POP_NEEDS_COMMENT): Likewise.
42667         (_DIAG_STR1): Likewise.
42668         (_DIAG_STR): Likewise.
42669         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42670         * stdio-common/bug21.c: Include <libc-internal.h>.
42671         (do_test): Disable -Wformat around call to sscanf.
42672         * stdio-common/scanf14.c: Include <libc-internal.h>.
42673         (main): Disable -Wformat around some calls to scanf functions.
42675 2014-12-09  Torvald Riegel  <triegel@redhat.com>
42677         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42679 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42681         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42682         stack variable alignment.
42684 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
42686         [BZ #17682]
42687         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42688         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42689         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42690         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42691         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42692         __getrlimit instead of getrlimit.
42693         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42694         __gettimeofday instead of gettimeofday.
42695         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42696         Likewise.
42697         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42698         Likewise.
42699         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42700         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42701         Remove variable.
42702         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42703         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42705 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42707         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42708         for wide-character tests.
42710 2014-12-04  Roland McGrath  <roland@hack.frob.com>
42712         * io/openat64.c: #include <libc-internal.h>
42713         (__openat64): Prototypify.  Use ignore_value on MODE.
42714         * io/openat.c: Likewise.
42715         * misc/reboot.c: #include <libc-internal.h>
42716         (reboot): Prototypify.  Use ignore_value on HOWTO.
42717         * misc/ptrace.c: #include <libc-internal.h>
42718         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
42720 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
42722         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42723         XPG4, UNIX98 and XOPEN2K.
42724         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42725         Remove variable.
42726         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42728 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42730         * libio/fileops.c: Use ISO C style for function definitions.
42731         * libio/iofopen.c: Likewise.
42732         * libio/wfileops.c: Likewise.
42734         [BZ #17653]
42735         * libio/fileops.c (_IO_new_file_underflow): Unset cached
42736         offset on EOF.
42737         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42738         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42739         (fgets_func): Function pointer to fgets and fgetws.
42740         (do_ftell_test): Add test to verify ftell value after read
42741         EOF.
42742         (do_test): Set fgets_func.
42744         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42745         O_TRUNC flag for w and w+ modes.
42746         (do_rewind_test): Likewise.
42747         (do_ftell_test): Likewise.
42748         (do_write_test): Likewise.
42750         [BZ #17647]
42751         * libio/fileops.c (do_ftell): Seek only when there are
42752         unflushed writes.
42753         * libio/wfileops.c (do_ftell_wide): Likewise.
42754         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42755         test case.
42756         (do_one_test): Call it.
42758 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
42760         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42761         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42762         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42763         Remove variable.
42764         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42765         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42766         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42768 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42770         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42771         Remove variable.
42772         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42774         [BZ #17668]
42775         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42776         as weak alias of __getifaddrs.  Use libc_hidden_weak.
42777         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42778         __freeifaddrs.  Use libc_hidden_weak.
42779         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42780         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
42781         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42782         __freeifaddrs.  Use libc_hidden_weak.
42783         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42784         __getifaddrs and define as weak alias of __getifaddrs.  Use
42785         libc_hidden_weak.
42786         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42787         __freeifaddrs.  Use libc_hidden_weak.
42788         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42789         Remove variable.
42790         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42791         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42793 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
42795         [BZ #17601]
42796         * sysdeps/mips/start.S (__start): Use indirect jump to call
42797         __libc_start_main.
42799 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42801         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42803         * nptl/tst-mutex1.c: Include <stdbool.h>.
42804         [!ATTR] (ATTR_NULL): New macro.
42805         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42806         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42807         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42809         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42810         to char *.
42812         [BZ #17665]
42813         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42814         Change conditional to [__USE_MISC].
42816         [BZ #17664]
42817         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42818         fgets_unlocked.
42819         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42820         __fgets_unlocked.
42821         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42822         fgets_unlocked.
42823         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42824         Remove variable.
42825         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42826         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42827         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42828         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42829         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42830         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42831         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42832         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42833         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42835         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42837 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42839         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42840         Remove strpbrk objects.
42841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42842         (__libc_ifunc_impl_list): Remove strpbrk implementation.
42843         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42844         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42845         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42846         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42848         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42849         Remove strcspn objects.
42850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42851         (__libc_ifunc_impl_list): Remove strcspn implementation.
42852         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42853         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42854         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42855         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42857         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42858         Remove strspn objetcs.
42859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42860         (__libc_ifunc_impl_list): Remove strspn implementation.
42861         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42862         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42863         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42864         * sysdeps/powerpc/powerpc64/strspn.S: New file.
42866 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
42868         [BZ #17581]
42869         * malloc/hooks.c
42870         (mem2mem_check): Add a terminator to the chain of checking blocks.
42871         (malloc_check_get_size): Use it here.
42872         (mem2chunk_check): Ditto.
42874 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42876         * sysdeps/powerpc/powerpc64/strtok.S: New file.
42877         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42879 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
42881         * bits/ioctl-types.h: Indent preprocessor directives correctly.
42883         * nptl/nptl-init.c: Include libc-internal.h.
42884         (__pthread_initialize_minimal_internal): Use ROUND_UP.
42886         * elf/ldconfig.c (search_dir): Expand comment.
42888 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
42890         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42891         variable.
42892         (linknamespace-symlist-stdlibs-tests): Likewise.
42893         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42894         instead of $(objpfx)symlist-stdlibs.
42895         (linknamespace-libs-isoc): New variable.
42896         (linknamespace-libs): Use $(linknamespace-libs-isoc).
42897         (linknamespace-libs-ISO): New variable.
42898         (linknamespace-libs-ISO99): Likewise.
42899         (linknamespace-libs-ISO11): Likewise.
42900         (linknamespace-libs-XPG3): Likewise.
42901         (linknamespace-libs-XPG4): Likewise.
42902         (linknamespace-libs-POSIX): Likewise.
42903         (linknamespace-libs-UNIX98): Likewise.
42904         (linknamespace-libs-XOPEN2K): Likewise.
42905         (linknamespace-libs-POSIX2008): Likewise.
42906         (linknamespace-libs-XOPEN2K8): Likewise.
42907         ($(objpfx)symlist-stdlibs): Replace by
42908         $(linknamespace-symlist-stdlibs-tests).  Use
42909         $(linknamespace-libs-$*) as set of libraries.
42910         ($(linknamespace-header-tests)): Update dependencies.  Use
42911         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42912         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42913         * conform/linknamespace.pl: Remove comment about considering
42914         definitions of symbols from irrelevant libraries.
42916 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
42918         [BZ #13862]
42919         * elf/dl-tls.c: Include <atomic.h>.
42920         (oom): Remove #ifdef SHARED/#endif.
42921         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42922         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
42923         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42924         big enough.
42925         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42926         * nptl/Makefile (tests): Add tst-stack4.
42927         (modules-names): Add tst-stack4mod.
42928         ($(objpfx)tst-stack4): New.
42929         (tst-stack4mod.sos): Likewise.
42930         ($(objpfx)tst-stack4.out): Likewise.
42931         ($(tst-stack4mod.sos)): Likewise.
42932         (clean): Likewise.
42933         * nptl/tst-stack4.c: New file.
42934         * nptl/tst-stack4mod.c: Likewise.
42936 2014-11-27  J. Brown  <jb999@gmx.de>
42938         * sysdeps/x86/bits/string.h: Add recent CPUs.
42940 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
42942         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42943         sigblock.
42945         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42946         feof.
42948         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42949         variable.
42951 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
42953         * nscd/connections.c: Include libc-internal.h because of macro
42954         usage ignore_value.
42956 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42958         * string/bits/string3.h (__warn_memset_zero_len): Don't
42959         declare for gcc newer than 5.0.
42960         (memset): Don't test for zero-length __LEN for gcc newer than
42961         5.0.
42963 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
42965         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42966         size_t for %zu format.
42968         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42969         difference, not %ju.
42971 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
42973         * include/libc-internal.h (ignore_value): New macro.
42974         * nscd/connections.c (restart): Wrap calls to setuid and setgid
42975         with ignore_value.
42977         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42978         definition.
42980         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42981         pthread_cleanup_push to void *.
42983         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42984         Undefine.
42986         [BZ #16619]
42987         [BZ #16740]
42988         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42989         instead of 1L << 52.
42991         * libio/bug-rewind.c (do_test): Check fwscanf return values.
42992         * libio/bug-rewind2.c (do_test): Likewise.
42994         * debug/test-stpcpy_chk-ifunc.c: Remove file.
42995         * debug/test-strcpy_chk-ifunc.c: Likewise.
42996         * wcsmbs/test-wcschr-ifunc.c: Likewise.
42997         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42998         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42999         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43000         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43001         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43002         * Rules [$(multi-arch) = no] (tests): Do not filter out
43003         $(tests-ifunc).
43004         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43005         * debug/Makefile (tests-ifunc): Remove variable.
43006         (tests): Do not add $(tests-ifunc).
43007         * wcsmbs/Makefile (tests-ifunc): Remove variable.
43008         (tests): Do not add $(tests-ifunc).
43009         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43010         [TEST_IFUNC]: Remove conditionals.
43011         * string/test-string.h (TEST_IFUNC): Remove macro.
43012         [TEST_IFUNC]: Remove conditionals.
43014         * string/test-strchr.c [!WIDE] (L): New macro.
43015         [WIDE] (L): Likewise.
43016         (check1): Use CHAR instead of char.  Use L on string and character
43017         constants.
43019 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
43021         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43022         tests.
43023         * sysdeps/powerpc/bits/atomic.h
43024         (__arch_atomic_exchange_and_add_32_acq): Add definition.
43025         (__arch_atomic_exchange_and_add_32_rel): Likewise.
43026         (atomic_exchange_and_add_acq): Likewise.
43027         (atomic_exchange_and_add_rel): Likewise.
43028         * sysdeps/powerpc/powerpc32/bits/atomic.h
43029         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43030         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43031         * sysdeps/powerpc/powerpc64/bits/atomic.h
43032         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43033         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43035 2014-11-26  Torvald Riegel  <triegel@redhat.com>
43037         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43038         Change synchronization of __sched_fifo_min_prio and
43039         __sched_fifo_max_prio.
43040         * nptl/pthread_mutexattr_getprioceiling.c
43041         (pthread_mutexattr_getprioceiling): Likewise.
43042         * nptl/pthread_mutexattr_setprioceiling.c
43043         (pthread_mutexattr_setprioceiling): Likewise.
43044         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43045         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43046         Likewise.
43048 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43050         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43051         void.
43053 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43055         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43056         third argument const.
43058 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
43060         fnmatch: work around GCC compiler warning bug with uninit var
43061         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43062         This works around a bug with x86-64 GCC 4.9.2 and earlier
43063         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43064         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43065         used uninitialized in this function [-Wmaybe-uninitialized]".
43067 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43069         * posix/bug-regex31.c (main): Return RES not 0.
43071 2014-11-25  Anton Blanchard <anton@samba.org>
43073         * sysdeps/powerpc/bits/atomic.h
43074         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43076 2014-11-24  Sterling Augustine  <saugustine@google.com>
43078         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43080 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
43082         [BZ #17608]
43083         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43085 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
43087         [BZ #17633]
43088         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43089         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43090         variable.
43091         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43092         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43094 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43096         * string/strncpy.c (strncpy): Improve performance by using memset.
43098 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43100         * string/strcpy.c (strcpy):
43101         Improve performance by using strlen and memcpy.
43103 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
43105         * string/strcoll_l.c (get_next_seq): __always_inline.
43106         * string/strcoll_l.c (do_compare): __always_inline.
43108 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43110         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43111         defined.
43112         * include/mqueue.h: Likewise.
43113         * include/stdlib.h: Likewise.
43115         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43116         (get_null_defines): Adjust.
43117         * sunrpc/Makefile: Adjust comment.
43118         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43119         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43120         (CFLAGS-interp.c): Likewise.
43121         (CFLAGS-ldconfig.c): Likewise.
43122         (CPPFLAGS-.os): Likewise.
43123         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43124         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43125         * extra-modules.mk (extra-modules.mk): Likewise.
43126         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43127         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43128         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43129         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43130         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43131         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43132         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43133         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43134         * iconvdata/Makefile (CPPFLAGS): Likewise.
43135         (cpp-srcs-left): Add libof for all iconvdata routines.
43136         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43137         * include/assert.h: Likewise.
43138         * include/ctype.h: Likewise.
43139         * include/errno.h: Likewise.
43140         * include/libc-symbols.h: Likewise.
43141         * include/math.h: Likewise.
43142         * include/netdb.h: Likewise.
43143         * include/resolv.h: Likewise.
43144         * include/stdio.h: Likewise.
43145         * include/stdlib.h: Likewise.
43146         * include/string.h: Likewise.
43147         * include/sys/stat.h: Likewise.
43148         * include/wctype.h: Likewise.
43149         * intl/l10nflist.c: Likewise.
43150         * libidn/idn-stub.c: Likewise.
43151         * libio/libioP.h: Likewise.
43152         * nptl/libc_multiple_threads.c: Likewise.
43153         * nptl/pthreadP.h: Likewise.
43154         * posix/regex_internal.h: Likewise.
43155         * resolv/res_hconf.c: Likewise.
43156         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43157         * sysdeps/arm/memmove.S: Likewise.
43158         * sysdeps/arm/sysdep.h: Likewise.
43159         * sysdeps/generic/_itoa.h: Likewise.
43160         * sysdeps/generic/symbol-hacks.h: Likewise.
43161         * sysdeps/gnu/errlist.awk: Likewise.
43162         * sysdeps/gnu/errlist.c: Likewise.
43163         * sysdeps/i386/i586/memcpy.S: Likewise.
43164         * sysdeps/i386/i586/memset.S: Likewise.
43165         * sysdeps/i386/i686/memcpy.S: Likewise.
43166         * sysdeps/i386/i686/memmove.S: Likewise.
43167         * sysdeps/i386/i686/mempcpy.S: Likewise.
43168         * sysdeps/i386/i686/memset.S: Likewise.
43169         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43170         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43171         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43172         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43173         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43174         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43175         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43176         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43177         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43178         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43179         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43180         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43181         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43182         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43183         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43184         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43185         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43186         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43187         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43188         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43189         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43190         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43191         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43192         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43193         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43194         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43195         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43196         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43197         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43198         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43199         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43200         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43201         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43202         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43203         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43204         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43205         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43206         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43207         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43208         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43209         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43210         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43211         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43212         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43213         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43214         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43215         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43216         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43217         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43218         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43219         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43220         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43221         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43222         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43223         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43224         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43225         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43226         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43227         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43228         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43229         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43230         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43231         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43232         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43233         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43234         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43235         * sysdeps/posix/closedir.c: Likewise.
43236         * sysdeps/posix/opendir.c: Likewise.
43237         * sysdeps/posix/readdir.c: Likewise.
43238         * sysdeps/posix/rewinddir.c: Likewise.
43239         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43240         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43241         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43242         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43243         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43244         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43245         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43246         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43247         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43250         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43251         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43252         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43253         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43254         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43255         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43256         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43257         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43259         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43260         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43261         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43262         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43263         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43264         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43265         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43266         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43267         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43269         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43274         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43275         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43276         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43277         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43278         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43279         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43280         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43281         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43282         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43283         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43284         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43285         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43286         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43287         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43288         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43289         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43290         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43291         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43292         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43293         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43294         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43295         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43296         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43297         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43298         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43299         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43300         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43301         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43302         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43303         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43304         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43305         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43306         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43307         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43308         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43309         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43310         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43311         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43312         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43313         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43314         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43315         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43316         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43317         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43318         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43319         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43320         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43321         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43322         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43323         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43324         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43325         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43326         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43327         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43328         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43329         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43330         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43331         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43332         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43333         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43334         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43335         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43336         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43337         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43338         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43339         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43340         * sysdeps/unix/alpha/sysdep.S: Likewise.
43341         * sysdeps/unix/alpha/sysdep.h: Likewise.
43342         * sysdeps/unix/make-syscalls.sh: Likewise.
43343         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43344         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43345         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43346         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43347         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43348         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43349         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43350         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43351         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43352         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43353         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43354         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43355         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43356         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43357         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43358         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43359         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43360         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43361         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43362         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43363         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43364         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43365         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43366         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43367         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43368         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43369         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43372         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43373         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43374         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43375         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43377         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43378         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43379         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43381         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43382         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43383         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43384         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43385         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43386         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43387         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43388         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43389         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43390         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43391         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43392         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43393         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43394         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43395         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43396         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43397         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43398         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43399         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43401         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43402         * sysdeps/x86_64/memcpy.S: Likewise.
43403         * sysdeps/x86_64/memmove.c: Likewise.
43404         * sysdeps/x86_64/memset.S: Likewise.
43405         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43406         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43407         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43408         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43409         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43410         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43411         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43412         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43413         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43414         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43415         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43416         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43417         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43418         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43419         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43420         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43421         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43422         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43423         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43424         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43425         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43426         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43427         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43428         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43429         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43430         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43431         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43432         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43433         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43434         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43435         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43436         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43437         * sysdeps/x86_64/strcmp.S: Likewise.
43439         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43441         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43442         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43443         * elf/rtld-Rules: Likewise.
43444         * elf/setup-vdso.h: Likewise.
43445         * include/assert.h: Likewise.
43446         * include/bits/stdlib-float.h: Likewise.
43447         * include/errno.h: Likewise.
43448         * include/sys/stat.h: Likewise.
43449         * include/unistd.h: Likewise.
43450         * sysdeps/aarch64/setjmp.S: Likewise.
43451         * sysdeps/alpha/setjmp.S: Likewise.
43452         * sysdeps/arm/__longjmp.S: Likewise.
43453         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43454         * sysdeps/arm/setjmp.S: Likewise.
43455         * sysdeps/arm/sysdep.h: Likewise.
43456         * sysdeps/generic/_itoa.h: Likewise.
43457         * sysdeps/generic/dl-sysdep.h: Likewise.
43458         * sysdeps/generic/ldsodefs.h: Likewise.
43459         * sysdeps/i386/dl-tls.h: Likewise.
43460         * sysdeps/i386/setjmp.S: Likewise.
43461         * sysdeps/m68k/setjmp.c: Likewise.
43462         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43463         * sysdeps/mach/hurd/opendir.c: Likewise.
43464         * sysdeps/posix/getcwd.c: Likewise.
43465         * sysdeps/posix/opendir.c: Likewise.
43466         * sysdeps/posix/profil.c: Likewise.
43467         * sysdeps/powerpc/dl-procinfo.h: Likewise.
43468         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43469         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43470         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43471         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43472         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43473         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43474         * sysdeps/s390/dl-tls.h: Likewise.
43475         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43476         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43477         * sysdeps/sh/sh3/setjmp.S: Likewise.
43478         * sysdeps/sh/sh4/setjmp.S: Likewise.
43479         * sysdeps/unix/alpha/sysdep.h: Likewise.
43480         * sysdeps/unix/arm/sysdep.S: Likewise.
43481         * sysdeps/unix/i386/sysdep.S: Likewise.
43482         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43483         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43484         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43485         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43486         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43487         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43488         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43489         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43490         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43491         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43492         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43493         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43494         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43497         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43498         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43499         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43500         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43501         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43502         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43504         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43505         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43506         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43507         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43509         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43510         * sysdeps/x86_64/setjmp.S: Likewise.
43512         * include/math.h: Use IS_IN instead of IS_IN_libm.
43513         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43514         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43515         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43516         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43517         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43518         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43519         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43520         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43521         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43522         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43523         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43524         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43525         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43526         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43527         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43528         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43529         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43530         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43531         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43532         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43533         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43534         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43535         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43536         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43537         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43538         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43539         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43540         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43541         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43542         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43543         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43544         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43545         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43547         Likewise.
43548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43549         Likewise.
43550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43551         Likewise.
43552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43553         Likewise.
43554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43555         Likewise.
43556         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43557         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43558         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43559         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43560         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43561         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43567         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43568         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43569         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43570         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43571         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43572         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43573         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43574         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43575         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43576         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43577         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43578         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43579         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43580         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43582         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43584         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43585         * nptl/pthreadP.h: Likewise.
43586         * nptl_db/structs.def: Likewise.
43587         * sysdeps/arm/sysdep.h: Likewise.
43588         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43589         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43590         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43591         * sysdeps/unix/alpha/sysdep.h: Likewise.
43592         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43594         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43595         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43596         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43597         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43598         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43599         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43600         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43601         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43602         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43603         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43604         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43605         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43608         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43609         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43610         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43611         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43612         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43613         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43614         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43615         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43616         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43617         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43619         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43620         * nptl/pthreadP.h: Likewise.
43621         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43622         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43623         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43624         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43625         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43626         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43627         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43628         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43629         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43630         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43631         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43632         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43634         Likewise.
43635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43636         Likewise.
43637         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43638         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43639         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43640         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43641         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43642         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43643         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43644         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43646         * dlfcn/dladdr.c: Use IS_IN.
43647         * dlfcn/dladdr1.c: Likewise.
43648         * dlfcn/dlclose.c: Likewise.
43649         * dlfcn/dlerror.c: Likewise.
43650         * dlfcn/dlinfo.c: Likewise.
43651         * dlfcn/dlmopen.c: Likewise.
43652         * dlfcn/dlopen.c: Likewise.
43653         * dlfcn/dlsym.c: Likewise.
43654         * dlfcn/dlvsym.c: Likewise.
43656         * include/ifaddrs.h: Use IS_IN.
43657         * inet/check_pf.c: Likewise.
43658         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43659         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43661         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43662         IS_IN_ldconfig.
43663         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43664         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43666         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43667         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43668         IS_IN (libc).
43670         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43672         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43673         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43674         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43675         * include/libc-symbols.h (IS_IN_LIB): New macro.
43676         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43677         * include/netdb.h: Likewise.
43678         * include/stap-probe.h: Remove all uses of IN_LIB.
43680         * Makeconfig (module-cppflags-real): Define MODULE_NAME
43681         instead of IN_MODULE.
43682         * include/libc-symbols.h (IN_MODULE): Define using
43683         MODULE_NAME.
43684         (PASTE_NAME, PASTE_NAME1): New macros.
43685         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43686         of IN_LIB.
43687         (STAP_PROBE_ASM): Likewise.
43689 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43691         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43692         __mach_init in dlopened libc.
43694 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
43696         * sysdeps/arm/preconfigure.ac: Delete EABI check.
43697         * sysdeps/arm/preconfigure: Regenerate.
43699 2014-11-21  Roland McGrath  <roland@hack.frob.com>
43701         * nptl/pthread_create.c (__pthread_create_2_1): Set
43702         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43703         when copying values from IATTR into PD.
43705 2014-11-21  Will Newton  <will.newton@linaro.org>
43706             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
43708         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43709         Refactor inline-asm.  Also add comment.
43711         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43712         ElfW macro instead of hardcoded Elf64 types.
43713         (la_aarch64_gnu_pltenter): Likewise.
43714         * sysdeps/aarch64/dl-machine.h
43715         (elf_machine_runtime_setup): Use ElfW(Addr).
43717         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43718         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43719         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43720         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43721         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43722         (R_AARCH64_TLS_DTPMOD64): Rename to ..
43723         (R_AARCH64_TLS_DTPMOD): This.
43724         (R_AARCH64_TLS_DTPREL64): Rename to ...
43725         (R_AARCH64_TLS_DTPREL): This.
43726         (R_AARCH64_TLS_TPREL64): Rename to ...
43727         (R_AARCH64_TLS_TPREL): This.
43728         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43729         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43730         R_AARCH64_TLS_TPREL64.
43731         (elf_machine_rela): Likewise.
43733 2014-11-21  Torvald Riegel  <triegel@redhat.com>
43735         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43736         by setting it to 0.  64b atomics are not supported currently.
43738 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43740         [BZ #16469]
43741         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43742         search domain names.
43744 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43746         [BZ #16469]
43747         * NEWS: Update.
43748         * resolv/res_query.c (__libc_res_nquerydomain): Retain
43749         trailing dot.
43750         * posix/tst-getaddrinfo5.c: New.
43751         * posix/Makefile (tests): Add it.
43753 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43755         [BZ #14498]
43756         * NEWS: Fixed.
43757         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43758         after parsing line but before break_if_match.
43759         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43760         if there is a protocol mismatch.
43762 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43764         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43765         because the potential race is on the user-supplied stream.
43767 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43769         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43770         string literal if not passed a buffer.
43771         * manual/job.texi (ctermid): Update reasoning, note deviation
43772         from posix, suggest mtasurace when not passed a buffer, for
43773         future non-preliminary safety notes.
43775 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43777         * manual/users.texi (cuserid): Fix MT-Safety note for the case
43778         of not passing it a buffer.
43779         Reported by Peng Haitao.
43781 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43783         * manual/Makefile ($(objpfx)stamp-summary): Require
43784         check-safety.sh to pass.
43785         * manual/check-safety.sh: Wish for verification that every
43786         @deftypefn and @deftypefun is followed by a @safety remark.
43788 2014-11-20  Roland McGrath  <roland@hack.frob.com>
43790         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43792         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43793         PTHREAD_CANCEL_ASYNCHRONOUS.
43794         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43795         send SIGCANCEL.
43797         * nptl/default-sched.h: New file.
43798         * sysdeps/unix/sysv/linux/default-sched.h: New file.
43799         * nptl/pthread_create.c: Include it.
43800         (__pthread_create_2_1): Use collect_default_sched instead of making
43801         Linux syscalls here directly.
43803 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43805         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43806         __pthread_once): Use C11 atomics.
43808 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43810         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43812 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43814         * include/atomic.h (__atomic_link_error, __atomic_check_size,
43815         atomic_thread_fence_acquire, atomic_thread_fence_release,
43816         atomic_thread_fence_seq_cst, atomic_load_relaxed,
43817         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43818         atomic_compare_exchange_weak_relaxed,
43819         atomic_compare_exchange_weak_acquire,
43820         atomic_compare_exchange_weak_release,
43821         atomic_exchange_acquire, atomic_exchange_release,
43822         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43823         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43824         atomic_fetch_and_acquire,
43825         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43827 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43829         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43830         USE_ATOMIC_COMPILER_BUILTINS): Define.
43831         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43832         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43833         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43834         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43835         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43836         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43837         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43838         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43839         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43840         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43841         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43842         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43843         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43844         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43845         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43846         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43847         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43848         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43849         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43850         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43851         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43852         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43853         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43854         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43855         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43856         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43857         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43858         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43859         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43860         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43861         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43862         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43863         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43865         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43866         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43867         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43868         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43869         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43872 2014-11-19  Roland McGrath  <roland@hack.frob.com>
43874         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43875         the sched_priority value here.  It was already checked when the user
43876         called pthread_attr_setschedparam.
43878         * nptl/tst-bad-schedattr.c: New file.
43879         * nptl/Makefile (tests): Add it.
43881 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
43882             Florian Weimer  <fweimer@redhat.com>
43883             Joseph Myers  <joseph@codesourcery.com>
43884             Adam Conrad  <adconrad@0c3.net>
43885             Andreas Schwab  <schwab@suse.de>
43886             Brooks  <bmoses@google.com>
43888         [BZ #17625]
43889         * wordexp-test.c (__dso_handle): Add prototype.
43890         (__register_atfork): Likewise.
43891         (__app_register_atfork): New function.
43892         (registered_forks): New global.
43893         (register_fork): New function.
43894         (test_case): Add 3 new tests for WRDE_CMDSUB.
43895         (main): Call __app_register_atfork.
43896         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43897         fork count is non-zero fail the test.
43898         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43899         is set.
43900         (parse_dollars): Remove check for WRDE_NOCMD.
43901         (parse_dquote): Likewise.
43903 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43905         * Makeconfig (built-modules): List non-library modules to be
43906         built.
43907         (module-cppflags): Include libc-modules.h for
43908         everything except shlib-versions.v.i.
43909         (CPPFLAGS): Use it.
43910         (before-compile): Add libc-modules.h.
43911         ($(common-objpfx)libc-modules.h,
43912         $(common-objpfx)libc-modules.stmp): New targets.
43913         (common-generated): Add libc-modules.h and libc-modules.stmp.
43914         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43915         * include/libc-symbols.h: Don't include libc-modules.h.
43916         * include/libc-modules.h: Remove file.
43917         * scripts/gen-libc-modules.awk: New script to generate
43918         libc-modules.h.
43919         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43920         Depend on libc-modules.stmp.
43922         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43924         * Makeconfig (in-module): Get value of libof set for the
43925         translation unit.
43926         (CPPFLAGS): Use $(in-module).
43927         * Makerules: Don't suffix routine names for nonlib.
43928         * include/libc-modules.h: New file.
43929         * include/libc-symbols.h: Include libc-modules.h
43930         (IS_IN): New macro to replace IS_IN_* macros.
43931         * elf/Makefile: Set libof-* for each routine.
43932         * elf/rtld-Rules: Likewise.
43933         * extra-modules.mk: Likewise.
43934         * iconv/Makefile: Likewise.
43935         * iconvdata/Makefile: Likewise.
43936         * locale/Makefile: Likewise.
43937         * malloc/Makefile: Likewise.
43938         * nss/Makefile: Likewise.
43939         * sysdeps/gnu/Makefile: Likewise.
43940         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43941         * sysdeps/unix/sysv/linux/Makefile: Likewise.
43942         * sysdeps/s390/s390-64/Makefile: Likewise.
43943         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
43944         CPPFLAGS for nscd instead of nonlib.
43946 2014-11-18  Roland McGrath  <roland@hack.frob.com>
43948         * nptl/createthread.c: New file.
43950         * nptl/createthread.c: Moved ...
43951         * sysdeps/unix/sysv/linux/createthread.c: ... here.
43953         * nptl/createthread.c: Add proper top-line comment.
43954         (do_clone): Folded into ...
43955         (create_thread): ... here.  Take new arguments STOPPED_START and
43956         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
43957         increment __nptl_threads, do event-reporting logic, do
43958         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43959         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
43960         resource cleanup if sched_setaffinity or sched_setscheduler fails,
43961         just send SIGCANCEL.
43962         * nptl/pthread_create.c: Forward-declare create_thread before
43963         including createthread.c.
43964         (start_thread): Use new macro START_THREAD_DEFN to replace defining
43965         declaration, and new macro START_THREAD_SELF to replace argument.
43966         Remove return statement.
43967         (report_thread_creation): New function.
43968         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
43969         synchronization logic, and __nptl_nthreads increment here, around
43970         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
43971         PD->parent_cancelhandling here, before create_thread.  When
43972         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43973         __deallocate_stack, and ENOMEM translation here.
43975 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
43977         [BZ #17616]
43978         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43979         (mptwo): Rename to __mptwo.
43980         (__inv): Use __mptwo instead of mptwo.
43981         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43982         (mptwo): Rename to __mptwo.
43983         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43984         of mpone and __mptwo instead of mptwo.
43985         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43986         instead of mpone.
43987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43988         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43989         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43990         of mpone and __mptwo instead of mptwo.
43991         (__mpranred): Use __mpone instead of mpone.
43992         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43993         variable.
43994         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43995         (test-xfail-ISO99/math.h/linknamespace): Likewise.
43996         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43997         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43998         (test-xfail-ISO11/math.h/linknamespace): Likewise.
43999         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44000         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44001         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44002         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44003         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44004         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44005         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44006         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44007         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44008         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44009         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44010         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44011         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44012         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44014 2014-11-18  Tom de Vries  <tom@codesoucery.com>
44016         * manual/signal.texi (Primitives Interrupted by Signals): In section,
44017         replace BSD Handler xref with BSD Signal Handling.
44019 2014-11-17  Richard Henderson  <rth@redhat.com>
44021         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44022         (_FP_PACK_RAW_2): Remove.
44023         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44024         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44025         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44026         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44027         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44028         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44029         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44030         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44031         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44032         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44033         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44034         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44035         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44036         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44037         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44038         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44040 2014-11-14  Roland McGrath  <roland@hack.frob.com>
44042         * signal/signal.h [__USE_MISC]
44043         (struct sigvec): Remove type.
44044         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44045         (sigvec): Remove declaration.
44046         * sysdeps/posix/sigvec.c: Moved ...
44047         * signal/sigvec.c: ... here, replacing old file.
44048         (struct sigvec): New type, copied from old signal.h definition.
44049         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44050         (__sigvec): Convert definition to prototype.
44051         (sigvec): Replace weak_alias with compat_symbol.
44052         * signal/Versions (libc: GLIBC_2.21): New version set.
44053         * include/signal.h: Remove __sigvec declaration.
44054         * sysdeps/unix/bsd/sigvec.c: Remove file.
44055         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44056         * manual/signal.texi (BSD Handler): Remove subsection.
44057         Move siginterrupt up to ...
44058         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
44059         (Blocking in BSD): Fold subsection into its parent.
44060         * NEWS: Mention sigvec removal.
44062 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44064         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44065         (DLA_FMS): Make definition conditional only on [__FMA4__].
44066         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44067         definition.
44069         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44070         Make definition conditional only on [PROF].
44071         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44072         definition.
44073         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44074         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44076         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44077         !__GNUC__].
44078         * include/signal.h (__sigpause): Move declaration above call to
44079         libc_hidden_proto.
44080         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44081         variable.
44082         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44083         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44085 2014-11-14  David S. Miller  <davem@davemloft.net>
44087         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44088         Define before including <string/memcpy.c> and <string/mempcpy.c>.
44090 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44092         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44093         * configure: Regenerated.
44094         * manual/install.texi (Tools for Compilation): Document a
44095         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44096         compiler verified to work.
44097         * INSTALL: Regenerated.
44099         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44100         redeclare with asm name.
44101         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44102         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44103         including <string.h>.
44104         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44105         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44106         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44107         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44108         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44109         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44110         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44112 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
44114         * stdlib/strtol.c (__strtol): Use prototype definition.
44116         [BZ #17594]
44117         * stdlib/strtol.c (SYM__): New macro.
44118         (SYM__1): Likewise.
44119         (__strtol): Likewise.
44120         (strtol): Rename to __strtol and define as weak alias of
44121         __strtol.  Use libc_hidden_weak.
44123 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44125         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44126         Use numbered labels in inline assembly.
44128 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44130         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44131         Add setjmp LIBC_PROBE.
44132         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44133         Likewise.
44134         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44135         Add longjmp, longjmp_target LIBC_PROBE.
44136         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44137         Likewise.
44139 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44141         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44142         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44143         to get rid of unused variable warning.
44145 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44147         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44148         Check for unwind_backtrace ==  NULL only in SHARED case.
44149         (__backchain_backtrace): Compile only in SHARED case.
44150         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44151         Likewise.
44152         (__backchain_backtrace): Declare as static.
44154 2014-11-12  Roland McGrath  <roland@hack.frob.com>
44156         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44157         (__libc_multiple_threads_ptr): Variable moved ...
44158         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44160 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
44162         * conform/GlibcConform.pm: New file.
44163         * conform/conformtest.pl: Use GlibcConform module.
44164         * conform/linknamespace.pl: New file.
44165         * conform/list-header-symbols.pl: Likewise.
44166         * conform/Makefile (linknamespace-symlists-base): New variable.
44167         (linknamespace-symlists-tests): Likewise.
44168         (linknamespace-header-base): Likewise.
44169         (linknamespace-header-tests): Likewise.
44170         (tests-special): Add new tests.
44171         ($(linknamespace-symlists-tests)): New rule.
44172         (linknamespace-libs): New variable.
44173         ($(objpfx)symlist-stdlibs): New rule.
44174         ($(linknamespace-header-tests)): Likewise.
44175         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44176         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44177         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44178         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44179         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44180         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44181         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44182         (test-xfail-ISO/math.h/linknamespace): Likewise.
44183         (test-xfail-ISO/signal.h/linknamespace): Likewise.
44184         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44185         (test-xfail-ISO/time.h/linknamespace): Likewise.
44186         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44187         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44188         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44189         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44190         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44191         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44192         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44193         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44194         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44195         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44196         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44197         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44198         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44199         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44200         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44201         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44202         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44203         (test-xfail-XPG3/search.h/linknamespace): Likewise.
44204         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44205         (test-xfail-XPG3/time.h/linknamespace): Likewise.
44206         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44207         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44208         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44209         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44210         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44211         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44212         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44213         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44214         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44215         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44216         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44217         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44218         (test-xfail-XPG4/search.h/linknamespace): Likewise.
44219         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44220         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44221         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44222         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44223         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44224         (test-xfail-XPG4/time.h/linknamespace): Likewise.
44225         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44226         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44227         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44228         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44229         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44230         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44231         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44232         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44233         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44234         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44235         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44236         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44237         (test-xfail-POSIX/time.h/linknamespace): Likewise.
44238         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44239         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44240         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44241         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44242         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44243         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44244         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44245         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44246         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44247         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44248         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44249         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44250         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44251         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44252         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44253         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44254         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44255         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44256         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44257         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44258         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44259         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44260         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44261         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44262         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44263         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44264         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44265         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44266         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44267         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44268         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44269         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44270         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44271         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44272         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44273         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44274         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44275         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44276         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44277         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44278         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44279         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44280         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44281         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44282         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44283         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44284         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44285         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44286         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44287         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44288         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44289         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44290         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44291         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44292         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44293         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44294         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44295         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44296         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44297         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44298         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44299         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44300         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44301         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44302         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44303         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44304         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44305         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44306         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44307         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44308         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44309         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44310         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44311         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44312         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44313         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44314         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44315         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44316         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44317         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44318         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44319         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44320         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44321         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44322         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44323         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44324         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44325         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44326         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44327         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44328         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44329         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44330         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44331         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44332         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44333         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44334         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44335         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44337         [BZ #17589]
44338         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44339         of fgets_unlocked.
44341         [BZ #17585]
44342         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44343         (memmem): Rename to __memmem and define as weak alias of
44344         __memmem.  Use libc_hidden_weak.
44345         (__memmem): Use libc_hidden_def.
44346         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
44347         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44348         memmem.
44350         [BZ #17582]
44351         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44352         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
44353         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44354         and define as weak alias of __fgets_unlocked.  Use
44355         libc_hidden_weak.
44356         (__fgets_unlocked): Use libc_hidden_def.
44357         * include/stdio.h (__fgets_unlocked): Declare.  Use
44358         libc_hidden_proto.
44359         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44360         __fgets_unlocked instead of fgets_unlocked.
44361         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44362         (GET_NPROCS_CONF_PARSER): Likewise.
44363         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44364         (GET_NPROCS_CONF_PARSER): Likewise.
44366         [BZ #17574]
44367         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44368         weak alias of __wmemset.  Use libc_hidden_weak.
44369         (__wmemset): Use libc_hidden_def.
44370         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
44371         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44372         of wmemset.
44374         [BZ #17573]
44375         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44376         with asm name __mempcpy.
44377         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44379         [BZ #17572]
44380         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44381         and define as weak alias of __rawmemchr.
44382         (__rawmemchr): Do not define as strong alias of rawmemchr.
44384         [BZ #17571]
44385         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44386         alias of __qsort_r.
44387         (qsort): Call __qsort_r instead of qsort_r.
44388         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44389         (__qsort_r): Declare.  Call libc_hidden_proto.
44390         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44391         instead of qsort_r.
44392         * nscd/gai.c (__qsort_r): Define to qsort_r.
44393         * posix/tst-rfc3484.c (__qsort_r): Likewise.
44394         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44395         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44397         [BZ #17570]
44398         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44399         define as weak alias of __malloc_info.
44401         [BZ #17584]
44402         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44403         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44404         (__rewinddir): Use libc_hidden_def.
44405         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44406         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44407         (__rewinddir): Use libc_hidden_def.
44408         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44409         weak alias of __rewinddir.  Don't use libc_hidden_def.
44410         (__rewinddir): Use libc_hidden_def.
44411         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44412         (__rewinddir): Use libc_hidden_proto.
44413         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44414         rewinddir.
44415         (__getcwd): Use __rewinddir instead of rewinddir.
44417         [BZ #17583]
44418         * libio/fileno.c (fileno): Rename to __fileno and define as weak
44419         alias of __fileno.  Use libc_hidden_weak.
44420         (__fileno): Use libc_hidden_def.
44421         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44422         * libio/ftello.c (ftello): Rename to __ftello and define as weak
44423         alias of __ftello.
44424         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44425         __ftello.
44426         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44427         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
44428         libc_hidden_def.
44429         (fread_unlocked): Don't use libc_hidden_ver.
44430         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44431         and define as weak alias of __fread_unlocked.  Don't use
44432         libc_hidden_def.
44433         (__fread_unlocked): Use libc_hidden_def.
44434         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
44435         (ftello): Don't use libc_hidden_proto.
44436         (__ftello): Declare.  Use libc_hidden_proto.
44437         (fread_unlocked): Don't use libc_hidden_proto.
44438         (__fread_unlocked): Declare.  Use libc_hidden_proto.
44439         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44440         and __ftello instead of fileno, fread_unlocked and ftello.
44442 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44444         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44445         GOT12.
44446         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44447         Likewise.
44448         (_dl_start_user): Likewise.
44449         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44451 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
44452             Siddhesh Poyarekar  <siddhesh@redhat.com>
44454         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44455         Move argv and envp down instead of moving argc up.
44456         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44458 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
44460         [BZ #17506]
44461         * test-skeleton.c (main): Return successful if one of
44462         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44463         * string/tst-strcoll-overflow.c: Define expected status.
44465 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
44467         [BZ #17475]
44468         * locale/iso-639.def: Define Bhili and Tulu language codes.
44470 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
44472         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44474 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
44476         [BZ #17555]
44477         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44479 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
44481         * configure.ac: Updated check of minimal required version to
44482         2.22.
44483         * manual/install.texi (Tools for Compilation): Updated version
44484         number.
44485         * configure: Regenerated.
44486         * INSTALL: Likewise.
44488 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
44490         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44491         __tls_get_addr.
44493 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
44495         * include/sys/wait.h (__libc_waitpid): Remove declaration.
44496         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44497         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44498         libc_hidden_weak.
44499         (waitpid): Define as alias of __waitpid.
44500         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44501         __waitpid.
44502         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44503         libc_hidden_weak.
44504         (waitpid): Define as alias of __waitpid.
44505         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44506         __libc_waitpid alias.
44507         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44508         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44509         Likewise.
44510         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44511         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44512         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44513         alias.
44514         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44515         __waitpid.
44516         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44517         libc_hidden_weak.
44518         (waitpid): Define as alias of __waitpid.
44520 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
44522         * manual/llio.texi: Add comment that write safety has been
44523         fixed in Linux.
44525         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44526         (localplt-build-dso): Add elf/ld.so.
44527         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44528         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44529         and free for ld.so.
44530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44531         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44533         Likewise.
44534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44535         Likewise.
44536         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44537         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44538         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44539         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44540         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44541         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44542         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44543         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44544         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44545         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44546         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44548 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
44550         [BZ #14132]
44551         * include/libc-symbols.h (INTUSE): Remove macro.
44552         (INTDEF): Likewise.
44553         (INTVARDEF): Likewise.
44554         (_INTVARDEF): Likewise.
44555         (INTDEF2): Likewise.
44556         (INTVARDEF2): Likewise.
44557         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44558         rtld_hidden_def instead of INTVARDEF.
44559         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44560         (_dl_starting_up_internal): Remove declaration.
44561         (_dl_starting_up): Use rtld_hidden_proto.
44562         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44563         declaration.
44564         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44565         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44566         _dl_starting_up.
44567         * elf/dl-writev.h (_dl_writev): Likewise.
44568         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44569         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44570         _dl_starting_up_internal.
44572 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44574         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44575         test-skeleton.c.
44577 2014-11-05  Will Newton  <will.newton@linaro.org>
44579         * benchtests/Makefile: (bench-malloc): Add malloc thread
44580         scalability benchmark.
44581         * benchtests/bench-malloc-threads.c: New file.
44583 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44585         * sysdeps/aarch64/strchrnul.S: New file.
44587 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44589         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44590         definition.
44591         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44592         Likewise.
44593         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44594         Likewise.
44595         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44596         Likewise.
44597         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44598         Likewise.
44599         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44600         Likewise.
44602 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44604         * catgets/test-gencat.c: Use test-skeleton.c.
44605         * catgets/tst-catgets.c: Likewise.
44606         * csu/tst-empty.c: Likewise.
44607         * elf/tst-audit2.c: Likewise.
44608         * elf/tst-global1.c: Likewise.
44609         * elf/tst-pathopt.c: Likewise.
44610         * elf/tst-piemod1.c: Likewise.
44611         * elf/tst-tls10.c: Likewise.
44612         * elf/tst-tls11.c: Likewise.
44613         * elf/tst-tls12.c: Likewise.
44614         * gnulib/tst-gcc.c: Likewise.
44615         * iconvdata/tst-e2big.c: Likewise.
44616         * iconvdata/tst-loading.c: Likewise.
44617         * iconv/tst-iconv1.c: Likewise.
44618         * iconv/tst-iconv2.c: Likewise.
44619         * inet/test-inet6_opt.c: Likewise.
44620         * inet/tst-gethnm.c: Likewise.
44621         * inet/tst-network.c: Likewise.
44622         * inet/tst-ntoa.c: Likewise.
44623         * intl/tst-codeset.c: Likewise.
44624         * intl/tst-gettext2.c: Likewise.
44625         * intl/tst-gettext3.c: Likewise.
44626         * intl/tst-ngettext.c: Likewise.
44627         * intl/tst-translit.c: Likewise.
44628         * io/test-stat.c: Likewise.
44629         * libio/test-fmemopen.c: Likewise.
44630         * libio/tst-freopen.c: Likewise.
44631         * libio/tst-sscanf.c: Likewise.
44632         * libio/tst-ungetwc1.c: Likewise.
44633         * libio/tst-ungetwc2.c: Likewise.
44634         * libio/tst-widetext.c: Likewise.
44635         * localedata/tst-ctype.c: Likewise.
44636         * localedata/tst-digits.c: Likewise.
44637         * localedata/tst-leaks.c: Likewise.
44638         * localedata/tst-mbswcs1.c: Likewise.
44639         * localedata/tst-mbswcs2.c: Likewise.
44640         * localedata/tst-mbswcs3.c: Likewise.
44641         * localedata/tst-mbswcs4.c: Likewise.
44642         * localedata/tst-mbswcs5.c: Likewise.
44643         * localedata/tst-setlocale.c: Likewise.
44644         * localedata/tst-trans.c: Likewise.
44645         * localedata/tst-wctype.c: Likewise.
44646         * localedata/tst-xlocale1.c: Likewise.
44647         * login/tst-grantpt.c: Likewise.
44648         * malloc/tst-calloc.c: Likewise.
44649         * malloc/tst-malloc.c: Likewise.
44650         * malloc/tst-mallocstate.c: Likewise.
44651         * malloc/tst-mcheck.c: Likewise.
44652         * malloc/tst-mtrace.c: Likewise.
44653         * malloc/tst-obstack.c: Likewise.
44654         * math/atest-exp2.c: Likewise.
44655         * math/atest-exp.c: Likewise.
44656         * math/atest-sincos.c: Likewise.
44657         * math/test-matherr.c: Likewise.
44658         * math/test-misc.c: Likewise.
44659         * math/test-powl.c: Likewise.
44660         * math/tst-definitions.c: Likewise.
44661         * misc/tst-dirname.c: Likewise.
44662         * misc/tst-efgcvt.c: Likewise.
44663         * misc/tst-fdset.c: Likewise.
44664         * misc/tst-hsearch.c: Likewise.
44665         * misc/tst-mntent2.c: Likewise.
44666         * nptl/tst-sem7.c: Likewise.
44667         * nptl/tst-sem8.c: Likewise.
44668         * nptl/tst-sem9.c: Likewise.
44669         * nss/test-netdb.c: Likewise.
44670         * posix/tst-fnmatch.c: Likewise.
44671         * posix/tst-getlogin.c: Likewise.
44672         * posix/tst-gnuglob.c: Likewise.
44673         * posix/tst-mmap.c: Likewise.
44674         * pwd/tst-getpw.c: Likewise.
44675         * resolv/tst-inet_ntop.c: Likewise.
44676         * rt/tst-timer.c: Likewise.
44677         * stdio-common/test-fseek.c: Likewise.
44678         * stdio-common/test-popen.c: Likewise.
44679         * stdio-common/test-vfprintf.c: Likewise.
44680         * stdio-common/tst-cookie.c: Likewise.
44681         * stdio-common/tst-fileno.c: Likewise.
44682         * stdio-common/tst-gets.c: Likewise.
44683         * stdio-common/tst-obprintf.c: Likewise.
44684         * stdio-common/tst-perror.c: Likewise.
44685         * stdio-common/tst-sprintf2.c: Likewise.
44686         * stdio-common/tst-sprintf3.c: Likewise.
44687         * stdio-common/tst-sprintf.c: Likewise.
44688         * stdio-common/tst-swprintf.c: Likewise.
44689         * stdio-common/tst-tmpnam.c: Likewise.
44690         * stdio-common/tst-unbputc.c: Likewise.
44691         * stdio-common/tst-wc-printf.c: Likewise.
44692         * stdlib/tst-environ.c: Likewise.
44693         * stdlib/tst-fmtmsg.c: Likewise.
44694         * stdlib/tst-limits.c: Likewise.
44695         * stdlib/tst-rand48-2.c: Likewise.
44696         * stdlib/tst-rand48.c: Likewise.
44697         * stdlib/tst-random2.c: Likewise.
44698         * stdlib/tst-random.c: Likewise.
44699         * stdlib/tst-strtol.c: Likewise.
44700         * stdlib/tst-strtoll.c: Likewise.
44701         * stdlib/tst-tls-atexit.c: Likewise.
44702         * stdlib/tst-xpg-basename.c: Likewise.
44703         * string/test-ffs.c: Likewise.
44704         * string/tst-bswap.c: Likewise.
44705         * string/tst-inlcall.c: Likewise.
44706         * string/tst-strtok.c: Likewise.
44707         * string/tst-strxfrm.c: Likewise.
44708         * sysdeps/x86_64/tst-audit10.c: Likewise.
44709         * sysdeps/x86_64/tst-audit3.c: Likewise.
44710         * sysdeps/x86_64/tst-audit4.c: Likewise.
44711         * sysdeps/x86_64/tst-audit5.c: Likewise.
44712         * time/tst-ftime_l.c: Likewise.
44713         * time/tst-getdate.c: Likewise.
44714         * time/tst-mktime3.c: Likewise.
44715         * time/tst-mktime.c: Likewise.
44716         * time/tst-posixtz.c: Likewise.
44717         * time/tst-strptime2.c: Likewise.
44718         * time/tst-strptime3.c: Likewise.
44719         * wcsmbs/tst-btowc.c: Likewise.
44720         * wcsmbs/tst-mbrtowc.c: Likewise.
44721         * wcsmbs/tst-mbsrtowcs.c: Likewise.
44722         * wcsmbs/tst-wchar-h.c: Likewise.
44723         * wcsmbs/tst-wcpncpy.c: Likewise.
44724         * wcsmbs/tst-wcrtomb.c: Likewise.
44725         * wcsmbs/tst-wcsnlen.c: Likewise.
44726         * wcsmbs/tst-wcstof.c: Likewise.
44728 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
44730         [BZ #14132]
44731         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44732         INTDEF.
44733         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44734         declaration.
44735         (_dl_mcount): Use rtld_hidden_proto.
44736         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44737         _dl_mcount.
44738         * elf/rtld.c (_rtld_global_ro): Likewise.
44740         [BZ #14132]
44741         * elf/dl-init.c (_dl_init): Don't use INTDEF.
44742         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44743         of _dl_init_internal.
44744         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44745         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44746         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44747         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44748         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44749         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44750         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44751         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44752         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44753         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44754         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44755         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44756         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44757         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44758         * sysdeps/tile/dl-start.S (_start): Likewise.
44759         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44760         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44762         [BZ #14132]
44763         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44764         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44765         (rtld_progname): Make macro definition unconditional.
44766         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44767         INTDEF.
44768         (dlmopen_doit): Do not use INTUSE with _dl_argv.
44769         (dl_main): Likewise.
44770         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44771         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44772         instead of _dl_argv_internal.
44773         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44774         __GI__dl_argv instead of INTUSE(_dl_argv).
44775         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44776         __GI__dl_argv instead of _dl_argv_internal.
44778         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44779         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44780         macro.
44781         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44782         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44783         New macro.
44784         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44785         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44786         macro.
44787         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44788         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44790 2014-11-04  Andreas Schwab  <schwab@suse.de>
44792         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44794 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44796         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44797         mtvsrd instruction in binary form.
44799 2014-11-03  Andreas Schwab  <schwab@suse.de>
44801         [BZ #17522]
44802         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44803         for less than MB_LEN_MAX use a local buffer of that size.
44804         * libio/tst-fputws.c: New file.
44805         * libio/Makefile (tests): Add tst-fputws.
44807 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
44809         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44810         the size of the fpu_fr.fpu_dregs[] array.
44812 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
44814         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44815         (__nanosleep): Do not define as alias.
44816         (nanosleep): Define as alias of __nanosleep.
44817         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44818         __libc_nanosleep name.
44820 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44822         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44823         install.texi in comment.
44825 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44827         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44828         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44829         ... add here and use lwsync or sync ...
44830         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44831         ... and add here using lwsync.
44833 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
44835         * elf/dl-machine-reject-phdr.h: New file.
44836         * elf/dl-load.c: #include that.
44837         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44838         if that returned true.
44840 2014-10-31  Roland McGrath  <roland@hack.frob.com>
44842         [BZ #17496]
44843         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44844         gen-as-const-headers chunk.  Add a big scare comment after the last
44845         safe place to touch before-compile.
44847 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44849         * manual/install.texi (Tools for Compilation): Update autoconf
44850         version requirements.
44851         * INSTALL: Regenerated.
44853         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44854         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44855         (__libc_pselect): Likewise.
44857         [BZ #14138]
44858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44863 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44865         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44866         correct barrier instruction.
44867         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44868         Likewise.
44869         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44870         Likewise.
44872 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44874         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44875         after defining inlines.  Instead, just use parens to defeat macro
44876         expansion of __isctype in its declaration.
44878 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44880         * include/sys/uio.h (__libc_readv): Remove declaration.
44881         (__libc_writev): Likewise.
44882         * misc/readv.c (__libc_readv): Rename to __readv.
44883         (__readv): Do not define as alias.
44884         (readv): Define as alias of __readv.
44885         * misc/writev.c (__libc_writev): Rename to __writev.
44886         (__writev): Do not define as alias.
44887         (writev): Define as alias of __writev.
44888         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44889         (__readv): Do not define as alias.
44890         (readv): Define unconditionally as alias of __readv.
44891         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44892         (__writev): Do not define as alias.
44893         (writev): Define unconditionally as alias of __writev.
44894         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44895         name.
44896         (writev): Do not define __libc_writev name.
44898 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44900         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44901         (convert_charseq): New function, broken out of ...
44902         (use_from_charmap): ... here.  Call it.
44903         (use_to_charmap): Use convert_charseq and free instead of duplicating
44904         its code with a variable-length stack struct.
44906 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44908         * include/fcntl.h (__libc_creat): Remove declaration.
44909         * io/creat.c (__libc_creat): Rename to creat.
44910         (creat): Do not define as alias.
44911         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44912         of creat instead of __libc_creat.
44913         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44914         to creat.
44915         (creat): Do not define as alias.
44916         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44917         __libc_creat.
44918         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44919         __libc_creat name.
44920         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44921         Likewise.
44923 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
44925         * manual/llio.texi: Add comments discussing why write() may be
44926         considered MT-unsafe on Linux.
44928 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
44930         * dl-load.c (local_strdup): Remove.
44931         (expand_dynamic_string_token): Use __strdup.
44932         (decompose_rpath): Likewise.
44933         (_dl_map_object): Likewise.
44935 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
44937         [BZ #14132]
44938         * sysdeps/generic/unwind-dw2-fde.c
44939         (__register_frame_info_bases_internal): Do not declare.
44940         (__register_frame_info_table_bases_internal): Likewise.
44941         (__deregister_frame_info_bases_internal): Likewise.
44942         (__register_frame_info_bases): Declare and use hidden_proto before
44943         definition.  Use hidden_def instead of INTDEF.
44944         (__register_frame_info_table_bases): Likewise.
44945         (__deregister_frame_info_bases): Likewise.
44946         (__register_frame_info): Do not use INTUSE.
44947         (__register_frame): Likewise.
44948         (__register_frame_info_table): Likewise.
44949         (__register_frame_table): Likewise.
44950         (__deregister_frame_info): Likewise.
44951         (__deregister_frame): Likewise.
44953 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
44955         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44956         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44957         not undefine.
44958         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44959         Likewise.
44960         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44961         Likewise.
44963 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
44965         [BZ #14138]
44966         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44967         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44968         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44969         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44970         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44971         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44972         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44973         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44974         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44975         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44976         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44977         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44978         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44979         syscall.
44980         (setfsuid): Likewise.
44981         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44982         (setfsuid): Likewise.
44983         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44984         (setfsuid): Likewise.
44985         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44986         Likewise.
44987         (setfsuid): Likewise.
44988         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44989         (setfsuid): Likewise.
44990         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44991         Likewise.
44992         (setfsuid): Likewise.
44994 2014-10-27  Andreas Schwab  <schwab@suse.de>
44996         [BZ #17501]
44997         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44998         check for Slow_SSE4_2 feature bit.
44999         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45000         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45001         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45002         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
45004 2014-10-24  Roland McGrath  <roland@hack.frob.com>
45006         * configure.ac: Validate compiler version with a empirical test of
45007         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45008         $CC -v output.
45009         * configure: Regenerated.
45011         * inet/htons.c (htons): Prototypify.
45012         * inet/htonl.c (htonl): Likewise.
45014 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45016         * string/strncat.c (strncat): Improve performance by using strlen.
45018 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45020         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45022 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45024         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45025         Call libc_fetestexcept_aarch64.
45027 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45029         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45030         Call libc_feholdexcept_aarch64.
45032 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45034         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45035         Call get_rounding_mode.
45037 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45039         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45040         Simplify logic.
45042 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45044         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45045         Simplify logic.
45047 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
45049         [BZ #14138]
45050         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45051         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45052         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45053         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45054         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45055         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45056         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45057         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45058         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45059         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45060         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45061         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45062         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45063         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45064         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45065         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45066         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45067         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45068         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45069         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45070         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45071         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45072         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45073         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45074         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45075         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45076         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45077         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45078         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45079         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45080         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45081         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45082         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45083         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45084         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45085         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45086         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45087         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45088         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45089         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45090         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45091         syscall.
45092         (geteuid): Likewise.
45093         (getgid): Likewise.
45094         (getuid): Likewise.
45095         (getresgid): Likewise.
45096         (getresuid): Likewise.
45097         (getgroups): Likewise.
45098         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45099         (geteuid): Likewise.
45100         (getgid): Likewise.
45101         (getuid): Likewise.
45102         (getresgid): Likewise.
45103         (getresuid): Likewise.
45104         (getgroups): Likewise.
45105         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45106         (geteuid): Likewise.
45107         (getgid): Likewise.
45108         (getuid): Likewise.
45109         (getresgid): Likewise.
45110         (getresuid): Likewise.
45111         (getgroups): Likewise.
45112         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45113         Likewise.
45114         (geteuid): Likewise.
45115         (getgid): Likewise.
45116         (getuid): Likewise.
45117         (getresgid): Likewise.
45118         (getresuid): Likewise.
45119         (getgroups): Likewise.
45120         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45121         (geteuid): Likewise.
45122         (getgid): Likewise.
45123         (getuid): Likewise.
45124         (getresgid): Likewise.
45125         (getresuid): Likewise.
45126         (getgroups): Likewise.
45127         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45128         Likewise.
45129         (geteuid): Likewise.
45130         (getgid): Likewise.
45131         (getuid): Likewise.
45132         (getgroups): Likewise.
45134         [BZ #14138]
45135         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45136         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45137         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45138         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45139         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45140         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45141         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45142         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45143         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45144         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45145         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45146         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45147         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45148         __chown.
45149         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45150         (lchown): Likewise.
45151         (fchown): Likewise.
45152         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45153         Likewise.
45154         (lchown): Likewise.
45155         (fchown): Likewise.
45156         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45157         (lchown): Likewise.
45158         (fchown): Likewise.
45159         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45160         Likewise.
45161         (lchown): Likewise.
45162         (fchown): Likewise.
45164 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45166         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45167         Simplify logic.
45169 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45171         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45172         Cleanup logic.
45174 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45176         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45177         Remove unused include.
45179 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45181         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45182         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45183         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45184         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45186 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
45187             Helge Deller <deller@gmx.de>
45189         [BZ #17508]
45190         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45191         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45192         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45194 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
45196         [BZ #14132]
45197         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45198         Remove macro definition.
45199         (__ashrdi3_v_glibc20): Likewise.
45200         (__lshrdi3_v_glibc20): Likewise.
45201         (__cmpdi2_v_glibc20): Likewise.
45202         (__ucmpdi2_v_glibc20): Likewise.
45203         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45204         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45205         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45206         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45207         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45208         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45210 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45212         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45213         old GNU extension [0] syntax.
45214         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45215         alloca rather than an array member with variable length.
45216         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45217         * nscd/nscd.c (invalidate_db): New function, broken out of ...
45218         (parse_opt): ... here.  Likewise use alloca there.
45219         Validate the -i argument before checking for rootness.
45220         (send_shutdown): New function, broken out of ...
45221         (parse_opt): ... here.
45223 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45225         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45226         macro to get at the _rt_local_ro field.
45227         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45228         ([PIC] case) or _dl_hwcap ([!PIC] case).
45229         * sysdeps/arm/setjmp.S: Likewise.
45231         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45232         * sysdeps/arm/configure.ac: New check to define it.
45233         * sysdeps/arm/configure: Regenerated.
45234         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45235         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45236         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45237         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45238         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45239         Use move/movt pair instead of a load.
45240         (LDST_GLOBAL): Macro removed.
45241         (LDR_GLOBAL): New macro replaces it.
45242         (LDR_HIDDEN): New macro.
45243         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45244         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45246         * setjmp/tst-setjmp-static.c: New file.
45247         * setjmp/Makefile (tests): Add it.
45248         (tests-static): New variable.
45250 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
45252         [BZ #17485]
45253         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45255 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
45257         [BZ #14132]
45258         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45260 2014-10-21  Roland McGrath  <roland@hack.frob.com>
45262         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45264 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45266         * io/fts.c (dirent_not_directory): New function.
45267         (fts_build): Call it.
45269 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45271         * nptl/version.c (__nptl_main): Use normal __write rather than
45272         INTERNAL_SYSCALL.
45273         (banner): Update copyright years.
45275         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45276         gettimeofday.
45277         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45278         * nptl/pthread_cond_timedwait.c: Likewise.
45279         * nptl/pthread_mutex_timedlock.c: Likewise.
45280         * nptl/sem_timedwait.c: Likewise.
45282         * sysdeps/nptl/bits/libc-lock.h
45283         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45284         (__libc_lock_init_recursive): Return void, not 0.
45285         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45286         (__libc_rwlock_init): Likewise.
45287         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45289 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45291         [BZ #15215]
45292         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45293         (__pthread_once_slow): ... here.
45294         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45295         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45297 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45299         [BZ #15215]
45300         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45301         __PTHREAD_ONCE_FORK_GEN_INCR): New.
45302         * sysdeps/nptl/fork.c (__libc_fork): Use them.
45303         * nptl/pthread_once.c (__pthread_once): Likewise.
45304         Update comments.
45306 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
45308         [BZ #14138]
45309         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45310         name.
45311         (writev): Use __libc_writev as strong name.
45312         * sysdeps/unix/sysv/linux/readv.c: Remove file.
45313         * sysdeps/unix/sysv/linux/writev.c: Likewise.
45315 2014-10-17  Roland McGrath  <roland@hack.frob.com>
45317         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45319         * sysdeps/i386/nptl/tls.h
45320         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45321         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45322         New macros.
45323         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45324         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45325         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45326         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45327         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45328         Call CHECK_THREAD_SYSINFO instead of doing an assert.
45330         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45331         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45332         on [__NR_futex].
45333         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45334         broken out of ...
45335         (__pthread_mutex_init): ... here.  Call it.
45336         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45337         Conditionalize PI cases on [__NR_futex].
45338         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45339         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45340         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45342         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45343         conditional on [SIGSETXID].
45344         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45345         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45346         is defined.  Likewise for SIGSETXID.
45347         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45348         Conditionalize definitions on [SIGSETXID].
45349         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45350         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45351         unblocking on [SIGCANCEL].
45353         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45354         [__NR_set_robust_list].
45356 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45358         * string/strcoll_l.c (get_next_seq): Fix up formatting.
45359         (do_compare): Likewise.
45361 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
45363         [BZ #15884]
45364         * string/strcoll_l.c: Don't include stdio.h.
45365         (coll_seq): Remove members idxarr and rulearr.
45366         (get_next_seq_cached): Remove function.
45367         (get_next_seq): Likewise.
45368         (get_next_seq_nocache): Rename to get_next_seq.
45369         (do_compare): Remove function.
45370         (do_compare_nocache): Rename to do_compare.
45371         (STRCOLL): Remove weight and rules cache.
45373 2014-10-16  Roland McGrath  <roland@hack.frob.com>
45375         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45376         * sysdeps/arm/sfp-machine.h: ... to here.
45377         * sysdeps/arm/Implies: Remove arm/soft-fp.
45379 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
45381         * conform/data/sys/utsname.h-data (*_t): Allow.
45382         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45383         [POSIX] (WEXITED): Do not expect constant.
45384         [POSIX] (WSTOPPED): Likewise.
45385         [POSIX] (WNOHANG): Likewise.
45386         [POSIX] (WNOWAIT): Likewise.
45387         [POSIX] (siginfo_t): Do not expect type or elements.
45388         [POSIX] (pid_t): Do not expect type.
45389         [POSIX] (signal.h): Do not allow header.
45390         [POSIX] (sys/resource.h): Likewise.
45391         [POSIX] (si_*): Do not allow pattern.
45392         [POSIX] (W*): Likewise.
45393         [POSIX] (P_*): Likewise.
45394         [POSIX] (BUS_*): Likewise.
45395         [POSIX] (CLD_*): Likewise.
45396         [POSIX] (FPE_*): Likewise.
45397         [POSIX] (ILL_*): Likewise.
45398         [POSIX] (POLL_*): Likewise.
45399         [POSIX] (SEGV_*): Likewise.
45400         [POSIX] (SI_*): Likewise.
45401         [POSIX] (TRAP_*): Likewise.
45402         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45403         variable.
45405 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
45407         [BZ #12926]
45408         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45409         infinite loop when __recvmsg returns 0.
45411 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
45413         * CANCEL-FCT-WAIVE: Remove file.
45414         * CANCEL-FILE-WAIVE: Likewise.
45416         [BZ #14132]
45417         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45418         instead of INTVARDEF.
45419         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45420         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45421         rtld_hidden_data_def instead of INTVARDEF.
45422         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45423         * elf/dl-deps.c (expand_dst): Likewise.
45424         * elf/dl-load.c (_dl_dst_count): Likewise.
45425         (_dl_dst_substitute): Likewise.
45426         (decompose_rpath): Likewise.
45427         (_dl_init_paths): Likewise.
45428         (open_path): Likewise.
45429         (_dl_map_object): Likewise.
45430         * elf/rtld.c (dl_main): Likewise.
45431         (process_dl_audit): Likewise.
45432         (process_envvars): Likewise.
45433         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45434         Remove declaration.
45435         (__libc_enable_secure): Use rtld_hidden_proto.
45437 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45439         * elf/dl-load.c
45440         (add_path): New function broken out of _dl_rtld_di_serinfo.
45441         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
45443 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45445         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45446         parentheses around macro arguments.
45447         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45448         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45449         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45450         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45451         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45452         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45453         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45454         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45455         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45456         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45458         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45459         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45460         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45461         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45462         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45463         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45464         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45465         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45466         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45467         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45468         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45469         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45470         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45472         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45473         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45474         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45476         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45477         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45478         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45479         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45480         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45481         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45482         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45483         Likewise.
45484         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45486         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45487         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45488         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45490         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45491         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45492         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45493         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45494         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45495         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45496         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45497         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45498         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45499         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45501         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45502         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45503         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45504         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45505         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45506         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45507         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45508         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45509         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45510         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45511         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45512         (_FP_FRAC_SRS_1): Likewise.
45513         (_FP_FRAC_CLZ_1): Likewise.
45514         (_FP_MUL_MEAT_1_imm): Likewise.
45515         (_FP_MUL_MEAT_1_wide): Likewise.
45516         (_FP_MUL_MEAT_1_hard): Likewise.
45517         (_FP_SQRT_MEAT_1): Likewise.
45518         (_FP_FRAC_ASSEMBLE_1): Likewise.
45519         (_FP_FRAC_DISASSEMBLE_1): Likewise.
45520         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45521         (__FP_CLZ_2): Likewise.
45522         (_FP_MUL_MEAT_2_wide): Likewise.
45523         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45524         (_FP_MUL_MEAT_2_gmp): Likewise.
45525         (_FP_MUL_MEAT_2_120_240_double): Likewise.
45526         (_FP_SQRT_MEAT_2): Likewise.
45527         (_FP_FRAC_ASSEMBLE_2): Likewise.
45528         (_FP_FRAC_DISASSEMBLE_2): Likewise.
45529         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45530         (_FP_FRAC_CLZ_4): Likewise.
45531         (_FP_MUL_MEAT_4_wide): Likewise.
45532         (_FP_MUL_MEAT_4_gmp): Likewise.
45533         (_FP_SQRT_MEAT_4): Likewise.
45534         (_FP_FRAC_ASSEMBLE_4): Likewise.
45535         (_FP_FRAC_DISASSEMBLE_4): Likewise.
45536         * soft-fp/op-common.h (_FP_CMP): Likewise.
45537         (_FP_CMP_EQ): Likewise.
45538         (_FP_CMP_UNORD): Likewise.
45539         (_FP_TO_INT): Likewise.
45540         (_FP_FROM_INT): Likewise.
45541         [!__FP_CLZ] (__FP_CLZ): Likewise.
45542         (_FP_DIV_HELP_imm): Likewise.
45543         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45544         Likewise.
45545         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45546         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45547         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45548         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45549         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45550         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45551         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45552         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45553         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45554         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45555         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45556         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45557         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45558         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45559         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45560         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45561         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45562         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45563         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45564         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45565         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45566         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45567         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45568         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45569         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45570         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45571         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45572         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45573         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45574         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45575         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45576         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45577         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45578         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45579         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45580         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45581         (FP_UNPACK_RAW_SP): Likewise.
45582         (FP_PACK_RAW_S): Likewise.
45583         (FP_PACK_RAW_SP): Likewise.
45584         (FP_UNPACK_S): Likewise.
45585         (FP_UNPACK_SP): Likewise.
45586         (FP_UNPACK_SEMIRAW_S): Likewise.
45587         (FP_UNPACK_SEMIRAW_SP): Likewise.
45588         (FP_PACK_S): Likewise.
45589         (FP_PACK_SP): Likewise.
45590         (FP_PACK_SEMIRAW_S): Likewise.
45591         (FP_PACK_SEMIRAW_SP): Likewise.
45592         (_FP_SQRT_MEAT_S): Likewise.
45593         (FP_CMP_S): Likewise.
45594         (FP_CMP_EQ_S): Likewise.
45595         (FP_CMP_UNORD_S): Likewise.
45596         (FP_TO_INT_S): Likewise.
45597         (FP_FROM_INT_S): Likewise.
45599         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45601         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45602         (FP_EX_INVALID_IMZ): Likewise.
45603         (FP_EX_INVALID_IMZ_FMA): Likewise.
45604         (FP_EX_INVALID_ISI): Likewise.
45605         (FP_EX_INVALID_ZDZ): Likewise.
45606         (FP_EX_INVALID_IDI): Likewise.
45607         (FP_EX_INVALID_SQRT): Likewise.
45608         (FP_EX_INVALID_CVI): Likewise.
45609         (FP_EX_INVALID_VC): Likewise.
45610         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45611         "invalid" exceptions.
45612         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45613         (_FP_ADD_INTERNAL): Likewise.
45614         (_FP_MUL): Likewise.
45615         (_FP_FMA): Likewise.
45616         (_FP_DIV): Likewise.
45617         (_FP_CMP_CHECK_NAN): Likewise.
45618         (_FP_SQRT): Likewise.
45619         (_FP_TO_INT): Likewise.
45620         (FP_EXTEND): Likewise.
45622 2014-10-09  Allan McRae  <allan@archlinux.org>
45624         * po/fr.po: Update French translation from translation project.
45626 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45628         [BZ #14132]
45629         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45630         of INTDEF.
45631         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45632         (__cxa_atexit): Use libc_hidden_proto.
45633         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45635         [BZ #14132]
45636         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45637         declaration.
45638         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45639         [!_ISOMAC] (__iswspace_l_internal): Likewise.
45640         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45641         [!_ISOMAC] (__iswctype_internal): Likewise.
45642         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45643         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45644         alias.
45645         (fcntl): Remove __fcntl_internal alias.
45646         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45647         __connect_internal alias.
45648         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45649         Likewise.
45651         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45652         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45653         FP_DENORM_ZERO.
45654         (_FP_CHECK_FLUSH_ZERO): New macro.
45655         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45656         (_FP_CMP): Likewise.
45657         (_FP_CMP_EQ): Likewise.
45658         (_FP_TO_INT): Do not set inexact for subnormal arguments if
45659         FP_DENORM_ZERO.
45660         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45661         (FP_TRUNC): Likewise.
45663         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45664         treated as invalid conversion, not as normal exponent.
45666         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45667         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
45668         (_FP_CMP_EQ): Likewise.
45669         (_FP_CMP_UNORD): Likewise.
45670         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45671         (FP_CMP_EQ_D): Likewise.
45672         (FP_CMP_UNORD_D): Likewise.
45673         * soft-fp/extended.h (FP_CMP_E): Likewise.
45674         (FP_CMP_EQ_E): Likewise.
45675         (FP_CMP_UNORD_E): Likewise.
45676         * soft-fp/quad.h (FP_CMP_Q): Likewise.
45677         (FP_CMP_EQ_Q): Likewise.
45678         (FP_CMP_UNORD_Q): Likewise.
45679         * soft-fp/single.h (FP_CMP_S): Likewise.
45680         (FP_CMP_EQ_S): Likewise.
45681         (FP_CMP_UNORD_S): Likewise.
45682         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45683         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45684         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45685         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45686         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45687         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45688         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45689         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45690         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45691         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45692         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45693         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45694         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45695         to FP_CMP_Q.
45696         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45697         FP_CMP_Q.
45698         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45699         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45700         FP_CMP_EQ_Q.
45701         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45702         FP_CMP_Q.
45703         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45704         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45705         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45706         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45707         FP_CMP_EQ_Q.
45708         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45709         FP_CMP_Q.
45710         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45711         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45712         FP_CMP_EQ_Q.
45713         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45714         FP_CMP_Q.
45715         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45716         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45717         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45718         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45719         FP_CMP_EQ_Q.
45721         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45722         a subnormal result, set the underflow exception if trapping on
45723         underflow is enabled.
45724         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45725         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45726         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45727         redefine to 0.
45728         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45729         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45730         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45731         * soft-fp/extendxftf2.c (__extendxftf2): Use
45732         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45734         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45735         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45736         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45737         FP_HANDLE_EXCEPTIONS.
45738         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45739         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45740         FP_HANDLE_EXCEPTIONS.
45741         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45742         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45743         FP_HANDLE_EXCEPTIONS.
45744         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45745         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45746         FP_HANDLE_EXCEPTIONS.
45748 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
45750         [BZ #14132]
45751         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45752         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45753         use INTUSE.
45754         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45755         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45756         Remove alias.
45757         (__adjtimex): Define using libc_hidden_ver.
45758         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45759         Remove declaration.
45760         (ntp_gettime): Call __adjtimex directly.
45761         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45762         Remove declaration.
45763         (ntp_gettimex): Call __adjtimex directly.
45764         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45765         __adjtimex_internal alias.
45767 2014-10-08  Roland McGrath  <roland@hack.frob.com>
45769         [BZ #17460]
45770         * nscd/nscd.c (more_help): Rewrite list of tables collection
45771         using xstrdup and asprintf.
45773         * nscd/nscd_conf.c: Remove local xstrdup declaration.
45775 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45776             Roland McGrath  <roland@hack.frob.com>
45778         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45779         (do_lookup_unique): ... local function 'enter' here; update callers.
45781 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
45783         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45784         compat_symbol calls on [SHARED].
45785         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45786         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45787         Remove.
45788         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45789         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45790         (oldsetrlimit): Remove.
45791         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45793         (lchown): New syscall entry.
45794         (oldsetrlimit): Remove.
45795         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45796         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45797         (oldsetrlimit): Remove.
45798         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45800         [BZ #14138]
45801         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45802         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45803         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45804         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45805         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45806         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45807         (fchown): Likewise.
45808         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45809         (fchown): Likewise.
45810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45811         Likewise.
45813 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45815         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45816         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45817         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45818         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45819         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45820         Likewise.
45821         (__old_sem_post): Likewise.
45823 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
45825         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45826         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45827         HAVE_CLOCK_GETTIME_VSYSCALL macros.
45828         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45829         Use INLINE_VSYSCALL macro.
45830         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45831         __vdso_clock_gettime.
45832         * sysdeps/unix/sysv/linux/tile/init-first.c
45833         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45834         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45835         __vdso_clock_gettime.
45837         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45838         to set up frame more cleanly.
45840         * sysdeps/tile/memcmp.c: New file.
45842         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45844         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45845         * sysdeps/tile/tilegx/strcasestr.c: New file.
45846         * sysdeps/tile/tilegx/strnlen.c: New file.
45847         * sysdeps/tile/tilegx/strstr.c: New file.
45849         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45851 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
45853         * nptl/tst-setuid3.c: Write errors to stdout.
45855 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45857         * elf/dl-deps.c
45858         (preload): New functions broken out of _dl_map_object_deps.
45859         (_dl_map_object_deps):  Remove a nested function. Update call sites.
45861 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
45863         [BZ #14138]
45864         * sysdeps/unix/sysv/linux/execve.c: Remove file.
45865         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45867 2014-10-01  Steve Ellcey  <sellcey@mips.com>
45869         * sysdeps/mips/strcmp.S: New.
45871 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
45873         [BZ #14138]
45874         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45875         (linkat): Likewise.
45876         (mkdirat): Likewise.
45877         (readlinkat): Likewise.
45878         (renameat): Likewise.
45879         (symlinkat): Likewise.
45880         (unlinkat): Likewise.
45881         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45882         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45883         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45884         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45885         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45886         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45887         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45889 2014-09-30  Will Newton  <will.newton@linaro.org>
45891         * math/math.h: Define long double math functions if
45892         _LIBC_TEST is defined.
45893         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45895         * localedata/Makefile: Move assignment to tests-special
45896         into an ifdef testing run-built-tests.
45897         * timezone/Makefile: Likewise.
45899 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
45901         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45902         with $(BASH) not $(SHELL).
45904 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
45905             Matthew LeGendre  <legendre1@llnl.gov>
45907         [BZ #17411]
45908         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45909         l_reloc_result.
45911 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45913         * stdio-common/printf_fp.c
45914         (hack_digit): New function, broken out of ...
45915         (__printf_fp): ... local function here.  Update call sites.
45916         hack_digit now takes an additional parameter that is a pointer
45917         to a struct of the referenced locals.  Those locals moved inside
45918         the struct and references updated.
45920 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
45922         * aclocal.m4: Require autoconf 2.69.
45923         * configure: Regenerated.
45924         * sysdeps/aarch64/configure: Likewise.
45925         * sysdeps/alpha/configure: Likewise.
45926         * sysdeps/arm/armv7/configure: Likewise.
45927         * sysdeps/arm/configure: Likewise.
45928         * sysdeps/ia64/configure: Likewise.
45929         * sysdeps/mach/configure: Likewise.
45930         * sysdeps/mips/configure: Likewise.
45931         * sysdeps/s390/configure: Likewise.
45932         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45935         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45936         file.
45937         * sysdeps/ia64/configure.ac: Likewise.
45939 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
45941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45942         specify symbol version for ld.so.  Do not include entry for
45943         libpthread.
45944         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45945         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45946         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45948         [BZ #14171]
45949         * Makeconfig [$(build-shared) = yes]
45950         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45951         makefiles.
45952         [$(build-shared) = yes && $(soversions.mk-done) = t]
45953         ($(common-objpfx)gnu/lib-names.h): Remove rule.
45954         [$(build-shared) = yes && $(soversions.mk-done) = t]
45955         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
45956         to Makerules.
45957         [$(build-shared) = yes && $(soversions.mk-done) = t]
45958         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45959         here.
45960         [$(build-shared) = yes && $(soversions.mk-done) = t]
45961         (common-generated): Don't append gnu/lib-names.h and
45962         gnu/lib-names.stmp here.
45963         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45964         (lib-names-h-abi): New variable.
45965         [$(build-shared) = yes && $(soversions.mk-done) = t]
45966         (lib-names-stmp-abi): Likewise.
45967         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45968         abi-variants] (before-compile): Append
45969         $(common-objpfx)$(lib-names-h-abi).
45970         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45971         abi-variants] (common-generated): Append gnu/lib-names.h.
45972         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45973         abi-variants] (install-others-nosubdir): Depend on
45974         $(inst_includedir)/$(lib-names-h-abi).
45975         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45976         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45977         [$(build-shared) = yes && $(soversions.mk-done) = t]
45978         ($(common-objpfx)$(lib-names-h-abi)): New rule.
45979         [$(build-shared) = yes && $(soversions.mk-done) = t]
45980         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45981         [$(build-shared) = yes && $(soversions.mk-done) = t]
45982         (common-generated): Append $(lib-names-h-abi) and
45983         $(lib-names-stmp-abi).
45984         * scripts/lib-names.awk: Do not handle multi being set.
45985         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45986         Remove variable.
45987         (abi-lp64_be-ld-soname): Likewise.
45988         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45989         Likewise.
45990         (abi-hard-ld-soname): Likewise.
45991         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45992         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45993         Remove variable.
45994         (abi-o32_hard-ld-soname): Likewise.
45995         (abi-o32_soft_2008-ld-soname): Likewise.
45996         (abi-o32_hard_2008-ld-soname): Likewise.
45997         (abi-n32_soft-ld-soname): Likewise.
45998         (abi-n32_hard-ld-soname): Likewise.
45999         (abi-n32_soft_2008-ld-soname): Likewise.
46000         (abi-n32_hard_2008-ld-soname): Likewise.
46001         (abi-n64_soft-ld-soname): Likewise.
46002         (abi-n64_hard-ld-soname): Likewise.
46003         (abi-n64_soft_2008-ld-soname): Likewise.
46004         (abi-n64_hard_2008-ld-soname): Likewise.
46005         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46006         Likewise.
46007         (abi-64-v2-ld-soname): Likewise.
46008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46009         ld.so entries.
46010         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46011         variable.
46012         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46013         entry.
46014         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46015         variable.
46016         (abi-64-ld-soname): Likewise.
46017         (abi-x32-ld-soname): Likewise.
46018         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46019         entry.
46020         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46022 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
46024         [BZ #14138]
46025         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46026         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46027         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46028         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46029         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46030         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46031         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46032         syscall entry for GLIBC_2.2 symbol version.
46033         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46034         Likewise.
46035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46036         (setrlimit): Likewise.
46037         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46038         Likewise.
46040 2014-09-23  Will Newton  <will.newton@linaro.org>
46042         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46043         _LINUX_ARM_SYSDEP_H include guard too.
46044         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46045         define.
46047 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46049         * sysdeps/unix/sysv/linux/eventfd.c:
46050         Make first argument unsigned.
46051         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46052         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46054 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
46056         [BZ #16852]
46057         * socket/recvmmsg.c (recvmmsg): Drop const argument.
46058         * socket/sys/socket.h: Likewise.
46059         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46061 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46063         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46065 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
46067         * time/tst-ftime.c: New test.
46068         * time/Makefile (tests): Add tst-ftime.
46070 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
46072         * soft-fp/extended.h: Fix comment formatting.
46073         * soft-fp/op-1.h: Likewise.
46074         * soft-fp/op-2.h: Likewise.
46075         * soft-fp/op-4.h: Likewise.
46076         * soft-fp/op-8.h: Likewise.
46077         * soft-fp/op-common.h: Likewise.
46078         * soft-fp/soft-fp.h: Likewise.
46080         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46082 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
46084         [BZ #6652]
46085         * Makeconfig (soversions-default-setname): Remove variable.
46086         ($(common-objpfx)soversions.i): Don't pass default_setname to
46087         soversions.awk.
46088         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46089         oldest_abi to abi-versions.awk.
46090         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46091         * config.make.in (oldest-abi): Remove variable.
46092         * configure.ac (--enable-oldest-abi): Remove configure option.
46093         * configure: Regenerated.
46094         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46095         text.
46096         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46097         * scripts/soversions.awk: Do not handle default_setname variable.
46098         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46099         variable.
46100         * sysdeps/mach/hurd/configure: Regenerated.
46101         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46102         variable.
46103         * sysdeps/unix/sysv/linux/configure: Regenerated.
46105 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46107         * elf/Makefile (CFLAGS-interp.c): Remove.
46108         ($(elf-objpfx)runtime-linker.h): Generate header with linker
46109         path string.
46110         * elf/interp.c: Include generated runtime-linker.h
46112         * Makerules (lib%.so): Don't include $(+interp) in
46113         prerequisites.
46114         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46115         * dlfcn/eval.c: Remove file.
46117         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46118         macros.
46120         [BZ #17266]
46121         * misc/sys/cdefs.h: Define __extern_always_inline for clang
46122         4.2 and newer.
46124         [BZ #17370]
46125         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46127 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46128             Jakub Jelinek  <jakub@redhat.com>
46130         [BZ #17266]
46131         * libio/stdio.h: Check definition of __fortify_function
46132         instead of __extern_always_inline to include bits/stdio2.h.
46133         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46134         check if __extern_always_inline is defined.
46135         [__USE_MISC || __USE_XOPEN]: Likewise.
46136         [__USE_ISOC99] Likewise.
46137         * misc/sys/cdefs.h (__fortify_function): Define only if
46138         __extern_always_inline is defined.
46139         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46140         __extern_always_inline and __extern_inline only for g++-4.3
46141         and newer or a compatible gcc.
46143 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
46145         [BZ #17371]
46146         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46147         last change to handle zero prefix length.
46149 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46151         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46152         _SC_REGEX_VERSION.
46154         * posix/getconf.c (vars): Add _POSIX_IPV6 and
46155         _POSIX_RAW_SOCKETS.
46157 2014-09-13  Allan McRae  <allan@archlinux.org>
46159         * po/ru.po: Update Russian translation from translation project.
46161 2014-09-12  Roland McGrath  <roland@hack.frob.com>
46163         * locale/programs/locale.c (show_locale_vars): Inline local function
46164         into its sole call site.  Clean up some style nits.
46165         (print_item): New function, broken out of ...
46166         (show_info): ... local function here.  Clean up style nits.
46168         * locale/programs/ld-ctype.c (set_one_default): New function, broken
46169         out of ...
46170         (set_class_defaults): ... local function set_default here.
46171         Define set_default as a macro locally to pass constant parameters.
46172         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46173         rather than a shared local.
46175         * stdlib/rpmatch.c (try): New function, broken out of ...
46176         (rpmatch): ... local function here.  Also, prototypify definition.
46178 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
46180         * scripts/soversions.awk: Do not handle configuration names.
46181         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46182         vendor and os variables to soversions.awk.
46183         * configure.ac: Do not modify gnu-* host_os.
46184         * configure: Regenerated
46185         * shlib-versions: Remove first column with configuration names.
46186         * nptl/shlib-versions: Likewise.
46187         * nptl_db/shlib-versions: Likewise.
46188         * sysdeps/hppa/shlib-versions: Likewise.
46189         * sysdeps/m68k/shlib-versions: Likewise.
46190         * sysdeps/mach/hurd/shlib-versions: Likewise.
46191         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46192         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46193         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46194         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46195         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46196         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46197         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46198         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46200         Likewise.
46201         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46202         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46203         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46204         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46205         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46206         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46207         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46208         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46211         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46213         Regenerated.
46214         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46216         Condition symbol version definitions on [HAVE_ELFV2_ABI].
46218         * shlib-versions: Remove OS-specific entries.  Moved to files in
46219         sysdeps.
46220         * sysdeps/mach/hurd/shlib-versions: New file.
46221         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46223         * nptl/shlib-versions: Remove architecture-specific entries.
46224         Moved to files in sysdeps.
46225         * shlib-versions: Likewise.
46226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46227         file.
46228         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46229         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46230         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46231         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46233         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46234         (UDP_NO_CHECK6_RX): Likewise.
46236 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46238         * sysdeps/posix/sysconf.c (__sysconf): Spell
46239         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46241 2014-08-12  Florian Weimer  <fweimer@redhat.com>
46243         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46244         loading.
46245         * iconv/Versions (__gconv_transliterate): Export for use from
46246         gconv modules.
46247         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46248         (struct __gconv_trans_data, __gconv_trans_fct,
46249         __gconv_trans_context_fct, __gconv_trans_query_fct,
46250         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46251         definitions.
46252         (struct __gconv_step_data): Remove __trans member.
46253         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
46254         longer hidden.  Remove unused trans_data argument.
46255         * iconv/gconv_int.h (struct trans_struct): Remove definition.
46256         (__gconv_translit_find): Remove declaration.
46257         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
46258         prototype.
46259         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46260         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46261         trans_data argument.  Add hidden definition.
46262         (__gconv_translit_find): Remove.
46263         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46264         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46265         * iconv/skeleton.c: Remove transliteration initialization.
46266         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46267         __gconv_step_data initialization.
46268         * libio/iofwide.c (__libio_translit_): Remove.
46269         (_IO_fwide): Adjust struct __gconv_step_data initialization.
46270         * wcsmbs/btowc.c (__btowc): Likewise.
46271         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46272         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46273         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46274         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46275         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46276         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46277         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46278         * wcsmbs/wctob.c (wctob): Likewise.
46280 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46282         [BZ #16194]
46283         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46284         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
46285         register usage.
46286         * sysdeps/x86/Makefile: Adjust.
46288 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46289             Roland McGrath  <roland@hack.frob.com>
46291         * locale/weight.h: Add include guard.
46292         (findidx): Make static rather than auto; take new parameters
46293         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46294         * locale/weightwc.h: Likewise.
46295         * posix/fnmatch_loop.c
46296         (FCT): Change type of EXTRA from int32_t to wint_t.
46297         Don't include either header inside the function.
46298         Call FINDIDX rather than findidx, and pass new arguments.
46299         #undef FINDIDX at the end of the file.
46300         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46301         FINDIDX before including fnmatch_loop.c for the non-wide version.
46302         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46303         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46304         for the wide version.
46305         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46306         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46307         Pass new arguments to findidx.
46308         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46309         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46310         Don't #include it inside the function.  Pass new arguments to findidx.
46311         * posix/regex_internal.h
46312         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46313         (re_string_elem_size_at): Don't #include it inside the function.
46314         Pass new arguments to findidx.
46315         * string/strcoll_l.c: #include WEIGHT_H at top level.
46316         (get_next_seq): Don't #include it inside the function.
46317         Pass new arguments to findidx.
46318         (get_next_seq_nocache): Likewise.
46319         * string/strxfrm_l.c: #include WEIGHT_H at top level.
46320         (STRXFRM): Don't #include it inside the function.
46321         Pass new arguments to findidx.
46323 2014-09-11  Florian Weimer  <fweimer@redhat.com>
46325         [BZ #17344]
46326         * malloc/malloc.c (unlink): Turn asserts into a call to
46327         malloc_printerr.
46329 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
46331         [BZ #17370]
46332         * libio/wfileops (do_ftell_wide): Free OUT.
46334 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
46336         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46338 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46340         [BZ #17363]
46341         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46342         group if the current group is empty.
46344 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46346         * benchtests/bench-memset.c (test_main): Add more test from size
46347         from 32 to 512 bytes.
46348         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46349         Add POWER8 memset object.
46350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46351         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46352         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46353         implementation.
46354         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46355         Likewise.
46356         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46357         multiarch POWER8 memset optimization.
46358         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46359         POWER8 memset optimization.
46361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46362         Remove bzero multiarch objects.
46363         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46364         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46365         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46366         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46367         Remove define.
46368         [__bzero]: Redefine to specific name.
46369         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46370         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46371         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46372         define.
46373         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46374         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46376 2014-09-10  Florian Weimer  <fweimer@redhat.com>
46378         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46379         warnings into errors.
46381         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46382         __cxa_thread_atexit_impl prototype.
46384 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46386         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46387         Fix capitalization of error message.
46389 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46391         * sysdeps/mips/preconfigure: Modify ABI tests.
46393 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
46395         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46397 2014-09-07  Roland McGrath  <roland@hack.frob.com>
46398             Carlos O'Donell  <carlos@systemhalted.org>
46400         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46401         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46402         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46403         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46404         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46405         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46406         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46407         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46408         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46409         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46410         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46411         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46412         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46413         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46414         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46415         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46416         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46417         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46418         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46419         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46420         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46421         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46422         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46423         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46424         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46425         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46426         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46427         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46428         Deconditionalize the code that was previously under [RESET_PID].
46429         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46430         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46431         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46432         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46433         include sysdep.h.
46435 2014-09-08  Allan McRae  <allan@archlinux.org>
46437         * version.h (RELEASE): Set to "development".
46438         (VERSION): Set to "2.20.90"
46440 2014-09-07  Allan McRae  <allan@archlinux.org
46442         * version.h (RELEASE): Set to "stable".
46443         (VERSION): Set to "2.20"
46444         * include/features.h (__GLIBC_MINOR__): Set to 20.
46446         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46447         Liebler.
46449         * po/ko.po: Update Korean translation from translation project.
46451 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
46453         [BZ #17354]
46454         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46455         macro for handling signed relocations.
46457 2014-09-03  Florian Weimer  <fweimer@redhat.com>
46459         [BZ #17325]
46460         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46461         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46462         assert.
46463         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46464         * iconvdata/ibm935.c (BODY): Likewise.
46465         * iconvdata/ibm937.c (BODY): Likewise.
46466         * iconvdata/ibm939.c (BODY): Likewise.
46467         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46468         assert.
46469         * iconvdata/Makefile (iconv-test.out): Pass module list to test
46470         script.
46471         * iconvdata/run-iconv-test.sh: New test loop for checking for
46472         decoder crashers.
46474 2014-09-02  Khem Raj  <raj.khem@gmail.com>
46476         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46477         libm_hidden_ver.
46479 2014-09-01  Allan McRae  <allan@archlinux.org>
46481         * po/eo.po: Update Esperanto translation from translation project.
46483         * po/ca.po: Update Catalan translation from translation project.
46485 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46487         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46488         __proc_dostop call.
46490 2014-08-27  Mark Wielaard  <mjw@redhat.com>
46492         [BZ #17319]
46493         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46494         to call set_thread_area instead of hand written asm.
46495         (__NR_set_thread_area): Removed define.
46496         (TLS_FLAG_WRITABLE): Likewise.
46497         (__ASSUME_SET_THREAD_AREA): Remove check.
46498         (TLS_EBX_ARG): Remove define.
46499         (TLS_LOAD_EBX): Likewise.
46501 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46503         Simplify atomicity of socket creation in bind.
46505         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46506         looking up the name after linking the file.
46508 2014-08-27  Allan McRae  <allan@archlinux.org>
46510         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46512 2014-08-26  Florian Weimer  <fweimer@redhat.com>
46514         [BZ #17187]
46515         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46516         trans_compare, open_translit, __gconv_translit_find):
46517         Remove module loading code.
46519 2014-08-26  Allan McRae  <allan@archlinux.org>
46521         * po/vi.po: Update Vietnamese translation from translation project.
46523         * po/uk.po: Update Ukrainian translation from translation project.
46525         * po/fr.po: Update French translation from translation project.
46527         * po/ru.po: Update Russian translation from translation project.
46529         * po/pl.po: Update Polish translation from translation project.
46531         * po/cs.po: Update Czech translation from translation project.
46533         * po/de.po: Update German translation from translation project.
46535         * po/bg.po: Update Bulgarian translation from translation project.
46537         * po/sv.po: Update Sweedish translation from translation project.
46539         * po/nl.po: Update Dutch translation from translation project.
46541         * po/es.po: Update Spanish translation from translation project.
46543 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46545         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46547         * catgets/Makefile (CPPFLAGS-gencat): Remove.
46548         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46549         (CPPFLAGS-iconvconfig): Likewise.
46550         * timezone/Makefile (CPPFLAGS-zic): Likewise.
46552         * include/libc-symbols.h: Remove unnecessary check for
46553         NOT_IN_libc.
46554         * nptl/pthreadP.h: Likewise.
46555         * sysdeps/aarch64/setjmp.S: Likewise.
46556         * sysdeps/alpha/setjmp.S: Likewise.
46557         * sysdeps/arm/sysdep.h: Likewise.
46558         * sysdeps/i386/setjmp.S: Likewise.
46559         * sysdeps/m68k/setjmp.c: Likewise.
46560         * sysdeps/posix/getcwd.c: Likewise.
46561         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46562         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46563         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46564         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46565         * sysdeps/sh/sh3/setjmp.S: Likewise.
46566         * sysdeps/sh/sh4/setjmp.S: Likewise.
46567         * sysdeps/unix/alpha/sysdep.h: Likewise.
46568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46569         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46570         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46571         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46574         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46576         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46579         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46581         * sysdeps/x86_64/setjmp.S: Likewise.
46583 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46585         [BZ #17263]
46586         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46587         <stdint.h>.
46588         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46589         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46591 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46593         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46595         [BZ #17262]
46596         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46597         and __x86_64__ when disabling x87 inline functions.
46599 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46601         [BZ #17259]
46602         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46603         asm statement with __cpuid_count.
46605 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46607         * configure.ac: Change __ehdr_start code to dereference the struct.
46608         Run readelf on the output to look for relocations.
46609         * configure: Regenerated.
46611 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46613         [BZ #17261]
46614         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46615         value to 0.
46616         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46618 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46620         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46622 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46624         [BZ #16892]
46625         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46626         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46628 2014-08-12  Sean Anderson  <seanga2@gmail.com>
46630         * malloc/malloc.c: Fix typo in comment.
46632 2014-08-09  Allan McRae  <allan@archlinux.org>
46634         * Regenerate libc.po.
46636 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
46638         * intl/tst-gettext2.sh: Check every lang file for creation.
46640 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46642         * sysdeps/aarch64/fpu/math_private.h
46643         (libc_feholdsetround_noex_aarch64_ctx): New function.
46645 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46647         * sysdeps/arm/armv6/strcpy.S (strcpy):
46648         Fix performance issue in misaligned cases.
46650 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46652         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46653         Move definition from termios.h.
46654         (struct termio): Likewise.
46655         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46656         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46657         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46658         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46659         Likewise.
46660         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46661         Move definition to ioctl-types.h
46662         (struct termio): Likewise.
46663         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46664         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46665         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46666         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46667         Likewise.
46669 2014-08-05  Richard Henderson  <rth@redhat.com>
46671         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46672         exceptions.
46673         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46674         Add fraiseexcpt.
46675         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46676         Use __feraiseexcept.
46677         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46678         Protect libm symbols with IS_IN_libm.
46680         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46682 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
46684         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46686 2014-08-04  Will Newton  <will.newton@linaro.org>
46688         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46689         file.
46691 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
46693         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46694         variants for each function.
46696 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46698         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46699         appended ...
46700         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46701         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46702         appended ...
46703         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46704         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46705         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46706         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46707         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46708         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46709         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46710         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46711         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46712         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46713         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46714         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46715         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46716         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46717         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46718         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46719         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46720         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46721         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46722         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46723         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46724         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46725         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46726         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46727         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46728         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46729         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46730         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46731         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46732         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46733         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46734         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46735         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46736         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46737         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46738         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46739         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46740         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46741         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46742         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46743         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46744         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46745         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46746         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46747         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46748         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46749         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46750         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46751         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46752         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46753         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46754         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46755         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46756         Update #include.
46757         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46758         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46760 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46762         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46763         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46764         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46765         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46766         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46767         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46769 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46771         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46772         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46773         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46774         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46776 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46778         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46779         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46780         (__libc_vfork): Define function under this name.
46781         (__vfork): Define as an alias.
46782         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46783         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46785 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46787         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46788         that was previously under [RESET_PID].
46789         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46791 2014-08-04  Andreas Schwab  <schwab@suse.de>
46793         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46795 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
46797         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46798         (main): Likewise.
46800 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46802         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46804 2014-08-01  Richard Henderon  <rth@redhat.com>
46806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46807         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46808         typo in exact zero test.
46809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46810         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46811         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46813 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46815         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46816         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46817         * sysdeps/arm/sysdep.h: ... here.
46818         [!__ASSEMBLER__]: Include <stdint.h>.
46820 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46822         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46823         (HAVE_WCTYPE_H): Likewise.
46824         (HAVE_ISWCTYPE): Likewise.
46825         (ENABLE_NLS): Likewise.
46826         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46827         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46829         * posix/regex_internal.c: Check if DEBUG is defined and is
46830         set.
46832         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46833         (HAVE_MBSRTOWCS): Likewise.
46834         * posix/fnmatch.c: Include string.h unconditionally.
46836 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46838         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46839         reversal.
46841 2014-07-31  Roland McGrath  <roland@hack.frob.com>
46843         * sysdeps/generic/safe-fatal.h: New file.
46844         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46845         * nptl/forward.c: Include it.
46846         (__pthread_unwind): Use __safe_fatal as default action, rather
46847         than a bogus use of INTERNAL_SYSCALL that could never work.
46849         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46850         * configure.ac (libc_cv_builtin_trap): New test.
46851         * configure: Regenerated.
46852         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46853         (ABORT_INSTRUCTION): Define using __builtin_trap.
46855         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46856         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46857         * sysdeps/nptl/nptl-signals.h: New file.
46858         * nptl/pthreadP.h: Include <nptl-signals.h>.
46860 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46862         * sysdeps/s390/s390-64/utf16-utf32-z9.c
46863         (ONE_DIRECTION): Define.
46864         * sysdeps/s390/s390-64/utf8-utf16-z9.c
46865         (ONE_DIRECTION): Define.
46866         * sysdeps/s390/s390-64/utf8-utf32-z9.c
46867         (ONE_DIRECTION): Define.
46869 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46871         * sysdeps/s390/Makefile: Delete file.
46872         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46873         * sysdeps/s390/__longjmp.c: Delete file.
46874         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46875         Remove fields __flags and __reserved.
46876         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46877         and add versioning.
46878         * sysdeps/s390/rtld-__longjmp.c: Delete file.
46879         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46880         * sysdeps/s390/rtld-setjmp.S: Likewise.
46881         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46882         * sysdeps/s390/s390-32/__longjmp.c: ... here.
46883         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46884         * sysdeps/s390/s390-32/setjmp.S: ... here.
46885         Add versioning.
46886         (__sigsetjmp): Remove setting __flags field.
46887         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46888         * sysdeps/s390/s390-64/__longjmp.c: ... here.
46889         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46890         * sysdeps/s390/s390-64/setjmp.S: ... here.
46891         Add versioning.
46892         (__sigsetjmp): Remove setting __flags field.
46893         * sysdeps/s390/setjmp.S: Delete file.
46894         * sysdeps/s390/sigjmp.c: Likewise.
46895         * sysdeps/s390/v1-longjmp.c: Likewise.
46896         * sysdeps/s390/v1-setjmp.h: Likewise.
46897         * sysdeps/s390/v1-sigjmp.c: Likewise.
46898         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46899         Remove v1-longjmp_chk.
46900         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46901         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46902         Include debug/longjmp_chk.c and add versioning.
46903         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46904         Include nptl/pt-longjmp.c and add versioning.
46905         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46906         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46907         Include __longjmp.c.
46908         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46909         Move to ...
46910         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46911         (__getcontext): Remove setting __flags field.
46912         Add versioning.
46913         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46914         Don't restore upper high grps.
46915         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46916         Likewise.
46917         (__swapcontext): Remove setting uc_flags field.
46918         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46919         Delete file.
46920         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46921         Include __longjmp.c.
46922         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46923         Move to ...
46924         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46925         (__getcontext): Remove setting __flags field.
46926         Add versioning.
46927         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46928         (__swapcontext): Remove setting uc_flags field.
46929         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46930         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46931         Remove fields uc_high_gprs and __reserved.
46932         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46933         New file with reverted content.
46934         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46935         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46936         Regenerated.
46937         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46938         Regenerated.
46940 2014-07-31  Andreas Schwab  <schwab@suse.de>
46942         * config.h.in (HAVE_IFUNC): Define to 0.
46943         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46944         definedness.
46946 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
46948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46949         memmove-avx-unaligned, memcpy-avx-unaligned and
46950         mempcpy-avx-unaligned.
46951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46952         Add tests for AVX memcpy functions.
46953         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46954         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46955         memcpy_chk.
46956         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46957         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46958         memmove_chk.
46959         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46960         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46961         mempcpy_chk.
46962         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46963         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46964         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46966 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46968         [BZ #17213]
46969         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46970         powerpc64le.
46972 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
46974         [BZ #16839]
46975         * manual/llio.texi: Add section about open file description locks.
46976         * manual/examples/ofdlocks.c: Example of open file description
46977         lock usage.
46978         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46979         F_OFD_SETLK, and F_OFD_SETLKW.
46981 2014-07-23  Allan McRae  <allan@archlinux.org>
46983         * po/es.po: Update Spanish translation from translation project.
46985 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
46987         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46989 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
46991         [BZ #17078]
46992         * sysdeps/arm/dl-machine.h (elf_machine_rela)
46993         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46994         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46996 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
46998         [BZ #17088]
46999         * math/fesetenv.c (__fesetenv)
47000         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47001         * math/feupdateenv.c (__feupdateenv)
47002         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47004         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47005         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47006         (__ASSUME_SOCKETCALL): Do not define.
47008         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47009         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47010         (__ASSUME_SOCKETCALL): Do not define.
47011         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47012         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47013         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47014         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47015         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47016         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47017         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47018         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47020         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47021         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47022         (__ASSUME_SOCKETCALL): Do not define.
47023         (__ASSUME_IPC64): Define unconditionally.
47024         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47025         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47026         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47027         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47028         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47029         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47030         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47031         Likewise.
47033         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47034         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47035         (__ASSUME_SOCKETCALL): Do not define.
47036         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47037         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47038         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47039         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47040         (__ASSUME_REQUEUE_PI): Define unconditionally.
47041         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47042         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47043         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47044         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47045         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47046         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47048         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47049         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47050         (__ASSUME_SOCKETCALL): Do not define.
47051         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47052         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47053         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47054         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47055         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47056         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47058         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47059         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47060         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47061         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47062         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47063         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47064         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47065         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47066         (__ASSUME_GETCPU_SYSCALL): Likewise.
47068         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47069         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
47070         cases for individual architectures.
47071         * sysdeps/gnu/configure: Regenerated.
47072         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47073         LIBC_SLIBDIR_RTLDDIR.
47074         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47075         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47076         LIBC_SLIBDIR_RTLDDIR.
47077         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47079         LIBC_SLIBDIR_RTLDDIR.
47080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47081         Regenerated.
47082         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47083         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47084         file.
47085         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47086         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47087         file.
47088         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47089         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47090         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47091         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47093         * sysdeps/aarch64/shlib-versions: Move to ...
47094         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47095         * sysdeps/alpha/shlib-versions: Move to ...
47096         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47097         * sysdeps/arm/shlib-versions: Move to ...
47098         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47099         * sysdeps/hppa/shlib-versions: Move all contents except for
47100         libgcc_s entry to ...
47101         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
47102         entry from ...
47103         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
47104         * sysdeps/ia64/shlib-versions: Move to ...
47105         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
47106         entry from ...
47107         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
47108         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47109         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47110         * sysdeps/microblaze/shlib-versions: Move to ...
47111         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47112         * sysdeps/mips/shlib-versions: Move to ...
47113         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
47114         entry from ...
47115         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
47116         * sysdeps/tile/shlib-versions: Move to ...
47117         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47118         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47119         from ...
47120         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
47121         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47122         entry from ...
47123         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
47125 2014-07-17  Will Newton  <will.newton@linaro.org>
47127         * sysdeps/arm/bits/atomic.h
47128         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47129         (__arch_compare_and_exchange_bool_16_int): Likewise.
47130         (__arch_compare_and_exchange_bool_64_int): Likewise.
47132         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47133         into an #else block.
47135 2014-07-16  Roland McGrath  <roland@hack.frob.com>
47137         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47138         just Linux configurations.  Test empirically that the compiler sets
47139         __ARM_EABI__, rather than using the tuple to decide.
47140         * sysdeps/arm/preconfigure: Regenerated.
47141         * sysdeps/unix/sysv/linux/arm/configure: File removed.
47142         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47143         contents appended ...
47144         * sysdeps/arm/configure.ac: ... here.
47145         * sysdeps/arm/configure: Regenerated.
47147 2014-07-15  Roland McGrath  <roland@hack.frob.com>
47149         * nptl/pthread_kill.c: New file.
47150         * nptl/pthread_sigmask.c: New file.
47151         * nptl/pthread_sigqueue.c: New file.
47153         * sysdeps/nptl/lowlevellock.h: New file.
47154         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47155         * sysdeps/nptl/lowlevellock-futex.h: New file.
47157         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47158         Remove dead declarations.
47160 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
47162         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47163         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47164         config-cflags-avx2.
47165         * sysdeps/x86_64/configure.ac: Likewise.
47166         * sysdeps/i386/configure: Regenerated.
47167         * sysdeps/x86_64/configure: Likewise.
47168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47169         memset-avx2 only if config-cflags-avx2 is yes.
47170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47171         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47172         defined.
47173         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47174         only if HAVE_AVX2_SUPPORT is defined.
47175         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47177 2014-07-14  Alan Modra  <amodra@gmail.com>
47179         [BZ #17153]
47180         * elf/elf.h (DT_PPC64_NUM): Correct value.
47181         * NEWS: Add to fixed bug list.
47183 2014-07-13  Jim Meyering  <meyering@fb.com>
47185         [BZ 17150]
47186         regex: don't deref NULL upon heap allocation failure
47187         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47188         failure in one more place.
47189         To trigger the segfault, configure grep -with-included-regex,
47190         build it, and run these commands:
47191         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47193 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
47195         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47197 2014-07-11  Richard Henderson  <rth@redhat.com>
47199         * sysdeps/aarch64/libm-test-ulps: Update.
47201 2014-07-10  Florian Weimer  <fweimer@redhat.com>
47203         [BZ #17135]
47204         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47205         * nptl/allocatestack.c (__nptl_setxid_error): New function.
47206         (__nptl_setxid): Initialize error member.  Call
47207         __nptl_setxid_error.
47208         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47209         * nptl/descr.h (struct xid_command): Add error member.
47210         * nptl/tst-setuid3.c: New file.
47211         * nptl/Makefile (tests): Add it.
47213 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47215         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47216         New define.
47217         (__lll_trylock): Use __lll_base_trylock.
47218         (__lll_cond_trylock): Likewise.
47220 2014-07-10  Roland McGrath  <roland@hack.frob.com>
47222         * nptl/pthread_create.c (start_thread): Use atomic_or and
47223         lll_futex_wake directly rather than lll_robust_dead.
47224         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47225         (lll_robust_dead): Macro removed.
47226         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47227         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47228         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47229         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47230         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47231         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47232         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47233         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47234         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47235         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47236         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47237         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47238         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47239         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47240         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47242         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47243         Use atomic_compare_and_exchange_val_acq directly rather than
47244         lll_robust_trylock.
47245         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47246         (__lll_robust_trylock, lll_robust_trylock): Removed.
47247         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47248         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47249         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47250         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47251         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47252         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47253         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47254         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47255         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47256         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47257         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47258         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47259         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47260         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47262 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47264         * manual/locale.texi (Locale Names): New section documenting
47265         locale name syntax.  Adjust menu and node chaining accordingly.
47266         (Choosing Locale): Reference Locale Names, Locale Categories.
47267         Mention setting LC_ALL=C.  Reflect that name syntax is now
47268         documented.
47269         (Locale Categories): New section title.  Reference Locale Names.
47270         LC_ALL is an environment variable, but not a category.
47271         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47272         description, now in Locale Name.  Reference that section.  Locale
47273         name syntax is now documented.
47275 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47277         [BZ #17137]
47278         * locale/findlocale.c (name_present, valid_locale_name): New
47279         functions.
47280         (_nl_find_locale): Use the loc_name variable to store name
47281         candidates.  Call name_present and valid_locale_name to check and
47282         validate locale names.  Return an error if the locale is invalid.
47284 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47286         * locale/setlocale.c (setlocale): Use strdup for allocating
47287         composite name copy.
47289 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47291         Sync up with gnulib.
47292         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47293         [!_LIBC && ENABLE_NLS]: Include gettext.h.
47294         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47295         and _GL_ARG_NONNULL.
47296         [USE_UNLOCKED_IO]: Include unlocked-io.h.
47297         [!_LIBC]: Include code for Windows and Cygwin.
47298         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47299         Include prototype for int strerror_r.
47300         [!_LIBC] (is_open): New function.
47301         (flush_stdout): New function.
47302         (print_errno_message): Use it.
47303         (error): Likewise.
47304         (error_at_line): Likewise.
47305         (error_tail) Add function attribute macros.  Use
47306         __builtin_expect.
47308         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47310         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47312         * io/ftw.c: Include sys/param.h unconditionally.
47314         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47316         [BZ #17125]
47317         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47318         libc_freeres_ptr.
47319         (freecache): New function to free CACHE on exit.
47321         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47322         initialization.
47324 2014-07-09  David S. Miller  <davem@davemloft.net>
47326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47328         * sysdeps/sparc/nptl/internaltypes.h: Delete.
47329         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47330         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47331         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47332         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47333         * sysdeps/sparc/nptl/sem_init.c: Likewise.
47334         * sysdeps/sparc/nptl/sem_post.c: Likewise.
47335         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47336         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47337         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47338         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47339         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47340         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47342 2014-07-09  Andreas Schwab  <schwab@suse.de>
47344         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47345         output.
47346         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47347         (do_test): Likewise.
47349         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47351 2014-07-09  Will Newton  <will.newton@linaro.org>
47353         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47354         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47355         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47356         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47357         * sysdeps/hppa/start.S (_start): Likewise.
47359 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47361         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47363         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47364         defined.
47366 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47368         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47369         after checking that it is non-NULL.
47371         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47373 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47375         * sysdeps/powerpc/memmove.c: Remove file.
47376         * sysdeps/powerpc/powerpc32/power4/memcopy.h
47377         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47378         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47379         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47380         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47381         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47382         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47383         string memmove instead of removed powerpc one.
47385         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47386         [weak_alias]: Fix compiler warning due trailing data.
47387         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47388         [weak_alias]: Likewise.
47389         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47390         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47393         (__libc_ifunc_impl_list): Add memmove functions.
47395 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47397         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47398         Remove code.
47399         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47400         Likewise.
47401         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47402         Likewise.
47403         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47404         Likewise.
47405         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47406         Likewise.
47407         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47408         Likewise.
47409         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47410         Likewise.
47411         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47412         Likewise.
47413         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47414         Likewise.
47415         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47416         Likewise.
47417         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47418         Likewise.
47419         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47420         Likewise.
47421         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47422         Likewise.
47423         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47424         Likewise.
47425         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47426         Likewise.
47427         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47428         Likewise.
47429         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47430         Likewise.
47432 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47434         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47435         to avoid alignment traps in non-cacheable memory.
47436         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47439         multiarch objects.
47440         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47441         file: multiarch power7 memmove.
47442         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47443         multiarch default memmove.
47444         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47445         multiarch memove for powerpc32/power4.
47447         * string/bcopy.c: Use full path to include memmove.c.
47448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47449         multiarch objects.
47450         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47451         bcopy for powerpc64.
47452         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47453         bcopy for powerpc64.
47454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47455         and memmove implementations.
47456         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47457         optimized multiarch memmove for POWER7/powerpc64.
47458         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47459         default multiarch memmove for powerpc64.
47460         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47461         multiarch for powerpc64.
47462         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47463         for POWER7/powerpc64.
47464         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47465         memmove for POWER7/powerpc64.
47467         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47468         glibc default one.
47470         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47471         __ELF_NATIVE_CLASS equal to 64.
47473 2014-07-07  Roland McGrath  <roland@hack.frob.com>
47475         * sysdeps/nptl/lowlevellock.h: File removed.
47477         * NEWS: NPTL is no longer an add-on!
47478         * nptl/internaltypes.h: Moved ...
47479         * sysdeps/nptl/internaltypes.h: ... here.
47480         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47481         * sysdeps/nptl/fork.c: Likewise.
47482         * sysdeps/nptl/gai_misc.h: Likewise.
47483         * sysdeps/nptl/librt-cancellation.c: Likewise.
47484         * sysdeps/nptl/jmp-unwind.c: Likewise.
47485         * sysdeps/nptl/setxid.h: Likewise.
47486         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47487         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47488         * sysdeps/unix/sysv/linux/arm/Implies: New file.
47489         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47490         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47491         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47492         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47493         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47494         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47495         * sysdeps/unix/sysv/linux/mips/Implies: New file.
47496         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47497         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47498         * sysdeps/unix/sysv/linux/sh/Implies: New file.
47499         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47500         * sysdeps/unix/sysv/linux/tile/Implies: New file.
47501         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47502         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47503         * nptl/Makeconfig: Moved ...
47504         * sysdeps/nptl/Makeconfig: ... here.
47505         * nptl/configure: File removed.
47506         * nptl/ANNOUNCE: File removed.
47507         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47508         * sysdeps/unix/sysv/linux/configure: Regenerated.
47510         * nptl/Makefile (routines): Add libc_pthread_init,
47511         libc_multiple_threads, register-atfork and unregister-atfork.
47512         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47513         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47514         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47515         pthread-pi-defines.sym, structsem.sym.
47516         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47517         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47518         [$(subdir) = nptl] (tests): Add tst-setgetname.
47519         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47520         * sysdeps/unix/sysv/linux/sigaction.c: Just include
47521         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47522         [!LIBC_SIGACTION]: Remove aliases.
47523         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47524         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47525         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47526         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47527         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47528         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47529         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47530         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47531         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47532         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47533         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47534         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47535         __libc_allocate_rtsig_private.
47536         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47537         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47538         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47539         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47540         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47541         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47542         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47543         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47544         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47545         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47546         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47547         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47548         * nptl/internaltypes.h: ... here.
47549         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47550         * sysdeps/nptl/jmp-unwind.c: ... here.
47551         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47552         * nptl/libc-lowlevellock.c: ... here.
47553         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47554         * nptl/libc_multiple_threads.c: ... here.
47555         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47556         * nptl/libc_pthread_init.c: ... here.
47557         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47558         * nptl/lowlevelbarrier.sym: ... here.
47559         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47560         * nptl/lowlevelcond.sym: ... here.
47561         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47562         * nptl/lowlevellock.c: ... here.
47563         * nptl/lowlevellock.h: Moved ...
47564         * sysdeps/nptl/lowlevellock.h: ... here.
47565         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47566         * nptl/lowlevelrobustlock.c: ... here.
47567         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47568         * nptl/lowlevelrobustlock.sym: ... here.
47569         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47570         * nptl/lowlevelrwlock.sym: ... here.
47571         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47572         * nptl/pt-fork.c: ... here.
47573         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47574         * nptl/pthread-pi-defines.sym: ... here.
47575         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47576         * nptl/pthread_attr_getaffinity.c: ... here.
47577         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47578         * nptl/pthread_attr_setaffinity.c: ... here.
47579         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47580         * nptl/pthread_mutex_cond_lock.c: ... here.
47581         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47582         Update #include.
47583         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47584         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47585         * nptl/pthread_once.c: ... here, replacing old file.
47586         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47587         * nptl/pthread_yield.c: ... here.
47588         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47589         * nptl/register-atfork.c: ... here.
47590         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47591         * nptl/sem_post.c: ... here.
47592         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47593         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47594         * nptl/sem_timedwait.c: ... here.
47595         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47596         * nptl/sem_trywait.c: ... here.
47597         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47598         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47599         * nptl/sem_wait.c: ... here.
47600         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47601         * nptl/structsem.sym: ... here.
47602         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47603         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47604         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47605         * nptl/unregister-atfork.c: ... here.
47606         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47607         * nptl/unwindbuf.sym: ... here.
47608         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47609         * sysdeps/nptl/fork.c: ... here.
47610         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47611         * sysdeps/nptl/fork.h: ... here.
47612         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47613         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47614         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47615         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47616         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47617         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47618         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47619         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47620         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47621         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47622         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47623         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47624         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47625         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47626         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47627         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47628         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47629         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47630         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47631         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47632         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47633         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47634         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47635         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47636         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47637         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47638         * sysdeps/unix/sysv/linux/raise.c: ... here.
47639         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47640         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47641         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47642         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47643         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47644         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47645         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47646         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47647         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47648         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47649         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47650         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47651         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47652         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47653         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47655 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47657         * sysdeps/generic/memcopy.h: Add comment for
47658         MEMCPY_OK_FOR_FWD_MEMMOVE.
47660 2014-07-04  Will Newton  <will.newton@linaro.org>
47662         * string/memchr.c: Merge from gnulib.
47663         [_LIBC]: Remove conditionals.
47664         (__ptr_t): Remove define.
47665         (LONG_MAX_32_BITS): Likewise.
47666         (LONG_MAX): Likewise.
47667         (MEMCHR): Use ANSI prototype and optimize algorithm.
47669         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47671 2014-07-03  Roland McGrath  <roland@hack.frob.com>
47673         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47674         (lll_futex_timed_wait_bitset): Fix syscall argument count.
47676         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47677         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47678         in a bare environment with no <stdlib.h> installed.
47679         * sysdeps/nptl/configure: Regenerated.
47681         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47683         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47684         AC_EGREP_CPP for kernel header checks, so they only succeed if
47685         including <linux/version.h> actually works right.
47686         * sysdeps/unix/sysv/linux/configure: Regenerated.
47688         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47689         value so it's not diagnosed as unused.
47691         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47692         thing) with "ifeq ($(subdir),rt)".
47694 2014-07-03  Richard Henderson  <rth@redhat.com>
47696         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47697         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47698         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47700         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47701         (math_force_eval): New.
47703         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47704         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47706         * sysdeps/alpha/fpu/s_round.c: Remove file.
47707         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47709         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47710         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47711         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47712         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47713         (_dl_start, print_statistics): Likewise.
47714         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47715         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47717         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47718         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47719         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47720         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47721         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47722         (HP_SMALL_TIMING_AVAIL): Define.
47723         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47724         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47725         (HP_SMALL_TIMING_AVAIL): Define.
47726         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47727         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47729         * sysdeps/aarch64/hp-timing.h: New file.
47731         * sysdeps/generic/hp-timing.h: Remove dead comment.
47732         * sysdeps/generic/hp-timing-common.h: New file.
47733         * sysdeps/alpha/hp-timing.h: Include it.
47734         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47735         * sysdeps/i386/i686/hp-timing.h: Likewise.
47736         * sysdeps/ia64/hp-timing.h: Likewise.
47737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47738         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47739         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47740         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47741         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47742         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47743         (hp_timing_t): New.
47745         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47746         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47747         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47748         * elf/rtld.c (_dl_start_final): Likewise.
47749         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47750         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47751         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47752         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47753         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47754         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47755         (HP_TIMING_DIFF_INIT): Remove.
47756         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47757         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47758         (HP_TIMING_DIFF_INIT): Remove.
47759         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47760         * sysdeps/i386/i686/hp-timing.c: Remove file.
47761         * sysdeps/x86_64/hp-timing.c: Remove file.
47762         * sysdeps/ia64/hp-timing.c: Remove file.
47763         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47764         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47765         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47766         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47768         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47769         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47770         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47771         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47772         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47773         (HP_TIMING_ACCUM): Remove.
47774         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47775         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47776         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47778         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47779         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47780         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47781         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47782         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47783         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47784         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47785         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47787         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47789 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
47791         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47793 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47795         Sync up with gettext.
47796         * intl/loadmsgcat.c: Define O_BINARY if not defined.
47797         [_MSC_VER]: Include malloc.h
47798         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47799         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47800         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
47801         TEMP_FAILURE_RETRY.  Cast return of alloca.
47802         [!_LIBC] Call gl_rwlock_init.
47803         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47805 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47807         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47808         before checking its value.
47810 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47812         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47814         * debug/memcpy_chk.c: Don't include pagecopy.h.
47815         * debug/mempcpy_chk.c: Likewise.
47816         * string/memcpy.c: Likewise.
47817         * string/memmove.c: Likewise.
47818         * sysdeps/powerpc/memmove.c: Likewise.
47819         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
47820         definition of PAGE_COPY_FWD_MAYBE here...
47821         * sysdeps/generic/pagecopy.h: ... from here.
47822         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47824 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47825             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47827         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47829         optimizations.
47830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47831         (__libc_ifunc_impl_list): Likewise.
47832         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47833         multiarch strcat for PPC64.
47834         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47835         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47837 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47839         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47841 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47843         * intl/loadmsgcat.c: Remove declaration of
47844         get_sysdep_segment_value.
47845         (get_sysdep_segment_value): Use ISO C style.
47846         (_nl_load_domain): Use ISO C style.  Get rid of redundant
47847         semicolon.  Fix typo and formatting in comment.
47848         (_nl_unload_domain): Use ISO C style.
47850         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47852 2014-07-02  Will Newton  <will.newton@linaro.org>
47854         * malloc/obstack.c: Merge from gnulib master.
47855         [HAVE_CONFIG_H]: Remove conditional code.
47856         [!_LIBC]: Include config.h.
47857         [!ELIDE_CODE]: Don't include inttypes.h, include
47858         stdint.h unconditionally.
47859         (print_and_abort): Mark as _Noreturn.
47860         (_obstack_allocated_p): Mark as __attribute_pure__.
47861         (obstack_free): Rename to __obstack_free.
47862         [!__attribute__]: Remove conditional code.
47863         * malloc/obstack.h: Merge from gnulib master.
47864         [__cplusplus]: Move conditional down.
47865         [!__attribute_pure__]: Define __attribute_pure__ here
47866         if it is not already defined.
47867         (_obstack_memory_used): Mark as __attribute_pure__.
47868         [!__obstack_free]: Define as obstack_free.
47869         [__GNUC__]: Remove check for ancient NeXT gcc.
47871 2014-07-02  Will Newton  <will.newton@linaro.org>
47872             Paul Eggert  <eggert@cs.ucla.edu>
47874         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47876 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47878         * resolv/gethnamaddr.c: Add comment warning that the file is
47879         not maintained.
47881 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
47883         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47884         entries.
47886         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47887         entry for aio_cancel and aio_cancel64.
47888         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47889         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47890         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47891         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47892         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47893         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47894         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47895         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47896         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47897         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47898         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47899         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47900         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47902 2014-07-01  Roland McGrath  <roland@hack.frob.com>
47904         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47905         * nptl/pthread_mutex_lock.c: Likewise.
47906         * nptl/pthread_mutex_timedlock.c: Likewise.
47907         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47909 2014-07-01  Richard henderson  <rth@redhat.com>
47911         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47912         (__isnan, __isnanl): Remove.
47913         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47915         * sysdeps/alpha/fpu/libm-test-ulps: Update.
47917 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
47919         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47921 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47923         * resolv/nss_dns/dns-host.c (getanswer_r)
47924         [MULTI_PTRS_ARE_ALIASES]: Remove code.
47926 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
47928         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47929         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47930         undefine.
47931         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47932         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47934 2014-07-01  Roland McGrath <roland@hack.frob.com>
47936         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47937         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47939         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47940         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47942         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47943         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47944         ... here.
47945         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47946         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47948         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47949         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47950         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47951         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47953         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47954         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47955         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47956         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47957         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47958         Moved ...
47959         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47960         ... here.
47961         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47962         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47963         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47964         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47965         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47966         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47967         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47968         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47969         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47970         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47971         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47972         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47973         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47974         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47975         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47976         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47977         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47978         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47979         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47980         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47981         ... here.
47982         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47983         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47984         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47985         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47986         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47987         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47988         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47989         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47991 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
47993         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47994         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47995         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47996         Add sysdep.
47998 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48002 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48004         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48005         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48007         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48009         * sysdeps/arm/libm-test-ulps: Regenerated.
48011 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48012             Roland McGrath <roland@hack.frob.com>
48014         * test-skeleton.c (signal_handler): Kill the whole process group
48015         before killing the child individually.
48016         (main): Report any failure on `setpgid'.
48018 2014-06-30  Roland McGrath  <roland@hack.frob.com>
48020         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48021         from _TLS_H to _ARM_NPTL_TLS_H.
48022         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48023         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48025 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48027         [BZ #16539]
48028         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48029         (__expm1l): Return argument unchanged when small but not
48030         subnormal.
48032         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48033         include macro name.
48034         (_FP_UNPACK_RAW_1_P): Likewise.
48035         (_FP_PACK_RAW_1): Likewise.
48036         (_FP_PACK_RAW_1_P): Likewise.
48037         (_FP_MUL_MEAT_1_wide): Likewise.
48038         (_FP_MUL_MEAT_DW_1_hard): Likewise.
48039         (_FP_MUL_MEAT_1_hard): Likewise.
48040         (_FP_DIV_MEAT_1_imm): Likewise.
48041         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48042         (_FP_DIV_MEAT_1_udiv): Likewise.
48043         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48044         (_FP_UNPACK_RAW_2): Likewise.
48045         (_FP_UNPACK_RAW_2_P): Likewise.
48046         (_FP_PACK_RAW_2): Likewise.
48047         (_FP_PACK_RAW_2_P): Likewise.
48048         (_FP_MUL_MEAT_DW_2_wide): Likewise.
48049         (_FP_MUL_MEAT_2_wide): Likewise.
48050         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48051         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48052         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48053         (_FP_MUL_MEAT_2_gmp): Likewise.
48054         (_FP_DIV_MEAT_2_udiv): Likewise.
48055         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48056         (_FP_FRAC_SRL_4): Likewise.
48057         (_FP_FRAC_SRST_4): Likewise.
48058         (_FP_FRAC_SRS_4): Likewise.
48059         (_FP_UNPACK_RAW_4): Likewise.
48060         (_FP_UNPACK_RAW_4_P): Likewise.
48061         (_FP_PACK_RAW_4): Likewise.
48062         (_FP_PACK_RAW_4_P): Likewise.
48063         (_FP_MUL_MEAT_DW_4_wide): Likewise.
48064         (_FP_MUL_MEAT_4_wide): Likewise.
48065         (_FP_MUL_MEAT_4_gmp): Likewise.
48066         (umul_ppppmnnn): Likewise.
48067         (_FP_DIV_MEAT_4_udiv): Likewise.
48068         (__FP_FRAC_ADD_4): Likewise.
48069         (__FP_FRAC_SUB_3): Likewise.
48070         (__FP_FRAC_SUB_4): Likewise.
48071         (__FP_FRAC_DEC_3): Likewise.
48072         (__FP_FRAC_DEC_4): Likewise.
48073         (__FP_FRAC_ADDI_4): Likewise.
48074         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48075         (_FP_FRAC_SRL_8): Likewise.
48076         (_FP_FRAC_SRS_8): Likewise.
48078         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48079         include macro name.
48080         (FP_UNPACK_RAW_EP): Likewise.
48081         (FP_PACK_RAW_E): Likewise.
48082         (FP_PACK_RAW_EP): Likewise.
48083         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48084         (_FP_ISSIGNAN): Likewise.
48085         (_FP_ADD_INTERNAL): Likewise.
48086         (_FP_FMA): Likewise.
48087         (_FP_CMP): Likewise.
48088         (_FP_SQRT): Likewise.
48089         (_FP_TO_INT): Likewise.
48090         (_FP_FROM_INT): Likewise.
48091         (FP_EXTEND): Likewise.
48092         (_FP_DIV_MEAT_N_loop): Likewise.
48094 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48096         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48097         throughout.
48099 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
48101         [BZ #17097]
48102         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48103         result with correct sign in case of exponents that produce
48104         overflow except for X very close to 1.
48106 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
48108         mktime: merge #if/#ifdef usage from glibc
48109         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48110         as that works with both Glibc's and Gnulib's style.
48111         See thread starting at Siddhesh Poyarekar's bug report at:
48112         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48114 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48116         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48117         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48118         * sysdeps/tile/tilegx/memmove.c: Remove file.
48120 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48122         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48123         abi-name definition.
48124         * scripts/soversions.awk: Do not handle or generate ABI lines.
48125         * shlib-versions: Remove ABI entries.
48126         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48127         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48129 2014-06-27  Roland McGrath  <roland@hack.frob.com>
48131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48132         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48133         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48134         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48136         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48137         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48138         Moved ...
48139         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48140         ... here.
48141         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48142         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48143         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48144         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48145         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48146         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48147         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48148         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48150         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48151         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48152         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48153         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48154         Moved ...
48155         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48157         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48158         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48159         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48161         Moved ...
48162         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48163         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48164         Moved ...
48165         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48167         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48169         Moved ...
48170         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48171         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48172         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48173         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48174         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48176         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48177         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48178         Moved ...
48179         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48181         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48182         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48183         Moved ...
48184         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48185         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48186         Moved ...
48187         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48189         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48190         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48191         Moved ...
48192         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48193         ... here.
48194         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48195         Identical file removed.
48196         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48197         Moved ...
48198         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48199         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48200         Identical file removed.
48201         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48202         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48203         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48204         Moved ...
48205         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48206         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48207         Identical file removed.
48208         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48209         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48210         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48211         Identical file removed.
48212         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48213         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48215         Identical file removed.
48216         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48217         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48218         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48219         Identical file removed.
48220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48221         Moved ...
48222         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48224         Identical file removed.
48225         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48226         Moved ...
48227         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48229         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48230         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48231         Identical file removed.
48232         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48233         Moved ...
48234         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48235         ... here.
48236         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48237         Identical file removed.
48238         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48239         Moved ...
48240         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48241         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48242         Identical file removed.
48243         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48244         Moved ...
48245         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48246         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48247         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48248         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48249         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48250         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48251         Moved ...
48252         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48253         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48254         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48256         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48257         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48258         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48259         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48260         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48262 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
48264         [BZ #17092]
48265         * nscd/nscd.c (monitor_child): Return exit status of child
48266         instead of return value from wait syscall.
48268 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48270         * configure.ac (libc_commonpagesize): Remove variable.
48271         (libc_relro_required): Likewise.
48272         (libc_cv_z_relro): Remove configure test.
48273         * configure: Regenerated.
48274         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48275         variable.
48276         (libc_relro_required): Likewise.
48277         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48278         (libc_relro_required): Likewise.
48279         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48280         (libc_relro_required): Likewise.
48281         * sysdeps/arm/preconfigure: Regenerated.
48282         * sysdeps/ia64/preconfigure: Remove file.
48283         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48284         variable.
48285         (libc_relro_required): Likewise.
48287         [BZ #16561]
48288         [BZ #16562]
48289         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48290         (__ieee754_yn): Set FE_TONEAREST mode internally and then
48291         recompute overflowing results in original rounding mode.
48292         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48293         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48294         recompute overflowing results in original rounding mode.
48295         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48296         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48297         recompute overflowing results in original rounding mode.
48298         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48299         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48300         recompute overflowing results in original rounding mode.
48301         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48302         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48303         recompute overflowing results in original rounding mode.
48304         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48305         (libc_feholdsetround_ctx): New macro.
48306         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48307         * sysdeps/i386/fpu/libm-test-ulps: Update.
48308         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48310 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48312         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48313         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48314         corresponding .cpsetup call.
48316 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48318         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48319         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48320         * sysdeps/arm/Makefile [$(subdir) = csu]
48321         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48322         (static-only-routines): Add aeabi_read_tp here.
48323         (shared-only-routines): Add libc-aeabi_read_tp here.
48324         (CFLAGS-libc-start.c): Add -fexceptions here.
48325         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48326         (sysdep_routines, static-only-routines, shared-only-routines):
48327         Don't add to these here.
48328         (CFLAGS-libc-start.c): Likewise.
48330         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48331         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48332         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48333         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48334         * sysdeps/arm/Makefile [$(subdir) = rt]
48335         (librt-sysdep_routines, librt-shared-only-routines):
48336         Append rt-aeabi_unwind_cpp_pr1 here.
48337         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48338         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48339         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48340         (libpthread-sysdep_routines, libpthread-shared-only-routines):
48341         Append nptl-aeabi_unwind_cpp_pr1 here.
48342         (tests): Filter out tst-cleanupx4 here.
48343         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48344         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48345         Don't do those here.
48347 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48349         * scripts/list-sources.sh: Do not handle ports specially.
48351 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48353         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48354         * sysdeps/arm/feupdateenv.c: Likewise.
48356         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48358 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48360         * manual/texinfo.tex: Update to version 2014-05-05.10 with
48361         trailing whitespace removed.
48362         * scripts/config.guess: Update to version 2014-03-23.
48363         * scripts/config.sub: Update to version 2014-05-01
48364         * scripts/install-sh: Update to version 2013-12-25.23.
48365         * scripts/move-if-change: Update from gnulib.
48367 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48369         * debug/memmove_chk.c: Remove pagecopy.h include.
48371 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
48373         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
48374         identical to gnulib mktime.
48376 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48378         * configure.ac: Do not test for machine being rs6000.  Do not test
48379         for powerpc*-*soft.
48380         * configure: Regenerated.
48382         [BZ #11505]
48383         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48384         test.
48385         * configure: Regenerated.
48386         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48387         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48388         Remove configure test.
48389         * sysdeps/arm/configure: Regenerated.
48390         * sysdeps/nptl/configure.ac: Do not check
48391         libc_cv_asm_cfi_directives.
48392         * sysdeps/nptl/configure: Regenerated.
48393         * sysdeps/x86_64/nptl/configure.ac: Remove file.
48394         * sysdeps/x86_64/nptl/configure: Remove generated file.
48395         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48396         unconditional.
48397         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48399 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48401         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48402         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48403         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48404         it is defined.
48406         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48407         instead of whether it is defined.
48408         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48409         * sysdeps/hppa/dl-machine.h: Likewise.
48410         * sysdeps/ia64/dl-machine.h: Likewise.
48411         * sysdeps/m68k/dl-machine.h: Likewise.
48412         * sysdeps/microblaze/dl-machine.h: Likewise.
48413         * sysdeps/mips/dl-machine.: Likewise.
48414         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48415         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48416         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48417         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48418         * sysdeps/sh/dl-machine.h: Likewise.
48419         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48420         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48421         * sysdeps/tile/dl-machine.h: Likewise.
48422         * sysdeps/x86_64/dl-machine.h: Likewise.
48424         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48425         code.
48426         (verify_persistent_db): Likewise.
48428 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48431         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48433         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48435         Moved ...
48436         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48437         ... here.
48438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48439         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48441         Identical file removed.
48442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48443         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48445         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48447         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48449         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48451         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48453         Moved ...
48454         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48456         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48458         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48460         Moved ...
48461         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48463         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48465         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48467         Identical file removed.
48468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48469         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48471         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48473         Moved ...
48474         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48475         ... here.
48476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48477         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48479         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48481         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48483         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48485         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48487         Moved ...
48488         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48490         Moved ...
48491         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48493         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48495         Moved ...
48496         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48498         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48500         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48501         folded into ...
48502         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48503         * sysdeps/unix/sysv/linux/s390/Versions
48504         (libpthread: GLIBC_2.19): New version set.
48505         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48506         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48507         (librt: GLIBC_2.3.3): New version set.
48508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48509         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48510         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48511         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48512         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48513         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48514         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48515         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48516         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48517         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48518         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48519         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48520         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48521         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48522         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48523         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48524         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48525         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48526         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48527         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48528         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48529         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48530         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48531         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48532         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48533         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48534         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48535         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48536         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48537         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48538         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48539         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48541         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48542         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48544         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48545         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48546         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48547         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48548         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48549         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48550         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48551         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48552         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48554         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48555         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48556         (__libc_vfork): Define the function under this name.
48557         [!NOT_IN_libc] (__vfork): Make this an alias.
48558         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48560         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48561         (__libc_vfork): Define the function under this name.
48562         [!NOT_IN_libc] (__vfork): Make this an alias.
48563         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48564         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48565         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48567         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48568         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48570         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48571         code that was previously under [RESET_PID].
48572         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48573         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48574         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48576         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48577         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48578         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48579         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48580         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48581         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48582         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48583         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48584         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48585         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48586         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48587         Moved ...
48588         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48589         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48590         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48591         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48592         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48593         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48594         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48595         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48596         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48597         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48598         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48599         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48600         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48601         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48602         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48603         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48604         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48605         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48606         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48607         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48608         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48609         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48610         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48611         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48612         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48613         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48614         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48615         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48616         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48618 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48620         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48621         that was previously under [RESET_PID].
48622         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48624 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48626         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48627         not undefine and redefine.
48628         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48629         [O_CLOEXEC]: Make code unconditional.
48630         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48631         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48632         <kernel-features.h>.
48633         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48634         conditional variable definition.
48635         (shm_open) [O_CLOEXEC]: Make code unconditional.
48636         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48637         code.
48639         * configure.ac (USE_REGPARMS): Don't define here.
48640         * configure: Regenerated.
48641         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48642         * sysdeps/i386/configure: Regenerated.
48644         * nptl/createthread.c: Don't include kernel-features.h.
48645         * nptl/pthread_cancel.c: Likewise.
48646         * nptl/pthread_condattr_setclock.c: Likewise.
48647         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48648         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48649         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48650         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48651         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48652         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48653         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48656         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48657         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48658         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48659         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48660         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48661         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48662         * nscd/gai.c: Likewise.
48663         * nss/nss_db/db-open.c: Likewise.
48664         * sysdeps/generic/ldsodefs.h: Likewise.
48665         * sysdeps/sh/nptl/tls.h: Likewise.
48666         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48667         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48668         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48669         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48670         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48671         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48672         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48673         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48674         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48675         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48676         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48677         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48678         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48679         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48680         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48681         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48682         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48683         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48684         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48685         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48686         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48687         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48688         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48689         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48690         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48691         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48692         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48693         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48694         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48695         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48696         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48697         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48698         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48699         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48700         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48701         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48702         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48703         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48704         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48705         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48706         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48707         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48708         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48709         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48710         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48711         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48712         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48713         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48714         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48715         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48716         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48717         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48718         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48719         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48720         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48721         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48722         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48723         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48746         * sysdeps/unix/sysv/linux/pread.c: Likewise.
48747         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48748         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48749         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48750         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48751         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48752         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48753         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48754         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48755         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48756         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48757         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48758         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48759         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48760         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48761         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48762         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48763         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48764         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48765         * sysdeps/unix/sysv/linux/system.c: Likewise.
48766         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48767         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48768         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48769         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48770         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48771         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48772         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48774         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48775         * configure: Regenerated.
48776         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48778         * configure.ac (base_machine): Do not set specially for particular
48779         machines here.
48780         * configure: Regenerated.
48781         * sysdeps/powerpc/preconfigure: Move machine and base_machine
48782         settings from configure.ac.
48783         * sysdeps/i386/preconfigure: New file.
48784         * sysdeps/s390/preconfigure: Likewise.
48785         * sysdeps/sh/preconfigure: Likewise.
48786         * sysdeps/sparc/preconfigure: Likewise.
48788 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48790         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48791         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48792         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48793         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48794         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48795         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48796         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48797         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48798         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48799         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48800         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48801         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48802         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48803         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48804         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48805         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48806         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48807         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48808         * sysdeps/sparc/sparc64/Makefile: ... appended here.
48810         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48811         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48812         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48813         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48814         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48815         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48816         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48817         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48818         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48819         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48820         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48821         * sysdeps/sparc/sparc32/sem_post.c: ... here.
48822         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48823         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48824         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48825         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48826         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48827         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48828         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48829         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48830         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48831         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48832         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48833         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48834         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48835         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48836         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48837         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48838         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48839         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48840         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48841         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48842         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48843         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48844         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48845         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48846         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48847         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48850         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48852         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48854         Moved ...
48855         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48856         ... here.
48857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48858         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48860         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48862         Moved ...
48863         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48865         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48867         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48869         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48871         Moved ...
48872         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48874         Moved ...
48875         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48877         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48879         Moved ...
48880         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48882         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48884         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48886         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48888         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48890         Moved ...
48891         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48892         ... here.
48893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48894         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48896         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48898         Moved ...
48899         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48901         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48903         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48905         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48907         Moved ...
48908         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48910         Moved ...
48911         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48913         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48915         Moved ...
48916         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48918         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48920         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48922 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48924         * timezone/checktab.awk: Update from tzcode 2014e.
48925         * timezone/private.h: Likewise.
48926         * timezone/tzfile.h: Likewise.
48927         * timezone/zdump.c: Likewise.
48928         * timezone/zic.c: Likewise.
48930         * sysdeps/unix/sysv/linux/kernel-features.h
48931         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48932         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48933         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48934         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48935         Remove conditional code.
48937 2014-06-25  Will Newton  <will.newton@linaro.org>
48939         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48940         (_dl_arm_cap_flags): Add HWCAP2 values.
48941         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48942         (_DL_HWCAP_COUNT): Increase to 37.
48943         (_DL_HWCAP_LAST): New define.
48944         (_DL_HWCAP2_LAST): New define.
48945         (_dl_procinfo): Add support for printing
48946         AT_HWCAP2 entries.
48947         (_dl_string_hwcap): Use _dl_hwcap_string.
48949 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48953 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48955         * README: Do not mention ports directory.
48957         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48958         Remove macro.
48959         * sysdeps/unix/sysv/linux/futimes.c: Do not include
48960         <kernel-features.h>.
48961         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48962         conditional variable definition.
48963         (__futimes): Update comment.
48964         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48965         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48967         [BZ #16560]
48968         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48969         arguments close to 0.
48970         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48971         Likewise.
48972         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48973         Likewise.
48974         * math/auto-libm-test-in: Add more tests of exp10.
48975         * math/auto-libm-test-out: Regenerated.
48976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48978         * sysdeps/unix/sysv/linux/kernel-features.h
48979         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48980         * sysdeps/unix/sysv/linux/readv.c: Do not include
48981         <kernel-features.h>.
48982         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48983         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48984         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48985         unconditional.
48986         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48987         conditional code.
48988         * sysdeps/unix/sysv/linux/writev.c: Do not include
48989         <kernel-features.h>.
48990         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48991         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48992         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48993         unconditional.
48994         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48995         conditional code.
48997 2014-06-25  Will Newton  <will.newton@linaro.org>
48999         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49000         comment changes throughout the file.  Remove checks
49001         for HAVE_*_H definitions that are not required.
49002         (__gen_tempname): Call abort if an unknown kind value is
49003         passed.
49005 2014-06-25  Andreas Schwab  <schwab@suse.de>
49007         [BZ #17086]
49008         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49009         scalbln, scalblnf, scalblnl in libc.
49011 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49013         [BZ #17086]
49014         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49015         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49016         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49018 2014-06-24  Roland McGrath  <roland@hack.frob.com>
49020         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49021         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49022         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49023         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49024         Update #include.
49025         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49026         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49027         Update #include.
49028         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49029         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49030         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49031         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49032         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49033         * sysdeps/x86/bits/pthreadtypes.h: ... here.
49034         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49035         * sysdeps/x86/bits/semaphore.h: ... here.
49036         * sysdeps/x86/nptl/elide.h: Moved ...
49037         * sysdeps/x86/elide.h: ... here.
49038         * sysdeps/x86_64/nptl/Implies: File removed.
49039         * sysdeps/i386/nptl/Implies: File removed.
49041 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
49043         [BZ #16539]
49044         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49045         return the argument for normal arguments with exponent below -64.
49046         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49047         Likewise.
49048         * math/auto-libm-test-in: Add another test of expm1.
49049         * math/auto-libm-test-out: Regenerated.
49051         [BZ #16287]
49052         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49053         calling __erfcl for arguments at least 16.
49054         * math/auto-libm-test-in: Add more tests of erf.
49055         * math/auto-libm-test-out: Regenerated.
49057         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49058         individual architectures.
49059         * sysdeps/unix/sysv/linux/configure: Regenerated.
49060         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49061         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49062         * sysdeps/unix/sysv/linux/powerpc/configure.ac
49063         (ldd_rewrite_script): Define variable.
49064         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49066         file.
49067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49068         generated file.
49069         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49070         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49071         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49072         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49073         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49074         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49075         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49076         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49078 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49080         [BZ #17084]
49081         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49082         Rename member __data.d to __data.__elision_data.
49084 2014-06-24  Wilco  <wdijkstr@arm.com>
49086         * NEWS: Add 16918 to fixed bug list.
49088 2014-06-24  Wilco  <wdijkstr@arm.com>
49090         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49092 2014-06-24  Wilco  <wdijkstr@arm.com>
49094         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49095         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49096         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49097         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49098         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49099         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49100         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49101         Use _FPU_MASK_RM.
49103 2014-06-24  Wilco  <wdijkstr@arm.com>
49105         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49107 2014-06-24  Wilco  <wdijkstr@arm.com>
49109         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49110         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49111         * sysdeps/arm/fesetround.c (fesetround): Remove space.
49112         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49114 2014-06-24  Wilco  <wdijkstr@arm.com>
49116         [BZ #16918]
49117         * sysdeps/arm/feupdateenv.c (feupdateenv):
49118         Rewrite to reduce FPSCR accesses and fix return value.
49120 2014-06-24  Wilco  <wdijkstr@arm.com>
49122         * sysdeps/arm/fclrexcpt.c (feclearexcept):
49123         Optimize to avoid unnecessary FPSCR writes.
49124         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49125         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49126         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49127         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49129 2014-06-24  Wilco  <wdijkstr@arm.com>
49131         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49132         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49133         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49134         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49135         Call libc_fetestexcept_vfp.
49136         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49137         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49138         __SOFTFP__ ifdef so that they can be built for softfp.
49140 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49142         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49143         argument type signed char.
49145         * Makerules (check-abi): Dump diff of symlist if the test
49146         fails.
49148 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49150         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49151         using abort.
49153         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49154         Remove unused variable ST.
49156 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49158         [BZ #16354]
49159         [BZ #17061]
49160         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49161         small arguments before calling __expm1.
49162         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49163         small arguments before calling __expm1f.
49164         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49165         small arguments before calling __expm1l.
49166         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49167         Likewise.
49168         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49169         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
49170         spurious underflow for some cosh tests.
49171         * math/auto-libm-test-out: Regenerated.
49172         * sysdeps/i386/fpu/libm-test-ulps: Update.
49174         [BZ #17050]
49175         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49176         (__ieee754_y1): Set errno if return value overflows.
49177         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49178         (__ieee754_y1f): Set errno if return value overflows.
49179         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49180         (__ieee754_y1l): Set errno if return value overflows.
49181         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49182         (__ieee754_y1l): Set errno if return value overflows.
49183         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49184         * math/auto-libm-test-out: Regenerated.
49186         * math/gen-auto-libm-tests.c: Document use of
49187         ignore-zero-inf-sign.
49188         (input_flag_type): Add value flag_ignore_zero_inf_sign.
49189         (input_flags): Add ignore-zero-inf-sign.
49190         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49191         * math/gen-libm-test.pl (generate_testfile): Handle
49192         ignore-zero-inf-sign.
49193         * math/auto-libm-test-in: Mark some cpow tests with
49194         ignore-zero-inf-sign and some with xfail-rounding.
49195         * math/auto-libm-test-out: Regenerated.
49196         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49197         * sysdeps/i386/fpu/libm-test-ulps: Update.
49198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49200         [BZ #16315]
49201         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49202         overflowing or underflowing operations take place with sign of
49203         result.
49204         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49205         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49206         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49207         (__ieee754_pow): Recompute overflowing and underflowing results in
49208         original rounding mode.
49209         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49210         (__powl_helper): Allow negative argument X and scale negated value
49211         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
49212         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49213         overflowing or underflowing operations take place with sign of
49214         result.
49215         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49216         Include <math.h>.
49217         * math/auto-libm-test-in: Add more tests of pow.
49218         * math/auto-libm-test-out: Regenerated.
49219         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49220         (pow_tonearest_test_data): Remove.
49221         (pow_test_tonearest): Likewise.
49222         (pow_towardzero_test_data): Likewise.
49223         (pow_test_towardzero): Likewise.
49224         (pow_downward_test_data): Likewise.
49225         (pow_test_downward): Likewise.
49226         (pow_upward_test_data): Likewise.
49227         (pow_test_upward): Likewise.
49228         (main): Don't call removed functions.
49229         * sysdeps/i386/fpu/libm-test-ulps: Update.
49230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49232 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49235         Moved ...
49236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49238         Moved ...
49239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49241         Moved ...
49242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49244         Moved ...
49245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49247         File removed.
49248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49249         File removed.
49250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49251         File removed.
49252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49253         File removed.
49254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49255         File removed.
49256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49257         File removed.
49258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49259         File removed.
49260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49261         File removed.
49262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49263         File removed.
49264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49265         File removed.
49266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49267         File removed.
49268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49269         File removed.
49270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49271         Moved ...
49272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49274         Moved ...
49275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49276         ... here.
49277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49278         Moved ...
49279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49281         Moved ...
49282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49284         Moved ...
49285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49287         Moved ...
49288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49290         Moved ...
49291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49293         Moved ...
49294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49296         Moved ...
49297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49300         ... here.
49301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49302         Moved ...
49303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49305         Moved ...
49306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49307         ... here.
49308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49309         Moved ...
49310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49311         ... here.
49312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49313         Moved ...
49314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49315         ... here.
49316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49317         Moved ...
49318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49320         Moved ...
49321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49325         Moved ...
49326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49327         ... here.
49328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49329         Moved ...
49330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49331         ... here.
49332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49333         Moved ...
49334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49336         Moved ...
49337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49339         Moved ...
49340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49342         Moved ...
49343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49345         Moved ...
49346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49347         ... here.
49348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49349         Moved ...
49350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49352         Moved ...
49353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49355         Moved ...
49356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49358         Moved ...
49359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49363         Moved ...
49364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49366         Moved ...
49367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49369         Moved ...
49370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49371         ... here.
49372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49373         Moved ...
49374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49375         ... here.
49376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49377         Moved ...
49378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49379         ... here.
49380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49381         Moved ...
49382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49384         Moved ...
49385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49387         Moved ...
49388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49390         Moved ...
49391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49392         ... here.
49393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49394         Moved ...
49395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49396         ... here.
49397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49398         Moved ...
49399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49400         ... here.
49401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49402         Moved ...
49403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49405         Moved ...
49406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49408 2014-06-23  Will Newton  <will.newton@linaro.org>
49409             Wilco  <wdijkstr@arm.com>
49411         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49412         implementation.  Include get-rounding-mode.h.
49413         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49414         [!libc_feholdsetround_noex_ctx]: Define
49415         libc_feholdsetround_noex_ctx.
49416         [!libc_feholdsetround_noexf_ctx]: Define
49417         libc_feholdsetround_noexf_ctx.
49418         [!libc_feholdsetround_noexl_ctx]: Define
49419         libc_feholdsetround_noexl_ctx.
49420         (libc_feholdsetround_ctx): New function.
49421         (libc_feresetround_ctx): New function.
49422         (libc_feholdsetround_noex_ctx): New function.
49423         (libc_feresetround_noex_ctx): New function.
49425 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49427         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49428         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49429         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49430         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49431         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49432         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49434         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49435         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49436         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49437         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49438         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49439         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49440         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49441         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49442         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49443         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49444         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49445         Moved ...
49446         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49447         ... here.
49448         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49449         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49450         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49451         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49452         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49453         Moved ...
49454         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49455         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49456         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49459         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49460         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49461         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49462         Moved ...
49463         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49464         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49465         Moved ...
49466         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49467         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49468         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49470         Moved ...
49471         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49472         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49473         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49474         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49475         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49476         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49477         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49478         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49479         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49480         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49481         Moved ...
49482         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49483         ... here.
49484         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49485         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49486         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49487         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49488         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49489         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49490         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49491         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49492         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49493         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49494         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49495         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49496         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49497         Moved ...
49498         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49500         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49502         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49504         Moved ...
49505         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49506         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49507         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49508         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49509         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49511         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49512         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49513         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49514         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49515         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49516         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49517         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49518         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49519         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49520         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49521         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49522         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49523         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49524         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49525         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49526         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49527         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49528         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49529         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49530         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49531         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49532         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49533         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49534         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49535         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49536         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49537         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49538         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49540 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49542         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49543         (FALLOC_FL_COLLAPSE_RANGE): New macro.
49544         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49545         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49546         (IPV6_PMTUDISC_INTERFACE): Likewise.
49547         (IPV6_PMTUDISC_OMIT): Likewise.
49549 2014-06-23  Andreas Schwab  <schwab@suse.de>
49551         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49552         Remove unused errout label.
49554 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49556         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49557         macro: hardware supports Vector Crypto instructions.
49559 2014-06-23  Will Newton  <will.newton@linaro.org>
49561         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49562         rather than __builtin_expect.
49564         * elf/dl-lookup.c (undefined_msg): Remove variable.
49565         (_dl_lookup_symbol_x): Replace undefined_msg with string
49566         literal.
49568         * elf/dl-lookup.c (do_lookup_unique): New function.
49569         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49570         to a separate function.
49572 2014-06-23  Andreas Schwab  <schwab@suse.de>
49574         [BZ #17079]
49575         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49576         before reading the next line.
49578 2014-06-23  Will Newton  <will.newton@linaro.org>
49580         * test-skeleton.c (signal_handler): Use printf and %m
49581         rather than perror.  Use printf rather than fprintf to
49582         stderr.  Use puts rather than fputs to stderr.
49583         (main): Likewise.
49585 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
49587         * nscd/nscd.c (thread_info_t): Remove typedef.
49588         (thread_info): Remove variable.
49590 2014-06-21  Allan McRae  <allan@archlinux.org>
49592         * NEWS: Mention CVE-2014-4043.
49594 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49596         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49597         * nptl/smp.h: ... here.
49599         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49601         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49602         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49603         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49604         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49606         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49607         * nptl/stack-aliasing.h: New file.
49608         * sysdeps/i386/i686/stack-aliasing.h: New file.
49609         * sysdeps/i386/i686/nptl/Makefile: File removed.
49610         * sysdeps/x86_64/stack-aliasing.h: New file.
49611         * sysdeps/x86_64/nptl/Makefile
49612         (CFLAGS-pthread_create.c): Variable removed.
49614         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49615         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49616         old file.
49617         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49618         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49619         old file.
49621 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49623         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49624         (__ASSUME_SIGFRAME_V2): Remove macro.
49625         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49626         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49627         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49628         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49629         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49630         Declare as function.  Remove conditional macro definitions.
49631         (__default_rt_sa_restorer): Likewise.
49632         (__default_sa_restorer_v1): Remove declaration.
49633         (__default_sa_restorer_v2): Likewise.
49634         (__default_rt_sa_restorer_v1): Likewise.
49635         (__default_rt_sa_restorer_v2): Likewise.
49636         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49637         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49638         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49640 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49642         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49643         (libpthread-routines): Add sysdep.
49644         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49645         * sysdeps/unix/sysv/linux/sparc/Versions
49646         (libpthread: GLIBC_2.3.3): New version set.
49647         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49648         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49649         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49650         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49651         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
49652         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49653         Moved ...
49654         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49655         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49656         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49657         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49658         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49659         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49660         * sysdeps/sparc/nptl/sem_init.c: ... here.
49661         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49662         * sysdeps/sparc/nptl/sem_post.c: ... here.
49663         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49664         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49665         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49666         * sysdeps/sparc/nptl/sem_wait.c: ... here.
49667         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49668         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49669         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49670         (libpthread-routines): Add cpu_relax.
49671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49672         File removed.
49673         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49674         (librt: GLIBC_2.3.3): New version set.
49675         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49676         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49677         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49678         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49679         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49681         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49683         Moved ...
49684         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49686         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49688         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49690         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49692         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49694         Moved ...
49695         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49696         Update #include.
49697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49698         Moved ...
49699         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49700         Update #include.
49701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49702         Moved ...
49703         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49704         Update #include.
49705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49706         Moved ...
49707         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49708         Update #include.
49709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49710         Moved ...
49711         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49712         Update #include.
49713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49714         Moved ...
49715         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49716         Update #include.
49717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49718         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49720         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49722         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49724         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49726         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49728         Moved ...
49729         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49731         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49733         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49735 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49737         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49738         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49739         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49740         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49741         * nscd/nscd.c: Likewise.
49742         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49743         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49744         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49745         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49747         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49748         <kernel-features.h>.
49749         (init_mq_netlink): Remove conditional have_sock_cloexec
49750         definitions.  Remove code conditional on have_sock_cloexec < 0.
49751         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49752         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49753         * sysdeps/unix/sysv/linux/opensock.c: Do not include
49754         <kernel-features.h>.
49755         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49756         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49758 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49761         Add tests for memset_chk and memset.
49763         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49764         with AVX2_Usable.
49766 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49768         [BZ #16046]
49769         * elf/tst-dl-iter-static.c: New file.
49770         * elf/Makefile (tests-static): Add tst-dl-iter-static.
49772         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49773         error.
49775 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49777         * sysdeps/unix/sysv/linux/kernel-features.h
49778         (__ASSUME_F_GETOWN_EX): Remove macro.
49779         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49780         <kernel-features.h>.
49781         (miss_F_GETOWN_EX): Remove variable or macro.
49782         (do_fcntl): Do not check miss_F_GETOWN_EX.
49783         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49785         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49786         Remove macro.
49787         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49788         [!__ASSUME_AT_RANDOM]: Remove conditional code.
49789         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49791         * sysdeps/unix/sysv/linux/kernel-features.h
49792         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49793         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49794         [ADJ_OFFSET_SS_READ]: Make code unconditional.
49795         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49797 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49799         [BZ #17075]
49800         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49801         Fix calculation of the symbol's value.
49802         * sysdeps/arm/tst-armtlsdescloc.c: New file.
49803         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49804         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49805         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49806         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49807         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49808         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49809         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49810         (modules-names): Add `tst-armtlsdescmod',
49811         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49812         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49813         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49814         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49815         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49816         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49817         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49818         ($(objpfx)tst-armtlsdescloc): New dependency.
49819         ($(objpfx)tst-armtlsdescextnow): Likewise.
49820         ($(objpfx)tst-armtlsdescextlazy): Likewise.
49821         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49822         TLS scheme support.
49823         * sysdeps/arm/configure: Regenerate.
49825 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49827         * include/fcntl.h (__atfct_seterrno): Remove prototype.
49828         (__atfct_seterrno_2): Likewise.
49829         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49830         <kernel-features.h>.
49831         (__ASSUME_ATFCTS): Do not undefine and redefine.
49832         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49833         (__have_atfcts): Remove conditional definition.
49834         (__fxstatat([__NR_fstatat64]: Make code unconditional.
49835         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49836         unreachable if [__ASSUME_ATFCTS].
49837         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49838         not undefine and redefine.
49839         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49840         <kernel-features.h>.
49841         (faccessat) [__NR_faccessat]: Make code unconditional.
49842         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49843         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49844         <kernel-features.h>.
49845         (fchmodat) [__NR_fchmodat]: Make code unconditional.
49846         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49847         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49848         <kernel-features.h>.
49849         (fchownat) [__NR_fchownat]: Make code unconditional.
49850         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49851         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49852         <kernel-features.h>.
49853         (futimesat) [__NR_futimesat]: Make code unconditional.
49854         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49855         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49856         <kernel-features.h>.
49857         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49858         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49859         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49860         <kernel-features.h>.
49861         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49862         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49863         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49864         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49865         <kernel-features.h>.
49866         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49867         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49868         * sysdeps/unix/sysv/linux/linkat.c: Do not include
49869         <kernel-features.h>.
49870         (linkat) [__NR_linkat]: Make code unconditional.
49871         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49872         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49873         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49874         <kernel-features.h>.
49875         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49876         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49877         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49878         <kernel-features.h>.
49879         (mkdirat) [__NR_mkdirat]: Make code unconditional.
49880         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49881         * sysdeps/unix/sysv/linux/openat.c: Do not include
49882         <kernel-features.h>.
49883         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49884         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49885         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49886         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49887         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49888         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49889         <kernel-features.h>.
49890         (readlinkat) [__NR_readlinkat]: Make code unconditional.
49891         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
49892         result of INLINE_SYSCALL directly, not via int variable.
49893         * sysdeps/unix/sysv/linux/renameat.c: Do not include
49894         <kernel-features.h>.
49895         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49896         (renameat) [__NR_renameat]: Make code unconditional.
49897         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49898         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49899         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49900         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49901         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49902         (__ASSUME_ATFCTS): Do not undefine and redefine.
49903         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49904         <kernel-features.h>.
49905         (symlinkat) [__NR_symlinkat]: Make code unconditional.
49906         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49907         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49908         <kernel-features.h>.
49909         (unlinkat) [__NR_unlinkat]: Make code unconditional.
49910         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49911         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49912         (__ASSUME_ATFCTS): Do not undefine and redefine.
49913         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49914         <kernel-features.h>.
49915         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49916         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49917         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49918         <kernel-features.h>.
49919         (__xmknodat) [__NR_mknodat]: Make code unconditional.
49920         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49922 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49924         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49926 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
49928         [BZ #17069]
49929         * posix/regcomp.c (parse_reg_exp): Deallocate partially
49930         constructed tree before returning error.
49931         * posix/bug-regexp36.c: Expand test case.
49933 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
49935         [BZ #6803]
49936         * math/libm-test.inc (scalbln_test_date):
49937         Add errno expectations.
49938         * math/w_scalblnf.c: New File.
49939         Add wrapper which checks for setting errno to ERANGE.
49940         Add weak_alias for corresponding scalbln function.
49941         * math/w_scalbln.c: Likewise.
49942         * math/w_scalblnl.c: Likewise.
49943         * math/Makefile (libm-calls): Add w_scalbln.
49944         * sysdeps/ieee754/flt-32/s_scalblnf.c:
49945         Remove weak_alias for corresponding scalbln function.
49946         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49948         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49949         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49950         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49951         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49952         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49953         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49954         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49955         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49956         Remove long_double_symbol for scalblnl function in libm, libc.
49957         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49958         Add wrapper which checks for setting errno to ERANGE.
49959         Add long_double_symbol for scalblnl function in libm, libc.
49960         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49961         Remove long_double_symbol for scalblnl in libm.
49962         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49963         Add wrapper which checks for setting errno to ERANGE.
49964         Add long_double_symbol for scalblnl function in libm.
49965         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49966         Do not use wrapper because of own implementation.
49968 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
49970         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49971         3 bytes for __pad1 for x32.
49972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49974 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
49975             H.J. Lu  <hongjiu.lu@intel.com>
49977         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49978         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49979         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49980         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49981         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49983 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
49985         [BZ #17069]
49986         * posix/regcomp.c (parse_expression): Deallocate partially
49987         constructed tree before returning error.
49988         * posix/Makefile.c (tests): Add bug-regex36.
49989         (generated): Add bug-regex36.mtrace.
49990         (tests-special): Add $(objpfx)bug-regex36-mem.out
49991         (bug-regex36-ENV): New variable.
49992         ($(objpfx)bug-regex36-mem.out): New rule.
49993         * posix/bug-regex36.c: New file.
49995 2014-06-19  Will Newton  <will.newton@linaro.org>
49997         * malloc/malloc.c (systrim): If extra is zero then return
49998         early.
50000 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50002         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50004 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
50006         * sysdeps/aarch64/strchr.S: New file.
50008 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50010         [BZ #17022]
50011         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50012         from arguments -2 or below.
50013         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50014         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50016 2014-06-18  Andreas Schwab  <schwab@suse.de>
50018         [BZ #17062]
50019         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50020         of a bracket expr not to run off the end of the string.
50021         * posix/Makefile (tests): Add tst-fnmatch3.
50022         * posix/tst-fnmatch3.c: New file.
50024 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50026         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50027         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50028         [$(cross-compiling) = no]: Likewise.
50029         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50030         [$(cross-compiling) = no]: Likewise.
50032 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50034         [BZ #17031]
50035         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50036         double, adjusted for any remainder from the high double.
50037         * math/libm-test.inc (nearbyint): Add tests.
50038         (rint): Likewise.
50040 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50042         * nptl/sysdeps/powerpc/Makefile: Moved ...
50043         * sysdeps/powerpc/nptl/Makefile: ... here.
50044         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50045         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50046         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50047         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50048         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50049         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50050         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50051         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50052         * nptl/sysdeps/powerpc/tls.h: Moved ...
50053         * sysdeps/powerpc/nptl/tls.h: ... here.
50055 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
50057         [BZ #16681]
50058         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50059         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50060         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50061         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50062         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50063         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50064         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50065         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50066         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50068 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
50070         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50072 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
50074         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50075         defined operator.
50077         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50078         $TIMEOUTFACTOR.
50080 2014-06-16  Florian Weimer  <fweimer@redhat.com>
50082         [BZ #17058]
50083         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50084         non-executed part of the test.
50086 2014-06-16  Andreas Schwab  <schwab@suse.de>
50088         * string/bits/string2.h (strdup, strndup): Update feature guard.
50090 2014-06-14  David S. Miller  <davem@davemloft.net>
50092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50094 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
50096         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50097         that was previously under [RESET_PID].
50098         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50100         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50101         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50102         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50103         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50104         (__libc_vfork): New strong alias.
50105         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50107 2014-06-14 Andi Kleen  <ak@linux.intel.com>
50109         * sysdeps/generic/elide.h: New file.
50111 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
50113         * Makefile (installed-headers): Adjust path of pthread.h header.
50115 2014-06-13  Roland McGrath  <roland@hack.frob.com>
50117         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50118         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50119         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50120         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50122         * nptl/sysdeps/s390/Makefile: Moved ...
50123         * sysdeps/s390/nptl/Makefile: ... here.
50124         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50125         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50126         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50127         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50128         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50129         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50130         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50131         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50132         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50133         * sysdeps/s390/nptl/pthreaddef.h: ... here.
50134         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50135         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50136         * nptl/sysdeps/s390/tls.h: Moved ...
50137         * sysdeps/s390/nptl/tls.h: ... here.
50139         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50140         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50142 2014-06-13  David S. Miller  <davem@davemloft.net>
50144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50147         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50151         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50152         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50153         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50154         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50155         Remove RESET_PID cpp guards.
50156         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50157         Remove RESET_PID cpp guards.
50158         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50160 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
50162         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50163         __sp to uintptr_t.
50165 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50167         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50168         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50169         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50170         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50172         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50173         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50174         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50176         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50177         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50178         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50179         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50180         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50181         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50182         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50183         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50184         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50185         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50186         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50188         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50189         (pthread_rwlock_rdlock): Add elision.
50190         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50191         (pthread_rwlock_wrlock): Add elision.
50192         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50193         (pthread_rwlock_trywrlock): Add elision.
50194         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50195         (pthread_rwlock_tryrdlock): Add elision.
50196         * nptl/pthread_rwlock_unlock.c: Include elide.h.
50197         (pthread_rwlock_tryrdlock): Add elision unlock.
50198         * nptl/sysdeps/pthread/pthread.h:
50199         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50200         (PTHREAD_RWLOCK_INITIALIZER,
50201         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50202         Handle new elision field.
50203         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50204         * sysdeps/arm/nptl/bits/pthreadtypes.h
50205         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50206         * sysdeps/sh/nptl/bits/pthreadtypes.h
50207         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50208         * sysdeps/tile/nptl/bits/pthreadtypes.h
50209         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50210         * sysdeps/a/nptl/bits/pthreadtypes.h
50211         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50212         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50213         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50214         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50215         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50216         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50217         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50218         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50219         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50220         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50221         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50222         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50223         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50224         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50225         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50226         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50227         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50228         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50229         (elision_init): Set try_xbegin to zero when no RTM.
50230         * sysdeps/x86/nptl/bits/pthreadtypes.h
50231         (pthread_rwlock_t): Change __pad1 to __rwelision.
50232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50234 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50236         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50237         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50238         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50239         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50241 2014-06-13  Meador Inge  <meadori@codesourcery.com>
50243         [BZ #16996]
50244         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50245         that the cached result has been set before returning it.
50247 2014-06-12  Roland McGrath  <roland@hack.frob.com>
50249         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50250         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50251         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50252         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50253         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50254         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50256         * nptl/sysdeps/sparc/Makefile: Moved ...
50257         * sysdeps/sparc/nptl/Makefile: ... here.
50258         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50259         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50260         * nptl/sysdeps/sparc/tls.h: Moved ...
50261         * sysdeps/sparc/nptl/tls.h: ... here.
50262         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50263         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50264         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50265         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50266         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50267         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50268         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50269         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50270         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50271         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50272         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50273         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50274         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50275         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50276         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50277         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50278         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50279         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50280         Update #include.
50281         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50282         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50283         Update #include.
50284         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50285         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50286         Update #include.
50287         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50288         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50289         Update #include.
50291         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50293         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50294         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50296         * sysdeps/pthread/posix-timer.h: Include <list.h>.
50297         (struct list_links): Type removed.
50298         (struct thread_node, struct timer_node): Replace struct list_links
50299         with struct list_head.
50300         (list_unlink_ip): Likewise.
50301         * sysdeps/pthread/timer_routines.c
50302         (timer_free_list, thread_free_list, thread_active_list): Likewise.
50303         (list_append, list_insbefore): Likewise.
50304         (list_init): Function removed.
50305         (thread_init, init_module): Use INIT_LIST_HEAD instead.
50306         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50307         * sysdeps/pthread/Makefile: ... here, new file.
50309         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50310         * sysdeps/nptl/Implies: ... here.
50311         * sysdeps/unix/sysv/linux/Implies: Add nptl.
50312         * nptl/sysdeps/pthread/list.h: Moved ...
50313         * include/list.h: ... here.
50314         * nptl/sysdeps/pthread/createthread.c: Moved ...
50315         * nptl/createthread.c: ... here.
50316         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50317         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50318         * nptl/pt-longjmp.c: ... here.
50319         * nptl/sysdeps/pthread/Makefile: Moved ...
50320         * sysdeps/nptl/Makefile: ... here.
50321         * nptl/sysdeps/pthread/Subdirs: Moved ...
50322         * sysdeps/nptl/Subdirs: ... here.
50323         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50324         * sysdeps/nptl/aio_misc.h: ... here.
50325         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50326         * sysdeps/nptl/bits/libc-lock.h: ... here.
50327         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50328         * sysdeps/nptl/bits/libc-lockP.h: ... here.
50329         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50330         * sysdeps/nptl/bits/stdio-lock.h: ... here.
50331         * nptl/sysdeps/pthread/configure: Moved ...
50332         * sysdeps/nptl/configure: ... here.
50333         * nptl/sysdeps/pthread/configure.ac: Moved ...
50334         * sysdeps/nptl/configure.ac: ... here.
50335         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50336         * sysdeps/nptl/gai_misc.h: ... here.
50337         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50338         * sysdeps/nptl/librt-cancellation.c: ... here.
50339         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50340         * sysdeps/nptl/malloc-machine.h: ... here.
50341         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50342         * sysdeps/nptl/pthread-functions.h: ... here.
50343         * nptl/sysdeps/pthread/pthread.h: Moved ...
50344         * sysdeps/nptl/pthread.h: ... here.
50345         * nptl/sysdeps/pthread/setxid.h: Moved ...
50346         * sysdeps/nptl/setxid.h: ... here.
50347         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50348         * sysdeps/nptl/sigfillset.c: ... here.
50349         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50350         * sysdeps/nptl/tcb-offsets.h: ... here.
50351         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50352         * sysdeps/nptl/tst-mqueue8x.c: ... here.
50353         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50354         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50355         * nptl/sysdeps/pthread/allocalim.h: Moved ...
50356         * sysdeps/pthread/allocalim.h: ... here.
50357         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50358         * sysdeps/pthread/bits/sigthread.h: ... here.
50359         * nptl/sysdeps/pthread/flockfile.c: Moved ...
50360         * sysdeps/pthread/flockfile.c: ... here.
50361         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50362         * sysdeps/pthread/ftrylockfile.c: ... here.
50363         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50364         * sysdeps/pthread/funlockfile.c: ... here.
50365         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50366         * sysdeps/pthread/posix-timer.h: ... here.
50367         * nptl/sysdeps/pthread/timer_create.c: Moved ...
50368         * sysdeps/pthread/timer_create.c: ... here.
50369         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50370         * sysdeps/pthread/timer_delete.c: ... here.
50371         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50372         * sysdeps/pthread/timer_getoverr.c: ... here.
50373         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50374         * sysdeps/pthread/timer_gettime.c: ... here.
50375         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50376         * sysdeps/pthread/timer_routines.c: ... here.
50377         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50378         * sysdeps/pthread/timer_settime.c: ... here.
50379         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50380         * sysdeps/pthread/tst-timer.c: ... here.
50381         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50382         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50384         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50385         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50387         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50388         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50389         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50390         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50391         Update #include target.
50392         * nptl/sysdeps/i386/i686/Makefile: Moved ...
50393         * sysdeps/i386/i686/nptl/Makefile: ... here.
50394         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50395         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50396         Update #include target.
50397         * nptl/sysdeps/i386/i686/tls.h: Moved ...
50398         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
50399         * nptl/sysdeps/i386/Makefile: Moved ...
50400         * sysdeps/i386/nptl/Makefile: ... here.
50401         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50402         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50403         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50404         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50405         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50406         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50407         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50408         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50409         * sysdeps/i386/nptl/pthreaddef.h: ... here.
50410         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50411         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50412         * nptl/sysdeps/i386/tls.h: Moved ...
50413         * sysdeps/i386/nptl/tls.h: ... here.
50415         * sysdeps/sh/Makefile [$(subdir) = csu]
50416         (gen-as-const-headers): Add tcb-offsets.sym.
50417         * nptl/sysdeps/sh/Makefile: File removed.
50418         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50419         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50420         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50421         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50422         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50423         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50424         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50425         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50426         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50427         * sysdeps/sh/nptl/pthreaddef.h: ... here.
50428         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50429         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50430         * nptl/sysdeps/sh/tls.h: Moved ...
50431         * sysdeps/sh/nptl/tls.h: ... here.
50432         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50433         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50434         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50435         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50436         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50437         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50438         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50439         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50440         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50441         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50442         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50443         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50444         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50445         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50446         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50447         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50448         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50449         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50450         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50451         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50452         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50453         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50454         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50455         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50456         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50457         Moved ...
50458         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50459         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50460         Moved ...
50461         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50462         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50463         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50464         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50465         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50466         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50467         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50468         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50469         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50470         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50471         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50472         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50473         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50474         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50475         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50476         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50477         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50478         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50479         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50481 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
50483         * posix/spawn_faction_addopen.c: Include string.h.
50485 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50487         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50488         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50489         * nptl/sysdeps/x86_64/Makefile: Moved ...
50490         * sysdeps/x86_64/nptl/Makefile: ... here.
50491         * nptl/sysdeps/x86_64/configure: Moved ...
50492         * sysdeps/x86_64/nptl/configure: ... here.
50493         * nptl/sysdeps/x86_64/configure.ac: Moved ...
50494         * sysdeps/x86_64/nptl/configure.ac: ... here.
50495         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50496         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50497         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50498         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50499         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50500         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50501         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50502         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50503         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50504         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50505         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50506         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50507         * nptl/sysdeps/x86_64/tls.h: Moved ...
50508         * sysdeps/x86_64/nptl/tls.h: ... here.
50509         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50510         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50511         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50512         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50514         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50516 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50520 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
50522         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50523         type.
50524         [POSIX] (off_t): Likewise.
50525         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50526         [POSIX] (S_ISBLK): Require macro.
50527         [POSIX] (S_ISCHR): Likewise.
50528         [POSIX] (S_ISDIR): Likewise.
50529         [POSIX] (S_ISFIFO): Likewise.
50530         [POSIX] (S_ISREG): Likewise.
50531         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50532         optional-macro.
50533         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50534         type.
50535         [POSIX] (time_t): Likewise.
50536         [POSIX] (timer_t): Likewise.
50538 2014-06-11  Florian Weimer  <fweimer@redhat.com>
50540         [BZ #17048]
50541         * posix/spawn_int.h (struct __spawn_action): Make the path string
50542         non-const to support deallocation.
50543         * posix/spawn_faction_addopen.c
50544         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50545         * posix/spawn_faction_destroy.c
50546         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
50547         path in all spawn_do_open actions.
50548         * posix/tst-spawn.c (do_test): Exercise the copy operation in
50549         posix_spawn_file_actions_addopen.
50551 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
50553         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50554         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50555         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50556         conditional code always true.
50557         (__libc_vfork): New alias.
50559 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50561         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50562         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50564         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50566         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50567         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50569         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50570         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50572         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50573         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50575 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50577         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50578         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50579         multiarch strcmp for PPC64.
50580         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50581         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50583         multiarch optimizations.
50584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50585         (__libc_ifunc_impl_list): Likewise.
50587 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50589         * benchtests/scripts/validate_benchout.py: New script.
50590         * benchtests/Makefile (bench-func): Call it.
50591         * benchtests/scripts/benchout.schema.json: New file.
50593 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50595         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50596         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50597         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50598         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50599         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50600         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50601         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50602         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50603         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50604         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50605         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50606         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50607         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50608         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50609         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50610         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50612         Moved ...
50613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50614         ... here.
50615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50616         Moved ...
50617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50619         Moved ...
50620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50621         ... here.
50622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50623         Moved ...
50624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50625         ... here.
50626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50627         Moved ...
50628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50630         Moved ...
50631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50632         ... here.
50633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50634         Moved ...
50635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50636         ... here.
50637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50638         Moved ...
50639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50641         Moved ...
50642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50643         ... here.
50644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50645         Moved ...
50646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50647         ... here.
50648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50649         Moved ...
50650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50651         ... here.
50652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50653         Moved ...
50654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50656         Moved ...
50657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50658         ... here.
50659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50660         Moved ...
50661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50662         ... here.
50663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50664         Moved ...
50665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50666         ... here.
50667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50668         Moved ...
50669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50671         Moved ...
50672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50673         ... here.
50674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50675         Moved ...
50676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50677         ... here.
50678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50679         Moved ...
50680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50682         Moved ...
50683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50684         ... here.
50685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50686         Moved ...
50687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50689         Moved ...
50690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50692         Moved ...
50693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50694         ... here.
50695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50696         Moved ...
50697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50698         ... here.
50699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50700         Moved ...
50701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50702         ... here.
50703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50704         Moved ...
50705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50707         Moved ...
50708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50709         ... here.
50710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50711         Moved ...
50712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50713         ... here.
50714         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50715         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50716         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50717         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50718         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50719         Moved ...
50720         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50721         ... here.
50722         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50723         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50724         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50725         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50726         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50727         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50728         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50729         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50730         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50731         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50732         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50733         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50734         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50735         Moved ...
50736         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50737         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50738         Moved ...
50739         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50740         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50741         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50742         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50743         Moved ...
50744         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50746         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50747         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50748         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50749         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50750         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50752 2014-06-10  Wilco  <wdijkstr@arm.com>
50754         * math/test-fenv-return.c: New file.
50755         * math/Makefile: Add new test test-fenv-return.
50757 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
50759         [BZ #17042]
50760         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50761         when x - 1 is zero.
50762         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50763         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50764         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50765         0.0L for an argument of 1.0L.
50766         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50767         Likewise.
50768         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50769         value when x - 1 is zero.
50770         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50771         * sysdeps/i386/fpu/libm-test-ulps: Update.
50772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50774 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
50776         [BZ #15119]
50777         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50779 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50781         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50782         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50784 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50786         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50787         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50789         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50790         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50792         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50793         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50795         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50796         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50798         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50799         if not already defined.
50800         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50801         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50802         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50803         (TLS_INIT_TP): Use it.
50804         (TLS_DEFINE_INIT_TP): New macro.
50805         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50807 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
50809         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50810         constant.
50811         [POSIX] (IXANY): Likewise.
50812         [POSIX] (OLCUC): Likewise.
50813         [POSIX || POSIX2008] (CBAUD): Do not allow.
50814         [POSIX || POSIX2008] (DEFECHO): Likewise.
50815         [POSIX || POSIX2008] (ECHOCTL): Likewise.
50816         [POSIX || POSIX2008] (ECHOKE): Likewise.
50817         [POSIX || POSIX2008] (ECHOPRT): Likewise.
50818         [POSIX || POSIX2008] (EXTA): Likewise.
50819         [POSIX || POSIX2008] (EXTB): Likewise.
50820         [POSIX || POSIX2008] (FLUSHO): Likewise.
50821         [POSIX || POSIX2008] (LOBLK): Likewise.
50822         [POSIX || POSIX2008] (PENDIN): Likewise.
50823         [POSIX || POSIX2008] (SWTCH): Likewise.
50824         [POSIX || POSIX2008] (VDISCARD): Likewise.
50825         [POSIX || POSIX2008] (VDSUSP): Likewise.
50826         [POSIX || POSIX2008] (VLNEXT): Likewise.
50827         [POSIX || POSIX2008] (VREPRINT): Likewise.
50828         [POSIX || POSIX2008] (VSTATUS): Likewise.
50829         [POSIX || POSIX2008] (VWERASE): Likewise.
50830         (B*): Change to B[0123456789]*.
50831         * conform/data/time.h-data [POSIX || UNIX98]
50832         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50833         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50834         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50835         [POSIX] (tm_*): Do not allow.
50837 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
50839         * Makefile (install): Don't set LANGUAGE.
50840         * Makefile.in (install): Likewise.
50841         * assert/Makefile (test-assert-ENV): Remove variable.
50842         (test-assert-perr-ENV): Likewise.
50843         * elf/Makefile (neededtest4-ENV): Likewise.
50844         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50845         [$(cross-compiling) = no]: Don't set LANGUAGE.
50846         * io/ftwtest-sh (LANG): Remove variable.
50847         * libio/Makefile (tst-widetext-ENV): Likewise.
50848         * manual/install.texi (Running make install): Don't refer to
50849         environment settings for make install.
50850         * INSTALL: Regenerated.
50851         * nptl/tst-tls6.sh: Don't set LANG.
50852         * posix/globtest.sh (LANG): Remove variable.
50853         * string/Makefile (tester-ENV): Likewise.
50854         (inl-tester-ENV): Likewise.
50855         (noinl-tester-ENV): Likewise.
50856         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50857         [$(cross-compiling) = no]: Don't set LANGUAGE.
50858         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50859         without explicit environment settings.
50861 2014-06-06  Roland McGrath  <roland@hack.frob.com>
50863         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50864         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50865         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50866         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50868 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
50870         * crypt/crypt-private.h [DOS]: Add some includes taken from the
50871         other files in the crypt directory.
50872         * crypt/crypt.c: Remove duplicate includes.
50873         * crypt/crypt-entry.c: Likewise.
50874         * crypt/crypt_util.c: Likewise.
50876 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
50878         * Makeconfig (run-program-env): New variable.
50879         (run-program-prefix-before-env): Likewise.
50880         (run-program-prefix-after-env): Likewise.
50881         (run-program-prefix): Define in terms of new variables.
50882         (built-program-cmd-before-env): New variable.
50883         (built-program-cmd-after-env): Likewise.
50884         (built-program-cmd): Define in terms of new variables.
50885         (test-program-prefix-before-env): New variable.
50886         (test-program-prefix-after-env): Likewise.
50887         (test-program-prefix): Define in terms of new variables.
50888         (test-program-cmd-before-env): New variable.
50889         (test-program-cmd-after-env): Likewise.
50890         (test-program-cmd): Define in terms of new variables.
50891         * Rules (make-test-out): Use $(run-program-env).
50892         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50893         (help): Do not mention environment variables.  Mention
50894         --timeoutfactor option.
50895         (timeoutfactor): New variable.
50896         (blacklist_exports): Remove function.
50897         (exports): Remove variable.
50898         (command): Do not include ${exports}.
50899         * manual/install.texi (Configuring and compiling): Do not mention
50900         test wrappers preserving environment variables.  Mention that last
50901         assignment to a variable must take precedence.
50902         * INSTALL: Regenerated.
50903         * benchtests/Makefile (run-bench): Use $(run-program-env).
50904         * catgets/Makefile ($(objpfx)test1.cat): Use
50905         $(built-program-cmd-before-env), $(run-program-env) and
50906         $(built-program-cmd-after-env).
50907         ($(objpfx)test2.cat): Do not specify environment variables
50908         explicitly.
50909         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50910         $(run-program-env) and $(built-program-cmd-after-env).
50911         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50912         $(run-program-env) and $(test-program-cmd-after-env).
50913         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50914         explicitly.
50915         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50916         run_program_env and test_program_cmd_after_env arguments.
50917         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50918         * elf/tst-pathopt.sh: Use run_program_env argument.
50919         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50920         $(test-wrapper-env) and $(run-program-env).
50921         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50922         run_program_env arguments.
50923         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50924         * intl/Makefile ($(objpfx)tst-gettext.out): Use
50925         $(test-program-prefix-before-env), $(run-program-env) and
50926         $(test-program-prefix-after-env).
50927         ($(objpfx)tst-gettext2.out): Likewise.
50928         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50929         run_program_env and test_program_prefix_after_env arguments.
50930         * intl/tst-gettext2.sh: Likewise.
50931         * intl/tst-gettext4.sh: Do not set environment variables
50932         explicitly.
50933         * intl/tst-gettext6.sh: Likewise.
50934         * intl/tst-translit.sh: Likewise.
50935         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50936         $(test-program-prefix-before-env), $(run-program-env) and
50937         $(test-program-prefix-after-env).
50938         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50939         run_program_env and test_program_prefix_after_env arguments.
50940         * math/Makefile (run-regen-ulps): Use $(run-program-env).
50941         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50942         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
50943         explicitly with each use of ${test_wrapper_env}.
50944         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50945         $(test-program-prefix-before-env), $(run-program-env) and
50946         $(test-program-prefix-after-env).
50947         * posix/tst-getconf.sh: Do not set environment variables
50948         explicitly.
50949         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50950         run_program_env and test_program_prefix_after_env arguments.
50951         * stdio-common/tst-printf.sh: Do not set environment variables
50952         explicitly.
50953         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50954         $(test-program-prefix-before-env), $(run-program-env) and
50955         $(test-program-prefix-after-env).
50956         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50957         run_program_env and test_program_prefix_after_env arguments.
50958         Split $test calls into $test_pre and $test.
50959         * timezone/Makefile (build-testdata): Use
50960         $(built-program-cmd-before-env), $(run-program-env) and
50961         $(built-program-cmd-after-env).
50963 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50965         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50966         strlen for non SHARED builds.
50968 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50970         * nptl/allocatestack.c (check_list): Inlined function...
50971         (__reclaim_stacks): ... here.
50973 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
50975         [BZ #15698]
50976         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50977         memory overrun.
50979 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
50981         * Rules (make-test-out): Include
50982         LOCPATH=$(common-objpfx)localedata in default environment.
50983         * debug/Makefile (tst-chk1-ENV): Remove variable.
50984         (tst-chk2-ENV): Likewise.
50985         (tst-chk3-ENV): Likewise.
50986         (tst-chk4-ENV): Likewise.
50987         (tst-chk5-ENV): Likewise.
50988         (tst-chk6-ENV): Likewise.
50989         (tst-lfschk1-ENV): Likewise.
50990         (tst-lfschk2-ENV): Likewise.
50991         (tst-lfschk3-ENV): Likewise.
50992         (tst-lfschk4-ENV): Likewise.
50993         (tst-lfschk5-ENV): Likewise.
50994         (tst-lfschk6-ENV): Likewise.
50995         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50996         (tst-iconv7-ENV): Likewise.
50997         * intl/Makefile (LOCPATH-ENV): Likewise.
50998         (tst-codeset-ENV): Likewise.
50999         (tst-gettext3-ENV): Likewise.
51000         (tst-gettext5-ENV): Likewise.
51001         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51002         (tst-fopenloc-ENV): Likewise.
51003         (tst-fgetws-ENV): Remove variable.
51004         (tst-ungetwc1-ENV): Likewise.
51005         (tst-ungetwc2-ENV): Likewise.
51006         (bug-ungetwc2-ENV): Likewise.
51007         (tst-swscanf-ENV): Likewise.
51008         (bug-ftell-ENV): Likewise.
51009         (tst-fgetwc-ENV): Likewise.
51010         (tst-fseek-ENV): Likewise.
51011         (tst-ftell-partial-wide-ENV): Likewise.
51012         (tst-ftell-active-handler-ENV): Likewise.
51013         (tst-ftell-append-ENV): Likewise.
51014         * posix/Makefile (tst-fnmatch-ENV): Likewise.
51015         (tst-regexloc-ENV): Likewise.
51016         (bug-regex1-ENV): Likewise.
51017         (tst-regex-ENV): Likewise.
51018         (tst-regex2-ENV): Likewise.
51019         (bug-regex5-ENV): Likewise.
51020         (bug-regex6-ENV): Likewise.
51021         (bug-regex17-ENV): Likewise.
51022         (bug-regex18-ENV): Likewise.
51023         (bug-regex19-ENV): Likewise.
51024         (bug-regex20-ENV): Likewise.
51025         (bug-regex22-ENV): Likewise.
51026         (bug-regex23-ENV): Likewise.
51027         (bug-regex25-ENV): Likewise.
51028         (bug-regex26-ENV): Likewise.
51029         (bug-regex30-ENV): Likewise.
51030         (bug-regex32-ENV): Likewise.
51031         (bug-regex33-ENV): Likewise.
51032         (bug-regex34-ENV): Likewise.
51033         (bug-regex35-ENV): Likewise.
51034         (tst-rxspencer-ENV): Likewise.
51035         (tst-rxspencer-no-utf8-ENV): Likewise.
51036         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51037         (tst-sscanf-ENV): Likewise.
51038         (tst-swprintf-ENV): Likewise.
51039         (tst-swscanf-ENV): Likewise.
51040         (test-vfprintf-ENV): Likewise.
51041         (scanf13-ENV): Likewise.
51042         (bug14-ENV): Likewise.
51043         (tst-grouping-ENV): Likewise.
51044         * stdlib/Makefile (tst-strtod-ENV): Likewise.
51045         (tst-strtod3-ENV): Likewise.
51046         (tst-strtod4-ENV): Likewise.
51047         (tst-strtod5-ENV): Likewise.
51048         (testmb2-ENV): Likewise./
51049         * string/Makefile (tst-strxfrm-ENV): Likewise.
51050         (tst-strxfrm2-ENV): Likewise.
51051         (bug-strcoll1-ENV): Likewise.
51052         (test-strcasecmp-ENV): Likewise.
51053         (test-strncasecmp-ENV): Likewise.
51054         * time/Makefile (tst-strptime-ENV): Likewise.
51055         (tst-ftime_l-ENV): Likewise.
51056         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51057         (tst-mbrtowc-ENV): Likewise.
51058         (tst-wcrtomb-ENV): Likewise.
51059         (tst-mbrtowc2-ENV): Likewise.
51060         (tst-c16c32-1-ENV): Likewise.
51061         (tst-mbsnrtowcs-ENV): Likewise.
51063 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
51065         * manual/resource.texi (How to get information about the memory
51066         subsystem?): Fix typo.
51067         Reported by Peon de la Parra Ivan <peon@keba.com>
51069 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
51071         [BZ #16882]
51072         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51073         (pthread_spin_lock): Branch out of spin loop to proper location.
51074         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51075         (pthread_spin_lock): Likewise.
51077         * nptl/tst-spin4.c: New test.
51078         * nptl/Makefile (tests): Add tst-spin4.
51080 2014-06-03  Andreas Schwab  <schwab@suse.de>
51082         [BZ #15946]
51083         * resolv/res_send.c (send_dg): Reload file descriptor after
51084         calling reopen.
51086 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
51088         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51090 2014-06-03  Richard Henderson  <rth@redhat.com>
51092         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51093         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51094         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51095         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
51096         in the SAVE_PID block.
51097         (__libc_vfork): New alias.
51098         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51100         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51101         child in registers, not on the stack.  Remove RESET_PID conditionals.
51102         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51104 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51106         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51108 2014-06-03  Wilco  <wdijkstr@arm.com>
51110         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51111         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51112         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51113         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51114         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51115         Likewise.
51117 2014-06-03  Wilco  <wdijkstr@arm.com>
51119         * sysdeps/aarch64/fpu/math_private.h
51120         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51121         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51122         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51123         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51124         Fix declarations.
51126 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51128         * crypt/crypt-private.h: Include ufc-crypt.h.
51129         (__b64_from_24bit): Declare extern.
51130         * crypt/crypt_util.c(__b64_from_24bit): New function.
51131         (b64t): New static const variable.
51132         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51133         (b64t): Remove variable.
51134         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51135         * crypt/sha256-crypt.c: Include crypt-private.h.
51136         (b64t): Remove variable.
51137         (__sha256_crypt_r): Remove b64_from_24bit and replace
51138         with __b64_from_24bit.
51139         * crypt/sha512-crypt.c: Likewise.
51141 2014-06-02  Roland McGrath  <roland@hack.frob.com>
51143         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51144         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51145         Label the code __libc_vfork rather than __vfork.
51146         [!NOT_IN_libc] (vfork): Define as weak alias.
51147         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51148         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51149         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51151 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51153         * malloc/malloc.c (malloc_info): Fix format specifier for
51154         n_mmaps.
51156 2014-06-02  Wilco  <wdijkstr@arm.com>
51158         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51159         FPCR write.
51161 2014-06-02  Wilco  <wdijkstr@arm.com>
51163         [BZ #17009]
51164         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51165         Rewrite to reduce FPCR/FPSR accesses.
51167 2014-06-01  David S. Miller  <davem@davemloft.net>
51169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51171 2014-05-31  David S. Miller  <davem@davemloft.net>
51173         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51174         to occur in round to nearest mode when |x| >= 2.0
51176 2014-05-30  Richard Henderson  <rth@twiddle.net>
51178         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51179         (PSEUDO_RET_NOERRNO): Remove.
51180         (ret): Don't redefine.
51181         (ret_NOERRNO): Define in terms of ret.
51182         (ret_ERRVAL): Likewise.
51184         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51185         use of PSEUDO_RET; perform the error check directly.
51187 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
51189         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51190         with __int128_t.
51192 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51194         * malloc/malloc (malloc_info): Fix formatting.
51196 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51197             Roland McGrath  <roland@hack.frob.com>
51199         * malloc/malloc (malloc_info): Also print mmapped statistics.
51201 2014-05-30  Roland McGrath  <roland@hack.frob.com>
51203         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51204         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51206 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
51208         * malloc/malloc.c (malloc_info): Inline mi_arena.
51210 2014-05-29  Richard Henderson  <rth@twiddle.net>
51212         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51213         Remove comma before expanding ASM_ARGS_##nr.
51214         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51215         Make _x0 a strict output; make _x8 a strict input; adjust expansion
51216         of ASM_ARGS_##nr.
51217         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51218         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51219         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51220         (ASM_ARGS_1): Add leading comma.
51222         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51223         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51224         to __errno_location.
51225         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51226         Remove the expected plt for __errno_location.
51228         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51229         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51230         call to __read_tp.
51232         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51233         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
51234         it and break it down.
51235         (DOCARGS_0, DOCARGS_1): Do nothing.
51236         (DOCARGS_2): Update to store into the new stack frame.
51237         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51238         (UNDOCARGS_1): Update to restore from the new stack frame.
51239         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51240         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51242         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51243         (SINGLE_THREAD_P): New parameter for result regno.
51244         (PSEUDO): Update to match; use cbz instead of beq.
51246         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51247         Use ENTRY to define the _nocancel entry point.  Share the syscall
51248         and syscall error check paths with the cancel path.
51249         (PSEUDO_END): New.
51251         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51252         whitespace; tabs before and after asm mnemonics.
51254 2014-05-29  Eric Wong  <normalperson@yhbt.net>
51256         [BZ #15132]
51257         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51258         Call fstat64 or stat64 internally, depending on arguments passed.
51259         Replace stat buffer argument with file descriptor argument.
51260         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51261         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51262         Pass fd to __internal_statvfs instead of calling fstat64.
51263         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51264         Pass fd to __internal_statvfs64 instead of calling fstat64.
51265         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51266         Pass -1 to __internal_statvfs instead of calling stat64.
51267         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51268         Pass -1 to __internal_statvfs64 instead of calling stat64.
51270 2014-05-28  Roland McGrath  <roland@hack.frob.com>
51272         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51273         that was previously under [RESET_PID].
51274         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51276         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51277         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51279 2014-05-27  Roland McGrath  <roland@hack.frob.com>
51281         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51283         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51284         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51286 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
51288         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51290 2014-05-27  Andreas Schwab  <schwab@suse.de>
51292         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51293         TLS_INIT_TP macro.
51294         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51295         * elf/rtld.c (init_tls, dl_main): Likewise.
51296         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51297         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51298         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51299         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51300         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51301         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51302         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51303         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51304         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51305         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51306         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51307         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51308         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51309         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51310         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51311         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51312         * sysdeps/generic/tls.h: Update description.
51314 2014-05-27  Will Newton  <will.newton@linaro.org>
51316         [BZ #16990]
51317         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51318         and restore r2 rather than just restoring.
51320 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51322         [BZ #16724]
51323         * libio/tst-ftell-append.c: New test case.
51324         * libio/Makefile (tests): Add test case.
51325         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51326         append mode.
51327         * libio/wfileops.c (do_ftell_wide): Likewise.
51329 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51333         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51334         ...
51335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51337         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51338         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51339         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51340         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51341         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51342         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51343         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51344         Moved ...
51345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51347         Moved ...
51348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51349         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51350         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51351         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51352         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51353         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51354         ...
51355         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51356         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51357         Moved ...
51358         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51359         here.
51360         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51361         ...
51362         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51363         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51364         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51366         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51367         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51368         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51369         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51371         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51372         merge into ...
51373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51375         ...
51376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51378         ...
51379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51380         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51381         Moved ...
51382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51383         here.
51384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51385         Moved ...
51386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51388         Moved ...
51389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51392         conditional [RESET_PID].
51393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51394         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51395         removed.
51396         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51397         removed.
51399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51400         <tcb-offsets.h>.
51401         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51402         (__libc_vfork): New strong alias.
51403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51404         removed.
51405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51406         Removed.
51408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51409         <tcb-offsets.h>.
51410         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51411         (__libc_vfork): New strong alias.
51412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51413         removed.
51414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51415         removed.
51417 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
51419         * malloc/malloc.c (mi_arena): New function.
51420         (malloc_info): Remove nested function mi_arena. Call non-nosted
51421         function mi_arena.
51423 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51425         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51426         by insrwi.
51427         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51428         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51429         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51430         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51431         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51432         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51433         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51435 2014-05-26  Andreas Schwab  <schwab@suse.de>
51437         [BZ #16984]
51438         * locale/programs/repertoire.c (repertoire_read): Add slash
51439         between I18NPATH element and file name.
51440         * locale/programs/locfile.c (locfile_read): Likewise.
51442 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51444         * nptl/pthread_mutexattr_settype.c
51445         (__pthread_mutexattr_settype):
51446         Disable lock elision for PTHREAD_MUTEX_NORMAL.
51448 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51450         * nptl/tst-mutex5 (do_test):
51451         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51453 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51455         * benchtests/README: Document 'init' directive.
51456         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51457         BENCH_INIT.
51458         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51459         (parse_file): Recognize 'init' directive.
51461 2014-05-26  Kyle McMartin  <kyle@redhat.com>
51463         [BZ #16796]
51464         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51465         alignment of struct pthread.
51467 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51469         [BZ #16878]
51470         * nscd/netgroupcache.c (addgetnetgrentX): Look for
51471         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51472         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51473         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51475 2014-05-25  Richard Henderson  <rth@twiddle.net>
51477         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51478         (SINGLE_THREAD_P_PIC): Remove.
51479         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51480         (SINGLE_THREAD_P_PIC): Remove.
51482         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51483         branch to syscall error ...
51484         (PSEUDO): ... here.
51485         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51486         from __local_syscall_error to .Lsyscall_error.
51487         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51488         (SYSCALL_ERROR): Update label name.
51490         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51491         Do not use DOARGS/UNDOARGS.
51492         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51493         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51494         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51495         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51496         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51499         block comment.
51501         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51502         define if !NOT_IN_libc.
51503         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51504         define with non-default symbol versions.
51506 2014-05-23  Richard Henderson  <rth@twiddle.net>
51508         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51509         (vfork, __vfork): Define via compat_symbol.
51511         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51512         [!HAVE_IFUNC] (vfork_compat): Remove.
51513         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51515 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51517         [BZ #16978]
51518         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51519         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51520         variable.
51522 2014-05-23  Richard Henderson  <rth@twiddle.net>
51524         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51525         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51526         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51527         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51529         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51530         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51531         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51532         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51533         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51534         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51535         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51536         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51537         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51538         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51539         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51540         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51541         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51542         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51543         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51544         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51545         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51546         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51547         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51548         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51549         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51550         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51551         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51552         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51553         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51554         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51555         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51556         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51557         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51558         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51559         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51560         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51561         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51562         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51563         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51564         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51565         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51566         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51567         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51568         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51569         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51570         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51571         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51572         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51573         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51574         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51575         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51576         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51577         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51578         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51579         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51580         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51581         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51582         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51583         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51584         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51586         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51587         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51588         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51589         before exiting on error.
51590         (__libc_vfork): New strong alias.
51591         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51592         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51594         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51595         that was previously under [RESET_PID].
51596         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51598         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51600 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51602         [BZ #16977]
51603         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51604         value when x - 1 is zero.
51605         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51606         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51607         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51608         0.0L for an argument of 1.0L.
51609         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51610         Likewise.
51611         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51612         value when x - 1 is zero.
51613         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51614         * sysdeps/i386/fpu/libm-test-ulps: Update.
51615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51617 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51619         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51620         alphasort and versionsort.
51622 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51624         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51625         macro.
51626         [copysignf]: Likewise.
51628 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51630         * crypt/md5-crypt.c: Fix formatting.
51632 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51634         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51635         (b64_from_24bit): New function.
51637 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51639         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51640         libc_hidden_builtin_def to ifunc.
51641         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51642         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51644 2014-05-21  Roland McGrath  <roland@hack.frob.com>
51646         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51647         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51649 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
51651         * nscd/Depend (linuxthreads): Remove.
51652         (nptl): Add.
51653         * resolv/Depend (linuxthreads): Remove.
51654         * rt/Depend (linuxthreads): Remove.
51656         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51657         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51658         $(common-objpfx)elf/.
51659         (link-libc-before-gnulib): Likewise.
51660         (elfobjdir): Remove variable.
51661         * Makefile (install): Use $(elf-objpfx) instead of
51662         $(common-objpfx)elf/.
51663         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51664         $(elfobjdir)/.
51665         (link-libc-deps): Likewise.
51666         ($(common-objpfx)libc.so): Likewise.
51667         ($(common-objpfx)linkobj/libc.so): Likewise.
51668         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51669         instead of $(common-objpfx)elf/.
51670         (symbolic-link-list): Likewise.
51671         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51672         [$(cross-compiling) = no]: Likewise.
51673         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51674         $(elfobjdir)/.
51675         (static-gnulib-arch): Likewise.
51676         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51677         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51678         $(common-objpfx)elf/.
51680 2014-05-21  Richard Henderson  <rth@redhat.com>
51682         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51683         (SINGLE_THREAD_P): Use the correct width load.  Fold
51684         into the ldr offset.
51686         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51687         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51689 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
51691         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51692         (libgcc_s_resume): Use __attribute_used__.
51693         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51694         Likewise.
51696 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51698         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51699         optimization when used with float constants.
51701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51703 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
51705         [BZ #16915]
51706         * locale/nl_langinfo_l.c: Make direct reference to every
51707         _nl_current_CATEGORY symbol.
51708         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51709         (tests-static): Add tst-langinfo-static.
51710         (tests-special): Add tst-langinfo-static.out.
51711         ($(objpfx)tst-langinfo.out): Redirect output.
51712         ($(objpfx)tst-langinfo-static.out): New.
51713         * localedata/tst-langinfo.sh: Send output to stdout.
51714         * localedata/tst-langinfo-static.c: New file.
51716         [BZ #16965]
51717         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51718         when the shift amount is modulo the limb size.
51720 2014-05-20  Richard Henderson  <rth@redhat.com>
51722         [BZ #16967]
51723         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51724         Change type of sa_flags from unsigned int to int.
51726         [BZ #16966]
51727         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51729         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51731 2014-05-20  Will Newton  <will.newton@linaro.org>
51733         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51734         Test the return value of the system call in the nocancel case.
51736 2014-05-20  Will Newton  <will.newton@linaro.org>
51737             Yvan Roux  <yvan.roux@linaro.org>
51739         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51740         #include of asm/ptrace.h.
51741         (PTRACE_GET_THREAD_AREA): Remove #undef.
51742         (PTRACE_GETHBPREGS): Likewise.
51743         (PTRACE_SETHBPREGS): Likewise.
51744         (struct user_regs_struct): New structure.
51745         (struct user_fpsimd_struct): New structure.
51746         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51747         #include of asm/ptrace.h and second #include of sys/user.h.
51748         (PTRACE_GET_THREAD_AREA): Remove #undef.
51749         (PTRACE_GETHBPREGS): Likewise.
51750         (PTRACE_SETHBPREGS): Likewise.
51751         (ELF_NGREG): Use new struct user_regs_struct.
51752         (elf_fpregset_t): Use new struct user_fpsimd_struct.
51754 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51756         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51757         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51759 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
51761         [BZ #16958]
51762         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51763         membar to avoid block loads/stores to overlap previous stores.
51765 2014-05-17  Richard Henderson  <rth@redhat.com>
51767         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51768         Create the __##syscall_name##_nocancel entry point.
51769         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51770         Remove; let the sysdep-cancel.h code create it.
51772 2014-05-17  David S. Miller  <davem@davemloft.net>
51774         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51775         Protect with __USE_GNU.
51776         (TIOCSET_TEMPT): Likewise.
51777         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51778         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51779         these are already provided in bits/ioctl-types.h
51781 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51783         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51784         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51786         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51787         Use wait4 regardless of [__NR_waitpid].
51789 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51791         PR libgcc/60166
51792         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51793         (_FP_NANSIGN_Q): Set the quiet bit.
51795 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
51797         * benchtests/Makefile
51798         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51799         not $(common-objpfx)math/libm.so.
51800         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51801         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51802         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51803         $(common-objpfx)dlfcn/libdl.so.
51804         ($(objpfx)tst-audit8): Depend on $(libm), not
51805         $(common-objpfx)math/libm.so.
51806         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51807         not $(common-objpfx)dlfcn/libdl.so.
51808         * math/Makefile
51809         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51810         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
51811         [$(build-shared) = yes].
51812         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51813         $(common-objpfx)nptl/libpthread.so.
51814         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51815         $(common-objpfx)math/libm.so$(libm.so-version) or
51816         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51817         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51818         $(common-objpfx)dlfcn/libdl.so.
51819         * setjmp/Makefile (link-libm): Remove variable.
51820         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51821         * stdio-common/Makefile (link-libm): Remove variable.
51822         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51823         * stdlib/Makefile (link-libm): Remove variable.
51824         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51825         ($(objpfx)tst-strtod-round): Likewise.
51826         ($(objpfx)tst-tininess): Likewise.
51827         ($(objpfx)tst-strtod-underflow): Likewise.
51828         ($(objpfx)tst-strtod6): Likewise.
51829         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51830         $(libdl), not $(common-objpfx)nptl/libpthread.so and
51831         $(common-objpfx)dlfcn/libdl.so.
51833 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51835         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51836         BSD terminal modes definitions.
51838 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51840         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51841         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51843         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51844         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51845         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51846         Don't do #include_next.
51847         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51848         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51849         Don't do #include_next.
51850         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51851         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51852         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51853         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51855 2014-05-16  Allan McRae  <allan@archlinux.org>
51857         * po/sv.po: Update Swedish translation from translation project.
51859         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51860         in sed expression.
51862 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
51864         [BZ #16917]
51865         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51866         errno if the TIOCGPTN ioctl fails with an error different than
51867         EINVAL.
51868         * login/tst-ptsname.c: New file.
51869         * login/Makefile (tests): Add tst-ptsname.
51871         [BZ #16943]
51872         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51873         and prlimit64.
51875 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51877         [BZ #16849]
51878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51879         herrno to return EAI_AGAIN.
51881 2014-05-14  Roland McGrath  <roland@hack.frob.com>
51883         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51884         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51885         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51886         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51887         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51888         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51889         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51890         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51891         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51892         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51893         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51894         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51895         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51896         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51897         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51898         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51899         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51900         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51901         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51902         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51903         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51904         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51905         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51906         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51907         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51908         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51909         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51910         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51911         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51912         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51914         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51916         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51918         Moved ...
51919         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51921         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51923         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51925         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51927         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51929         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51931         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51933         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51935         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51937         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51939         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51941         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51943         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51945         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51947         Moved ...
51948         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51950         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51952         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51954         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51956         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51958         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51960         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51962         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51964         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51966         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51968         Moved ...
51969         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51971         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51973         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51974         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51975         (libpthread-sysdep_routines): Add elision-related stuff here instead.
51976         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51977         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51978         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51979         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51980         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51981         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51982         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51983         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51984         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51985         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51986         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51987         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51988         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51989         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51990         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51991         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51992         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51993         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51994         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51995         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51996         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51997         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51998         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51999         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52000         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52001         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52002         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52003         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52005         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52006         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52008         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52009         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52010         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52011         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52012         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52013         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52014         Moved ...
52015         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52016         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52017         Moved ...
52018         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52019         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52020         Moved ...
52021         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52022         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52023         Moved ...
52024         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52025         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52026         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52027         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52028         Moved ...
52029         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52030         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52031         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52032         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52033         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52034         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52035         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52036         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52037         Moved ...
52038         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52039         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52040         Moved ...
52041         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52042         ... here.
52043         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52044         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52045         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52046         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52047         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52048         Moved ...
52049         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52050         ... here.
52051         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52052         Moved ...
52053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52054         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52055         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52056         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52057         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52058         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52059         Moved ...
52060         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52061         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52062         Moved ...
52063         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52064         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52065         Moved ...
52066         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52067         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52068         Moved ...
52069         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52070         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52071         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52072         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52073         Moved ...
52074         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52075         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52076         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52077         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52078         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52079         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52080         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52081         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52082         Moved ...
52083         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52084         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52085         Moved ...
52086         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52087         ... here.
52088         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52089         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52090         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52091         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52092         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52093         Moved ...
52094         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52095         ... here.
52096         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52097         Moved ...
52098         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52099         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52100         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52101         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52102         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52103         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52104         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52105         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52106         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52107         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52108         Moved ...
52109         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52110         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52111         Moved ...
52112         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52113         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52114         Moved ...
52115         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52116         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52117         Moved ...
52118         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52119         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52120         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52121         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52122         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52123         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52124         Moved ...
52125         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52126         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52127         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52128         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52129         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52130         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52131         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52132         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52133         Moved ...
52134         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52135         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52136         Moved ...
52137         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52138         ... here.
52139         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52140         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52141         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52142         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52143         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52144         Moved ...
52145         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52146         ... here.
52147         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52148         Moved ...
52149         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52150         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52151         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52152         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52153         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52154         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52155         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52156         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52157         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52158         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52159         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52161         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52162         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52164         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52165         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52167         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52168         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52169         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52170         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52171         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52172         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52173         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52174         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52175         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52176         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52177         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52178         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52179         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52180         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52181         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52182         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52183         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52184         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52185         Moved ...
52186         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52187         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52188         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52189         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52190         Moved ...
52191         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52192         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52193         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52195         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52196         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52197         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52198         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52199         Moved ...
52200         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52202         Moved ...
52203         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52204         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52205         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52206         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52207         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52208         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52209         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52210         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52211         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52212         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52213         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52214         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52215         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52216         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52217         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52218         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52219         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52221         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52222         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52223         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52224         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52225         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52227         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52228         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52229         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52230         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52231         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52232         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52233         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52234         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52235         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52236         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52238         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52241         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52242         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52243         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52244         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52245         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52246         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52247         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52248         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52249         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52250         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52251         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52252         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52253         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52254         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52256         Update #include.
52257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52258         Likewise.
52259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52260         Likewise.
52261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52262         Likewise.
52263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52264         Likewise.
52265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52266         Likewise.
52267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52268         Likewise.
52269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52270         Likewise.
52271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52272         Likewise.
52273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52274         Likewise.
52275         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52280         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52281         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52282         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52283         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52284         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52285         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52286         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52287         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52288         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
52289         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
52291         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52292         that was previously under [RESET_PID].
52293         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52294         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52295         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52297         * sysdeps/i386/nptl/Implies: New file.
52298         * sysdeps/x86_64/nptl/Implies: New file.
52299         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52300         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52301         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52302         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52304         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52305         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52306         (__libc_vfork): New strong alias.
52307         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52308         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52310         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52311         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52312         (__libc_vfork): New strong alias.
52313         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52314         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52316         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52317         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52318         (__libc_vfork): New strong alias.
52319         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52320         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52321         * nptl/pt-vfork.c: New file.
52322         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52323         (libpthread: GLIBC_2.20): New version set (empty).
52325 2014-05-14  Will Newton  <will.newton@linaro.org>
52327         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52328         rather than #if.
52330 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52332         [BZ #16564]
52333         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52334         arguments with exponent 65 or above.
52335         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52336         arguments 0x1p113L or above.
52337         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52338         to arguments 0x1p107L or above.
52339         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52340         positive arguments with exponent 65 or above.
52341         * math/auto-libm-test-in: Add more tests of log1p.
52342         * math/auto-libm-test-out: Regenerated.
52344         [BZ #16928]
52345         * math/s_cacos.c (__cacos): Ensure zero real part of result from
52346         non-finite arguments is +0.
52347         * math/s_cacosf.c (__cacosf): Likewise.
52348         * math/s_cacosl.c (__cacosl): Likewise.
52349         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52350         * sysdeps/i386/fpu/libm-test-ulps: Update.
52351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52353         [BZ #16927]
52354         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52355         value.
52356         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52357         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52358         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52359         for explicit high bit of mantissa when testing for argument equal
52360         to 1.
52361         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52362         * sysdeps/i386/fpu/libm-test-ulps: Update.
52363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52365         [BZ #16516]
52366         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52367         (__erf): Scale by 16 instead of 8 in potentially underflowing
52368         case.  Ensure exception if result actually underflows.
52369         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52370         (__erff): Scale by 16 instead of 8 in potentially underflowing
52371         case.  Ensure exception if result actually underflows.
52372         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52373         (efx8): Remove variable.
52374         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52375         case.  Ensure exception if result actually underflows.
52376         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52377         (efx8): Remove variable.
52378         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52379         case.  Ensure exception if result actually underflows.
52380         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52381         (efx8): Remove variable.
52382         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52383         case.  Ensure exception if result actually underflows.
52384         * math/auto-libm-test-in: Add more tests of erf.
52385         * math/auto-libm-test-out: Regenerated.
52387 2014-05-14  Andreas Schwab  <schwab@suse.de>
52389         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52390         Remove code conditionalized on USE___THREAD.
52392         * config.h.in (HAVE_PT_CHOWN): Define as 0.
52393         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52394         not definedness.
52396 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52398         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52399         Define unconditionally.
52400         (__ASSUME_O_CLOEXEC): Likewise.
52401         (__ASSUME_SOCK_CLOEXEC): Likewise.
52402         (__ASSUME_IN_NONBLOCK): Likewise.
52403         (__ASSUME_PIPE2): Likewise.
52404         (__ASSUME_EVENTFD2): Likewise.
52405         (__ASSUME_SIGNALFD4): Likewise.
52406         (__ASSUME_DUP3): Likewise.
52407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52408         (__ASSUME_DUP3): Do not define.
52409         (__ASSUME_EVENTFD2): Likewise.
52410         (__ASSUME_IN_NONBLOCK): Likewise.
52411         (__ASSUME_O_CLOEXEC): Likewise.
52412         (__ASSUME_PIPE2): Likewise.
52413         (__ASSUME_SIGNALFD4): Likewise.
52414         (__ASSUME_SOCK_CLOEXEC): Likewise.
52415         (__ASSUME_UTIMES): Undefine.
52416         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52417         (__ASSUME_UTIMES): Do not define.
52418         (__ASSUME_O_CLOEXEC): Likewise.
52419         (__ASSUME_SOCK_CLOEXEC): Likewise.
52420         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52421         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52422         0x020621].
52423         (__ASSUME_PIPE2): Likewise.
52424         (__ASSUME_EVENTFD2): Likewise.
52425         (__ASSUME_SIGNALFD4): Likewise.
52426         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52427         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52428         Do not define.
52429         (__ASSUME_EVENTFD2): Likewise.
52430         (__ASSUME_SIGNALFD4): Likewise.
52431         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52432         (__ASSUME_32BITUIDS): Likewise.
52433         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52434         (__ASSUME_IPC64): Likewise.
52435         (__ASSUME_ST_INO_64_BIT): Likewise.
52436         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52437         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52438         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52439         (__ASSUME_UTIMES): Do not define.
52440         (__ASSUME_PSELECT): Likewise.
52441         (__ASSUME_PPOLL): Likewise.
52442         (__ASSUME_O_CLOEXEC): Likewise.
52443         (__ASSUME_SOCK_CLOEXEC): Likewise.
52444         (__ASSUME_IN_NONBLOCK): Likewise.
52445         (__ASSUME_PIPE2): Likewise.
52446         (__ASSUME_EVENTFD2): Likewise.
52447         (__ASSUME_SIGNALFD4): Likewise.
52448         (__ASSUME_DUP3): Likewise.
52449         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52450         (__ASSUME_UTIMES): Likewise.
52451         (__ASSUME_O_CLOEXEC): Likewise.
52452         (__ASSUME_SOCK_CLOEXEC): Likewise.
52453         (__ASSUME_IN_NONBLOCK): Likewise.
52454         (__ASSUME_PIPE2): Likewise.
52455         (__ASSUME_EVENTFD2): Likewise.
52456         (__ASSUME_SIGNALFD4): Likewise.
52457         (__ASSUME_DUP3): Likewise.
52458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52459         (__ASSUME_UTIMES): Likewise.
52460         (__ASSUME_O_CLOEXEC): Likewise.
52461         (__ASSUME_SOCK_CLOEXEC): Likewise.
52462         (__ASSUME_IN_NONBLOCK): Likewise.
52463         (__ASSUME_PIPE2): Likewise.
52464         (__ASSUME_EVENTFD2): Likewise.
52465         (__ASSUME_SIGNALFD4): Likewise.
52466         (__ASSUME_DUP3): Likewise.
52467         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52468         Likewise.
52469         (__ASSUME_UTIMES): Likewise.
52470         (__ASSUME_EVENTFD2): Likewise.
52471         (__ASSUME_SIGNALFD4): Likewise.
52472         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52473         (__ASSUME_O_CLOEXEC): Likewise.
52474         (__ASSUME_SOCK_CLOEXEC): Likewise.
52475         (__ASSUME_IN_NONBLOCK): Likewise.
52476         (__ASSUME_PIPE2): Likewise.
52477         (__ASSUME_EVENTFD2): Likewise.
52478         (__ASSUME_SIGNALFD4): Likewise.
52479         (__ASSUME_DUP3): Likewise.
52480         (__ASSUME_UTIMES): Undefine.
52482         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52483         feclearexcept.  Remove symbol versioning code.
52484         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
52485         symbol versioning code.
52486         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
52487         symbol versioning code.
52488         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52489         feupdateenv.  Remove symbol versioning code.
52490         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52491         fegetexceptflag.  Remove symbol versioning code.
52492         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52493         fesetexceptflag.  Remove symbol versioning code.
52494         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52495         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
52496         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52497         (__posix_fadvise64_l32): Remove prototype.
52498         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52499         code.
52501 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52503         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52504         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52505         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52506         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52508 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
52510         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52511         current working directory
52513 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52515         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52516         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52517         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52518         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52519         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52520         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52521         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52522         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52523         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52524         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52525         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52526         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52527         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52528         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52529         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52530         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52531         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52532         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52533         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52534         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52535         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52536         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52537         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52538         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52539         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52540         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52541         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52542         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52543         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52544         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52545         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52546         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52547         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52548         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52549         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52550         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52551         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52552         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52553         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52554         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52555         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52556         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52558         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52559         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52561         * sysdeps/unix/sysv/linux/arm/Makefile
52562         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52563         Add rt-aeabi_unwind_cpp_pr1.
52564         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52565         Add nptl-aeabi_unwind_cpp_pr1.
52566         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52567         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52568         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52569         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52570         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52571         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52573         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52574         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52575         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52576         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52578         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52579         Deconditionalize the code that was previously under [RESET_PID].
52580         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52582         * sysdeps/generic/exit-thread.h: New file.
52583         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52584         * include/unistd.h (__exit_thread): Remove declaration.
52585         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52586         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52587         * csu/libc-start.c: Include <exit-thread.h>.
52588         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52589         * nptl/pthread_create.c: Include <exit-thread.h>.
52590         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52591         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52592         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52593         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52594         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52595         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52596         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52597         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52598         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52599         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52600         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52601         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52602         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52603         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52604         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52605         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52606         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52608 2014-05-13  Andreas Schwab  <schwab@suse.de>
52610         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52612 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52614         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52615         (__ASSUME_UTIMES): Do not condition on kernel version.
52616         (__ASSUME_PSELECT): Define unconditionally.
52617         (__ASSUME_PPOLL): Likewise.
52618         (__ASSUME_ATFCTS): Likewise.
52619         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52620         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52621         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52622         (__ASSUME_UTIMENSAT): Define unconditionally.
52623         (__ASSUME_PRIVATE_FUTEX): Likewise.
52624         (__ASSUME_FALLOCATE): Likewise.
52625         (__ASSUME_O_CLOEXEC): Likewise.
52626         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52627         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52628         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52629         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52630         (__ASSUME_IN_NONBLOCK): Likewise.
52631         (__ASSUME_PIPE2): Likewise.
52632         (__ASSUME_EVENTFD2): Likewise.
52633         (__ASSUME_SIGNALFD4): Likewise.
52634         (__ASSUME_DUP3): Likewise.
52635         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52636         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52637         (__ASSUME_AT_RANDOM): Likewise.
52638         (__ASSUME_PREADV): Likewise.
52639         (__ASSUME_PWRITEV): Likewise.
52640         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52641         (__ASSUME_F_GETOWN_EX): Define unconditionally.
52642         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52643         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52644         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52645         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52646         (__ASSUME_O_CLOEXEC): Define unconditionally.
52647         (__ASSUME_PSELECT): Do not undefine conditionally.
52648         (__ASSUME_PPOLL): Likewise.
52649         (__ASSUME_ATFCTS): Likewise.
52650         (__ASSUME_SET_ROBUST_LIST): Likewise.
52651         (__ASSUME_UTIMENSAT): Likewise.
52652         (__ASSUME_FDATASYNC): Define unconditionally.
52653         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52654         (__ASSUME_SIGFRAME_V2): Likewise.
52655         )__ASSUME_EVENTFD2): Likewise.
52656         (__ASSUME_SIGNALFD4): Likewise.
52657         (__ASSUME_PSELECT): Do not undefine conditionally.
52658         (__ASSUME_PPOLL): Likewise.
52659         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52660         (__ASSUME_PSELECT): Define unconditionally.
52661         (__ASSUME_PPOLL): Likewise.
52662         (__ASSUME_O_CLOEXEC): Likewise.
52663         (__ASSUME_SOCK_CLOEXEC): Likewise.
52664         (__ASSUME_IN_NONBLOCK): Likewise.
52665         (__ASSUME_PIPE2): Likewise.
52666         (__ASSUME_EVENTFD2): Likewise.
52667         (__ASSUME_SIGNALFD4): Likewise.
52668         (__ASSUME_DUP3): Likewise.
52669         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52670         (__ASSUME_O_CLOEXEC): Likewise.
52671         (__ASSUME_SOCK_CLOEXEC): Likewise.
52672         (__ASSUME_IN_NONBLOCK): Likewise.
52673         (__ASSUME_PIPE2): Likewise.
52674         (__ASSUME_EVENTFD2): Likewise.
52675         (__ASSUME_SIGNALFD4): Likewise.
52676         (__ASSUME_DUP3): Likewise.
52677         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52678         (__ASSUME_EVENTFD2): Likewise.
52679         (__ASSUME_SIGNALFD4): Likewise.
52680         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52682 2014-05-12  Andreas Schwab  <schwab@suse.de>
52684         [BZ #16932]
52685         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52686         (_nss_nis_gethostbyname4_r): Return error if item length is larger
52687         than maximum RPC packet size.
52688         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52689         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52690         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52691         (_nss_nis_getservbyport_r): Likewise.
52693 2014-05-12  Will Newton  <will.newton@linaro.org>
52695         * malloc/Makefile (tests): Add tst-mallopt.
52696         * malloc/tst-mallopt.c: New file.
52698 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52700         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52701         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52703 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52705         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52706         (tst-tlsmod6.so): Likewise.
52708 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52710         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52712 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
52714         [BZ #16064]
52715         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52716         and <dl-procinfo.h>.
52717         (__fegetenv): Save SSE state in envp->__eip if supported.
52718         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52719         envp->__eip if supported.
52720         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52721         and <dl-procinfo.h>.
52722         (__fesetenv): Always set __eip, __cs_selector, __opcode,
52723         __data_offset and __data_selector in environment to 0.  Set SSE
52724         state if supported.
52725         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52726         test-fenv-sse.
52727         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52728         -mfpmath=sse.
52729         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52731 2014-05-09  Will Newton  <will.newton@linaro.org>
52733         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52734         and libc_relro_required for ARM.
52735         * sysdeps/arm/preconfigure: Regenerate.
52737 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
52738             Stefan Liebler  <stli@linux.vnet.ibm.com>
52740         * config.make.in (enable-lock-elision): New Makefile variable.
52741         * configure.ac: Likewise.
52742         * configure: Regenerate.
52743         * sysdeps/s390/configure.ac:
52744         Add check for gcc transactions support.
52745         * sysdeps/s390/configure: Regenerate.
52746         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52747         Build elision files if enabled.
52748         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52749         Add lock elision support for s390.
52750         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52751         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52752         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52753         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52754         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52755         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52756         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52757         Likewise.
52758         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52759         Likewise.
52760         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52761         Likewise.
52762         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52763         Likewise.
52764         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52765         (__lll_timedlock_elision, __lll_lock_elision)
52766         (__lll_unlock_elision, __lll_trylock_elision)
52767         (lll_timedlock_elision, lll_lock_elision)
52768         (lll_unlock_elision, lll_trylock_elision): Add.
52769         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52770         (pthread_mutex_t): Add lock elision support for s390.
52772 2014-05-14  Wilco  <wdijkstr@arm.com>
52774         * sysdeps/arm/fclrexcpt.c: Cleanup.
52775         * sysdeps/arm/fedisblxcpt.c: Cleanup.
52776         * sysdeps/arm/feenablxcpt.c: Cleanup.
52777         * sysdeps/arm/fegetenv.c: Cleanup.
52778         * sysdeps/arm/fegetexcept.c: Cleanup.
52779         * sysdeps/arm/fegetround.c: Cleanup.
52780         * sysdeps/arm/feholdexcpt.c: Cleanup.
52781         * sysdeps/arm/fesetenv.c: Cleanup.
52782         * sysdeps/arm/fesetround.c: Cleanup.
52783         * sysdeps/arm/feupdateenv.c: Cleanup.
52784         * sysdeps/arm/fgetexcptflg.c: Cleanup.
52785         * sysdeps/arm/fraiseexcpt.c: Cleanup.
52786         * sysdeps/arm/fsetexcptflg.c: Cleanup.
52787         * sysdeps/arm/ftestexcept.c: Cleanup.
52788         * sysdeps/arm/get-rounding-mode.h: Cleanup.
52789         * sysdeps/arm/setfpucw.c: Cleanup.
52791 2014-05-09  Will Newton  <will.newton@linaro.org>
52793         * sysdeps/arm/armv7/strcmp.S: New file.
52794         * NEWS: Mention addition of ARMv7 optimized strcmp.
52796 2014-05-08  Roland McGrath  <roland@hack.frob.com>
52798         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52799         look for %.ac rather than %.in.
52801         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52802         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52803         * sysdeps/mach/hurd/configure: Regenerated.
52804         * sysdeps/unix/sysv/linux/configure: Regenerated.
52806         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52808 2014-05-07  Steve Ellcey  <sellcey@mips.com>
52810         [BZ #16922]
52811         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52812         (LONG_SUB): Ditto.
52813         (PTR_SUB): Ditto.
52815 2014-05-07  Andreas Schwab  <schwab@suse.de>
52817         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52818         when skipping over non-matching result from nscd.
52820 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
52822         [BZ #16876]
52823         * nptl/sockperf.c (client): Check socket return value.
52825         [BZ #16877]
52826         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52827         nscd security class.
52829 2014-05-06  Roland McGrath  <roland@hack.frob.com>
52831         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52832         * sysdeps/arm/unwind.h: ... here.
52834 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
52836         [BZ #16916]
52837         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52838         Define.
52840 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52842         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52843         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52844         multiarch strncpy for PPC64.
52845         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52846         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52848         multiarch optimizations.
52849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52850         (__libc_ifunc_impl_list): Likewise.
52851         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52852         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52853         multiarch stpncpy for PPC64.
52854         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52855         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52857 2014-05-06  Andreas Schwab  <schwab@suse.de>
52859         [BZ #16912]
52860         * gmon/mcount.c (_MCOUNT_DECL): Use
52861         atomic_compare_and_exchange_bool_acq instead of
52862         catomic_compare_and_exchange_bool_acq.
52864 2014-05-05  Roland McGrath  <roland@hack.frob.com>
52866         * elf/Makefile (others, install-bin): Remove pldd.
52867         (pldd-modules): Variable removed.
52868         ($(objpfx)pldd): Target removed.
52869         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52870         (others, install-bin): Append pldd here.
52871         ($(objpfx)pldd): New target.
52873         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52874         to 0, so the first #if test emitted later doesn't see it undefined.
52875         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52876         * sysdeps/gnu/errlist.c: Regenerated.
52878 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52880         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52881         [libc_hidden_builtin_def]: Define to empty value.
52882         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52883         [libc_hidden_builtin_def]: Likewise.
52884         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52885         [libc_hidden_builtin_def]: Likewise.
52886         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52887         [libc_hidden_builtin_def]: Likewise.
52888         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52889         __redirect_memcpy and define ifunc as default hidden symbol.
52890         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52891         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52893 2014-05-04  Adam Conrad  <adconrad@0c3.net>
52895         * locale/iso-4217.def: Reintroduce XDR currency.
52897 2014-05-04  Allan McRae  <allan@archlinux.org>
52899         * po/eo.po: Update Esperanto translation from translation project.
52901 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
52903         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52904         and FEATURE_INDEX_MAX to 1.
52905         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52907 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52909         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52910         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52911         * iconvdata/big5.c (ONE_DIRECTION): Define.
52912         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52913         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52914         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52915         * iconvdata/cp932.c (ONE_DIRECTION): Define.
52916         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52917         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52918         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52919         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52920         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52921         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52922         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52923         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52924         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52925         * iconvdata/gbk.c (ONE_DIRECTION): Define.
52926         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52927         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52928         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52929         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52930         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52931         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52932         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52933         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52934         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52935         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52936         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52937         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52938         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52939         * iconvdata/iso646.c (ONE_DIRECTION): Define.
52940         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52941         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52942         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52943         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52944         * iconvdata/johab.c (ONE_DIRECTION): Define.
52945         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52946         * iconvdata/sjis.c (ONE_DIRECTION): Define.
52947         * iconvdata/t.61.c (ONE_DIRECTION): Define.
52948         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52949         * iconvdata/tscii.c (ONE_DIRECTION): Define.
52950         * iconvdata/uhc.c (ONE_DIRECTION): Define.
52951         * iconvdata/unicode.c (ONE_DIRECTION): Define.
52952         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52953         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52954         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52956 2014-05-01  Roland McGrath  <roland@hack.frob.com>
52958         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52959         (_IO_JUMPS_OFFSET): Define to 0.
52961         * nptl/sysdeps/pthread/bits/libc-lock.h
52962         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52963         (__libc_lock_define_initialized_recursive): Always define using
52964         initializer.  Modern compilers treat uninitialized (implicit zero) and
52965         explicit zero initializers the same (i.e. put the datum in bss).
52967 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52969         * nscd/nscd-client.h: Include <string.h>.
52971 2014-05-01  David S. Miller  <davem@davemloft.net>
52973         [BZ #16885]
52974         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52975         multiple zero bytes exist at the end of a string.
52976         Reported by Aurelien Jarno <aurelien@aurel32.net>
52978         * string/test-strcmp.c (check): Add explicit test for situations where
52979         there are multiple zero bytes after the first.
52981 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52983         [BZ #16890]
52984         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52985         when compiling wprintf.
52986         * stdio-common/tstdiomisc.c (t3): New function.
52987         (main): Call it.
52989 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52991         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52992         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52993         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52994         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52996 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52998         * stdlib/longlong.h: Updated from GCC.
53000 2014-05-01  Will Newton  <will.newton@linaro.org>
53001             Bernard Ogden  <bernie.ogden@linaro.org>
53003         * NEWS: Update fixed bug list.
53005         [BZ #15119]
53006         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53008 2014-04-30  David S. Miller  <davem@davemloft.net>
53010         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53011         (libc_feholdexcept_setround_sparc_ctx): New function.
53012         (libc_fesetenv_sparc_ctx): Likewise.
53013         (libc_feupdateenv_sparc_ctx): Likewise.
53014         (libc_feholdsetround_sparc_ctx): Likewise.
53015         (libc_feholdexcept_setround_ctx): Define.
53016         (libc_feholdexcept_setroundf_ctx): Likewise.
53017         (libc_feholdexcept_setroundl_ctx): Likewise.
53018         (libc_fesetenv_ctx): Likewise.
53019         (libc_fesetenvf_ctx): Likewise.
53020         (libc_fesetenvl_ctx): Likewise.
53021         (libc_feupdateenv_ctx): Likewise.
53022         (libc_feupdateenvf_ctx): Likewise.
53023         (libc_feupdateenvl_ctx): Likewise.
53024         (libc_feresetround_ctx): Likewise.
53025         (libc_feresetroundf_ctx): Likewise.
53026         (libc_feresetroundl_ctx): Likewise.
53027         (libc_feholdsetround_ctx): Likewise.
53028         (libc_feholdsetroundf_ctx): Likewise.
53029         (libc_feholdsetroundl_ctx): Likewise.
53031         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53032         with __USE_GNU instead of XOPEN cpp guards.
53034         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53035         0.
53037         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53038         with XOPEN cpp guards.
53040 2014-04-30  Julian Brown  <julian@codesourcery.com>
53042         [BZ #16888]
53043         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53044         handling.
53046 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
53048         [BZ #9894]
53049         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53050         Change to 2.6.32.
53051         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53052         * sysdeps/unix/sysv/linux/configure: Regenerated.
53053         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53054         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53055         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53056         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53057         * README: Update reference to required Linux kernel version.
53058         * manual/install.texi (Linux): Update reference to required Linux
53059         kernel headers version.
53060         * INSTALL: Regenerated.
53062         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53063         header inclusion.
53064         [POSIX] (limits.h): Likewise.
53065         [POSIX] (math.h): Likewise.
53066         [POSIX] (sys/wait.h): Likewise.
53067         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53068         function.
53069         [POSIX] (stddef.h): Do not allow header inclusion.
53071 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53073         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53075 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
53077         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53078         Return immediately after lll_futex_wake.
53080 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53082         [BZ #16791]
53083         * nscd/nscd-client.h (datahead_init_common): Initialize entire
53084         structure.
53085         (datahead_init_pos): Call datahead_init_common early.
53086         (datahead_init_neg): Likewise.
53088         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53089         datahead_init_neg): New functions.
53090         * nscd/aicache.c (addhstaiX): Use them.
53091         * nscd/grpcache.c (cache_addgr): Likewise.
53092         * nscd/hstcache.c (cache_addhst): Likewise.
53093         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53094         * nscd/netgroupcache.c (do_notfound): Likewise.
53095         (addgetnetgrentX): Likewise.
53096         (addinnetgrX): Likewise.
53097         * nscd/pwdcache.c (cache_addpw): Likewise.
53098         * nscd/servicescache.c (cache_addserv): Likewise.
53100 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53101             Atsushi Onoe  <atsushi@onoe.org>
53103         [BZ #14308]
53104         [BZ #12994]
53105         [BZ #13651]
53106         * resolv/res_query.c (__libc_res_nsearch): Return if at least
53107         one response is valid.
53108         * resolv/res_send.c (send_dg): Check for validity of other
53109         response if the current response is a referral.
53111 2014-04-29  Steve Ellcey  <sellcey@mips.com>
53113         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53115 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
53117         [BZ #16823]
53118         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53119         Always divide by positive zero when computing -Inf result.
53120         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53121         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53123 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53125         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53126         FPSCR if value do not change.
53127         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53128         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53129         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53130         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53131         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53132         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53133         function.
53135 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
53137         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53138         * sysdeps/unix/sysv/linux/hppa: Move directory from
53139         ports/systeps/unix/sysv/linux/hppa.
53140         * README: Update listing for hppa-*-linux-gnu.
53142 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
53144         [BZ #16754]
53145         * manual/stdio.texi (Hook functions): Fix types of stream hook
53146         functions.
53147         [BZ #16854]
53148         * socket/sys/socket.h: Fix typo in comment.
53150 2014-04-28  Wilco  <wdijkstr@arm.com>
53152         * sysdeps/arm/fenv_private.h: New file.
53153         * sysdeps/arm/math_private.h: New file.
53154         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53156 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
53158         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53159         with __int128_t.
53160         (La_x86_64_retval): Likewise.
53162 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
53164         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53165         fpsr if value didn't change.
53166         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53167         to fpcr if value didn't change.
53168         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53169         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53170         fpsr or fpcr if value didn't change.
53171         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53172         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53173         fpcr if value didn't change.
53174         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53175         to fpsr if value didn't change.
53177 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53179         * nptl/tst-sem3.c: Use test-skeleton.c
53180         (main): Rename to do_test.  Use return instead of
53181         exit.
53182         * nptl/tst-sem4.c: Use test-skeleton.c
53183         (main): Rename to do_test.
53185 2014-04-22  David S. Miller  <davem@davemloft.net>
53187         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53188         (struct sigaction): New struct member __glibc_reserved0, change
53189         type of sa_flags to int.
53191 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
53193         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53194         (COUNT_LEADING_ZEROS_0): Define for AArch64.
53196 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53198         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53199         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53201 2014-04-22  Will Newton  <will.newton@linaro.org>
53202             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
53204         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53205         (__longjmp): Add longjmp and longjmp_target SystemTap
53206         probes.
53207         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53208         (__sigsetjmp): Add setjmp SystemTap probe.
53210 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
53212         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53213         match manual order.
53215 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53217         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53219         * sysdeps/powerpc/fpu/fenv_private.h
53220         (libc_feholdexcept_setroundl_ctx): Define to
53221         libc_feholdexcept_setround_ppc_ctx.
53222         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53223         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53224         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53225         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53227 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53229         * sysdeps/aarch64/math-tests.h: New file.
53231 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
53233         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53234         New.
53235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53236         Check and set bit_AVX2_Usable.
53237         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53238         macro.
53239         (bit_AVX2): Likewise.
53240         (index_AVX2_Usable): Likewise.
53241         (CPUID_AVX2): Likewise.
53242         (HAS_AVX2): Likewise.
53244 2014-04-17  Will Newton  <will.newton@linaro.org>
53246         * manual/setjmp.texi (System V contexts): Add note that
53247         calling setcontext on a context created by a call to a
53248         signal handler is undefined.  Update text to note that
53249         setcontext from a signal handler is possible but not
53250         recommended.
53252         [BZ #16629]
53253         * stdlib/tst-setcontext.c: Include signal.h.
53254         (main): Check that the signal stack before and
53255         after swapcontext is the same.
53257         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53258         Re-implement to restore registers in user code and avoid
53259         rt_sigreturn system call.
53261 2014-04-17  Wilco  <wdijkstr@arm.com>
53263         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53264         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53265         * math/test-fenv.c: Skip exception trap tests on targets which only
53266         support non-stop mode.
53268 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53269             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53271         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53272         (libc_feholdsetround_aarch64_ctx)
53273         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53274         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53275         (libc_feresetround_ctx, libc_feresetroundf_ctx)
53276         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53277         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53278         (libc_feresetround_noexl_ctx): Define.
53280 2014-04-16  Richard Henderson  <rth@redhat.com>
53282         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53284         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53285         unwind tables.
53287         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53288         const from the non-libc, non-ldso copy.
53290         * sysdeps/alpha/libm-test-ulps: Regenerate.
53292 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
53293             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53295         * sysdeps/aarch64/fpu/math_private.h: New file.
53297 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53299         * sysdeps/aarch64/libm-test-ulps: Regenerate.
53301 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
53303         [BZ #16275]
53304         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53305         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53306         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53307         Intel MPX bound registers before _dl_profile_fixup.
53308         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53309         registers after _dl_profile_fixup.  Save and restore bound
53310         registers bnd0/bnd1 when calling _dl_call_pltexit.
53311         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53312         (LR_BND_OFFSET): Likewise.
53313         (LRV_BND0_OFFSET): Likewise.
53314         (LRV_BND1_OFFSET): Likewise.
53316 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53318         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53319         to...
53320         * sysdeps/mach/hurd/i386/tls.h: ... here.
53321         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53322         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53323         fields.
53325 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53327         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53329 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53331         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53333 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53335         [BZ #14770]
53336         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53337         * sysdeps/s390/configure: Regenerate.
53339         [BZ #16824]
53340         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53341         Set round-to-nearest internally to reduce error accumulation.
53343 2014-04-16  Alan Modra  <amodra@gmail.com>
53345         [BZ #16740]
53346         [BZ #16619]
53347         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53348         * math/libm-test.inc (frexp_test_data): Add tests.
53349         * NEWS: Update fixed bug list.
53351 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53353         * benchtests/Makefile: Depend on libraries in build directory.
53354         (bench-math): Separate out math tests.
53355         (bench-pthread): Separate out pthread tests.
53356         (bench): Include math and pthread tests.
53358 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
53360         [BZ #16831]
53361         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53362         _dl_debug_initialize.
53364         * configure.ac: Remove SELinux header check.
53365         * configure: Regenerate.
53366         * nscd/selinux.c (perms): Array of const char* to permission names.
53367         (nscd_request_avc_has_perm): Call security_deny_unknown to find
53368         default policy. Call string_to_security_class and string_to_av_perm to
53369         translate strings. Enforce default policy and call avs_has_perm with
53370         results of translated strings.
53372 2014-04-13  David S. Miller  <davem@davemloft.net>
53374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53376 2014-04-12  Allan McRae  <allan@archlinux.org>
53378         [BZ #16838]
53379         * manual/string.texi (Collation Functions): Fix qsort argument
53380         order in example.
53381         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53383 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
53385         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53386         Make the test a no-op if there are no exceptions defined.
53388 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
53390         * elf/Makefile (tests): make tst-dlopen-aout conditional on
53391         enable-hardcoded-path-in-tests
53393 2014-04-11  Will Newton  <will.newton@linaro.org>
53395         * benchtests/Makefile (extra-objs): Add json-lib.o.
53396         (bench-func): Tidy up JSON output.
53397         * benchtests/bench-skeleton.c: Include json-lib.h.
53398         (main): Use JSON library functions to do output of
53399         benchmark results.
53400         * benchtests/bench-timing-type.c (main): Output the
53401         timing type simply, leaving formatting to the user.
53402         * benchtests/json-lib.c: New file.
53403         * benchtests/json-lib.h: Likewise.
53405 2014-04-11  Torvald Riegel  <triegel@redhat.com>
53407         [BZ #15215]
53408         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53409         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
53410         memory barriers.  Add comments.
53411         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53412         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53413         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53414         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53415         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53416         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53418 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53420         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53421         * sysdeps/s390/s390-64/configure.ac: ... this ...
53422         * sysdeps/s390/configure.ac: ... to here.
53423         * sysdeps/s390/s390-32/configure: Delete file.
53424         * sysdeps/s390/s390-64/configure: Delete file.
53425         * sysdeps/s390/configure: Regenerate.
53427 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
53429         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53431 2014-04-11  Will Newton  <will.newton@linaro.org>
53433         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53434         to zero if it is not defined elsewhere.  (mtrim): Test
53435         the value of MALLOC_DEBUG with #if rather than #ifdef.
53437 2014-04-10 Torvald Riegel  <triegel@redhat.com>
53439         * benchtests/pthread_once-inputs: New file.
53440         * benchtests/pthread_once-source.c: New file.
53441         * benchtests/README: Update documentation.
53443 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
53444             H.J. Lu  <hongjiu.lu@intel.com>
53446         [BZ #16275]
53447         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53448         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53449         * sysdeps/x86_64/configure: Regenerated.
53450         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53451         macro.
53452         (REGISTER_SAVE_RAX): Likewise.
53453         (REGISTER_SAVE_RCX): Likewise.
53454         (REGISTER_SAVE_RDX): Likewise.
53455         (REGISTER_SAVE_RSI): Likewise.
53456         (REGISTER_SAVE_RDI): Likewise.
53457         (REGISTER_SAVE_R8): Likewise.
53458         (REGISTER_SAVE_R9): Likewise.
53459         (REGISTER_SAVE_BND0): Likewise.
53460         (REGISTER_SAVE_BND1): Likewise.
53461         (REGISTER_SAVE_BND2): Likewise.
53462         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
53463         bound registers when calling _dl_fixup.
53465 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53467         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53468         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53469         of its definition.
53470         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53471         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53472         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53473         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53474         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53475         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53476         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53478 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
53480         [BZ #15514]
53481         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53482         pathconf(_PC_NAME_MAX).
53484 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53486         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53487         Remove macro usage.
53488         (__PTHREAD_SPINS): Move definition to ...
53489         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53490         (__PTHREAD_SPINS): ... here.
53491         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53492         (__PTHREAD_SPIN): Likewise.
53493         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53494         (__PTHREAD_SPIN): Likewise.
53495         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53496         (__PTHREAD_SPIN): Likewise.
53497         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53498         (__PTHREAD_SPIN): Likewise.
53499         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53500         (__PTHREAD_SPIN): Likewise.
53501         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53502         (__PTHREAD_SPIN): Likewise.
53503         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53504         (__PTHREAD_SPIN): Likewise.
53505         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53506         (__PTHREAD_SPIN): Likewise.
53507         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53508         (__PTHREAD_SPIN): Likewise.
53509         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53510         (__PTHREAD_SPIN): Likewise.
53511         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53512         (__PTHREAD_SPIN): Likewise.
53513         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53514         (__PTHREAD_SPIN): Likewise.
53516         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53517         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53518         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53519         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53520         imply folder.
53521         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53522         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53523         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53524         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53525         correct imply path.
53526         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53527         strlen symbol for non multi-arch builds.
53528         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53529         missing hidden_def and weak_alias.
53531 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
53533         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53535 2014-04-07  Will Newton  <will.newton@linaro.org>
53537         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53538         and contents.  [!_LIBC] Remove #ifndef and contents.
53539         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
53540         * string/memccpy.c (__memccpy): Use ANSI prototype.
53541         * string/memfrob.c (memfrob): Likewise.
53542         * string/strcoll.c (STRCOLL): Likewise.
53543         * string/strlen.c (strlen): Likewise.
53544         * string/strtok.c (STRTOK): Likewise.
53545         * string/strcat.c: Remove unused #include of memcopy.h.
53546         (strcat): Use ANSI prototype.
53547         * string/strchr.c: Remove unused #include of memcopy.h.
53548         (strchr): Use ANSI prototype.
53549         * string/strcmp.c: Remove unused #include of memcopy.h.
53550         (strcmp): Use ANSI prototype.
53551         * string/strcpy.c: Remove unused #include of memcopy.h.
53552         (strcpy): Use ANSI prototype.
53554 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53556         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53557         * config.make.in (config-extra-cppflags): Set it from
53558         libc_extra_cppflags.
53559         * configure.ac (libc_extra_cflags): Make it accumulate over
53560         configure fragments.
53561         (libc_extra_cppflags): New flag.
53562         * configure. Regenerate.
53563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53564         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53565         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53568         [BZ #16815]
53569         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53570         result for FE_DOWNWARD rounding mode.
53571         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53572         Likewise.
53573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53575 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53577         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53578         in function argument name.
53580 2014-04-03  David Svoboda  <svoboda@cert.org>
53582         [BZ #5666]
53583         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53584         explicitly.
53586 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53588         * elf/dl-unmap-segments.h: New file.
53589         * sysdeps/generic/ldsodefs.h
53590         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53591         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53592         * elf/dl-fptr.c: Likewise.
53593         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53594         * sysdeps/aarch64/tlsdesc.c: Likewise.
53595         * sysdeps/arm/tlsdesc.c: Likewise.
53596         * sysdeps/i386/tlsdesc.c: Likewise.
53597         * sysdeps/tile/dl-runtime.c: Likewise.
53598         * sysdeps/x86_64/tlsdesc.c: Likewise.
53599         * elf/dl-load.h: New file.
53600         * elf/dl-load.c: Include it.
53601         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53602         Macros moved to dl-load.h.
53603         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53604         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53605         Use _dl_unmap_segments in place of __munmap.
53606         Break out segment-mapping loop into ...
53607         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53609 2014-04-03  Will Newton  <will.newton@linaro.org>
53611         * elf/dl-lookup.c (do_lookup_x): Remove comment
53612         referring to nested function and move variable
53613         declarations down to before first use.
53615 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53617         [BZ #16799]
53618         [BZ #16800]
53619         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53620         with 0 numerator.
53621         * math/s_catanf.c (__catanf): Likewise.
53622         * math/s_catanh.c (__catanh): Likewise.
53623         * math/s_catanhf.c (__catanhf): Likewise.
53624         * math/s_catanhl.c (__catanhl): Likewise.
53625         * math/s_catanl.c (__catanl): Likewise.
53626         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53627         by positive zero when computing -Inf result.
53628         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53629         (catanh_test): Likewise.
53630         * sysdeps/i386/fpu/libm-test-ulps: Update.
53631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53633         [BZ #16789]
53634         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53635         instead of using underflowing value in computing result.
53636         * math/s_clog10.c (__clog10): Likewise.
53637         * math/s_clog10f.c (__clog10f): Likewise.
53638         * math/s_clog10l.c (__clog10l): Likewise.
53639         * math/s_clogf.c (__clogf): Likewise.
53640         * math/s_clogl.c (__clogl): Likewise.
53641         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53642         (clog10_test): Likewise.
53643         * sysdeps/i386/fpu/libm-test-ulps: Update.
53644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53646 2014-04-02  Alan Modra  <amodra@gmail.com>
53648         [BZ #16739]
53649         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53650         output when value is near a power of two.  Use int64_t for lx and
53651         remove casts.  Use decimal rather than hex exponent constants.
53652         Don't use long double multiplication when double will suffice.
53653         * math/libm-test.inc (nextafter_test_data): Add tests.
53654         * NEWS: Add 16739 and 16786 to bug list.
53656         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53658         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53660 2014-04-01  Will Newton  <will.newton@linaro.org>
53662         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53663         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
53665 2014-04-01  Florian Weimer  <fweimer@redhat.com>
53667         [BZ #13347]
53668         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53669         * nptl/tst-setuid2.c: New file.
53670         * nptl/Makefile (xtests): Add tst-setuid2.
53672 2014-04-01  Alan Modra  <amodra@gmail.com>
53674         [BZ #16786]
53675         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53677 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53679         [BZ #6803]
53680         [BZ #6804]
53681         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53682         set errno as appropriate.
53683         * math/w_scalbf.c (__scalbf): Likewise.
53684         * math/w_scalbl.c (__scalbl): Likewise.
53685         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53686         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53687         * math/libm-test.inc (scalb_test_data): Add errno expectations.
53688         Add more NaN tests.
53690         [BZ #16349]
53691         * math/w_atan2.c: Include <errno.h>.
53692         (__atan2): Set errno for result underflowing to zero.
53693         * math/w_atan2f.c: Include <errno.h>.
53694         (__atan2f): Set errno for result underflowing to zero.
53695         * math/w_atan2l.c: Include <errno.h>.
53696         (__atan2l): Set errno for result underflowing to zero.
53697         * math/auto-libm-test-in: Don't allow missing errno for some atan2
53698         tests.
53699         * math/auto-libm-test-out: Regenerated.
53701 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53703         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53704         Encode instruction correctly in little endian.
53705         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53706         Likewise.
53707         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53708         Likewise.
53709         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53710         Likewise.
53711         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53712         Likewise.
53714 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53716         [BZ #9894]
53717         * sysdeps/unix/sysv/linux/kernel-features.h
53718         [__sparc__ && !__arch64__ && !__sparc_v9__]
53719         (__ASSUME_SET_ROBUST_LIST): Do not define.
53720         [__sparc__ && !__arch64__ && !__sparc_v9__]
53721         (__ASSUME_FUTEX_LOCK_PI): Likewise.
53722         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53723         Likewise.
53724         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53725         (__ASSUME_FUTEX_LOCK_PI): Undefine.
53726         (__ASSUME_REQUEUE_PI): Likewise.
53727         (__ASSUME_SET_ROBUST_LIST): Likewise.
53728         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53729         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53730         Undefine.
53731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53732         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53733         Likewise.
53734         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53735         Likewise.
53736         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53737         Likewise.
53738         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53739         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53740         Undefine.
53741         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53742         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53743         Likewise.
53745         [BZ #16648]
53746         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53747         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53748         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53750 2014-03-31  Will Newton  <will.newton@linaro.org>
53752         * benchtests/Makefile (bench): Add ffs and ffsll to list
53753         of tests.
53754         * benchtests/ffs-inputs: New file.
53755         * benchtests/ffsll-inputs: Likewise.
53757 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
53759         [BZ #16770]
53760         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53761         too large before casting to int.
53762         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53763         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53764         * math/libm-test.inc (scalb_test_data): Add more tests.
53766 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53768         * benchtests/Makefile (DETAILED_OPT): New make option.
53769         (bench-func): Run benchmark program with -d if DETAILED_OPT is
53770         set.
53771         * benchtests/bench-skeleton.c: Include stdbool.h.
53772         (main): Store and print timings per input.
53773         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53774         member to each argument value.
53775         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53776         (_print_arg_data): Initialize per-input timing to 0.
53778         * benchtests/Makefile (timing-type): New binary.
53779         (bench-clean): Also remove bench-timing-type.
53780         (bench): New target for timing-type.
53781         (bench-func): Print output in JSON format.
53782         * benchtests/bench-skeleton.c (main): Print output in JSON
53783         format.
53784         * benchtests/bench-timing-type.c: New file.
53785         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53786         (TIMING_PRINT_STATS): Remove.
53787         * benchtests/scripts/bench.py (_print_arg_data): Store variant
53788         name separately.
53790         * benchtests/bench-modf.c: Remove.
53791         * benchtests/modf-inputs: New inputs file.
53793 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
53795         [BZ #16362]
53796         * math/s_clog10.c (M_PI_LOG10E): New macro.
53797         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53798         imaginary parts are 0.
53799         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53800         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53801         imaginary parts are 0.
53802         * math/s_clog10l.c (M_PI_LOG10El): New macro.
53803         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53804         imaginary parts are 0.
53805         * math/libm-test.inc (clog10_test_data): Update expected results
53806         for when real and imaginary parts are 0.
53808 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
53810         * elf/dl-load.c: Finish conversion of __builtin_expect into
53811         __glibc_{un}likely.
53813 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
53815         [BZ #16348]
53816         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53817         1+x for argument with exponent below -67.
53818         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53819         Likewise.
53820         * math/auto-libm-test-in: Add more tests of exp.
53821         * math/auto-libm-test-out: Regenerated.
53823 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53825         [BZ #16759]
53826         * inet/getnetgrent_r.c (get_nonempty_val): New function.
53827         (nscd_getnetgrent): Use it.
53829         [BZ #16760]
53830         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53831         of stpcpy.
53833 2014-03-27  Andi Kleen  <ak@linux.intel.com>
53835         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53836         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53837         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53838         (lll_robust_unlock): Remove out of line section. Use cfi
53839         intrinsics.
53840         (LLL_STUB_UNWIND_INFO*): Remove.
53841         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53842         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53843         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53844         (lll_robust_unlock): Remove out of line section. Use cfi
53845         intrinsics.
53846         (LLL_STUB_UNWIND_INFO*): Remove.
53848 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53850         [BZ #16758]
53851         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53852         blank values.
53854 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
53856         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53858 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
53860         [BZ #16198]
53861         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53862         fnstenv.
53863         * math/test-fenv-preserve.c: New file.
53864         * math/Makefile (tests): Add test-fenv-preserve.
53866 2014-03-26  Will Newton <will.newton@linaro.org>
53868         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53870 2014-03-25  Roland McGrath  <roland@hack.frob.com>
53872         * scripts/versionlist.awk: Partition the version sets and emit all
53873         GLIBC_* (sorted) before all others (sorted).
53875 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53877         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53878         GLIBC_2.2.5 version.
53880 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53882         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53883         calls.
53885         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53886         previous change.
53888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53890 2014-03-25  Andreas Schwab  <schwab@suse.de>
53892         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53893         label to be used after in6ailist is initialized.
53895 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53897         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53898         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53900 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53902         [BZ #16357]
53903         [BZ #16599]
53904         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53905         min_plus_half.
53906         (fp_formats): Update initializers.
53907         (init_fp_formats): Initialize new field.
53908         (output_for_one_input_case): Allow underflow for results up to
53909         min_plus_half.
53910         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53911         * math/auto-libm-test-in: Don't mark some underflows from asin and
53912         atanh as spurious.
53913         * math/auto-libm-test-out: Regenerated.
53914         * sysdeps/i386/fpu/libm-test-ulps: Update.
53915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53917 2014-03-25  Andreas Schwab  <schwab@suse.de>
53919         * libio/Makefile (tst-ftell-partial-wide-ENV)
53920         (tst-ftell-active-handler-ENV): Define.
53922 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
53924         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53926 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
53928         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53930 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
53932         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53933         * sysdeps/x86_64/fpu/multiarch/e_exp.c
53934         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53936 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
53938         [BZ #16634]
53939         * elf/dl-load.c (open_verify): Add mode parameter.
53940         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53941         (open_path): Change from boolean 'secure' to complete flag 'mode'
53942         (_dl_map_object): Adjust.
53943         * elf/Makefile (tests): Add tst-dlopen-aout.
53944         * elf/tst-dlopen-aout.c: New test.
53946 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
53948         [BZ #16714]
53949         * sysdeps/unix/sysv/linux/s390/bits/stat.h
53950         (struct stat): Rename member pad0 to __glibc_reserved0.
53952         [BZ #16712]
53953         * sysdeps/s390/s390-32/bits/wordsize.h
53954         (__WORDSIZE32_SIZE_ULONG): New define.
53955         * sysdeps/s390/s390-64/bits/wordsize.h
53956         (__WORDSIZE32_SIZE_ULONG): Likewise.
53957         * sysdeps/generic/stdint.h (SIZE_MAX):
53958         Define as UL if __WORDSIZE32_SIZE_ULONG.
53960         [BZ #16713]
53961         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53962         (__glibc_reserved0): New variable.
53963         (sa_flags): Change type to int.
53965         * posix/Makefile (before-compile): Use += before-compile instead
53966         of a :=.
53968         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53969         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53971 2014-03-20  Andreas Schwab  <schwab@suse.de>
53973         [BZ #16743]
53974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53975         non-matching result from nscd.
53977 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53979         * scripts/bench.py: Moved to ...
53980         * benchtests/scripts/bench.py: ... here.
53981         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53983 2014-03-24  Andreas Schwab  <schwab@suse.de>
53985         [BZ #16002]
53986         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53987         alloca_account and account alloca use for struct in6ailist.
53989 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
53991         [BZ #16284]
53992         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53993         rounding mode to recompute results that overflow to infinity or
53994         underflow to zero.
53995         * math/auto-libm-test-in: Don't mark tests as expected to fail for
53996         bug 16284.
53997         * math/auto-libm-test-out: Regenerated.
53998         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53999         (ccosh_test): Likewise.
54000         (csin_test_data): Use plus_oflow.
54001         (csin_test): Use ALL_RM_TEST.
54002         (csinh_test_data): Use plus_oflow.
54003         (csinh_test): Use ALL_RM_TEST.
54004         * sysdeps/i386/fpu/libm-test-ulps: Update.
54005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54007 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
54009         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54010         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54011         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54013         [BZ #16731]
54014         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54015         when x - 1 is zero.
54016         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54017         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54018         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54019         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54020         argument is 1.
54021         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54022         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54023         zero.
54024         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54025         * sysdeps/i386/fpu/libm-test-ulps: Update.
54026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54028 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54030         * scripts/bench.pl: Remove file.
54031         * scripts/bench.py: New benchmark script.
54032         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54033         * benchtests/README: Mention python dependency.
54034         * scripts/pylintrc: New file.
54035         * scripts/pylint: New file.
54037         * bits/mathdef.h: Use #ifdef instead of #if.
54038         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54039         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54040         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54041         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54042         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54043         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54045 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54046             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54048         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54050         and strpbrk-ppc64 objects.
54051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54052         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54053         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54054         multiarch strpbrk for POWER7.
54055         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54056         multiarch strpbrk for PPC64.
54057         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54058         ifunc selector.
54059         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54060         strpbrk for POWER7.
54062 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54064         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54065         (atan_test): Likewise.
54066         (atanh_test_data): Use NO_TEST_INLINE for two tests.
54067         (atanh_test): Use ALL_RM_TEST.
54068         (atan2_test_data): Likewise.
54069         (cabs_test): Likewise.
54070         (cacosh_test): Likewise.
54071         (carg_test): Likewise.
54072         (casin_test): Likewise.
54073         (casinh_test): Likewise.
54074         (cbrt_test): Likewise.
54075         (csqrt_test): Likewise.
54076         (erf_test): Likewise.
54077         (erfc_test): Likewise.
54078         (pow10_test): Likewise.
54079         (exp2_test): Likewise.
54080         (hypot_test): Likewise.
54081         (j0_test): Likewise.
54082         (j1_test): Likewise.
54083         (lgamma_test): Likewise.
54084         (gamma_test): Likewise.
54085         (sincos_test): Likewise.
54086         (tanh_test): Likewise.
54087         (y0_test): Likewise.
54088         (y1_test): Likewise.
54089         * sysdeps/i386/fpu/libm-test-ulps: Update.
54090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54092 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54094         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54096         and strcspn-ppc64 objects.
54097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54098         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54099         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54100         multiarch strcspn for POWER7.
54101         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54102         multiarch strcspn for PPC64.
54103         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54104         ifunc selector.
54105         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54106         strcspn for POWER7.
54108 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54110         * math/gen-libm-test.pl (generate_testfile): Expect only function
54111         name as argument to AUTO_TESTS_* and pass results for all rounding
54112         modes to parse_args.
54113         (parse_auto_input): Separate inputs of automatic tests from
54114         outputs before storing in %auto_tests.
54115         * math/libm-test.inc (acos_test_data): Update call to
54116         AUTO_TESTS_f_f.
54117         (acos_test): Use ALL_RM_TEST.
54118         (acos_tonearest_test_data): Remove.
54119         (acos_test_tonearest): Likewise.
54120         (acos_towardzero_test_data): Likewise.
54121         (acos_test_towardzero): Likewise.
54122         (acos_downward_test_data): Likewise.
54123         (acos_test_downward): Likewise.
54124         (acos_upward_test_data): Likewise.
54125         (acos_test_upward): Likewise.
54126         (acosh_test_data): Update call to AUTO_TESTS_f_f.
54127         (asin_test_data): Likewise.
54128         (asin_test): Use ALL_RM_TEST.
54129         (asin_tonearest_test_data): Remove.
54130         (asin_test_tonearest): Likewise.
54131         (asin_towardzero_test_data): Likewise.
54132         (asin_test_towardzero): Likewise.
54133         (asin_downward_test_data): Likewise.
54134         (asin_test_downward): Likewise.
54135         (asin_upward_test_data): Likewise.
54136         (asin_test_upward): Likewise.
54137         (asinh_test_data): Update call to AUTO_TESTS_f_f.
54138         (atan_test_data): Likewise.
54139         (atanh_test_data): Likewise.
54140         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54141         (cabs_test_data): Update call to AUTO_TESTS_c_f.
54142         (carg_test_data): Likewise.
54143         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54144         (ccos_test_data): Update call to AUTO_TESTS_c_c.
54145         (ccosh_test_data): Likewise.
54146         (cexp_test_data): Likewise.
54147         (clog_test_data): Likewise.
54148         (clog10_test_data): Likewise.
54149         (cos_test_data): Update call to AUTO_TESTS_f_f.
54150         (cos_test): Use ALL_RM_TEST.
54151         (cos_tonearest_test_data): Remove.
54152         (cos_test_tonearest): Likewise.
54153         (cos_towardzero_test_data): Likewise.
54154         (cos_test_towardzero): Likewise.
54155         (cos_downward_test_data): Likewise.
54156         (cos_test_downward): Likewise.
54157         (cos_upward_test_data): Likewise.
54158         (cos_test_upward): Likewise.
54159         (cosh_test_data): Update call to AUTO_TESTS_f_f.
54160         (cosh_test): Use ALL_RM_TEST.
54161         (cosh_tonearest_test_data): Remove.
54162         (cosh_test_tonearest): Likewise.
54163         (cosh_towardzero_test_data): Likewise.
54164         (cosh_test_towardzero): Likewise.
54165         (cosh_downward_test_data): Likewise.
54166         (cosh_test_downward): Likewise.
54167         (cosh_upward_test_data): Likewise.
54168         (cosh_test_upward): Likewise.
54169         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54170         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54171         (ctan_test_data): Likewise.
54172         (ctan_test): Use ALL_RM_TEST.
54173         (ctan_tonearest_test_data): Remove.
54174         (ctan_test_tonearest): Likewise.
54175         (ctan_towardzero_test_data): Likewise.
54176         (ctan_test_towardzero): Likewise.
54177         (ctan_downward_test_data): Likewise.
54178         (ctan_test_downward): Likewise.
54179         (ctan_upward_test_data): Likewise.
54180         (ctan_test_upward): Likewise.
54181         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54182         (ctanh_test): Use ALL_RM_TEST.
54183         (ctanh_tonearest_test_data): Remove.
54184         (ctanh_test_tonearest): Likewise.
54185         (ctanh_towardzero_test_data): Likewise.
54186         (ctanh_test_towardzero): Likewise.
54187         (ctanh_downward_test_data): Likewise.
54188         (ctanh_test_downward): Likewise.
54189         (ctanh_upward_test_data): Likewise.
54190         (ctanh_test_upward): Likewise.
54191         (erf_test_data): Update call to AUTO_TESTS_f_f.
54192         (erfc_test_data): Likewise.
54193         (exp_test_data): Likewise.
54194         (exp_test): Use ALL_RM_TEST.
54195         (exp_tonearest_test_data): Remove.
54196         (exp_test_tonearest): Likewise.
54197         (exp_towardzero_test_data): Likewise.
54198         (exp_test_towardzero): Likewise.
54199         (exp_downward_test_data): Likewise.
54200         (exp_test_downward): Likewise.
54201         (exp_upward_test_data): Likewise.
54202         (exp_test_upward): Likewise.
54203         (exp10_test_data): Update call to AUTO_TESTS_f_f.
54204         (exp10_test): Use ALL_RM_TEST.
54205         (exp10_tonearest_test_data): Remove.
54206         (exp10_test_tonearest): Likewise.
54207         (exp10_towardzero_test_data): Likewise.
54208         (exp10_test_towardzero): Likewise.
54209         (exp10_downward_test_data): Likewise.
54210         (exp10_test_downward): Likewise.
54211         (exp10_upward_test_data): Likewise.
54212         (exp10_test_upward): Likewise.
54213         (exp2_test_data): Update call to AUTO_TESTS_f_f.
54214         (expm1_test_data): Likewise.
54215         (expm1_test): Use ALL_RM_TEST.
54216         (expm1_tonearest_test_data): Remove.
54217         (expm1_test_tonearest): Likewise.
54218         (expm1_towardzero_test_data): Likewise.
54219         (expm1_test_towardzero): Likewise.
54220         (expm1_downward_test_data): Likewise.
54221         (expm1_test_downward): Likewise.
54222         (expm1_upward_test_data): Likewise.
54223         (expm1_test_upward): Likewise.
54224         (fma_test_data): Update call to AUTO_TESTS_fff_f.
54225         (fma_test): Use ALL_RM_TEST.
54226         (fma_towardzero_test_data): Remove.
54227         (fma_test_towardzero): Likewise.
54228         (fma_downward_test_data): Likewise.
54229         (fma_test_downward): Likewise.
54230         (fma_upward_test_data): Likewise.
54231         (fma_test_upward): Likewise.
54232         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54233         (j0_test_data): Update call to AUTO_TESTS_f_f.
54234         (j1_test_data): Likewise.
54235         (jn_test_data): Update call to AUTO_TESTS_if_f.
54236         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54237         (log_test_data): Update call to AUTO_TESTS_f_f.
54238         (log10_test_data): Likewise.
54239         (log1p_test_data): Likewise.
54240         (log2_test_data): Likewise.
54241         (pow_test_data): Update call to AUTO_TESTS_ff_f.
54242         (pow_tonearest_test_data): Likewise.
54243         (sin_test_data): Update call to AUTO_TESTS_f_f.
54244         (sin_test): Use ALL_RM_TEST.
54245         (sin_tonearest_test_data): Remove.
54246         (sin_test_tonearest): Likewise.
54247         (sin_towardzero_test_data): Likewise.
54248         (sin_test_towardzero): Likewise.
54249         (sin_downward_test_data): Likewise.
54250         (sin_test_downward): Likewise.
54251         (sin_upward_test_data): Likewise.
54252         (sin_test_upward): Likewise.
54253         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54254         (sinh_test_data): Update call to AUTO_TESTS_f_f.
54255         (sinh_test): Use ALL_RM_TEST.
54256         (sinh_tonearest_test_data): Remove.
54257         (sinh_test_tonearest): Likewise.
54258         (sinh_towardzero_test_data): Likewise.
54259         (sinh_test_towardzero): Likewise.
54260         (sinh_downward_test_data): Likewise.
54261         (sinh_test_downward): Likewise.
54262         (sinh_upward_test_data): Likewise.
54263         (sinh_test_upward): Likewise.
54264         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54265         (sqrt_test): Use ALL_RM_TEST.
54266         (sqrt_tonearest_test_data): Remove.
54267         (sqrt_test_tonearest): Likewise.
54268         (sqrt_towardzero_test_data): Likewise.
54269         (sqrt_test_towardzero): Likewise.
54270         (sqrt_downward_test_data): Likewise.
54271         (sqrt_test_downward): Likewise.
54272         (sqrt_upward_test_data): Likewise.
54273         (sqrt_test_upward): Likewise.
54274         (tan_test_data): Update call to AUTO_TESTS_f_f.
54275         (tan_test): Use ALL_RM_TEST.
54276         (tan_tonearest_test_data): Remove.
54277         (tan_test_tonearest): Likewise.
54278         (tan_towardzero_test_data): Likewise.
54279         (tan_test_towardzero): Likewise.
54280         (tan_downward_test_data): Likewise.
54281         (tan_test_downward): Likewise.
54282         (tan_upward_test_data): Likewise.
54283         (tan_test_upward): Likewise.
54284         (tanh_test_data): Update call to AUTO_TESTS_f_f.
54285         (tgamma_test_data): Likewise.
54286         (y0_test_data): Likewise.
54287         (y1_test_data): Likewise.
54288         (yn_test_data): Update call to AUTO_TESTS_if_f.
54289         (main): Do not call removed functions.
54291 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54293         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54294         (ldexp_test_data): Remove.
54295         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
54296         scalbn_test_data.
54297         (scalb_test): Use ALL_RM_TEST.
54299 2014-03-19  Andreas Schwab  <schwab@suse.de>
54301         * nscd/nscd.service: Also invalidate netgroup cache on reload.
54303 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54305         [BZ #16649]
54306         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54307         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54308         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54309         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54310         (__ASSUME_PREADV): Undefine.
54311         (__ASSUME_PWRITEV): Likewise.
54313 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54315         * bits/mman-linux.h: Add comment about non-Linux use.
54316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54317         bits/mman-linux.h resting place.
54319         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54320         * bits/mman-linux.h: ... here.
54322 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54324         * conform/conformtest.pl: Add standard definition when calling C
54325         preprocessor on data files.
54326         (checknamespace): Remove unused variable.
54328 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54330         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54331         minus_oflow, plus_uflow and minus_uflow in expected results.
54332         * math/libm-test.inc (scalbn_test_data): Add more tests of
54333         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
54334         minus_uflow.
54335         (scalbn_test): Use ALL_RM_TEST.
54336         (scalbln_test_data): Add more tests of negative arguments.  Use
54337         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54338         (scalbln_test): Use ALL_RM_TEST.
54340 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54342         * scripts/abilist.awk: Ignore symbols marked with .hidden.
54344 2014-03-18  Will Newton  <will.newton@linaro.org>
54346         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54347         inaccurate comment.
54349 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54351         * Makerules [!subdir] (check-abi): Exit with error status if a
54352         test failed.
54354 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54356         * math/libm-test.inc (nearbyint_test_data): Include all tests used
54357         for rint.  Include results for all rounding modes.
54358         (nearbyint_test): Use ALL_RM_TEST.
54359         (rint_test_data): Include all tests used for nearbyint.
54361 2014-03-17  Will Newton  <will.newton@linaro.org>
54363         * nptl/sysdeps/pthread/pthread.h: Revert previous
54364         change.
54366         * sysdeps/generic/ldsodefs.h: Revert previous
54367         change.
54369         * libio/genops.c: Revert previous change.
54370         * libio/libioP.h: Likewise.
54371         * stdio-common/vfprintf.c: Likewise.
54373         * sysdeps/generic/math_private.h: Revert previous
54374         change.
54376         * sysdeps/generic/math_private.h: Check whether
54377         HAVE_RM_CTX is defined with #ifdef rather
54378         than #if.
54380         * argp/argp-fmtstream.h: Check whether
54381         __STRICT_ANSI__ is defined with #ifdef rather
54382         than #if.
54383         * argp/argp.h: Likewise.
54385         * libio/genops.c: Check whether
54386         _IO_JUMPS_OFFSET is defined with #ifdef rather
54387         than #if.
54388         * libio/libioP.h: Likewise.
54389         * stdio-common/vfprintf.c: Likewise.
54391         * sysdeps/generic/ldsodefs.h: Check whether
54392         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54393         than #if.
54395         * nptl/sysdeps/pthread/pthread.h: Check
54396         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54397         its value.
54399 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54401         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54402         setting O_APPEND.
54403         * libio/tst-ftell-active-handler.c (do_append_test): Add a
54404         test case.
54406         [BZ #16680]
54407         * libio/fileops.c (_IO_file_open): Seek to end of file but
54408         don't cache the offset.
54409         (get_file_offset): Remove function.
54410         (do_ftell): Use cached offset when available.
54411         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54412         don't cache the offset.
54413         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54414         case.
54415         (do_one_test): Call it.
54416         (do_ftell_test): Fix up expected old offset for a+ mode.
54417         * libio/wfileops.c (do_ftell_wide): Used cached offset when
54418         available.
54420         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54421         up test status with function return status.
54422         (do_write_test): Likewise.
54423         (do_append_test): Likewise.
54425         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54426         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54427         Remove.
54429 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54431         * math/gen-libm-test.pl (parse_args): Handle results specified for
54432         each rounding mode separately.
54433         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54434         tests and results from lrint_tonearest_test_data,
54435         lrint_towardzero_test_data, lrint_downward_test_data and
54436         lrint_upward_test_data.
54437         (lrint_test): Use ALL_RM_TEST.
54438         (lrint_tonearest_test_data): Remove.
54439         (lrint_test_tonearest): Likewise.
54440         (lrint_towardzero_test_data): Likewise.
54441         (lrint_test_towardzero): Likewise.
54442         (lrint_downward_test_data): Likewise.
54443         (lrint_test_downward): Likewise.
54444         (lrint_upward_test_data): Likewise.
54445         (lrint_test_upward): Likewise.
54446         (llrint_test_data): Merge in per-rounding-mode tests and results
54447         from llrint_tonearest_test_data, llrint_towardzero_test_data,
54448         llrint_downward_test_data and llrint_upward_test_data.
54449         (llrint_test): Use ALL_RM_TEST.
54450         (llrint_tonearest_test_data): Remove.
54451         (llrint_test_tonearest): Likewise.
54452         (llrint_towardzero_test_data): Likewise.
54453         (llrint_test_towardzero): Likewise.
54454         (llrint_downward_test_data): Likewise.
54455         (llrint_test_downward): Likewise.
54456         (llrint_upward_test_data): Likewise.
54457         (llrint_test_upward): Likewise.
54458         (rint_test_data): Merge in per-rounding-mode tests and results
54459         from rint_tonearest_test_data, rint_towardzero_test_data,
54460         rint_downward_test_data and rint_upward_test_data.  Add
54461         per-rounding-mode results for tests not in those arrays.
54462         (rint_test): Use ALL_RM_TEST.
54463         (rint_tonearest_test_data): Remove.
54464         (rint_test_tonearest): Likewise.
54465         (rint_towardzero_test_data): Likewise.
54466         (rint_test_towardzero): Likewise.
54467         (rint_downward_test_data): Likewise.
54468         (rint_test_downward): Likewise.
54469         (rint_upward_test_data): Likewise.
54470         (rint_test_upward): Likewise.
54471         (main): Don't call removed functions.
54473 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54475         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54476         "Compiled on ..." crapola.  It is anti-useful.
54478 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
54480         * scripts/evaluate-test.sh: Handle fourth argument to determine
54481         whether test run should stop on failure.
54482         * Makeconfig (stop-on-test-failure): New variable.
54483         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54484         $(stop-on-test-failure).
54485         * Makefile (tests): Give a summary of results from testing and
54486         exit with failure status if they include an ERROR or FAIL.
54487         (xtests): Likewise.
54488         * manual/install.texi (Configuring and compiling): Mention
54489         stop-on-test-failure=y.
54490         * INSTALL: Regenerated.
54492 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54494         * scripts/versionlist.awk: New file.
54495         * Makerules [$(build-shared) = yes]
54496         (postclean-generated): Add Versions.def, not Versions.def.v and
54497         Versions.def.v.i.
54498         ($(common-objpfx)Versions.def.v.i): Target removed.
54499         ($(common-objpfx)Versions.def): New target.
54500         ($(common-objpfx)Versions.all): Depend on that rather that
54501         $(common-objpfx)Versions.def.v.
54502         * Versions.def: File removed.
54504         * Makeconfig (+gccwarn): Add -Wundef.
54505         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54506         a dl-sysdep.h breaking its contract.
54507         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54508         * include/stackinfo.h: New file.
54509         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54510         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54511         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54512         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54513         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54514         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54515         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54516         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54517         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54518         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54519         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54520         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54521         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54522         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54523         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54525 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54527         [BZ #16707]
54528         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54529         implementation.
54530         * math/libm-test.inc (round_test_data): Add more tests.
54532         [BZ #16706]
54533         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54534         implementation.
54535         * math/libm-test.inc (nearbyint_test_data): Add more tests.
54537         [BZ #16701]
54538         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54539         implementation.
54540         * math/libm-test.inc (ceil_test_data): Add more tests.
54542         * math/libm-test.inc (trunc_test_data): Add more tests related to
54543         BZ#16414.
54545 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54547         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54548         with #if rather than #ifdef.
54549         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54551 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
54553         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54554         first.  Disable AVX-512 GCC support if assembler doesn't support
54555         it.
54556         * sysdeps/x86_64/configure: Regenerated.
54558 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54560         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54561         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54562         (__old_pthread_attr_setstack): Likewise.
54563         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54564         [!_STACK_GROWS_DOWN]: Likewise.
54566 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54568         * config.make.in (have-bash2): Delete.
54569         * configure.ac (libc_cv_have_bash2): Delete.
54570         * configure: Regenerate.
54571         * elf/Makefile (common-ldd-rewrite): Rename to ...
54572         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54573         (sh-ldd-rewrite): Delete.
54574         (bash-ldd-rewrite): Delete.
54575         (have-bash2): Delete checks.
54576         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54577         ldd-rewrite.
54579         * config.make.in (have-ksh): Delete.
54580         (KSH): Delete.
54581         * configure.ac (libc_cv_have_ksh): Delete.
54582         * configure: Regenerate.
54584         * elf/Makefile: Delete $(have-ksh) check.
54585         ($(objpfx)sotruss): Change KSH to BASH.
54586         * elf/sotruss.ksh: Rename to ...
54587         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54588         function style to match POSIX.  Drop ksh vim mode setting.
54590         * manual/time.texi (Specifying the Time Zone with TZ): Change
54591         Tuesday to Thursday.
54593         * debug/tst-longjmp_chk2.c: Update header comment.
54594         (stackoverflow_handler): Add comment.  Call assert on pass value.
54596 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54598         [BZ #16194]
54599         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54600         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54601         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54602         (La_x86_64_vector): Add zmm.
54603         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54604         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54605         ($(objpfx)tst-audit10): New target.
54606         ($(objpfx)tst-audit10.out): Likewise.
54607         (tst-audit10-ENV): New.
54608         (AVX512-CFLAGS): Likewise.
54609         (CFLAGS-tst-audit10.c): Likewise.
54610         (CFLAGS-tst-auditmod10a.c): Likewise.
54611         (CFLAGS-tst-auditmod10b.c): Likewise.
54612         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54613         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54614         * sysdeps/x86_64/configure: Regenerated.
54615         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54616         AVX-512 zmm register support.
54617         (_dl_x86_64_save_sse): Likewise.
54618         (_dl_x86_64_restore_sse): Likewise.
54619         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54620         size vector registers.
54621         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54622         (ZMM_SIZE): Likewise.
54623         * sysdeps/x86_64/tst-audit10.c: New file.
54624         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54625         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54627 2014-03-13  Roland McGrath  <roland@hack.frob.com>
54629         * configure.ac (HAVE_EHDR_START): New check.
54630         * configure: Regenerated.
54631         * config.h.in (HAVE_EHDR_START): New #undef.
54632         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54633         assuming the lowest-addressed segment maps the start of the file.
54635 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
54637         * INSTALL: Regenerated.
54639 2014-03-13  Will Newton  <will.newton@linaro.org>
54641         * manual/setjmp.texi (System V contexts): Improve
54642         clarity and grammar of documentation.
54644 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
54646         [BZ #16381]
54647         * elf/Makefile (tests): Add tst-pie2.
54648         (tests-pie): Add tst-pie2.
54649         * elf/tst-pie2.c: New file.
54650         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54651         for ET_EXEC.
54652         * elf/rtld.c (map_doit): Load executable as lt_executable.
54653         (dl_main): Likewise.
54655 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
54657         [BZ #16642]
54658         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54659         (__ASSUME_PSELECT): Undefine.
54661 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54663         [BZ #16689]
54664         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54665         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54666         static build.
54667         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54668         selector for static builds.
54670 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54672         [BZ #16695]
54673         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54674         key in the buffer.
54676 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54678         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54679         IFUNC selector for static builds.
54681 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
54683         * sysdeps/mips/math_private.h [__mips_hard_float]
54684         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54685         libc_feresetround_mips_ctx.
54686         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54687         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54688         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54690         [BZ #16677]
54691         * math/s_nextafter.c (__nextafter): Do not return value from
54692         overflowing computation.
54693         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54694         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54695         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54696         Likewise.
54697         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54698         Likewise.
54699         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54700         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54702 2014-03-11  Roland McGrath  <roland@hack.frob.com>
54704         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54705         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54706         Move sfi_sp use from the load-multiple (that no longer sets sp) to
54707         the new mov targetting sp.
54709 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54711         [BZ #16683]
54712         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54713         Define it for static builds as well.
54714         (NO_BZERO_IMPL): Likewise.
54716 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54718         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54719         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54720         multiarch strspn for PPC64.
54721         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54722         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54724         (__libc_ifunc_impl_list): Likewise.
54725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54726         multiarch optimizations
54727         * string/strspn.c (strspn): Using macro to redefine symbol name.
54729 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54730             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54732         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54733         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54734         multiarch strncat for PPC64.
54735         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54736         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54738         (__libc_ifunc_impl_list): Likewise.
54739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54740         multiarch optimizations
54742 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54744         [BZ #16639]
54745         * nscd/nscd.service: Make service type forking.
54747 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54749         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54750         sign in non default rounding modes.
54751         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54753 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
54755         * math/libm-test.inc (ALL_RM_TEST): New macro.
54756         (ceil_test): Use ALL_RM_TEST.
54757         (cimag_test): Likewise.
54758         (conj_test): Likewise.
54759         (copysign_test): Likewise.
54760         (cproj_test): Likewise.
54761         (creal_test): Likewise.
54762         (fabs_test): Likewise.
54763         (floor_test): Likewise.
54764         (fmax_test): Likewise.
54765         (fmin_test): Likewise.
54766         (fmod_test): Likewise.
54767         (fpclassify_test): Likewise.
54768         (frexp_test): Likewise.
54769         (ilogb_test): Likewise.
54770         (isfinite_test): Likewise.
54771         (finite_test): Likewise.
54772         (isgreater_test): Likewise.
54773         (isgreaterequal_test): Likewise.
54774         (isinf_test): Likewise.
54775         (isless_test): Likewise.
54776         (islessequal_test): Likewise.
54777         (islessgreater_test): Likewise.
54778         (isnan_test): Likewise.
54779         (isnormal_test): Likewise.
54780         (issignaling_test): Likewise.
54781         (isunordered_test): Likewise.
54782         (logb_test): Likewise.
54783         (logb_downward_test_data): Remove.
54784         (logb_test_downward): Likewise.
54785         (lround_test): Use ALL_RM_TEST.
54786         (llround_test): Likewise.
54787         (modf_test): Likewise.
54788         (nexttoward_test): Likewise.
54789         (remainder_test): Likewise.
54790         (drem_test): Likewise.
54791         (remainder_tonearest_test_data): Likewise.
54792         (remainder_test_tonearest): Likewise.
54793         (drem_test_tonearest): Likewise.
54794         (remainder_towardzero_test_data): Likewise.
54795         (remainder_test_towardzero): Likewise.
54796         (drem_test_towardzero): Likewise.
54797         (remainder_downward_test_data): Likewise.
54798         (remainder_test_downward): Likewise.
54799         (drem_test_downward): Likewise.
54800         (remainder_upward_test_data): Likewise.
54801         (remainder_test_upward): Likewise.
54802         (drem_test_upward): Likewise.
54803         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
54804         (round_test): Use ALL_RM_TEST.
54805         (signbit_test): Likewise.
54806         (trunc_test): Likewise.
54807         (significand_test): Likewise.
54808         (main): Don't call removed functions.
54810 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
54812         [BZ #16674]
54813         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54814         || __USE_XOPEN2K8].
54815         (ILL_ILLOPN): Likewise.
54816         (ILL_ILLADR): Likewise.
54817         (ILL_ILLTRP): Likewise.
54818         (ILL_PRVOPC): Likewise.
54819         (ILL_PRVREG): Likewise.
54820         (ILL_COPROC): Likewise.
54821         (ILL_BADSTK): Likewise.
54822         (FPE_INTDIV): Likewise.
54823         (FPE_INTOVF): Likewise.
54824         (FPE_FLTDIV): Likewise.
54825         (FPE_FLTOVF): Likewise.
54826         (FPE_FLTUND): Likewise.
54827         (FPE_FLTRES): Likewise.
54828         (FPE_FLTINV): Likewise.
54829         (FPE_FLTSUB): Likewise.
54830         (SEGV_MAPERR): Likewise.
54831         (SEGV_ACCERR): Likewise.
54832         (BUS_ADRALN): Likewise.
54833         (BUS_ADRERR): Likewise.
54834         (BUS_OBJERR): Likewise.
54835         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54836         (TRAP_TRACE): Likewise.
54837         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54838         __USE_XOPEN2K8].
54839         (CLD_KILLED): Likewise.
54840         (CLD_DUMPED): Likewise.
54841         (CLD_TRAPPED): Likewise.
54842         (CLD_STOPPED): Likewise.
54843         (CLD_CONTINUED): Likewise.
54844         (POLL_IN): Likewise.
54845         (POLL_OUT): Likewise.
54846         (POLL_MSG): Likewise.
54847         (POLL_ERR): Likewise.
54848         (POLL_PRI): Likewise.
54849         (POLL_HUP): Likewise.
54850         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54851         Likewise.
54852         (ILL_ILLOPN): Likewise.
54853         (ILL_ILLADR): Likewise.
54854         (ILL_ILLTRP): Likewise.
54855         (ILL_PRVOPC): Likewise.
54856         (ILL_PRVREG): Likewise.
54857         (ILL_COPROC): Likewise.
54858         (ILL_BADSTK): Likewise.
54859         (FPE_INTDIV): Likewise.
54860         (FPE_INTOVF): Likewise.
54861         (FPE_FLTDIV): Likewise.
54862         (FPE_FLTOVF): Likewise.
54863         (FPE_FLTUND): Likewise.
54864         (FPE_FLTRES): Likewise.
54865         (FPE_FLTINV): Likewise.
54866         (FPE_FLTSUB): Likewise.
54867         (SEGV_MAPERR): Likewise.
54868         (SEGV_ACCERR): Likewise.
54869         (BUS_ADRALN): Likewise.
54870         (BUS_ADRERR): Likewise.
54871         (BUS_OBJERR): Likewise.
54872         (BUS_MCEERR_AR): Likewise.
54873         (BUS_MCEERR_AO): Likewise.
54874         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54875         (TRAP_TRACE): Likewise.
54876         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54877         __USE_XOPEN2K8].
54878         (CLD_KILLED): Likewise.
54879         (CLD_DUMPED): Likewise.
54880         (CLD_TRAPPED): Likewise.
54881         (CLD_STOPPED): Likewise.
54882         (CLD_CONTINUED): Likewise.
54883         (POLL_IN): Likewise.
54884         (POLL_OUT): Likewise.
54885         (POLL_MSG): Likewise.
54886         (POLL_ERR): Likewise.
54887         (POLL_PRI): Likewise.
54888         (POLL_HUP): Likewise.
54889         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54890         (ILL_ILLOPN): Likewise.
54891         (ILL_ILLADR): Likewise.
54892         (ILL_ILLTRP): Likewise.
54893         (ILL_PRVOPC): Likewise.
54894         (ILL_PRVREG): Likewise.
54895         (ILL_COPROC): Likewise.
54896         (ILL_BADSTK): Likewise.
54897         (FPE_INTDIV): Likewise.
54898         (FPE_INTOVF): Likewise.
54899         (FPE_FLTDIV): Likewise.
54900         (FPE_FLTOVF): Likewise.
54901         (FPE_FLTUND): Likewise.
54902         (FPE_FLTRES): Likewise.
54903         (FPE_FLTINV): Likewise.
54904         (FPE_FLTSUB): Likewise.
54905         (SEGV_MAPERR): Likewise.
54906         (SEGV_ACCERR): Likewise.
54907         (BUS_ADRALN): Likewise.
54908         (BUS_ADRERR): Likewise.
54909         (BUS_OBJERR): Likewise.
54910         (BUS_MCEERR_AR): Likewise.
54911         (BUS_MCEERR_AO): Likewise.
54912         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54913         (TRAP_TRACE): Likewise.
54914         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54915         __USE_XOPEN2K8].
54916         (CLD_KILLED): Likewise.
54917         (CLD_DUMPED): Likewise.
54918         (CLD_TRAPPED): Likewise.
54919         (CLD_STOPPED): Likewise.
54920         (CLD_CONTINUED): Likewise.
54921         (POLL_IN): Likewise.
54922         (POLL_OUT): Likewise.
54923         (POLL_MSG): Likewise.
54924         (POLL_ERR): Likewise.
54925         (POLL_PRI): Likewise.
54926         (POLL_HUP): Likewise.
54927         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54928         Likewise.
54929         (ILL_ILLOPN): Likewise.
54930         (ILL_ILLADR): Likewise.
54931         (ILL_ILLTRP): Likewise.
54932         (ILL_PRVOPC): Likewise.
54933         (ILL_PRVREG): Likewise.
54934         (ILL_COPROC): Likewise.
54935         (ILL_BADSTK): Likewise.
54936         (ILL_BADIADDR): Likewise.
54937         (ILL_BREAK): Likewise.
54938         (FPE_INTDIV): Likewise.
54939         (FPE_INTOVF): Likewise.
54940         (FPE_FLTDIV): Likewise.
54941         (FPE_FLTOVF): Likewise.
54942         (FPE_FLTUND): Likewise.
54943         (FPE_FLTRES): Likewise.
54944         (FPE_FLTINV): Likewise.
54945         (FPE_FLTSUB): Likewise.
54946         (FPE_DECOVF): Likewise.
54947         (FPE_DECDIV): Likewise.
54948         (FPE_DECERR): Likewise.
54949         (FPE_INVASC): Likewise.
54950         (FPE_INVDEC): Likewise.
54951         (SEGV_MAPERR): Likewise.
54952         (SEGV_ACCERR): Likewise.
54953         (SEGV_PSTKOVF): Likewise.
54954         (BUS_ADRALN): Likewise.
54955         (BUS_ADRERR): Likewise.
54956         (BUS_OBJERR): Likewise.
54957         (BUS_MCEERR_AR): Likewise.
54958         (BUS_MCEERR_AO): Likewise.
54959         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54960         (TRAP_TRACE): Likewise.
54961         (TRAP_BRANCH): Likewise.
54962         (TRAP_HWBKPT): Likewise.
54963         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54964         __USE_XOPEN2K8].
54965         (CLD_KILLED): Likewise.
54966         (CLD_DUMPED): Likewise.
54967         (CLD_TRAPPED): Likewise.
54968         (CLD_STOPPED): Likewise.
54969         (CLD_CONTINUED): Likewise.
54970         (POLL_IN): Likewise.
54971         (POLL_OUT): Likewise.
54972         (POLL_MSG): Likewise.
54973         (POLL_ERR): Likewise.
54974         (POLL_PRI): Likewise.
54975         (POLL_HUP): Likewise.
54976         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54977         (ILL_ILLOPN): Likewise.
54978         (ILL_ILLADR): Likewise.
54979         (ILL_ILLTRP): Likewise.
54980         (ILL_PRVOPC): Likewise.
54981         (ILL_PRVREG): Likewise.
54982         (ILL_COPROC): Likewise.
54983         (ILL_BADSTK): Likewise.
54984         (FPE_INTDIV): Likewise.
54985         (FPE_INTOVF): Likewise.
54986         (FPE_FLTDIV): Likewise.
54987         (FPE_FLTOVF): Likewise.
54988         (FPE_FLTUND): Likewise.
54989         (FPE_FLTRES): Likewise.
54990         (FPE_FLTINV): Likewise.
54991         (FPE_FLTSUB): Likewise.
54992         (SEGV_MAPERR): Likewise.
54993         (SEGV_ACCERR): Likewise.
54994         (BUS_ADRALN): Likewise.
54995         (BUS_ADRERR): Likewise.
54996         (BUS_OBJERR): Likewise.
54997         (BUS_MCEERR_AR): Likewise.
54998         (BUS_MCEERR_AO): Likewise.
54999         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55000         (TRAP_TRACE): Likewise.
55001         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55002         __USE_XOPEN2K8].
55003         (CLD_KILLED): Likewise.
55004         (CLD_DUMPED): Likewise.
55005         (CLD_TRAPPED): Likewise.
55006         (CLD_STOPPED): Likewise.
55007         (CLD_CONTINUED): Likewise.
55008         (POLL_IN): Likewise.
55009         (POLL_OUT): Likewise.
55010         (POLL_MSG): Likewise.
55011         (POLL_ERR): Likewise.
55012         (POLL_PRI): Likewise.
55013         (POLL_HUP): Likewise.
55014         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55015         (ILL_ILLOPN): Likewise.
55016         (ILL_ILLADR): Likewise.
55017         (ILL_ILLTRP): Likewise.
55018         (ILL_PRVOPC): Likewise.
55019         (ILL_PRVREG): Likewise.
55020         (ILL_COPROC): Likewise.
55021         (ILL_BADSTK): Likewise.
55022         (FPE_INTDIV): Likewise.
55023         (FPE_INTOVF): Likewise.
55024         (FPE_FLTDIV): Likewise.
55025         (FPE_FLTOVF): Likewise.
55026         (FPE_FLTUND): Likewise.
55027         (FPE_FLTRES): Likewise.
55028         (FPE_FLTINV): Likewise.
55029         (FPE_FLTSUB): Likewise.
55030         (SEGV_MAPERR): Likewise.
55031         (SEGV_ACCERR): Likewise.
55032         (BUS_ADRALN): Likewise.
55033         (BUS_ADRERR): Likewise.
55034         (BUS_OBJERR): Likewise.
55035         (BUS_MCEERR_AR): Likewise.
55036         (BUS_MCEERR_AO): Likewise.
55037         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55038         (TRAP_TRACE): Likewise.
55039         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55040         __USE_XOPEN2K8].
55041         (CLD_KILLED): Likewise.
55042         (CLD_DUMPED): Likewise.
55043         (CLD_TRAPPED): Likewise.
55044         (CLD_STOPPED): Likewise.
55045         (CLD_CONTINUED): Likewise.
55046         (POLL_IN): Likewise.
55047         (POLL_OUT): Likewise.
55048         (POLL_MSG): Likewise.
55049         (POLL_ERR): Likewise.
55050         (POLL_PRI): Likewise.
55051         (POLL_HUP): Likewise.
55052         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55053         (ILL_ILLOPN): Likewise.
55054         (ILL_ILLADR): Likewise.
55055         (ILL_ILLTRP): Likewise.
55056         (ILL_PRVOPC): Likewise.
55057         (ILL_PRVREG): Likewise.
55058         (ILL_COPROC): Likewise.
55059         (ILL_BADSTK): Likewise.
55060         (FPE_INTDIV): Likewise.
55061         (FPE_INTOVF): Likewise.
55062         (FPE_FLTDIV): Likewise.
55063         (FPE_FLTOVF): Likewise.
55064         (FPE_FLTUND): Likewise.
55065         (FPE_FLTRES): Likewise.
55066         (FPE_FLTINV): Likewise.
55067         (FPE_FLTSUB): Likewise.
55068         (SEGV_MAPERR): Likewise.
55069         (SEGV_ACCERR): Likewise.
55070         (BUS_ADRALN): Likewise.
55071         (BUS_ADRERR): Likewise.
55072         (BUS_OBJERR): Likewise.
55073         (BUS_MCEERR_AR): Likewise.
55074         (BUS_MCEERR_AO): Likewise.
55075         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55076         (TRAP_TRACE): Likewise.
55077         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55078         __USE_XOPEN2K8].
55079         (CLD_KILLED): Likewise.
55080         (CLD_DUMPED): Likewise.
55081         (CLD_TRAPPED): Likewise.
55082         (CLD_STOPPED): Likewise.
55083         (CLD_CONTINUED): Likewise.
55084         (POLL_IN): Likewise.
55085         (POLL_OUT): Likewise.
55086         (POLL_MSG): Likewise.
55087         (POLL_ERR): Likewise.
55088         (POLL_PRI): Likewise.
55089         (POLL_HUP): Likewise.
55090         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55091         (ILL_ILLOPN): Likewise.
55092         (ILL_ILLADR): Likewise.
55093         (ILL_ILLTRP): Likewise.
55094         (ILL_PRVOPC): Likewise.
55095         (ILL_PRVREG): Likewise.
55096         (ILL_COPROC): Likewise.
55097         (ILL_BADSTK): Likewise.
55098         (ILL_DBLFLT): Likewise.
55099         (ILL_HARDWALL): Likewise.
55100         (FPE_INTDIV): Likewise.
55101         (FPE_INTOVF): Likewise.
55102         (FPE_FLTDIV): Likewise.
55103         (FPE_FLTOVF): Likewise.
55104         (FPE_FLTUND): Likewise.
55105         (FPE_FLTRES): Likewise.
55106         (FPE_FLTINV): Likewise.
55107         (FPE_FLTSUB): Likewise.
55108         (SEGV_MAPERR): Likewise.
55109         (SEGV_ACCERR): Likewise.
55110         (BUS_ADRALN): Likewise.
55111         (BUS_ADRERR): Likewise.
55112         (BUS_OBJERR): Likewise.
55113         (BUS_MCEERR_AR): Likewise.
55114         (BUS_MCEERR_AO): Likewise.
55115         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55116         (TRAP_TRACE): Likewise.
55117         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55118         __USE_XOPEN2K8].
55119         (CLD_KILLED): Likewise.
55120         (CLD_DUMPED): Likewise.
55121         (CLD_TRAPPED): Likewise.
55122         (CLD_STOPPED): Likewise.
55123         (CLD_CONTINUED): Likewise.
55124         (POLL_IN): Likewise.
55125         (POLL_OUT): Likewise.
55126         (POLL_MSG): Likewise.
55127         (POLL_ERR): Likewise.
55128         (POLL_PRI): Likewise.
55129         (POLL_HUP): Likewise.
55130         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55131         (ILL_ILLOPN): Likewise.
55132         (ILL_ILLADR): Likewise.
55133         (ILL_ILLTRP): Likewise.
55134         (ILL_PRVOPC): Likewise.
55135         (ILL_PRVREG): Likewise.
55136         (ILL_COPROC): Likewise.
55137         (ILL_BADSTK): Likewise.
55138         (FPE_INTDIV): Likewise.
55139         (FPE_INTOVF): Likewise.
55140         (FPE_FLTDIV): Likewise.
55141         (FPE_FLTOVF): Likewise.
55142         (FPE_FLTUND): Likewise.
55143         (FPE_FLTRES): Likewise.
55144         (FPE_FLTINV): Likewise.
55145         (FPE_FLTSUB): Likewise.
55146         (SEGV_MAPERR): Likewise.
55147         (SEGV_ACCERR): Likewise.
55148         (BUS_ADRALN): Likewise.
55149         (BUS_ADRERR): Likewise.
55150         (BUS_OBJERR): Likewise.
55151         (BUS_MCEERR_AR): Likewise.
55152         (BUS_MCEERR_AO): Likewise.
55153         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55154         (TRAP_TRACE): Likewise.
55155         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55156         __USE_XOPEN2K8].
55157         (CLD_KILLED): Likewise.
55158         (CLD_DUMPED): Likewise.
55159         (CLD_TRAPPED): Likewise.
55160         (CLD_STOPPED): Likewise.
55161         (CLD_CONTINUED): Likewise.
55162         (POLL_IN): Likewise.
55163         (POLL_OUT): Likewise.
55164         (POLL_MSG): Likewise.
55165         (POLL_ERR): Likewise.
55166         (POLL_PRI): Likewise.
55167         (POLL_HUP): Likewise.
55168         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55169         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55171         [BZ #16670]
55172         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55173         before #include of <time.h>.
55174         [!__USE_XOPEN2K] (__need_timespec): Likewise.
55175         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55176         (test-xfail-UNIX98/sched.h/conform): Likewise.
55178 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55180         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55181         error absence of trapping exception support.
55182         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55184 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55186         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55187         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55188         * timezone/Makefile (testdata): Move definition above include of
55189         Rules.
55190         (test-zones): New variable.
55191         (tests-special): Add zone files.
55192         (build-testdata): Use $(evaluate-test).
55194         * elf/Makefile (tests-special): Rename tests to end with .out.
55195         ($(objpfx)noload-mem): Likewise.
55196         ($(objpfx)tst-leaks1-mem): Likewise.
55197         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55198         * iconv/Makefile (xtests-special): Change test-iconvconfig to
55199         $(objpfx)test-iconvconfig.out.
55200         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
55201         set -e inside subshell and redirect output to file.
55202         * iconvdata/Makefile (generated): Rename tests to end with .out.
55203         Correct type.
55204         (tests-special): Rename tests to end with .out.
55205         ($(objpfx)mtrace-tst-loading): Likewise.
55206         * intl/Makefile (generated): Likewise.
55207         (tests-special): Likewise.
55208         ($(objpfx)mtrace-tst-gettext): Likewise.
55209         * misc/Makefile (generated): Likewise.
55210         (tests-special): Likewise.
55211         ($(objpfx)tst-error1-mem): Likewise.
55212         * nptl/Makefile (tests-special): Likewise.
55213         ($(objpfx)tst-stack3-mem): Likewise.
55214         (generated): Likewise.
55215         * posix/Makefile (generated): Likewise.
55216         (tests-special): Likewise.
55217         (xtests-special): Likewise.
55218         ($(objpfx)tst-fnmatch-mem): Likewise.
55219         ($(objpfx)bug-regex2-mem): Likewise.
55220         ($(objpfx)bug-regex14-mem): Likewise.
55221         ($(objpfx)bug-regex21-mem): Likewise.
55222         ($(objpfx)bug-regex31-mem): Likewise.
55223         ($(objpfx)tst-vfork3-mem): Likewise.
55224         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55225         ($(objpfx)tst-pcre-mem): Likewise.
55226         ($(objpfx)tst-boost-mem): Likewise.
55227         ($(objpfx)bug-ga2-mem): Likewise.
55228         ($(objpfx)bug-glob2-mem): Likewise.
55229         * resolv/Makefile (generate): Likewise.
55230         (tests-special): Likewise.
55231         (xtests-special): Likewise.
55232         (generated): Likewise.
55233         ($(objpfx)mtrace-tst-leaks): Likewise.
55234         ($(objpfx)mtrace-tst-leaks2): Likewise.
55236         * scripts/merge-test-results.sh: New file.
55237         * Makefile (tests-special-notdir): New variable.
55238         (tests): Run merge-test-results.sh.
55239         (xtests): Likewise.
55240         * Rules (tests-special-notdir): New variable.
55241         (xtests-special-notdir): Likewise.
55242         (tests): Run merge-test-results.sh
55243         (xtests): Likewise.
55245         * Makeconfig (test-xfail-name): New variable.
55246         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55247         compute variable name for expected failures.
55248         * conform/Makefile (conformtest-headers-data): New variable.
55249         (conformtest-standards): Likewise.
55250         (conformtest-headers-ISO): Likewise.
55251         (conformtest-headers-ISO99): Likewise.
55252         (conformtest-headers-ISO11): Likewise.
55253         (conformtest-headers-POSIX): Likewise.
55254         (conformtest-headers-XPG3): Likewise.
55255         (conformtest-headers-XPG4): Likewise.
55256         (conformtest-headers-UNIX98): Likewise.
55257         (conformtest-headers-XOPEN2K): Likewise.
55258         (conformtest-headers-POSIX2008): Likewise.
55259         (conformtest-headers-XOPEN2K8): Likewise.
55260         (conformtest-header-list-base): Likewise.
55261         (conformtest-header-list-tests): Likewise.
55262         (conformtest-header-base): Likewise.
55263         (conformtest-header-tests): Likewise.
55264         (tests-special): Add $(conformtest-header-list-tests).  If
55265         [$(fast-check) && !$(cross-compiling)], add
55266         $(conformtest-header-tests) instead of
55267         $(objpfx)run-conformtest.out.
55268         (generated): Add $(conformtest-header-list-base).  If
55269         [$(fast-check) && !$(cross-compiling)], add
55270         $(conformtest-header-base).  Remove previous setting.
55271         ($(conformtest-header-list-tests)): New target.
55272         (test-xfail-run-conformtest): Remove variable.
55273         ($(objpfx)run-conformtest.out): Remove target.
55274         (test-xfail-ISO11/complex.h/conform): New variable.
55275         (test-xfail-ISO11/stdalign.h/conform): Likewise.
55276         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55277         (test-xfail-XPG3/varargs.h/conform): Likewise.
55278         (test-xfail-XPG4/varargs.h/conform): Likewise.
55279         (test-xfail-UNIX98/varargs.h/conform): Likewise.
55280         (test-xfail-XPG4/ndbm.h/conform): Likewise.
55281         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55282         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55283         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55284         (test-xfail-XPG3/fcntl.h/conform): Likewise.
55285         (test-xfail-XPG3/ftw.h/conform): Likewise.
55286         (test-xfail-XPG3/grp.h/conform): Likewise.
55287         (test-xfail-XPG3/langinfo.h/conform): Likewise.
55288         (test-xfail-XPG3/limits.h/conform): Likewise.
55289         (test-xfail-XPG3/pwd.h/conform): Likewise.
55290         (test-xfail-XPG3/search.h/conform): Likewise.
55291         (test-xfail-XPG3/signal.h/conform): Likewise.
55292         (test-xfail-XPG3/stdio.h/conform): Likewise.
55293         (test-xfail-XPG3/stdlib.h/conform): Likewise.
55294         (test-xfail-XPG3/string.h/conform): Likewise.
55295         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55296         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55297         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55298         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55299         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55300         (test-xfail-XPG3/sys/types.h/conform): Likewise.
55301         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55302         (test-xfail-XPG3/termios.h/conform): Likewise.
55303         (test-xfail-XPG3/time.h/conform): Likewise.
55304         (test-xfail-XPG3/unistd.h/conform): Likewise.
55305         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55306         (test-xfail-XPG4/fcntl.h/conform): Likewise.
55307         (test-xfail-XPG4/langinfo.h/conform): Likewise.
55308         (test-xfail-XPG4/netdb.h/conform): Likewise.
55309         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55310         (test-xfail-XPG4/signal.h/conform): Likewise.
55311         (test-xfail-XPG4/stdio.h/conform): Likewise.
55312         (test-xfail-XPG4/stdlib.h/conform): Likewise.
55313         (test-xfail-XPG4/stropts.h/conform): Likewise.
55314         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55315         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55316         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55317         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55318         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55319         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55320         (test-xfail-XPG4/sys/time.h/conform): Likewise.
55321         (test-xfail-XPG4/sys/types.h/conform): Likewise.
55322         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55323         (test-xfail-XPG4/termios.h/conform): Likewise.
55324         (test-xfail-XPG4/ucontext.h/conform): Likewise.
55325         (test-xfail-XPG4/unistd.h/conform): Likewise.
55326         (test-xfail-XPG4/utmpx.h/conform): Likewise.
55327         (test-xfail-POSIX/sched.h/conform): Likewise.
55328         (test-xfail-POSIX/signal.h/conform): Likewise.
55329         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55330         (test-xfail-POSIX/tar.h/conform): Likewise.
55331         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55332         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55333         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55334         (test-xfail-UNIX98/netdb.h/conform): Likewise.
55335         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55336         (test-xfail-UNIX98/sched.h/conform): Likewise.
55337         (test-xfail-UNIX98/signal.h/conform): Likewise.
55338         (test-xfail-UNIX98/stdio.h/conform): Likewise.
55339         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55340         (test-xfail-UNIX98/stropts.h/conform): Likewise.
55341         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55342         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55343         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55344         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55345         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55346         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55347         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55348         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55349         (test-xfail-UNIX98/unistd.h/conform): Likewise.
55350         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55351         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55352         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55353         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55354         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55355         (test-xfail-XOPEN2K/math.h/conform): Likewise.
55356         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55357         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55358         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55359         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55360         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55361         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55362         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55363         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55364         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55365         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55366         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55367         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55368         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55369         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55370         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55371         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55372         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55373         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55374         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55375         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55376         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55377         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55378         (test-xfail-POSIX2008/signal.h/conform): Likewise.
55379         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55380         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55381         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55382         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55383         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55384         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55385         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55386         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55387         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55388         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55389         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55390         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55391         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55392         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55393         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55394         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55395         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55396         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55397         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55398         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55399         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55400         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55401         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55402         (conformtest-cc-flags): Likewise.
55403         ($(conformtest-header-tests): New target.
55404         * conform/check-header-lists.sh: New file.
55405         * conform/run-conformtest.sh: Remove.
55407         * conform/conformtest.pl: Allow ' and \ in values given for
55408         constants.
55409         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55410         inclusion.
55411         [POSIX] (sys/types.h): Likewise.
55412         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55413         inclusion.
55414         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55415         inclusion.
55416         * conform/data/signal.h-data (SIGIO): Remove expectation.
55417         [XPG3] (SIGBUS): Do not expect.
55418         [POSIX || XPG3] (SIGPOLL): Likewise.
55419         [POSIX || XPG3] (SIGPROF): Likewise.
55420         [POSIX || XPG3] (SIGSYS): Likewise.
55421         [XPG3] (SIGTRAP): Likewise.
55422         [POSIX || XPG3] (SIGURG): Likewise.
55423         [POSIX || XPG3] (SIGVTALRM): Likewise.
55424         [POSIX || XPG3] (SIGXCPU): Likewise.
55425         [POSIX || XPG3] (SIGXFSZ): Likewise.
55426         [POSIX] (SA_SIGINFO): Expect.
55427         [XPG3] (siginfo_t): Do not expect type or contents.
55428         [POSIX] (si_pid): Do not expect element.
55429         [POSIX] (si_uid): Likewise.
55430         [POSIX] (si_addr): Likewise.
55431         [POSIX] (si_status): Likewise.
55432         [POSIX] (si_band): Likewise.
55433         [XPG4] (si_value): Likewise.
55434         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55435         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55436         [POSIX || XPG3] (ILL_ILLADR): Likewise.
55437         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55438         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55439         [POSIX || XPG3] (ILL_PRVREG): Likewise.
55440         [POSIX || XPG3] (ILL_COPROC): Likewise.
55441         [POSIX || XPG3] (ILL_BADSTK): Likewise.
55442         [POSIX || XPG3] (FPE_INTDIV): Likewise.
55443         [POSIX || XPG3] (FPE_INTOVF): Likewise.
55444         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55445         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55446         [POSIX || XPG3] (FPE_FLTUND): Likewise.
55447         [POSIX || XPG3] (FPE_FLTRES): Likewise.
55448         [POSIX || XPG3] (FPE_FLTINV): Likewise.
55449         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55450         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55451         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55452         [POSIX || XPG3] (BUS_ADRALN): Likewise.
55453         [POSIX || XPG3] (BUS_ADRERR): Likewise.
55454         [POSIX || XPG3] (BUS_OBJERR): Likewise.
55455         [POSIX || XPG3] (CLD_EXITED): Likewise.
55456         [POSIX || XPG3] (CLD_KILLED): Likewise.
55457         [POSIX || XPG3] (CLD_DUMPED): Likewise.
55458         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55459         [POSIX || XPG3] (CLD_STOPPED): Likewise.
55460         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55461         [POSIX || XPG3] (POLL_IN): Likewise.
55462         [POSIX || XPG3] (POLL_OUT): Likewise.
55463         [POSIX || XPG3] (POLL_MSG): Likewise.
55464         [POSIX || XPG3] (POLL_ERR): Likewise.
55465         [POSIX || XPG3] (POLL_PRI): Likewise.
55466         [POSIX || XPG3] (POLL_HUP): Likewise.
55467         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55468         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55469         (SIG*): Do not allow.
55470         [XPG3] (si_*): Likewise.
55471         [XPG3] (SI_*): Likewise.
55472         [XPG3 || XPG4] (sigev_*): Likewise.
55473         [XPG3 || XPG4] (SIGEV_*): Likewise.
55474         [XPG3 || XPG4] (sival_*): Likewise.
55475         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55476         [POSIX || XPG3] (BUS_*): Likewise.
55477         [POSIX || XPG3] (CLD_*): Likewise.
55478         [POSIX || XPG3] (FPE_*): Likewise.
55479         [POSIX || XPG3] (ILL_*): Likewise.
55480         [POSIX || XPG3] (POLL_*): Likewise.
55481         [POSIX || XPG3] (SEGV_*): Likewise.
55482         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55483         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55484         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55485         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55486         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55487         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55488         Specify type and value.
55489         (TVERSLEN): Likewise.
55490         (REGTYPE): Likewise.
55491         (AREGTYPE): Likewise.
55492         (LNKTYPE): Likewise.
55493         (SYMTYPE): Likewise.
55494         (CHRTYPE): Likewise.
55495         (BLKTYPE): Likewise.
55496         (DIRTYPE): Likewise.
55497         (FIFOTYPE): Likewise.
55498         (CONTTYPE): Likewise.
55499         (TSUID): Likewise.
55500         (TSGID): Likewise.
55501         (TSVTX): Likewise.
55502         (TUREAD): Likewise.
55503         (TUWRITE): Likewise.
55504         (TUEXEC): Likewise.
55505         (TGREAD): Likewise.
55506         (TGWRITE): Likewise.
55507         (TGEXEC): Likewise.
55508         (TOREAD): Likewise.
55509         (TOWRITE): Likewise.
55510         (TOEXEC): Likewise.
55511         [POSIX] (TSVTX): Expect constant.
55513 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
55515         * Makefile (tests): Change dependencies to ....
55516         (tests-special): ... additions to this variable.
55517         (tests): Depend on $(tests-special).
55518         * Makerules (check-abi-list): New variable.
55519         (check-abi): Depend on $(check-abi-list).
55520         [$(subdir) = elf] (tests-special): Add
55521         $(objpfx)check-abi-libc.out.
55522         [$(build-shared) = yes && subdir] (tests-special): Add
55523         $(check-abi-list).
55524         [$(build-shared) = yes && subdir] (tests): Do not depend on
55525         check-abi.
55526         * Rules (tests): Depend on $(tests-special).
55527         (xtests): Depend on $(xtests-special).
55528         * catgets/Makefile (tests): Change dependencies to ....
55529         (tests-special): ... additions to this variable.
55530         * conform/Makefile (tests): Change dependencies to ....
55531         (tests-special): ... additions to this variable.
55532         * elf/Makefile (tests): Change dependencies to ....
55533         (tests-special): ... additions to this variable.
55534         * grp/Makefile (tests): Change dependencies to ....
55535         (tests-special): ... additions to this variable.
55536         * iconv/Makefile (xtests): Change dependencies to ....
55537         (xtests-special): ... additions to this variable.
55538         * iconvdata/Makefile (tests): Change dependencies to ....
55539         (tests-special): ... additions to this variable.
55540         * intl/Makefile (tests): Change dependencies to ....
55541         (tests-special): ... additions to this variable.  Also add
55542         $(objpfx)tst-gettext.out.
55543         * io/Makefile (tests): Change dependencies to ....
55544         (tests-special): ... additions to this variable.
55545         * libio/Makefile (tests): Change dependencies to ....
55546         (tests-special): ... additions to this variable.
55547         * malloc/Makefile (tests): Change dependencies to ....
55548         (tests-special): ... additions to this variable.
55549         * misc/Makefile (tests): Change dependencies to ....
55550         (tests-special): ... additions to this variable.
55551         * nptl/Makefile (tests): Change dependencies to ....
55552         (tests-special): ... additions to this variable.
55553         * nptl_db/Makefile (tests): Change dependencies to ....
55554         (tests-special): ... additions to this variable.
55555         * posix/Makefile (tests): Change dependencies to ....
55556         (tests-special): ... additions to this variable.
55557         (xtests): Change dependencies to ....
55558         (xtests-special): ... additions to this variable.
55559         * resolv/Makefile (tests): Change dependencies to ....
55560         (tests-special): ... additions to this variable.
55561         (xtests): Change dependencies to ....
55562         (xtests-special): ... additions to this variable.
55563         * stdio-common/Makefile (tests): Change dependencies to ....
55564         (tests-special): ... additions to this variable.
55565         (do-tst-unbputc): Remove target.
55566         (do-tst-printf): Likewise.
55567         * stdlib/Makefile (tests): Change dependencies to ....
55568         (tests-special): ... additions to this variable.
55569         * string/Makefile (tests): Change dependencies to ....
55570         (tests-special): ... additions to this variable.
55571         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55572         (tests-special): ... additions to this variable.
55574         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55575         whole file.
55576         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55577         whole file.
55578         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55579         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55581         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55582         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55583         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55584         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55585         * conform/data/libgen.h-data [XPG3]: Likewise.
55586         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55587         * conform/data/ndbm.h-data [XPG3]: Likewise.
55588         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55589         * conform/data/netdb.h-data [XPG3]: Likewise.
55590         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55591         * conform/data/poll.h-data [XPG3]: Likewise.
55592         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55593         * conform/data/strings.h-data [XPG3]: Likewise.
55594         * conform/data/stropts.h-data [XPG3]: Likewise.
55595         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55596         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55597         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55598         Likewise.
55599         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55600         * conform/data/sys/time.h-data [XPG3]: Likewise.
55601         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55602         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55603         * conform/data/sys/un.h-data [XPG3]: Likewise.
55604         * conform/data/syslog.h-data [XPG3]: Likewise.
55605         * conform/data/ucontext.h-data [XPG3]: Likewise.
55606         * conform/data/utmpx.h-data [XPG3]: Likewise.
55607         * conform/data/varargs.h-data [UNIX98]: Enable file.
55609         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55611         * math/libm-test.inc (struct test_f_f_data): Move expected results
55612         into structure for each rounding mode.
55613         (struct test_ff_f_data): Likewise.
55614         (struct test_ff_f_data_nexttoward): Likewise.
55615         (struct test_fi_f_data): Likewise.
55616         (struct test_fl_f_data): Likewise.
55617         (struct test_if_f_data): Likewise.
55618         (struct test_fff_f_data): Likewise.
55619         (struct test_c_f_data): Likewise.
55620         (struct test_f_f1_data): Likewise.
55621         (struct test_fF_f1_data): Likewise.
55622         (struct test_ffI_f1_data): Likewise.
55623         (struct test_c_c_data): Likewise.
55624         (struct test_cc_c_data): Likewise.
55625         (struct test_f_i_data): Likewise.
55626         (struct test_ff_i_data): Likewise.
55627         (struct test_f_l_data): Likewise.
55628         (struct test_f_L_data): Likewise.
55629         (struct test_fFF_11_data): Likewise.
55630         (RM_): New macro.
55631         (RM_FE_DOWNWARD): Likewise.
55632         (RM_FE_TONEAREST): Likewise.
55633         (RM_FE_TOWARDZERO): Likewise.
55634         (RM_FE_UPWARD): Likewise.
55635         (RUN_TEST_LOOP_f_f): Update references to expected results.
55636         (RUN_TEST_LOOP_2_f): Likewise.
55637         (RUN_TEST_LOOP_fff_f): Likewise.
55638         (RUN_TEST_LOOP_c_f): Likewise.
55639         (RUN_TEST_LOOP_f_f1): Likewise.
55640         (RUN_TEST_LOOP_fF_f1): Likewise.
55641         (RUN_TEST_LOOP_fI_f1): Likewise.
55642         (RUN_TEST_LOOP_ffI_f1): Likewise.
55643         (RUN_TEST_LOOP_c_c): Likewise.
55644         (RUN_TEST_LOOP_cc_c): Likewise.
55645         (RUN_TEST_LOOP_f_i): Likewise.
55646         (RUN_TEST_LOOP_f_i_tg): Likewise.
55647         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55648         (RUN_TEST_LOOP_f_b): Likewise.
55649         (RUN_TEST_LOOP_f_b_tg): Likewise.
55650         (RUN_TEST_LOOP_f_l): Likewise.
55651         (RUN_TEST_LOOP_f_L): Likewise.
55652         (RUN_TEST_LOOP_fFF_11): Likewise.
55653         * math/gen-libm-test.pl (parse_args): Output four copies of
55654         expected results for each test.
55656         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55657         (__ASSUME_UTIMES): Remove.
55658         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55659         (__ASSUME_UTIMES): Likewise.
55661         * math/gen-auto-libm-tests.c: Update comment on output format.
55662         (output_for_one_input_case): Generate before-rounding and
55663         after-rounding information as conditions on output flags not
55664         floating-point format.
55665         * math/auto-libm-test-out: Regenerated.
55666         * math/gen-libm-test.pl (cond_value): New function.
55667         (or_cond_value): Use cond_value.
55668         (generate_testfile): Handle conditional exceptions.
55670 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
55672         * math/libm-test.inc (max_valid_error): New variable.
55673         (init_max_error): Take new argument specifying whether function
55674         results are exactly determined.  Set max_valid_error and bound
55675         other variables for errors based on this argument.
55676         (set_max_error): Do not record results above max_valid_error.
55677         (check_float_internal): Only accept errors of up to 0.5ulps if
55678         also at most max_valid_error.
55679         (START): Take new argument EXACT and pass it to init_max_error.
55680         (acos_test): Update call to START.
55681         (acos_test_tonearest): Likewise.
55682         (acos_test_towardzero): Likewise.
55683         (acos_test_downward): Likewise.
55684         (acos_test_upward): Likewise.
55685         (acosh_test): Likewise.
55686         (asin_test): Likewise.
55687         (asin_test_tonearest): Likewise.
55688         (asin_test_towardzero): Likewise.
55689         (asin_test_downward): Likewise.
55690         (asin_test_upward): Likewise.
55691         (asinh_test): Likewise.
55692         (atan_test): Likewise.
55693         (atanh_test): Likewise.
55694         (atan2_test): Likewise.
55695         (cabs_test): Likewise.
55696         (cacos_test): Likewise.
55697         (cacosh_test): Likewise.
55698         (carg_test): Likewise.
55699         (casin_test): Likewise.
55700         (casinh_test): Likewise.
55701         (catan_test): Likewise.
55702         (catanh_test): Likewise.
55703         (cbrt_test): Likewise.
55704         (ccos_test): Likewise.
55705         (ccosh_test): Likewise.
55706         (ceil_test): Likewise.
55707         (cexp_test): Likewise.
55708         (cimag_test): Likewise.
55709         (clog_test): Likewise.
55710         (clog10_test): Likewise.
55711         (conj_test): Likewise.
55712         (copysign_test): Likewise.
55713         (cos_test): Likewise.
55714         (cos_test_tonearest): Likewise.
55715         (cos_test_towardzero): Likewise.
55716         (cos_test_downward): Likewise.
55717         (cos_test_upward): Likewise.
55718         (cosh_test): Likewise.
55719         (cosh_test_tonearest): Likewise.
55720         (cosh_test_towardzero): Likewise.
55721         (cosh_test_downward): Likewise.
55722         (cosh_test_upward): Likewise.
55723         (cpow_test): Likewise.
55724         (cproj_test): Likewise.
55725         (creal_test): Likewise.
55726         (csin_test): Likewise.
55727         (csinh_test): Likewise.
55728         (csqrt_test): Likewise.
55729         (ctan_test): Likewise.
55730         (ctan_test_tonearest): Likewise.
55731         (ctan_test_towardzero): Likewise.
55732         (ctan_test_downward): Likewise.
55733         (ctan_test_upward): Likewise.
55734         (ctanh_test): Likewise.
55735         (ctanh_test_tonearest): Likewise.
55736         (ctanh_test_towardzero): Likewise.
55737         (ctanh_test_downward): Likewise.
55738         (ctanh_test_upward): Likewise.
55739         (erf_test): Likewise.
55740         (erfc_test): Likewise.
55741         (exp_test): Likewise.
55742         (exp_test_tonearest): Likewise.
55743         (exp_test_towardzero): Likewise.
55744         (exp_test_downward): Likewise.
55745         (exp_test_upward): Likewise.
55746         (exp10_test): Likewise.
55747         (exp10_test_tonearest): Likewise.
55748         (exp10_test_towardzero): Likewise.
55749         (exp10_test_downward): Likewise.
55750         (exp10_test_upward): Likewise.
55751         (pow10_test): Likewise.
55752         (exp2_test): Likewise.
55753         (expm1_test): Likewise.
55754         (expm1_test_tonearest): Likewise.
55755         (expm1_test_towardzero): Likewise.
55756         (expm1_test_downward): Likewise.
55757         (expm1_test_upward): Likewise.
55758         (fabs_test): Likewise.
55759         (fdim_test): Likewise.
55760         (floor_test): Likewise.
55761         (fma_test): Likewise.
55762         (fma_test_towardzero): Likewise.
55763         (fma_test_downward): Likewise.
55764         (fma_test_upward): Likewise.
55765         (fmax_test): Likewise.
55766         (fmin_test): Likewise.
55767         (fmod_test): Likewise.
55768         (fpclassify_test): Likewise.
55769         (frexp_test): Likewise.
55770         (hypot_test): Likewise.
55771         (ilogb_test): Likewise.
55772         (isfinite_test): Likewise.
55773         (finite_test): Likewise.
55774         (isgreater_test): Likewise.
55775         (isgreaterequal_test): Likewise.
55776         (isinf_test): Likewise.
55777         (isless_test): Likewise.
55778         (islessequal_test): Likewise.
55779         (islessgreater_test): Likewise.
55780         (isnan_test): Likewise.
55781         (isnormal_test): Likewise.
55782         (issignaling_test): Likewise.
55783         (isunordered_test): Likewise.
55784         (j0_test): Likewise.
55785         (j1_test): Likewise.
55786         (jn_test): Likewise.
55787         (ldexp_test): Likewise.
55788         (lgamma_test): Likewise.
55789         (gamma_test): Likewise.
55790         (lrint_test): Likewise.
55791         (lrint_test_tonearest): Likewise.
55792         (lrint_test_towardzero): Likewise.
55793         (lrint_test_downward): Likewise.
55794         (lrint_test_upward): Likewise.
55795         (llrint_test): Likewise.
55796         (llrint_test_tonearest): Likewise.
55797         (llrint_test_towardzero): Likewise.
55798         (llrint_test_downward): Likewise.
55799         (llrint_test_upward): Likewise.
55800         (log_test): Likewise.
55801         (log10_test): Likewise.
55802         (log1p_test): Likewise.
55803         (log2_test): Likewise.
55804         (logb_test): Likewise.
55805         (logb_test_downward): Likewise.
55806         (lround_test): Likewise.
55807         (llround_test): Likewise.
55808         (modf_test): Likewise.
55809         (nearbyint_test): Likewise.
55810         (nextafter_test): Likewise.
55811         (nexttoward_test): Likewise.
55812         (pow_test): Likewise.
55813         (pow_test_tonearest): Likewise.
55814         (pow_test_towardzero): Likewise.
55815         (pow_test_downward): Likewise.
55816         (pow_test_upward): Likewise.
55817         (remainder_test): Likewise.
55818         (drem_test): Likewise.
55819         (remainder_test_tonearest): Likewise.
55820         (drem_test_tonearest): Likewise.
55821         (remainder_test_towardzero): Likewise.
55822         (drem_test_towardzero): Likewise.
55823         (remainder_test_downward): Likewise.
55824         (drem_test_downward): Likewise.
55825         (remainder_test_upward): Likewise.
55826         (drem_test_upward): Likewise.
55827         (remquo_test): Likewise.
55828         (rint_test): Likewise.
55829         (rint_test_tonearest): Likewise.
55830         (rint_test_towardzero): Likewise.
55831         (rint_test_downward): Likewise.
55832         (rint_test_upward): Likewise.
55833         (round_test): Likewise.
55834         (scalb_test): Likewise.
55835         (scalbn_test): Likewise.
55836         (scalbln_test): Likewise.
55837         (signbit_test): Likewise.
55838         (sin_test): Likewise.
55839         (sin_test_tonearest): Likewise.
55840         (sin_test_towardzero): Likewise.
55841         (sin_test_downward): Likewise.
55842         (sin_test_upward): Likewise.
55843         (sincos_test): Likewise.
55844         (sinh_test): Likewise.
55845         (sinh_test_tonearest): Likewise.
55846         (sinh_test_towardzero): Likewise.
55847         (sinh_test_downward): Likewise.
55848         (sinh_test_upward): Likewise.
55849         (sqrt_test): Likewise.
55850         (sqrt_test_tonearest): Likewise.
55851         (sqrt_test_towardzero): Likewise.
55852         (sqrt_test_downward): Likewise.
55853         (sqrt_test_upward): Likewise.
55854         (tan_test): Likewise.
55855         (tan_test_tonearest): Likewise.
55856         (tan_test_towardzero): Likewise.
55857         (tan_test_downward): Likewise.
55858         (tan_test_upward): Likewise.
55859         (tanh_test): Likewise.
55860         (tgamma_test): Likewise.
55861         (trunc_test): Likewise.
55862         (y0_test): Likewise.
55863         (y1_test): Likewise.
55864         (yn_test): Likewise.
55865         (significand_test): Likewise.
55867         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55868         individual tests in comment.
55869         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55870         (prev_max_error): New variable.
55871         (prev_real_max_error): Likewise.
55872         (prev_imag_max_error): Likewise.
55873         (compare_ulp_data): Don't refer to test names in comment.
55874         (find_test_ulps): Remove function.
55875         (find_function_ulps): Likewise.
55876         (find_complex_function_ulps): Likewise.
55877         (init_max_error): Take function name as argument.  Look up ulps
55878         for that function.
55879         (print_ulps): Remove function.
55880         (print_max_error): Use prev_max_error instead of calling
55881         find_function_ulps.
55882         (print_complex_max_error): Use prev_real_max_error and
55883         prev_imag_max_error instead of calling find_complex_function_ulps.
55884         (check_float_internal): Take max_ulp parameter instead of calling
55885         find_test_ulps.  Don't call print_ulps.
55886         (check_float): Update call to check_float_internal.
55887         (check_complex): Update calls to check_float_internal.
55888         (START): Pass argument to init_max_error.
55889         * math/gen-libm-test.pl (%results): Don't include "kind"
55890         information.
55891         (parse_ulps): Don't handle ulps of individual tests.
55892         (print_ulps_file): Likewise.
55893         (output_ulps): Likewise.
55894         * math/README.libm-test: Update.
55895         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55896         individual tests.
55897         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55898         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55899         * sysdeps/arm/libm-test-ulps: Likewise.
55900         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55901         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55902         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55903         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55904         * sysdeps/microblaze/libm-test-ulps: Likewise.
55905         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55906         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55907         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55908         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55909         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55910         * sysdeps/sh/libm-test-ulps: Likewise.
55911         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55912         * sysdeps/tile/libm-test-ulps: Likewise.
55913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55915 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
55917         * math/libm-test.inc (print_complex_max_error): Check separately
55918         whether real and imaginary errors are within allowed range and
55919         pass 0 to print_complex_function_ulps instead of value within
55920         allowed range.
55922 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55924         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55925         formatting.
55926         (get_handles_fopen): Likewise.
55927         (do_write_test): Likewise.
55929         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55931         * libio/fileops.c (do_ftell): Use cached offset when
55932         available.
55933         * libio/iofwide.c (do_ftell_wide): Likewise.
55934         * libio/iofdopen.c (_IO_new_fdopen): Don't use
55935         _IO_file_attach.
55936         * libio/wfileops.c (_IO_fwide): Don't cache offset.
55938         [BZ #16532]
55939         * libio/libioP.h (get_file_offset): New function.
55940         * libio/fileops.c (get_file_offset): Likewise.
55941         (do_ftell): Likewise.
55942         (_IO_new_file_seekoff): Split out ftell logic.
55943         * libio/wfileops.c (do_ftell_wide): Likewise.
55944         (_IO_wfile_seekoff): Split out ftell logic.
55945         * libio/tst-ftell-active-handler.c: New test case.
55946         * libio/Makefile (tests): Add it.
55948 2014-03-03  Roland McGrath  <roland@hack.frob.com>
55950         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55951         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55953 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55955         [BZ #16639]
55956         * nscd/connections.c (nscd_init): Call do_exit.
55957         (start_threads): Call do_exit and notify_parent.
55958         (begin_drop_privileges): Call do_exit.
55959         (finish_drop_privileges): Likewise.
55960         * nscd/selinux.c (preserve_capabilities): Likewise.
55961         (install_real_capabilities): Likewise.
55962         (nscd_selinux_enabled): Likewise.
55963         (avc_create_thread): Likewise.
55964         (avc_alloc_lock): Likewise.
55965         (nscd_avc_init): Likewise.
55966         * nscd/nscd.c (parent_fd): New static variable.
55967         (main): Create a pipe between parent and child processes.
55968         Skip closing parent_fd.
55969         (monitor_child): New function.
55970         (do_exit): Likewise.
55971         (notify_parent): Likewise.
55972         * nscd/nscd.h (notify_parent): Likewise.
55973         (do_exit): Likewise.
55975 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
55977         * malloc/malloc.c (__libc_calloc): Revert last change.
55979 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55983 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55985         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55987         implementation.
55988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55989         (__libc_ifunc_impl_list): Likewise.
55990         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55991         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55992         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55993         * string/strrchr.c: Define STRRCHR.
55995 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
55997         * benchtest/bench-strtok.c (simple_strtok): Delete.
55998         (strtok_string): Use as benchmark.
55999         * string/strtok (STRTOK): New macro.
56001 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
56003         * manual/threads.texi: Add header and standard comments to all
56004         functions.
56006         * elf/dl-lookup.c (check_match): New function.
56007         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56008         (do_lookup_x): Remove nested function check_match. Use non-nested
56009         function check_match.
56011 2014-02-28  Roland McGrath  <roland@hack.frob.com>
56013         * csu/Makefile (generated, before-compile): Use += rather than =.
56014         * catgets/Makefile (generated, generated-dirs): Likewise.
56015         * debug/Makefile (generated): Likewise.
56016         * dlfcn/Makefile (generated): Likewise.
56017         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56018         * iconvdata/Makefile (before-compile, generated): Likewise.
56019         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56020         * libio/Makefile (generated): Likewise.
56021         * malloc/Makefile (generated): Likewise.
56022         * manual/Makefile (generated, generated-dirs): Likewise.
56023         * misc/Makefile (generated): Likewise.
56024         * posix/Makefile (generated): Likewise.
56025         * resolv/Makefile (generated): Likewise.
56026         * sunrpc/Makefile (generated, generated-dirs): Likewise.
56027         * timezone/Makefile (generated, generated-dirs): Likewise.
56029         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56031 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56034         power8 implementation.
56035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56036         file: POWER8 llround ifunc implementation.
56037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56038         (__lllround): Add POWER8 implementation.
56039         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56040         POWER8 llround implementation.
56042         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56043         power8 implementation.
56044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56045         file: POWER8 llrint ifunc implementation.
56046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56047         Add POWER8 implementation.
56048         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56049         POWER8 llrint implementation.
56051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56052         power8 implementation.
56053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56054         file: POWER8 finite ifunc implementation.
56055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56056         Add POWER8 implementation.
56057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56058         Likewise.
56059         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56060         POWER8 finite implementation.
56061         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56064         power8 implementation.
56065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56066         file: POWER8 isinf ifunc implementation.
56067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56068         POWER8 implementation.
56069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56070         Likewise.
56071         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56072         isinf implementation.
56073         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56075         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56076         (INIT_ARCH): Add hwcap2 initialization.
56077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56078         power8 implementation.
56079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56080         file: POWER8 isnan ifunc implementation.
56081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56082         POWER8 implementation.
56083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56084         Likewise.
56085         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56086         isnan implementation.
56087         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56089 2014-02-27  Joey Ye  <joey.ye@arm.com>
56091         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56092         (_FP_NANFRAC_Q): Set to zero.
56094 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56096         [BZ #16623]
56097         * math/auto-libm-test-in: New test inputs.
56098         * math/auto-libm-test-out: Regenerate.
56099         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56100         and DA.
56101         (__cos): Likewise.
56102         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56104 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
56106         * scripts/evaluate-test.sh: Take new argument indicating whether
56107         failure is expected.
56108         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56109         indicating whether failure is expected.
56110         * conform/Makefile (test-xfail-run-conformtest): New variable.
56111         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56112         level.
56113         * posix/Makefile (test-xfail-annexc): New variable.
56114         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56116 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
56118         * argp/Makefile: Include Makeconfig immediately after defining
56119         subdir.
56120         * assert/Makefile: Likewise.
56121         * benchtests/Makefile: Likewise.
56122         * catgets/Makefile: Likewise.
56123         * conform/Makefile: Likewise.
56124         * crypt/Makefile: Likewise.
56125         * csu/Makefile: Likewise.
56126         (all): Remove target.
56127         * ctype/Makefile: Include Makeconfig immediately after defining
56128         subdir.
56129         * debug/Makefile: Likewise.
56130         * dirent/Makefile: Likewise.
56131         * dlfcn/Makefile: Likewise.
56132         * gmon/Makefile: Likewise.
56133         * gnulib/Makefile: Likewise.
56134         * grp/Makefile: Likewise.
56135         * gshadow/Makefile: Likewise.
56136         * hesiod/Makefile: Likewise.
56137         * hurd/Makefile: Likewise.
56138         (all): Remove target.
56139         * iconvdata/Makefile: Include Makeconfig immediately after
56140         defining subdir.
56141         * inet/Makefile: Likewise.
56142         * intl/Makefile: Likewise.
56143         * io/Makefile: Likewise.
56144         * libio/Makefile: Likewise.
56145         (all): Remove target.
56146         * locale/Makefile: Include Makeconfig immediately after defining
56147         subdir.
56148         * login/Makefile: Likewise.
56149         * mach/Makefile: Likewise.
56150         (all): Remove target.
56151         * malloc/Makefile: Include Makeconfig immediately after defining
56152         subdir.
56153         (all): Remove target.
56154         * manual/Makefile: Include Makeconfig immediately after defining
56155         subdir.
56156         * math/Makefile: Likewise.
56157         * misc/Makefile: Likewise.
56158         * nis/Makefile: Likewise.
56159         * nss/Makefile: Likewise.
56160         * po/Makefile: Likewise.
56161         (all): Remove target.
56162         * posix/Makefile: Include Makeconfig immediately after defining
56163         subdir.
56164         * pwd/Makefile: Likewise.
56165         * resolv/Makefile: Likewise.
56166         * resource/Makefile: Likewise.
56167         * rt/Makefile: Likewise.
56168         * setjmp/Makefile: Likewise.
56169         * shadow/Makefile: Likewise.
56170         * signal/Makefile: Likewise.
56171         * socket/Makefile: Likewise.
56172         * soft-fp/Makefile: Likewise.
56173         * stdio-common/Makefile: Likewise.
56174         * stdlib/Makefile: Likewise.
56175         * streams/Makefile: Likewise.
56176         * string/Makefile: Likewise.
56177         * sunrpc/Makefile: Likewise.
56178         (all): Remove target.
56179         * sysvipc/Makefile: Include Makeconfig immediately after defining
56180         subdir.
56181         * termios/Makefile: Likewise.
56182         * time/Makefile: Likewise.
56183         * timezone/Makefile: Likewise.
56184         (all): Remove target.
56185         * wcsmbs/Makefile: Include Makeconfig immediately after defining
56186         subdir.
56187         * wctype/Makefile: Likewise.
56189 2014-02-26  Steve Ellcey  <sellcey@mips.com>
56191         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56192         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56193         (libc_feholdexcept_setround_mips): Ditto.
56194         (libc_feholdsetround): New.
56195         (libc_feholdsetroundf): New.
56196         (libc_feholdsetroundl): New.
56197         (libc_feupdateenv_test_mips): New.
56198         (libc_feupdateenv_test): New.
56199         (libc_feupdateenv_testf): New.
56200         (libc_feupdateenv_testl): New.
56201         (libc_feresetround): New.
56202         (libc_feresetroundf): New.
56203         (libc_feresetroundl): New.
56204         (libc_fetestexcept_mips): New.
56205         (libc_fetestexcept): New.
56206         (libc_fetestexceptf): New.
56207         (libc_fetestexceptl): New.
56208         (HAVE_RM_CTX): New.
56209         (libc_feholdexcept_setround_mips_ctx): New.
56210         (libc_feholdexcept_setround_ctx): New.
56211         (libc_feholdexcept_setroundf_ctx): New.
56212         (libc_feholdexcept_setroundl_ctx): New.
56213         (libc_fesetenv_mips_ctx): New.
56214         (libc_fesetenv_ctx): New.
56215         (libc_fesetenv_ctxf): New.
56216         (libc_fesetenv_ctxl): New.
56217         (libc_feupdateenv_mips_ctx): New.
56218         (libc_feupdateenv_ctx): New.
56219         (libc_feupdateenvf_ctx): New.
56220         (libc_feupdateenvl_ctx): New.
56221         (libc_feholdsetround_mips_ctx): New.
56222         (libc_feholdsetround_ctx): New.
56223         (libc_feholdsetroundf_ctx): New.
56224         (libc_feholdsetroundl_ctx): New.
56225         (libc_feresetround_mips_ctx): New.
56226         (libc_feresetround_ctx): New.
56227         (libc_feresetroundf_ctx): New.
56228         (libc_feresetroundl_ctx): New.
56230 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
56232         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56234         * manual/ipc.texi: New file.
56235         * manual/Makefile (chapters): Add ipc.
56236         * manual/job.texi: Add "Inter-Process Communication" to next.
56237         * manual/process.texi: Add "Inter-Process Communication" to prev.
56239 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56243 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
56245         * malloc/malloc.c (__libc_calloc): Simplify implementation.
56247         * manual/arith.texi: Fix spaces after sentences.
56248         * manual/charset.texi: Likewise.
56249         * manual/errno.texi: Likewise.
56250         * manual/install.texi: Likewise.
56251         * manual/llio.texi: Likewise.
56252         * manual/locale.texi: Likewise.
56253         * manual/maint.texi: Likewise.
56254         * manual/math.texi: Likewise.
56255         * manual/memory.texi: Likewise.
56256         * manual/message.texi: Likewise.
56257         * manual/probes.texi: Likewise.
56258         * manual/resource.texi: Likewise.
56259         * manual/signal.texi: Likewise.
56260         * manual/socket.texi: Likewise.
56261         * manual/stdio.texi: Likewise.
56262         * manual/string.texi: Likewise.
56263         * manual/time.texi: Likewise.
56264         * manual/users.texi: Likewise.
56266 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
56268         [BZ #16632]
56269         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56270         _DEFAULT_SOURCE is defined.
56272 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
56273             Carlos O'Donell  <carlos@redhat.com>
56275         [BZ #16613]
56276         * elf/dl-tls.c (_dl_count_modids): New function.
56277         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56278         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56279         audit library and increment generation counter.
56280         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56281         * elf/tst-audit9.c: New file.
56282         * elf/tst-auditmod9a.c: New file.
56283         * elf/tst-auditmod9b.c: New file.
56284         * elf/Makefile: Add rules to build and run tst-audit9.
56286 2014-02-25  Florian Weimer  <fweimer@redhat.com>
56288         [BZ #15347]
56289         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56291 2014-02-25  Will Newton  <will.newton@linaro.org>
56293         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56294         (__longjmp): Restore sp and lr before restoring callee
56295         saved registers.  Add longjmp and longjmp_target
56296         SystemTap probe point.
56297         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56298         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56299         Define to zero to match jmpbuf layout.
56300         * sysdeps/arm/setjmp.S: Include stap-probe.h.
56301         (__sigsetjmp): Save sp and lr before saving callee
56302         saved registers.  Add setjmp SystemTap probe point.
56304 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
56306         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56308 2014-02-24  Andreas Schwab  <schwab@suse.de>
56310         [BZ #15804]
56311         * elf/pldd.c (wait_for_ptrace_stop): New function.
56312         (main): Call it after attaching.
56314 2014-02-22  Roland McGrath  <roland@hack.frob.com>
56316         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56317         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56318         Versions files is now verboten.
56319         * hurd/Versions (libc: GLIBC_2.0):
56320         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56321         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56322         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56323         * mach/Versions: Likewise.
56325         * csu/Versions: Remove unused %include.
56326         * resolv/Versions: Likewise.
56328 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
56330         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56331         ($(objpfx)check-local-headers.out): Likewise.
56332         ($(objpfx)begin-end-check.out): Likewise.
56333         * Makerules (check-abi-%.out): Likewise.
56334         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56335         ($(objpfx)test2.cat): Likewise.
56336         ($(objpfx)de/libc.cat): Likewise.
56337         ($(objpfx)test-gencat.out): Likewise.
56338         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56339         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56340         ($(objpfx)noload-mem): Likewise.
56341         ($(objpfx)tst-pathopt.out): Likewise.
56342         ($(objpfx)tst-rtld-load-self.out): Likewise.
56343         ($(objpfx)tst-array1-cmp.out): Likewise.
56344         ($(objpfx)tst-array1-static-cmp.out): Likewise.
56345         ($(objpfx)tst-array2-cmp.out): Likewise.
56346         ($(objpfx)tst-array3-cmp.out): Likewise.
56347         ($(objpfx)tst-array4-cmp.out): Likewise.
56348         ($(objpfx)tst-array5-cmp.out): Likewise.
56349         ($(objpfx)tst-array5-static-cmp.out): Likewise.
56350         ($(objpfx)check-textrel.out): Likewise.
56351         ($(objpfx)check-execstack.out): Likewise.
56352         ($(objpfx)check-localplt.out): Likewise.
56353         ($(objpfx)order2-cmp.out): Likewise.
56354         ($(objpfx)tst-leaks1-mem): Likewise.
56355         ($(objpfx)tst-leaks1-static-mem): Likewise.
56356         ($(objpfx)tst-initorder-cmp.out): Likewise.
56357         ($(objpfx)tst-initorder2-cmp.out): Likewise.
56358         ($(objpfx)tst-unused-dep.out): Likewise.
56359         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56360         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56361         * iconv/Makefile (test-iconvconfig): Likewise.
56362         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56363         ($(objpfx)iconv-test.out): Likewise.
56364         ($(objpfx)tst-tables.out): Likewise.
56365         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56366         ($(objpfx)tst-gettext.out): Likewise.
56367         ($(objpfx)tst-translit.out): Likewise.
56368         ($(objpfx)tst-gettext2.out): Likewise.
56369         ($(objpfx)tst-gettext4.out): Likewise.
56370         ($(objpfx)tst-gettext6.out): Likewise.
56371         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56372         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56373         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56374         ($(objpfx)tst-fopenloc-mem.out): Likewise.
56375         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56376         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56377         * posix/Makefile ($(objpfx)globtest.out): Likewise.
56378         ($(objpfx)wordexp-tst.out): Likewise.
56379         ($(objpfx)annexc.out): Likewise.
56380         ($(objpfx)tst-fnmatch-mem): Likewise.
56381         ($(objpfx)bug-regex2-mem): Likewise.
56382         ($(objpfx)bug-regex14-mem): Likewise.
56383         ($(objpfx)bug-regex21-mem): Likewise.
56384         ($(objpfx)bug-regex31-mem): Likewise.
56385         ($(objpfx)tst-vfork3-mem): Likewise.
56386         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56387         ($(objpfx)tst-pcre-mem): Likewise.
56388         ($(objpfx)tst-boost-mem): Likewise.
56389         ($(objpfx)tst-getconf.out): Likewise.
56390         ($(objpfx)bug-ga2-mem): Likewise.
56391         ($(objpfx)bug-glob2-mem): Likewise.
56392         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56393         ($(objpfx)mtrace-tst-leaks2): Likewise.
56394         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56395         ($(objpfx)tst-printf.out): Likewise.
56396         ($(objpfx)tst-setvbuf1.out): Likewise.
56397         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56398         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56399         ($(objpfx)tst-fmtmsg.out): Likewise.
56400         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56401         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56403         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56404         * bits/sigaction.h [__USE_MISC]: Likewise.
56405         * bits/waitstatus.h: Update #endif comments.
56406         * ctype/ctype.h: Likewise.
56407         * dirent/dirent.h: Likewise.
56408         [__USE_MISC]: Remove redundant conditionals.
56409         * grp/grp.h: Update #endif comments.
56410         [__USE_GNU]: Remove redundant conditionals.
56411         [__USE_MISC]: Likewise.
56412         * inet/netinet/in.h [__USE_GNU]: Likewise.
56413         * io/sys/stat.h [__USE_MISC]: Likewise.
56414         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56415         * libio/bits/stdio.h: Update #endif comments.
56416         [__USE_MISC]: Remove redundant conditionals.
56417         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56418         * libio/stdio.h: Update #endif comments.
56419         [__USE_MISC]: Remove redundant conditionals.
56420         * math/bits/math-finite.h [__USE_MISC]: Likewise.
56421         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56422         * math/math.h: Update #else and #endif comments.
56423         [__USE_MISC]: Remove redundant conditionals.
56424         * misc/sys/uio.h: Update #endif comments.
56425         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56426         * posix/glob.h [__USE_MISC]: Likewise.
56427         * posix/sys/types.h: Update #endif comments.
56428         [__USE_MISC]: Remove redundant conditionals.
56429         * posix/sys/wait.h: Update #endif comments.
56430         [__USE_MISC]: Remove redundant conditionals.
56431         * posix/unistd.h: Update #endif comments.
56432         [__USE_MISC]: Remove redundant conditionals.
56433         * pwd/pwd.h [__USE_GNU]: Likewise.
56434         [__USE_MISC]: Likewise.
56435         * resolv/netdb.h [__USE_GNU]: Likewise.
56436         * signal/signal.h: Update #endif comments.
56437         [__USE_MISC]: Remove redundant conditionals.
56438         * stdlib/stdlib.h: Update #else and #endif comments.
56439         [__USE_MISC]: Remove redundant conditionals.
56440         [__USE_GNU]: Likewise.
56441         * string/bits/string2.h [__USE_MISC]: Likewise.
56442         * string/string.h: Update #endif comments.
56443         [__USE_MISC]: Remove redundant conditionals.
56444         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56445         Likewise.
56446         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56447         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56448         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56449         Likewise.
56450         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56451         Likewise.
56452         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56453         comments.
56454         [__USE_MISC]: Remove redundant conditionals.
56455         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56456         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56457         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56458         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56459         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56460         Likewise.
56461         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56462         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56463         Likewise.
56464         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56465         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56466         Likewise.
56467         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56468         Likewise.
56469         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56470         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56471         Likewise.
56472         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56473         Likewise.
56474         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56475         * sysdeps/x86/bits/string.h: Update #endif comments.
56476         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56477         conditionals.
56478         * time/sys/time.h: Update #endif comments.
56479         * time/time.h: Likewise.
56480         [__USE_MISC]: Remove redundant conditionals.
56482 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
56484         [BZ #16600]
56485         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56487 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
56489         * Versions.def (librt): Add GLIBC_2.17.
56491 2014-02-21  Adam Conrad  <adconrad@0c3.net>
56493         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56494         synonym for _SYS_AUXV_H to allow direct inclusion.
56495         * sysdeps/sparc/bits/hwcap.h: Likewise.
56496         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56497         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56498         * sysdeps/sparc/sysdep.h: Likewise.
56500 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56502         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56504 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56506         * benchtests/bench-strrchr.c: Print length instead of position.
56508 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
56510         [BZ #16611]
56511         * sysdeps/unix/sysv/linux/kernel-features.h
56512         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56513         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56514         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56515         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56516         Likewise.
56517         [__i386__ || __powerpc__ || __sh__ || __sparc__]
56518         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56519         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56520         (__ASSUME_SENDMMSG): Define instead of using previous
56521         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56522         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56523         (__ASSUME_SENDMMSG_SYSCALL): Define.
56524         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56525         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56526         Likewise.
56527         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56528         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56529         Likewise.
56530         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56531         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56532         Likewise.
56533         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56534         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56535         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56536         [__ASSUME_SENDMMSG]: Change conditionals to
56537         [__ASSUME_SENDMMSG_SOCKETCALL].
56538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56539         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56540         Define.
56541         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56542         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56543         Likewise.
56544         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56545         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56546         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56547         [!__ASSUME_SENDMMSG]: Change conditional to
56548         [!__ASSUME_SENDMMSG_SOCKETCALL].
56549         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56550         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56551         Define.
56553         [BZ #16610]
56554         * sysdeps/unix/sysv/linux/kernel-features.h
56555         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56556         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56557         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56558         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56559         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56560         [__i386__ || __sparc__]
56561         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56562         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56563         (__ASSUME_RECVMMSG): Define instead of using previous
56564         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56565         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56566         (__ASSUME_RECVMMSG_SYSCALL): Define.
56567         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56568         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56569         Likewise.
56570         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56571         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56572         Likewise.
56573         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56574         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56575         Likewise.
56576         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56577         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56578         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56579         [__ASSUME_RECVMMSG]: Change condition to
56580         [__ASSUME_RECVMMSG_SOCKETCALL].
56581         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56582         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56583         Define.
56584         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56585         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56586         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56587         Likewise.
56588         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56589         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56590         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56591         [!__ASSUME_RECVMMSG]: Change condition to
56592         [!__ASSUME_RECVMMSG_SOCKETCALL].
56593         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56594         (__ASSUME_RECVMMSG_SYSCALL): Define.
56596         [BZ #16609]
56597         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56598         __powerpc__ || __s390__ || __sh__ || __sparc__]
56599         (__ASSUME_SOCKETCALL): Define.
56600         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56601         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56602         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56603         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56604         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56605         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56606         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56607         (__ASSUME_ACCEPT4): Define instead of using previous
56608         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56609         __powerpc__ || __sparc__ || __s390__)] condition.
56610         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56611         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56612         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56613         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56614         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56615         [!__ASSUME_ACCEPT4]: Change condition to
56616         [!__ASSUME_ACCEPT4_SOCKETCALL].
56617         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56618         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56619         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56620         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56621         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56622         __ASSUME_ACCEPT4_SYSCALL.
56623         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56624         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56625         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56626         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56627         __ASSUME_ACCEPT4_SYSCALL.
56628         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56629         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56630         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56631         [__ASSUME_ACCEPT4]: Change condition to
56632         [__ASSUME_ACCEPT4_SOCKETCALL].
56633         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56634         (__ASSUME_SOCKETCALL): Define.
56635         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56636         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56637         (__ASSUME_SOCKETCALL): Define.
56638         (__ASSUME_ACCEPT4): Remove.
56639         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56640         Define.
56641         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56642         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56643         Likewise.
56644         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56645         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56647         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56648         macro.
56649         (HWCAP_ARM_LPAE): Likewise.
56650         (HWCAP_ARM_EVTSTRM): Likewise.
56651         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56652         Add vpfd32, lpae and evtstrm.
56653         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56654         Increase to 22.
56656 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
56658         * math/auto-libm-test-in: Add tests of clog10.
56659         * math/auto-libm-test-out: Regenerated.
56660         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56661         * sysdeps/i386/fpu/libm-test-ulps: Update.
56662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56664 2014-02-18  Andreas Schwab  <schwab@suse.de>
56666         [BZ #16574]
56667         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56668         Store non-zero if the second buffer was newly allocated.
56669         (send_dg): Likewise.
56670         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56671         to send_vc and send_dg.
56672         (res_nsend): Pass NULL for ansp2_malloced.
56673         * resolv/res_query.c (__libc_res_nquery): Add parameter
56674         answerp2_malloced and pass it down to __libc_res_nsend.
56675         (res_nquery): Pass additional NULL to __libc_res_nquery.
56676         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56677         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
56678         second answer buffer if answerp2_malloced was set.
56679         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56680         (__libc_res_nquerydomain): Add parameter
56681         answerp2_malloced and pass it down to __libc_res_nquery.
56682         (res_nquerydomain): Pass additional NULL to
56683         __libc_res_nquerydomain.
56684         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56685         additional NULL to __libc_res_nsend and __libc_res_nquery.
56686         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56687         additional NULL to __libc_res_nsearch.
56688         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
56689         parameter of __libc_res_nsearch to check for separately allocated
56690         second buffer.
56691         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56692         __libc_res_nquery.
56693         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56694         additional NULL to __libc_res_nquery.
56695         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56696         __libc_res_nsearch.
56697         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56698         * include/resolv.h: Update prototypes of __libc_res_nquery,
56699         __libc_res_nsearch, __libc_res_nsend.
56701 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
56703         * math/auto-libm-test-in: Add tests of fma.
56704         * math/auto-libm-test-out: Regenerated.
56705         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56706         (fma_towardzero_test_data): Likewise.
56707         (fma_downward_test_data): Likewise.
56708         (fma_upward_test_data): Likewise.
56709         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56710         mpc_mode.
56711         (rounding_modes): Add values for new field.
56712         (func_calc_method): Add value mpfr_fff_f.
56713         (func_calc_desc): Add mpfr_fff_f union field.
56714         (test_function): Add field exact_args.
56715         (FUNC): Add macro argument EXACT_ARGS.
56716         (FUNC_mpfr_f_f): Update call to FUNC.
56717         (FUNC_mpfr_f_f): Likewise.
56718         (FUNC_mpfr_ff_f): Likewise.
56719         (FUNC_mpfr_if_f): Likewise.
56720         (FUNC_mpc_c_f): Likewise.
56721         (FUNC_mpc_c_c): Likewise.
56722         (test_functions): Add fma.  Update calls to FUNC.
56723         (handle_input_arg): Add argument exact_args.
56724         (add_test): Update call to handle_input_arg.
56725         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
56726         (output_for_one_input_case): Update call to calc_generic_results.
56727         Recalculate exact zero results in each rounding mode.
56729         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56730         non-negative before setting low bit.
56731         * math/auto-libm-test-in: Mark one asin test possibly having
56732         spurious underflow.
56733         * math/auto-libm-test-out: Regenerated.
56734         * sysdeps/i386/fpu/libm-test-ulps: Update.
56735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56737 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
56739         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56740         * sysdeps/unix/sysv/linux/microblaze: Move directory from
56741         ports/sysdeps/unix/sysv/linux/microblaze.
56742         * README: Add missing listing for microblaze*-*-linux-gnu.
56744 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
56746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56747         duplicate code
56749 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
56751         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56752         * sysdeps/unix/sysv/linux/ia64: Move directory from
56753         ports/sysdeps/unix/sysv/linux/ia64.
56754         * README: Update listing for ia64-*-linux-gnu.
56756 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
56757             Joseph Myers  <joseph@codesourcery.com>
56759         * Makeconfig (test-name): New variable.
56760         (evaluate-test): Likewise.
56761         * Makerules (do-test-clean): Remove .test-result files.
56762         (common-mostlyclean): Likewise.
56763         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56764         * scripts/evaluate-test.sh: New file.
56766 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
56768         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56769         separate $(objpfx)tst-fopenloc-cmp.out and
56770         $(objpfx)tst-fopenloc-mem.out targets.
56771         (tests): Update dependencies.
56772         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56773         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56774         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56775         (tst-rxspencer-no-utf8-ARGS): New variable.
56776         (tst-rxspencer-no-utf8-ENV): Likewise.
56777         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56778         instead of $(objpfx)tst-rxspencer-mem.
56779         ($(objpfx)tst-rxspencer-mem): Change target to
56780         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
56781         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56782         * posix/tst-rxspencer-no-utf8.c: New file.
56784         * elf/Makefile ($(objpfx)order.out): Remove rule.
56785         [$(run-built-tests) = yes] (tests): Depend on
56786         $(objpfx)order-cmp.out.
56787         ($(objpfx)order-cmp.out): New rule.
56788         [$(run-built-tests) = yes] (tests): Depend on
56789         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56790         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56791         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56792         $(objpfx)tst-array5-static-cmp.out.
56793         ($(objpfx)tst-array1.out): Remove rule.
56794         ($(objpfx)tst-array1-cmp.out): New rule.
56795         ($(objpfx)tst-array1-static.out): Remove rule.
56796         ($(objpfx)tst-array1-static-cmp.out): New rule.
56797         ($(objpfx)tst-array2.out): Remove rule.
56798         ($(objpfx)tst-array2-cmp.out): New rule.
56799         ($(objpfx)tst-array3.out): Remove rule.
56800         ($(objpfx)tst-array3-cmp.out): New rule.
56801         ($(objpfx)tst-array4.out): Remove rule.
56802         ($(objpfx)tst-array4-cmp.out): New rule.
56803         ($(objpfx)tst-array5.out): Remove rule.
56804         ($(objpfx)tst-array5-cmp.out): New rule.
56805         ($(objpfx)tst-array5-static.out): Remove rule.
56806         ($(objpfx)tst-array5-static-cmp.out): New rule.
56807         [$(run-built-tests) = yes] (tests): Depend on
56808         $(objpfx)order2-cmp.out.
56809         ($(objpfx)order2.out): Remove rule.
56810         ($(objpfx)order2-cmp.out): New rule.
56811         ($(objpfx)tst-initorder.out): Remove rule.
56812         [$(run-built-tests) = yes] (tests): Depend on
56813         $(objpfx)tst-initorder-cmp.out.
56814         ($(objpfx)tst-initorder-cmp.out): New rule.
56815         ($(objpfx)tst-initorder2.out): Remove rule.
56816         [$(run-built-tests) = yes] (tests): Depend on
56817         $(objpfx)tst-initorder2-cmp.out.
56818         ($(objpfx)tst-initorder2-cmp.out): New rule.
56819         [$(run-built-tests) = yes] (tests): Depend on
56820         $(objpfx)tst-unused-dep-cmp.out.
56821         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56822         ($(objpfx)tst-unused-dep-cmp.out): New rule.
56823         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56824         on $(objpfx)tst-setvbuf1-cmp.out.
56825         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56826         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56827         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56828         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56829         ($(objpfx)tst-svc.out): Remove rule.
56830         ($(objpfx)tst-svc-cmp.out): New rule.
56832 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
56834         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56835         * ctype/ctype.h [__USE_MISC]: Likewise.
56836         * dirent/dirent.h [__USE_MISC]: Likewise.
56837         * grp/grp.h [__USE_MISC]: Likewise.
56838         * io/fcntl.h [__USE_MISC]: Likewise.
56839         * io/sys/stat.h [__USE_MISC]: Likewise.
56840         * libio/stdio.h [__USE_MISC]: Likewise.
56841         * posix/unistd.h [__USE_MISC]: Likewise.
56842         * pwd/pwd.h [__USE_MISC]: Likewise.
56843         * stdlib.h [__USE_MISC]: Likewise.
56844         * string/bits/string2.h [__USE_MISC]: Likewise.
56845         * string/string.h [__USE_MISC]: Likewise.
56846         * time/time.h [__USE_MISC]: Likewise.
56848 2014-02-13  Andreas Schwab  <schwab@suse.de>
56850         [BZ #16574]
56851         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56852         second answer buffer if it was separately allocated.
56854 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
56856         * sysdeps/mips/math-tests.h: Include <features.h>.
56857         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56858         (ROUNDING_TESTS_long_double): Do not define.
56859         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56860         (EXCEPTION_TESTS_long_double): Likewise.
56861         * sysdeps/mips/mips64/libm-test-ulps: Update.
56863         * include/features.h (__USE_BSD): Remove macro definitions.
56864         (__USE_SVID): Likewise.
56865         (_BSD_SOURCE): Likewise.
56866         (_SVID_SOURCE): Likewise.
56867         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56868         from definition of _DEFAULT_SOURCE.
56869         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56870         [_DEFAULT_SOURCE].
56871         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56872         * bits/mman.h [__USE_BSD]: Likewise.
56873         * bits/termios.h [__USE_BSD]: Likewise.
56874         * bits/waitstatus.h [__USE_BSD]: Likewise.
56875         * ctype/ctype.h [__USE_SVID]: Likewise.
56876         * dirent/dirent.h [__USE_BSD]: Likewise.
56877         * grp/grp.h [__USE_SVID]: Likewise.
56878         [__USE_BSD]: Likewise.
56879         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56880         * io/fcntl.h [__USE_BSD]: Likewise.
56881         * io/ftw.h [__USE_BSD]: Likewise.
56882         * io/sys/stat.h [__USE_BSD]: Likewise.
56883         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56884         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56885         * libio/stdio.h [__USE_SVID]: Likewise.
56886         [__USE_BSD]: Likewise.
56887         * math/math.h [__USE_SVID]: Likewise.
56888         [__USE_BSD]: Likewise.
56889         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56890         * misc/bits/syslog.h [__USE_BSD]: Likewise.
56891         * misc/search.h [__USE_SVID]: Likewise.
56892         * misc/sys/mman.h [__USE_BSD]: Likewise.
56893         * misc/sys/syslog.h [__USE_BSD]: Likewise.
56894         * misc/sys/uio.h [__USE_BSD]: Likewise.
56895         * posix/bits/unistd.h [__USE_BSD]: Likewise.
56896         * posix/glob.h [__USE_BSD]: Likewise.
56897         * posix/regex.h [__USE_BSD]: Likewise.
56898         * posix/sys/types.h [__USE_BSD]: Likewise.
56899         [__USE_SVID]: Likewise.
56900         * posix/sys/utsname.h [__USE_SVID]: Likewise.
56901         * posix/sys/wait.h [__USE_BSD]: Likewise.
56902         [__USE_SVID]: Likewise.
56903         * posix/unistd.h [__USE_BSD]: Likewise.
56904         [__USE_SVID]: Likewise.
56905         * pwd/pwd.h [__USE_SVID]: Likewise.
56906         * resolv/netdb.h [__USE_BSD]: Likewise.
56907         * setjmp/setjmp.h [__USE_BSD]: Likewise.
56908         * signal/signal.h [__USE_BSD]: Likewise.
56909         [__USE_SVID]: Likewise.
56910         * socket/sys/socket.h [__USE_BSD]: Likewise.
56911         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56912         * stdlib/stdlib.h [__USE_BSD]: Likewise.
56913         [__USE_SVID]: Likewise.
56914         * string/bits/string2.h [__USE_BSD]: Likewise.
56915         [__USE_SVID]: Likewise.
56916         * string/bits/string3.h [__USE_BSD]: Likewise.
56917         * string/endian.h [__USE_BSD]: Likewise.
56918         * string/string.h [__USE_SVID]: Likewise.
56919         [__USE_BSD]: Likewise.
56920         * string/strings.h [__USE_BSD]: Likewise.
56921         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56922         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56923         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56924         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56925         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56926         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56927         Likewise.
56928         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56929         Likewise.
56930         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56931         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56932         Likewise.
56933         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56934         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56935         Likewise.
56936         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56937         Likewise.
56938         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56939         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56940         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56941         Likewise.
56942         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56943         Likewise.
56944         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56945         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56946         * termios/termios.h [__USE_BSD]: Likewise.
56947         * time/sys/time.h [__USE_BSD]: Likewise.
56948         * time/time.h [__USE_BSD]: Likewise.
56949         [__USE_SVID]: Likewise.
56951         * Makefile (subdir_targets): Remove subdir_lint.out.
56953         * stdio-common/Makefile (do-tst-unbputc): Remove target.
56954         (do-tst-printf): Likewise.
56955         (tests): Depend directly on $(objpfx)tst-unbputc.out and
56956         $(objpfx)tst-printf.out.
56958         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56960         * Makerules (check-abi-%): Change target to
56961         $(objpfx)check-abi-%.out.
56962         (check-abi target): Update dependencies.
56963         (check-abi-pattern variable): Redirect output of diff to $@.
56964         (check-abi variable): Likewise.
56965         * elf/Makefile (check-abi): Update dependencies.
56967         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56968         unused.
56969         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56970         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56971         subnormal range.
56972         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56973         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56974         value has largest subnormal exponent.
56975         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56976         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56977         * sysdeps/aarch64/soft-fp/sfp-machine.h
56978         (_FP_TININESS_AFTER_ROUNDING): New macro.
56979         * sysdeps/alpha/soft-fp/sfp-machine.h
56980         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56981         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56982         Likewise.
56983         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56984         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56985         * sysdeps/mips/soft-fp/sfp-machine.h
56986         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56987         * sysdeps/powerpc/soft-fp/sfp-machine.h
56988         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56989         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56990         Likewise.
56991         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56992         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56993         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56994         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56995         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56996         Likewise.
56998 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
57000         [BZ #16545]
57001         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57002         model 1.
57004 2014-02-12  Richard Henderson  <rth@redhat.com>
57006         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57007         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57008         * sysdeps/unix/sysv/linux/alpha: Move directory from
57009         ports/sysdeps/unix/sysv/linux/alpha.
57010         * README: Update listing for alpha-*-linux-gnu.
57012 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
57014         * include/features.h: Update comment documenting feature test
57015         macros.
57016         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
57017         _DEFAULT_SOURCE.
57018         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57019         (_SVID_SOURCE): Likewise.
57020         (_DEFAULT_SOURCE): Update description of default features.
57021         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57022         with _GNU_SOURCE.
57023         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57024         (S_ISVTX): Likewise.
57025         * manual/math.texi (Mathematical Constants): Likewise.
57026         * manual/signal.texi (Interrupted Primitives): Likewise.
57027         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57028         * math/test-matherr.c (_SVID_SOURCE): Do not define.
57029         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57030         Don't refer to _SVID_SOURCE in warning text.
57032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57034         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57035         already defined.
57036         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57037         * sysdeps/mips/dl-lookup.c: Remove.
57038         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57040 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
57042         [BZ #16447]
57043         * math/auto-libm-test-in: Add testcase for expl.
57044         * math/auto-libm-test-out: Regenerate.
57045         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57046         calculation of unsafe.
57047         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57049 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
57051         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57052         * sysdeps/unix/sysv/linux/aarch64: Move directory from
57053         ports/sysdeps/unix/sysv/linux/aarch64.
57054         * README: Update listing for aarch64*-*-linux-gnu.
57056 2014-02-11  Will Newton  <will.newton@linaro.org>
57058         * manual/probes.texi (Mathematical Function Probes): Use
57059         "triggered" instead of "hit".
57061         * manual/probes.texi (Internal Probes): Add documentation
57062         of setjmp, longjmp and longjmp_target probes.
57064         * include/stap-probe.h: Add comment about probe argument
57065         format.
57067         * malloc/mtrace.c (attribute_hidden): Remove unused macro
57068         definition.  (tr_where, tr_freehook, tr_mallochook,
57069         tr_reallochook, tr_memalignhook): Use ANSI protoype.
57071 2014-02-11  David S. Miller  <davem@davemloft.net>
57073         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57074         processing int_tests.
57076 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
57078         * sysdeps/mips: Move directory from ports/sysdeps/mips.
57079         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57080         * sysdeps/unix/sysv/linux/mips: Move directory from
57081         ports/sysdeps/unix/sysv/linux/mips.
57082         * README: Update listing for mips-*-linux-gnu and
57083         mips64-*-linux-gnu.
57085 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
57087         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57088         * sysdeps/unix/sysv/linux/m68k: Move directory from
57089         ports/sysdeps/unix/sysv/linux/m68k.
57090         * README: Update listing for m68k-*-linux-gnu.
57092 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
57094         * sysdeps/tile: Move directory from ports/sysdeps/tile.
57095         * sysdeps/unix/sysv/linux/generic: Move directory from
57096         ports/sysdeps/unix/sysv/linux/generic.
57097         * sysdeps/unix/sysv/linux/tile: Move directory from
57098         ports/sysdeps/unix/sysv/linux/tile.
57099         * README: Update listing for tile*-*-linux-gnu.
57101 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
57103         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57104         __builtin_expect.
57105         * benchtests/bench-memmem.c (simple_memmem): Likewise.
57106         * catgets/open_catalog.c (__open_catalog): Likewise.
57107         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57108         * debug/confstr_chk.c: Likewise.
57109         * debug/fread_chk.c (__fread_chk): Likewise.
57110         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57111         * debug/getgroups_chk.c: Likewise.
57112         * debug/mbsnrtowcs_chk.c: Likewise.
57113         * debug/mbsrtowcs_chk.c: Likewise.
57114         * debug/mbstowcs_chk.c: Likewise.
57115         * debug/memcpy_chk.c: Likewise.
57116         * debug/memmove_chk.c: Likewise.
57117         * debug/mempcpy_chk.c: Likewise.
57118         * debug/memset_chk.c: Likewise.
57119         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57120         * debug/strcat_chk.c (__strcat_chk): Likewise.
57121         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57122         * debug/strncat_chk.c (__strncat_chk): Likewise.
57123         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57124         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57125         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57126         * debug/wcpncpy_chk.c: Likewise.
57127         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57128         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57129         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57130         * debug/wcsncpy_chk.c: Likewise.
57131         * debug/wcsnrtombs_chk.c: Likewise.
57132         * debug/wcsrtombs_chk.c: Likewise.
57133         * debug/wcstombs_chk.c: Likewise.
57134         * debug/wmemcpy_chk.c: Likewise.
57135         * debug/wmemmove_chk.c: Likewise.
57136         * debug/wmempcpy_chk.c: Likewise.
57137         * debug/wmemset_chk.c: Likewise.
57138         * dirent/scandirat.c (SCANDIRAT): Likewise.
57139         * dlfcn/dladdr1.c (dladdr1): Likewise.
57140         * dlfcn/dladdr.c (dladdr): Likewise.
57141         * dlfcn/dlclose.c (dlclose_doit): Likewise.
57142         * dlfcn/dlerror.c (__dlerror): Likewise.
57143         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57144         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57145         * dlfcn/dlopen.c (dlopen_doit): Likewise.
57146         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57147         * dlfcn/dlsym.c (dlsym_doit): Likewise.
57148         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57149         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57150         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57151         Likewise.
57152         * elf/dl-conflict.c: Likewise.
57153         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57154         * elf/dl-dst.h: Likewise.
57155         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57156         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57157         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57158         * elf/dl-init.c (call_init, _dl_init): Likewise.
57159         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57160         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57161         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57162         Likewise.
57163         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57164         Likewise.
57165         * elf/dl-minimal.c (__libc_memalign): Likewise.
57166         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57167         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57168         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57169         * elf/dl-sym.c (do_sym): Likewise.
57170         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57171         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57172         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57173         * elf/dl-writev.h (_dl_writev): Likewise.
57174         * elf/ldconfig.c (search_dir): Likewise.
57175         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57176         (dl_main): Likewise.
57177         * elf/setup-vdso.h (setup_vdso): Likewise.
57178         * grp/compat-initgroups.c (compat_call): Likewise.
57179         * grp/fgetgrent.c (fgetgrent): Likewise.
57180         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57181         * grp/putgrent.c (putgrent): Likewise.
57182         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57183         Likewise.
57184         * hurd/hurdinit.c: Likewise.
57185         * iconvdata/8bit-gap.c (struct): Likewise.
57186         * iconvdata/ansi_x3.110.c : Likewise.
57187         * iconvdata/big5.c : Likewise.
57188         * iconvdata/big5hkscs.c : Likewise.
57189         * iconvdata/cp1255.c: Likewise.
57190         * iconvdata/cp1258.c : Likewise.
57191         * iconvdata/cp932.c : Likewise.
57192         * iconvdata/euc-cn.c: Likewise.
57193         * iconvdata/euc-jisx0213.c : Likewise.
57194         * iconvdata/euc-jp.c: Likewise.
57195         * iconvdata/euc-jp-ms.c : Likewise.
57196         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57197         * iconvdata/gb18030.c : Likewise.
57198         * iconvdata/gbbig5.c (const): Likewise.
57199         * iconvdata/gbgbk.c: Likewise.
57200         * iconvdata/gbk.c : Likewise.
57201         * iconvdata/ibm1364.c : Likewise.
57202         * iconvdata/ibm930.c : Likewise.
57203         * iconvdata/ibm932.c: Likewise.
57204         * iconvdata/ibm933.c : Likewise.
57205         * iconvdata/ibm935.c : Likewise.
57206         * iconvdata/ibm937.c : Likewise.
57207         * iconvdata/ibm939.c : Likewise.
57208         * iconvdata/ibm943.c: Likewise.
57209         * iconvdata/iso_11548-1.c: Likewise.
57210         * iconvdata/iso-2022-cn.c : Likewise.
57211         * iconvdata/iso-2022-cn-ext.c : Likewise.
57212         * iconvdata/iso-2022-jp-3.c: Likewise.
57213         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57214         * iconvdata/iso-2022-kr.c : Likewise.
57215         * iconvdata/iso646.c (gconv_end): Likewise.
57216         * iconvdata/iso_6937-2.c : Likewise.
57217         * iconvdata/iso_6937.c : Likewise.
57218         * iconvdata/iso8859-1.c: Likewise.
57219         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57220         * iconvdata/shift_jisx0213.c : Likewise.
57221         * iconvdata/sjis.c : Likewise.
57222         * iconvdata/t.61.c : Likewise.
57223         * iconvdata/tcvn5712-1.c : Likewise.
57224         * iconvdata/tscii.c: Likewise.
57225         * iconvdata/uhc.c : Likewise.
57226         * iconvdata/unicode.c (gconv_end): Likewise.
57227         * iconvdata/utf-16.c (gconv_end): Likewise.
57228         * iconvdata/utf-32.c (gconv_end): Likewise.
57229         * iconvdata/utf-7.c (base64): Likewise.
57230         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57231         * iconv/gconv_close.c (__gconv_close): Likewise.
57232         * iconv/gconv_open.c (__gconv_open): Likewise.
57233         * iconv/gconv_simple.c (internal_ucs4_loop_single)
57234         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57235         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57236         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57237         (ucs4le_internal_loop_single): Likewise.
57238         * iconv/iconv.c (iconv): Likewise.
57239         * iconv/iconv_close.c: Likewise.
57240         * iconv/loop.c (SINGLE): Likewise.
57241         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57242         * include/atomic.h: Likewise.
57243         * inet/inet6_option.c (option_alloc): Likewise.
57244         * intl/bindtextdom.c (set_binding_values): Likewise.
57245         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57246         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57247         * intl/localealias.c (read_alias_file): Likewise.
57248         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57249         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57250         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57251         * libio/fmemopen.c (fmemopen): Likewise.
57252         * libio/iofgets.c (_IO_fgets): Likewise.
57253         * libio/iofgets_u.c (fgets_unlocked): Likewise.
57254         * libio/iofgetws.c (fgetws): Likewise.
57255         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57256         * libio/iogetdelim.c (_IO_getdelim): Likewise.
57257         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57258         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57259         * locale/findlocale.c (_nl_find_locale): Likewise.
57260         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57261         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57262         Likewise.
57263         * locale/setlocale.c (setlocale): Likewise.
57264         * login/programs/pt_chown.c (main): Likewise.
57265         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57266         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57267         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57268         (mmap, mmap64, mremap, munmap): Likewise.
57269         * math/e_exp2l.c: Likewise.
57270         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57271         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57272         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57273         * math/s_catan.c (__catan): Likewise.
57274         * math/s_catanf.c (__catanf): Likewise.
57275         * math/s_catanh.c (__catanh): Likewise.
57276         * math/s_catanhf.c (__catanhf): Likewise.
57277         * math/s_catanhl.c (__catanhl): Likewise.
57278         * math/s_catanl.c (__catanl): Likewise.
57279         * math/s_ccosh.c (__ccosh): Likewise.
57280         * math/s_ccoshf.c (__ccoshf): Likewise.
57281         * math/s_ccoshl.c (__ccoshl): Likewise.
57282         * math/s_cexp.c (__cexp): Likewise.
57283         * math/s_cexpf.c (__cexpf): Likewise.
57284         * math/s_cexpl.c (__cexpl): Likewise.
57285         * math/s_clog10.c (__clog10): Likewise.
57286         * math/s_clog10f.c (__clog10f): Likewise.
57287         * math/s_clog10l.c (__clog10l): Likewise.
57288         * math/s_clog.c (__clog): Likewise.
57289         * math/s_clogf.c (__clogf): Likewise.
57290         * math/s_clogl.c (__clogl): Likewise.
57291         * math/s_csin.c (__csin): Likewise.
57292         * math/s_csinf.c (__csinf): Likewise.
57293         * math/s_csinh.c (__csinh): Likewise.
57294         * math/s_csinhf.c (__csinhf): Likewise.
57295         * math/s_csinhl.c (__csinhl): Likewise.
57296         * math/s_csinl.c (__csinl): Likewise.
57297         * math/s_csqrt.c (__csqrt): Likewise.
57298         * math/s_csqrtf.c (__csqrtf): Likewise.
57299         * math/s_csqrtl.c (__csqrtl): Likewise.
57300         * math/s_ctan.c (__ctan): Likewise.
57301         * math/s_ctanf.c (__ctanf): Likewise.
57302         * math/s_ctanh.c (__ctanh): Likewise.
57303         * math/s_ctanhf.c (__ctanhf): Likewise.
57304         * math/s_ctanhl.c (__ctanhl): Likewise.
57305         * math/s_ctanl.c (__ctanl): Likewise.
57306         * math/w_pow.c: Likewise.
57307         * math/w_powf.c: Likewise.
57308         * math/w_powl.c: Likewise.
57309         * math/w_scalb.c (sysv_scalb): Likewise.
57310         * math/w_scalbf.c (sysv_scalbf): Likewise.
57311         * math/w_scalbl.c (sysv_scalbl): Likewise.
57312         * misc/error.c (error_tail): Likewise.
57313         * misc/pselect.c (__pselect): Likewise.
57314         * nis/nis_callback.c (__nis_create_callback): Likewise.
57315         * nis/nis_call.c (__nisfind_server): Likewise.
57316         * nis/nis_creategroup.c (nis_creategroup): Likewise.
57317         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57318         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57319         * nis/nis_getservlist.c (nis_getservlist): Likewise.
57320         * nis/nis_lookup.c (nis_lookup): Likewise.
57321         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57322         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57323         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57324         * nis/nis_xdr.c (xdr_endpoint): Likewise.
57325         * nis/nss_compat/compat-grp.c (getgrent_next_file)
57326         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57327         * nis/nss_compat/compat-initgroups.c (add_group)
57328         (internal_getgrent_r): Likewise.
57329         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57330         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57331         * nis/nss_compat/compat-spwd.c (getspent_next_file)
57332         (internal_getspnam_r): Likewise.
57333         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57334         (_nss_nis_getaliasbyname_r): Likewise.
57335         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57336         (_nss_nis_getntohost_r): Likewise.
57337         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57338         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57339         (_nss_nis_getgrgid_r): Likewise.
57340         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57341         (internal_nis_gethostent_r, internal_gethostbyname2_r)
57342         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57343         (_nss_nis_gethostbyname4_r): Likewise.
57344         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57345         (initgroups_netid): Likewise.
57346         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57347         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57348         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57349         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57350         (_nss_nis_getprotobynumber_r): Likewise.
57351         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57352         (_nss_nis_getsecretkey): Likewise.
57353         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57354         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57355         (_nss_nis_getpwuid_r): Likewise.
57356         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57357         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57358         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57359         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57360         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57361         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57362         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57363         Likewise.
57364         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57365         (_nss_nisplus_getntohost_r): Likewise.
57366         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57367         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57368         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57369         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57370         Likewise.
57371         * nis/nss_nisplus/nisplus-initgroups.c
57372         (_nss_nisplus_initgroups_dyn): Likewise.
57373         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57374         (_nss_nisplus_getnetbyaddr_r): Likewise.
57375         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57376         (_nss_nisplus_getprotobynumber_r): Likewise.
57377         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57378         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57379         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57380         Likewise.
57381         * nis/nss_nisplus/nisplus-service.c
57382         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57383         (_nss_nisplus_getservbyport_r): Likewise.
57384         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57385         (_nss_nisplus_getspnam_r): Likewise.
57386         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57387         Likewise.
57388         * nscd/aicache.c (addhstaiX): Likewise.
57389         * nscd/cache.c (cache_search, prune_cache): Likewise.
57390         * nscd/connections.c (register_traced_file, send_ro_fd)
57391         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57392         (main_loop_epoll): Likewise.
57393         * nscd/grpcache.c (addgrbyX): Likewise.
57394         * nscd/hstcache.c (addhstbyX): Likewise.
57395         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57396         * nscd/mem.c (gc, mempool_alloc): Likewise.
57397         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57398         (addinnetgrX): Likewise.
57399         * nscd/nscd-client.h (__nscd_acquire_maplock)
57400         (__nscd_drop_map_ref): Likewise.
57401         * nscd/nscd_getai.c (__nscd_getai): Likewise.
57402         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57403         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57404         Likewise.
57405         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57406         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57407         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57408         (__nscd_get_map_ref): Likewise.
57409         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57410         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57411         Likewise.
57412         * nscd/pwdcache.c (addpwbyX): Likewise.
57413         * nscd/selinux.c (preserve_capabilities): Likewise.
57414         * nscd/servicescache.c (addservbyX): Likewise.
57415         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57416         * posix/fnmatch.c (fnmatch): Likewise.
57417         * posix/getopt.c (_getopt_internal_r): Likewise.
57418         * posix/glob.c (glob, glob_in_dir): Likewise.
57419         * posix/wordexp.c (exec_comm_child): Likewise.
57420         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57421         (getanswer_r, gaih_getanswer_slice): Likewise.
57422         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57423         * resolv/res_init.c: Likewise.
57424         * resolv/res_mkquery.c (res_nmkquery): Likewise.
57425         * resolv/res_query.c (__libc_res_nquery): Likewise.
57426         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57427         Likewise.
57428         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57429         * stdio-common/perror.c (perror): Likewise.
57430         * stdio-common/printf_fp.c (___printf_fp): Likewise.
57431         * stdio-common/tmpnam.c (tmpnam): Likewise.
57432         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57433         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57434         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57435         Likewise.
57436         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57437         * stdlib/putenv.c (putenv): Likewise.
57438         * stdlib/setenv.c (__add_to_environ): Likewise.
57439         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57440         * stdlib/strtol_l.c (INTERNAL): Likewise.
57441         * string/memmem.c (memmem): Likewise.
57442         * string/strerror.c (strerror): Likewise.
57443         * string/strnlen.c (__strnlen): Likewise.
57444         * string/test-memmem.c (simple_memmem): Likewise.
57445         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57446         * sunrpc/pm_getport.c (__get_socket): Likewise.
57447         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57448         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57449         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57450         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57451         Likewise.
57452         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57453         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57454         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57455         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57456         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57457         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57458         Likewise.
57459         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57460         Likewise.
57461         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57462         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57463         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57464         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57465         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57466         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57467         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57468         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57469         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57470         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57471         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57472         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57473         Likewise.
57474         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57475         Likewise.
57476         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57477         Likewise.
57478         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57479         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57480         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57481         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57482         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57483         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57484         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57485         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57486         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57487         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57488         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57489         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57490         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57491         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57493         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57494         Likewise.
57495         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57496         Likewise.
57497         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57498         Likewise.
57499         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57500         Likewise.
57501         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57502         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57503         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57504         Likewise.
57505         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57506         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57507         * sysdeps/posix/opendir.c (__opendirat): Likewise.
57508         * sysdeps/posix/sleep.c: Likewise.
57509         * sysdeps/posix/tempname.c: Likewise.
57510         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57511         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57512         Likewise.
57513         * sysdeps/powerpc/powerpc32/dl-machine.h
57514         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57515         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57516         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57517         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57518         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57519         Likewise.
57520         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57521         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57522         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57523         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57524         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57525         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57526         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57527         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57528         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57529         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57530         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57531         (elf_machine_lazy_rel): Likewise.
57532         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57533         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57534         (elf_machine_lazy_rel): Likewise.
57535         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57536         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57537         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57538         * sysdeps/unix/grantpt.c (grantpt): Likewise.
57539         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57540         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57541         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57542         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57543         Likewise.
57544         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57545         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57546         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57547         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57548         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57549         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57550         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57551         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57552         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57553         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57554         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57555         Likewise.
57556         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57557         (__posix_fallocate64_l64): Likewise.
57558         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57559         (posix_fallocate): Likewise.
57560         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57561         Likewise.
57562         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57563         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57564         (getifaddrs_internal): Likewise.
57565         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57566         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57567         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57568         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57569         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57570         (__posix_fallocate64_l64): Likewise.
57571         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57572         Likewise.
57573         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57574         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57575         (__get_clockfreq): Likewise.
57576         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57577         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57578         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57579         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57580         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57581         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57582         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57583         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57584         Likewise.
57585         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57586         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57587         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57588         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57589         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57590         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57591         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57592         Likewise.
57593         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57594         (posix_fallocate): Likewise.
57595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57596         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57597         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57598         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57599         (elf_machine_rela, elf_machine_rela_relative)
57600         (elf_machine_lazy_rel): Likewise.
57601         * time/asctime.c (asctime_internal): Likewise.
57602         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57603         * time/tzset.c (__tzset_parse_tz): Likewise.
57604         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57605         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57606         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57607         * wcsmbs/wcsmbsload.h: Likewise.
57609         [BZ #15894]
57610         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57612         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57613         (arena_get2): Remove THREAD_STATS conditionals.
57614         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57615         (__malloc_stats, int): Likewise.
57617 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57619         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57620         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57622         * manual/setjmp.texi: Fix typos/grammar errors.
57624         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57625         Only return early when n is <= 0.  Delete unused return statement.
57627         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57628         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57629         * debug/tst-longjmp_chk3.c: New file.
57631         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57632         (test_main): Replace code with set_fortify_handler call.
57633         * debug/test-strcpy_chk.c: Likewise.
57634         * debug/tst-chk1.c: Likewise.
57635         * debug/tst-longjmp_chk.c: Likewise.
57636         * test-skeleton.c: Include fcntl.h & paths.h
57637         (set_fortify_handler): Define.
57639         * debug/tst-longjmp_chk.c: Add header comment and include
57640         ../test-skeleton.c.
57641         (do_test): Mark static.
57642         (TEST_FUNCTION): Define.
57644         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57645         (IP_PMTUDISC_INTERFACE): Likewise.
57646         (IP_MULTICAST_IF): Likewise.
57647         (IP_MULTICAST_TTL): Likewise.
57648         (IP_MULTICAST_LOOP): Likewise.
57649         (IP_ADD_MEMBERSHIP): Likewise.
57650         (IP_DROP_MEMBERSHIP): Likewise.
57651         (IP_UNBLOCK_SOURCE): Likewise.
57652         (IP_BLOCK_SOURCE): Likewise.
57653         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57654         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57655         (IP_MSFILTER): Likewise.
57656         (MCAST_JOIN_GROUP): Likewise.
57657         (MCAST_BLOCK_SOURCE): Likewise.
57658         (MCAST_UNBLOCK_SOURCE): Likewise.
57659         (MCAST_LEAVE_GROUP): Likewise.
57660         (MCAST_JOIN_SOURCE_GROUP): Likewise.
57661         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57662         (MCAST_MSFILTER): Likewise.
57663         (IP_MULTICAST_ALL): Likewise.
57664         (IP_UNICAST_IF): Likewise.
57666         * timezone/Makefile: Delete $(have-ksh) check.
57667         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57668         * timezone/tzselect.ksh: Add +x mode bits.
57670         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57671         (ANON_INODE_FS_MAGIC): Likewise.
57672         (BDEVFS_MAGIC): Likewise.
57673         (BINFMTFS_MAGIC): Likewise.
57674         (BTRFS_TEST_MAGIC): Likewise.
57675         (CRAMFS_MAGIC_WEND): Likewise.
57676         (DEBUGFS_MAGIC): Likewise.
57677         (ECRYPTFS_SUPER_MAGIC): Likewise.
57678         (EXT3_SUPER_MAGIC): Likewise.
57679         (EXT4_SUPER_MAGIC): Likewise.
57680         (FUTEXFS_SUPER_MAGIC): Likewise.
57681         (HOSTFS_SUPER_MAGIC): Likewise.
57682         (HUGETLBFS_MAGIC): Likewise.
57683         (MINIX3_SUPER_MAGIC): Likewise.
57684         (MTD_INODE_FS_MAGIC): Likewise.
57685         (NILFS_SUPER_MAGIC): Likewise.
57686         (OPENPROM_SUPER_MAGIC): Likewise.
57687         (PIPEFS_MAGIC): Likewise.
57688         (PSTOREFS_MAGIC): Likewise.
57689         (QNX6_SUPER_MAGIC): Likewise.
57690         (RAMFS_MAGIC): Likewise.
57691         (REISERFS_SUPER_MAGIC_STRING): Likewise.
57692         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57693         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57694         (SECURITYFS_MAGIC): Likewise.
57695         (SELINUX_MAGIC): Likewise.
57696         (SMACK_MAGIC): Likewise.
57697         (SOCKFS_MAGIC): Likewise.
57698         (SQUASHFS_MAGIC): Likewise.
57699         (STACK_END_MAGIC): Likewise.
57700         (TMPFS_MAGIC): Likewise.
57701         (USBDEVICE_SUPER_MAGIC): Likewise.
57702         (V9FS_MAGIC): Likewise.
57703         (XENFS_SUPER_MAGIC): Likewise.
57704         (CRAMFS_MAGIC): Fix typo in comment.
57705         (EXT2_SUPER_MAGIC): Update comment.
57706         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57708 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
57710         * sysdeps/arm: Move directory from ports/sysdeps/arm.
57711         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57712         * sysdeps/unix/sysv/linux/arm: Move directory from
57713         ports/sysdeps/unix/sysv/linux/arm.
57714         * README: Update listing for arm-*-linux-gnueabi.
57716         * README: Remove mention of am33.
57718 2014-02-07  Roland McGrath  <roland@hack.frob.com>
57720         * bits/sigset.h (__sigemptyset): Use a statement expression rather
57721         than the comma operator, to avoid "rhs of comma has no effect"
57722         compiler warnings.
57723         (__sigfillset, __sigandset, __sigorset): Likewise.
57724         * include/signal.h (__sigemptyset): Likewise.
57725         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57727 2014-02-07  Allan McRae  <allan@archlinux.org>
57729         * version.h (RELEASE): Set to "development".
57730         (VERSION): Set to "2.19.90"
57731         * NEWS: Add 2.20 section.
57733 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
57735         [BZ #16529]
57736         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57738 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57740         * manual/contrib.texi: Update entry for Carlos O'Donell,
57741         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57743 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
57745         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57747         * sysdeps/unix/sysv/linux/kernel-features.h
57748         [__LINUX_KERNEL_VERSION >= 0x020621]
57749         (__ASSUME_PROC_PID_TASK_COMM): Define.
57751 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57753         [BZ #16398]
57754         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57755         conversion when destination buffer does not have enough space.
57756         * libio/tst-ftell-partial-wide.c: New test case.
57757         * libio/Makefile (tests): Add tst-ftell-partial-wide.
57759         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57760         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
57761         Leonard and Allan McRae.
57763 2014-02-04  David S. Miller  <davem@davemloft.net>
57765         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57766         32-bit.
57768 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57771         New file
57772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57773         New file
57774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57775         New file.
57776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57777         New file.
57778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57779         New file.
57780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57781         New file.
57782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57783         New file.
57784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57785         New file.
57786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57787         New file.
57788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57789         New file.
57790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57791         New file.
57792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57793         New file.
57794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57795         New file.
57797 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57799         * nptl/shlib-versions: Change powerpc*le start to 2.17.
57800         * shlib-versions: Likewise.
57802 2014-02-04  Roland McGrath  <roland@hack.frob.com>
57803             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57805         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57806         (abilist-pattern): New variable, set to %-le.abilist.
57808         * Makerules (abilist-pattern): New variable.
57809         (vpath): Use $(abilist-pattern) in place of %.abilist.
57810         (check-abi-% pattern rule): Likewise.
57811         (check-abi, update-abi): Likewise.
57813 2014-02-04  Eric Wong  <normalperson@yhbt.net>
57815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57817 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
57819         * manual/startup.texi: Add next, previous, and top entries for
57820         the `Program Arguments' and `Environment Variables' nodes.
57822 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
57824         * manual/macros.texi: Add comments before MTASC-safety macros.
57826         * manual/users.texi: Document MTASC-safety properties.
57828         * manual/threads.texi (pthread_key_create, pthread_key_delete)
57829         (pthread_getspecific, pthread_setspecific): Format with
57830         @deftypefun, and add @safety note.
57831         * manual/signal.texi: Move comments that analyze the above
57832         functions to their home place.
57834 2014-02-03  Allan McRae  <allan@archlinux.org>
57836         * po/sl.po: Update Slovenian translation from translation project.
57838 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
57840         * manual/time.texi (timegm): Add missing blank after @c.
57841         Reported by Joseph Myers <joseph@codesourcery.com>.
57843 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
57845         * manual/check-safety.sh: New.
57846         * manual/Makefile ($(objpfx)stamp-summary): Run it.
57848         * manual/terminal.texi: Document MTASC-safety properties.
57850         * manual/filesys.texi: Document MTASC-safety properties.
57852         * manual/errno.texi: Document MTASC-safety properties.
57854         * manual/intro.texi: Document safety identifiers and
57855         conditionals.
57857         * manual/string.texi (wcstok): Fix prototype.
57858         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57860         * manual/time.texi: Document MTASC-safety properties.
57862         * manual/string.texi: Document MTASC-safety properties.
57864         * manual/threads.texi: Document MTASC-safety properties.
57866         * manual/stdio.texi: Document MTASC-safety properties.
57868         * manual/syslog.texi: Document MTASC-safety properties.
57870         * manual/sysinfo.texi: Document MTASC-safety properties.
57872         * manual/startup.texi: Document MTASC-safety properties.
57874         * manual/socket.texi: Document MTASC-safety properties.
57876         * manual/signal.texi: Document MTASC-safety properties.
57878 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
57880         * manual/setjmp.texi: Document MTASC-safety properties.
57882         * manual/search.texi: Document MTASC-safety properties.
57884         * manual/resource.texi: Document MTASC-safety properties.
57886         * manual/process.texi: Document MTASC-safety properties.
57888         * manual/platform.texi: Document MTASC-safety properties.
57890         * manual/pipe.texi: Document MTASC-safety properties.
57892         * manual/pattern.texi: Document MTASC-safety properties.
57894         * manual/message.texi: Document MTASC-safety properties.
57896         [BZ #12751]
57897         * manual/memory.texi: Document MTASC-safety properties.
57899         * manual/math.texi: Document MTASC-safety properties.
57901         * manual/locale.texi: Document MTASC-safety properties.
57903         * manual/llio.texi: Document MTASC-safety properties.
57905         * manual/libdl.texi: New.
57907         * manual/lang.texi: Document MTASC-safety properties.
57909         * manual/job.texi: Document MTASC-safety properties.
57911         * manual/getopt.texi: Document MTASC-safety properties.
57913         * manual/ctype.texi: Document MTASC-safety properties.
57915 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
57917         [BZ #16046]
57918         * csu/libc-tls.c (static_map): Remove variable.
57919         (__libc_setup_tls): Use main executable's link map for TLS data.
57920         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57921         casing for LM_ID_BASE and GL(dl_nns).
57922         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57923         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
57924         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57925         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57926         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57927         member.
57928         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57929         l_phnum members.
57931 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
57933         * manual/debug.texi: Document MTASC-safety properties.
57935 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
57937         [BZ #16510]
57938         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57939         of __x86_64__ when disabling x87 inline functions.
57941 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
57943         * manual/charset.texi: Document MTASC-safety properties.
57945         * manual/crypt.texi: Document MTASC-safety properties.
57947         * manual/conf.texi: Document MTASC-safety properties.
57949         * manual/arith.texi: Document MTASC-safety properties.
57951         * manual/argp.texi: Document MTASC-safety properties.
57953         * manual/macros.texi: Introduce macros to document multi
57954         thread, asynchronous signal and asynchronous cancellation
57955         safety properties.
57956         * manual/intro.texi: Introduce the properties themselves.
57958 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57960         * sysdeps/sh/sh4/Makefile: New file.
57962 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
57964         * math/gen-libm-test.pl ($srcdir): New variable.
57965         ($auto_input): Use it.
57967 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57969         [BZ #16506]
57970         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57971         access beyond array bounds when parsing netgroups file.
57973         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57974         the old buffer before realloc.
57976 2014-01-27  Allan McRae  <allan@archlinux.org>
57978         * po/fr.po: Update French translation from translation project.
57980 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57982         * sysdeps/sh/libm-test-ulps: Regenerate.
57984 2014-01-24  David S. Miller  <davem@davemloft.net>
57986         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57988 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57990         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57991         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57993 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57995         [BZ #16474]
57996         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57997         string pointers after reallocation.
57999 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58001         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58002         __SH4A__ instead of __SH_FPU_ANY__.
58004 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58006         * sysdeps/sh/fpu_control.h: New file.
58007         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58008         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58009         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58010         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58011         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58012         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58013         * sysdeps/sh/sys/ucontext.h: Remove.
58014         * sysdeps/sh/sys: Remove directory.
58016 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58018         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58019         s390/sys/ucontext.h.
58020         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58021         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58023 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
58025         [BZ #15605]
58026         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58028 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58030         [BZ #16431]
58031         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58032         Adjust the vDSO correctly for internal calls.
58033         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58035 2014-01-20  Allan McRae  <allan@archlinux.org>
58037         * po/ca.po: Update Catalan translation from translation project.
58039 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
58041         * sysdeps/s390/sotruss-lib.c: New file.
58043 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58045         [BZ #16430]
58046         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58047         (__GI___gettimeofday): Alias for a different internal symbol to avoid
58048         local calls issues by not having a PLT stub required for IFUNC calls.
58049         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58051 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
58053         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58054         * math/test-fpucw-static.c: Likewise.
58056 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58058         [BZ #16453]
58059         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58061 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58063         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58064         implementation for powerpc.
58066 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
58068         [BZ #14782]
58069         * sysdeps/posix/system.c (__libc_system): Do not enable
58070         asynchronous cancellation.
58072 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58074         [BZ #16427]
58075         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58076         handling only for numbers special also in the IEEE case.
58078 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58080         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58082 2014-01-11  Allan McRae  <allan@archlinux.org>
58084         * po/bg.po: Update Bulgarian translation from translation project.
58086         * po/de.po: Update German translation from translation project.
58088 2014-01-10  Roland McGrath  <roland@hack.frob.com>
58090         * sysdeps/generic/gcc-compat.h: New file.
58092 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58094         * benchtests/asin-inputs: Correct slow inputs.
58095         * benchtests/acos-inputs: Likewise.
58097 2014-01-10  Allan McRae  <allan@archlinux.org>
58099         * po:sv.po: Update Swedish translation from translation project.
58101         * po/vi.po: Update Vietnamese translation from translation project.
58103         * po/eo.po: Update Esperanto translation from translation project.
58105         * po/cs.po: Update Czech translation from translation project.
58107         * po/nl.po: Update Dutch translation from translation project.
58109         * po/pl.po: Update Polish translation from translation project.
58111         * po/ru.po: Update Russian translation from translation project.
58113         * po/uk.po: Update Ukrainian translation from translation project.
58115 2014-01-08  Brooks Moses  <bmoses@google.com>
58117         * elf/dl-load.c: Fix comment typo.
58119 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
58121         * po/header.pot: Rename to...
58122         * po/pot.header: ... this.
58123         * po/Makefile: Use pot.header.
58125 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
58126             Maxim Kuvyrkov  <maxim@kugelworks.com>
58128         [BZ #16394]
58129         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58130         SRC and DEST against LEN.
58132 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58134         [BZ #16414]
58135         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58136         implementation.
58137         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58139 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58143 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
58145         [BZ #16408]
58146         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58147         for large positive arguments.
58149 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
58151         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58153         * math/auto-libm-test-in: Mark various tests with
58154         xfail-rounding:ldbl-128ibm.
58155         * math/auto-libm-test-out: Regenerated.
58157         [BZ #16407]
58158         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58159         Increase overflow threshold.
58161 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
58163         [BZ #14286]
58164         * stdio-common/vfprintf.c: Check for integer overflow.
58166 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58168         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58169         the first argument and return value of __tls_get_addr_internal.
58171 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58173         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58174         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58176 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58178         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58179         * sysdeps/s390/rtld-global-offsets.sym: New file.
58180         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58181         GLIBC_2.19 symbol.
58182         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58183         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58184         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58185         ... this.
58186         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58187         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58188         ... this.
58189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58190         Regenerate.
58191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58192         Regenerate.
58193         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58194         halfs of GPRs for high_gprs contexts.
58195         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58196         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
58197         field.
58198         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58199         uc_flags field.
58200         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58201         64 bit versions:
58202         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58203         for high GPRs (uc_high_gprs) and for future extensions
58204         (__reserved).
58205         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58206         for future extensions (__reserved).
58207         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58208         64 bit versions:
58209         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58210         SC_HIGHGPRS offset definition.
58211         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58212         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58214         * Versions.def: Add GLIBC_2.19 for libpthread.
58215         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58216         siglongjmp for libpthread with GLIBC_2.19 symver.
58217         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58218         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58219         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58220         * sysdeps/s390/__longjmp.c: New file.
58221         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58222         * sysdeps/s390/longjmp.c: New file.
58223         * sysdeps/s390/setjmp.S: New file.
58224         * sysdeps/s390/sigjmp.S: New file.
58225         * sysdeps/s390/v1-longjmp.c: New file.
58226         * sysdeps/s390/v1-setjmp.h: New file.
58227         * sysdeps/s390/v1-sigjmp.c: New file.
58228         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58229         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58230         GLIBC_2.19 version.
58231         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58232         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58233         versioned symbols for ____longjmp_chk.
58234         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58235         Likewise.
58236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58237         Regenerate.
58238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58239         Regenerate.
58240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58241         Regenerate.
58242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58243         Regenerate.
58244         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58245         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58246         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58247         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58248         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58249         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58250         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58251         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58252         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58253         * sysdeps/s390/rtld-__longjmp.c: New file.
58254         * sysdeps/s390/rtld-setjmp.S: New file.
58256 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
58258         [BZ #16400]
58259         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58260         Return -__logl (x) for small positive arguments without evaluating
58261         a polynomial.
58263 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
58265         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58266         Rename to ...
58267         (__ptrace_peeksiginfo_args): ... this.
58268         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58270         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58272 2014-01-06  Allan McRae  <allan@archlinux.org>
58274         * inet/netinet/in.h: Fix typo in comment.
58276 2014-01-05  Andreas Jaeger  <aj@suse.de>
58278         * sysdeps/i386/fpu/libm-test-ulps: Update.
58280 2014-01-05  Allan McRae  <allan@archlinux.org>
58282         * po/libc.pot: Regenerated.
58284         * malloc/memusagestat.c: Fix gettext call formatting.
58286 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
58288         * nscd/nscd.c: Improve usage() output.
58290 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
58292         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58293         * sysdeps/unix/sysv/linux/configure: Regenerated.
58294         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58295         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58297 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58299         [BZ #16390]
58300         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58301         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58303 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58305         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58306         extra tokens at end of #undef directive.
58307         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58308         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58309         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58311 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58313         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58315         * math/auto-libm-test-in: Mark various tests with
58316         xfail-rounding:ldbl-128ibm.
58317         * math/auto-libm-test-out: Regenerated.
58319 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
58321         [BZ #16386]
58322         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58323         numbers with subnormal high part when calculating exponent.
58325         [BZ #16385]
58326         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58327         fabs.
58329         [BZ #16384]
58330         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58331         M_LN2l.
58332         (__ieee754_acoshl): Use __log1pl not __log1p.
58334 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
58336         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58337         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58338         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58339         (grow_heap, heap_trim, _int_new_arena, get_free_list)
58340         (reused_arena, arena_get2): Convert to GNU style.
58341         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58342         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58343         (memalign_check, __malloc_set_state): Likewise.
58344         * malloc/mallocbug.c (main): Likewise.
58345         * malloc/malloc.c (__malloc_assert, malloc_init_state)
58346         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58347         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58348         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58349         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58350         (__posix_memalign, malloc_info): Likewise.
58351         * malloc/malloc.h: Likewise.
58352         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58353         (mallochook, memalignhook, reallochook, mabort): Likewise.
58354         * malloc/mcheck.h: Likewise.
58355         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58356         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58357         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58358         * malloc/morecore.c (__default_morecore): Likewise.
58359         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58360         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58361         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58362         (print_and_abort): Likewise.
58363         * malloc/obstack.h: Likewise.
58364         * malloc/set-freeres.c (__libc_freeres): Likewise.
58365         * malloc/tst-mallocstate.c (main): Likewise.
58366         * malloc/tst-mtrace.c (main): Likewise.
58367         * malloc/tst-realloc.c (do_test): Likewise.
58369 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58371         [BZ #16366]
58372         * nscd/netgroupcache.c (do_notfound): New function.
58373         (addgetnetgrentX): Use it.
58375         [BZ # 16365]
58376         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58377         NSS_STATUS_NOTFOUND.
58379 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
58381         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58384 2014-01-01  Allan McRae  <allan@archlinux.org>
58386         * scripts/update-copyrights: Update configure input file suffix.
58388         * NEWS: Update copyright year.
58389         * catgets/gencat.c: Likewise.
58390         * csu/version.c: Likewise.
58391         * debug/catchsegv.sh: Likewise.
58392         * debug/pcprofiledump.c: Likewise.
58393         * debug/xtrace.sh: Likewise.
58394         * elf/ldconfig.c: Likewise.
58395         * elf/ldd.bash.in: Likewise.
58396         * elf/pldd.c: Likewise.
58397         * elf/sotruss.ksh: Likewise.
58398         * elf/sprof.c: Likewise.
58399         * iconv/iconv_prog.c: Likewise.
58400         * iconv/iconvconfig.c: Likewise.
58401         * locale/programs/locale.c: Likewise.
58402         * locale/programs/localedef.c: Likewise.
58403         * login/programs/pt_chown.c: Likewise.
58404         * malloc/memusage.sh: Likewise.
58405         * malloc/memusagestat.c: Likewise.
58406         * malloc/mtrace.pl: Likewise.
58407         * manual/libc.texinfo: Likewise.
58408         * nscd/nscd.c: Likewise.
58409         * nss/getent.c: Likewise.
58410         * nss/makedb.c: Likewise.
58411         * posix/getconf.c: Likewise.
58412         * scripts/test-installation.pl: Likewise.
58414         * All files with FSF copyright notices: Update copyright dates
58415         using scripts/update-copyrights.
58416         * intl/plural.c: Regenerated.
58417         * locale/programs/charmap-kw.h: Likewise.
58418         * locale/programs/locfile-kw.h: Likewise.
58420 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
58422         * sysdeps/unix/sysv/linux/configure: Regenerated.
58423         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58424         the linux/fanotify.h header.
58425         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58426         HAVE_LINUX_FANOTIFY_H is defined.
58428 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58430         * benchtests/cos-inputs: New inputs.
58431         * benchtests/sin-inputs: Likewise.
58433         * benchtests/atan-inputs: New inputs. Fix name of multiple
58434         precision fallback inputs.
58436         * benchtests/atanh-inputs: New inputs.
58437         * benchtests/tanh-inputs: Likewise.
58439         * benchtests/acosh-inputs: New inputs.
58440         * benchtests/asinh-inputs: Likewise.
58442         * benchtests/cosh-inputs: New inputs.
58443         * benchtests/sinh-inputs: Likewise.
58445         * benchtests/acos-inputs: Add more inputs.
58446         * benchtests/asin-inputs: Likewise.
58448 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
58450         [BZ #16375]
58451         * manual/arith.texi: Fix spelling.
58452         * manual/charset.texi: Likewise.
58453         * manual/errno.texi: Likewise.
58454         * manual/filesys.texi: Likewise.
58455         * manual/lang.texi: Likewise.
58456         * manual/llio.texi: Likewise.
58457         * manual/locale.texi: Likewise.
58458         * manual/message.texi: Likewise.
58459         * manual/resource.texi: Likewise.
58460         * manual/search.texi: Likewise.
58461         * manual/setjmp.texi: Likewise.
58462         * manual/stdio.texi: Likewise.
58463         * manual/string.texi: Likewise.
58464         * manual/sysinfo.texi: Likewise.
58465         * manual/time.texi: Likewise.
58467 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
58469         * po/sl.po: New file.
58471 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
58473         * .gitignore: Add core/.gdbinit/.gdb_history.
58475 2013-12-27  Allan McRae  <allan@archlinux.org>
58477         [BZ #16369]
58478         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58479         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58481 2013-12-24  Brooks Moses  <bmoses@google.com>
58483         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58484         all compilers that claim C++98 compliance, not just GCC.
58485         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58486         Likewise.
58488 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58490         * NEWS: Restore accidentally deleted bug-fix entries.
58492 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58493             Ondřej Bílka  <neleai@seznam.cz>
58495         [BZ #15073]
58496         * malloc/malloc.c (_int_free): Perform sanity check only if we
58497         have_lock.
58499 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
58501         [BZ #12986]
58502         * manual/stdio.texi (String Input Conversions): Clarify that character
58503         classes are not supported.
58505 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58509 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
58511         [BZ #16337]
58512         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58513         Calculate results for small negative arguments directly rather
58514         than using reflection formula with special underflow handling.
58516         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58517         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58518         sysdeps/unix/bsd/bsd4.4/syscalls.list.
58519         (fchflags): Likewise.
58520         (revoke): Likewise.
58521         (setlogin): Likewise.
58522         (sigaltstack): Likewise.
58523         (wait4): Likewise.
58524         (sigblock): Remove.
58525         (sigsetmask): Likewise.
58526         (wait3): Likewise.
58527         (waitpid): Likewise.
58528         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58529         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58530         file.
58531         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58532         * sysdeps/unix/bsd/Makefile: ... here.
58533         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58534         * sysdeps/unix/bsd/Versions: ... here.
58535         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58536         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58537         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58538         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58539         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58540         * sysdeps/unix/bsd/sigblock.c: ... here.
58541         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58542         * sysdeps/unix/bsd/sigsetmask.c: ... here.
58543         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58544         * sysdeps/unix/bsd/sigvec.c: ... here.
58545         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58546         * sysdeps/unix/bsd/tcdrain.c: ... here.
58547         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58548         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58549         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58550         * sysdeps/unix/bsd/tcsetattr.c: ... here.
58551         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58552         * sysdeps/unix/bsd/wait.c: ... here.
58553         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58554         * sysdeps/unix/bsd/wait3.c: ... here.
58555         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58556         * sysdeps/unix/bsd/waitpid.c: ... here.
58558 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58560         [BZ #16356]
58561         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58562         round-to-nearest for [!USE_AS_EXPM1L].
58563         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58564         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58565         more tests of exp and exp10.  Expect some exp10 tests to miss
58566         exceptions or fail in directed rounding modes.
58567         * math/auto-libm-test-out: Regenerated.
58568         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58569         (exp10_test_tonearest): New function.
58570         (exp10_towardzero_test_data): New array.
58571         (exp10_test_towardzero): New function.
58572         (exp10_downward_test_data): New array.
58573         (exp10_test_downward): New function.
58574         (exp10_upward_test_data): New array.
58575         (exp10_test_upward): New function.
58576         (main): Call the new functions.
58577         * sysdeps/i386/fpu/libm-test-ulps: Update.
58578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58580 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58582         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58583         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58584         * math/auto-libm-test-out: Regenerated.
58585         * math/libm-test.inc (acosh_test_data): Add more tests.
58586         (atanh_test_data): Likewise.
58587         (ceil_test_data): Likewise.
58588         (copysign_test_data): Likewise.
58589         * sysdeps/i386/fpu/libm-test-ulps: Update.
58590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58592         * timezone/checktab.awk: Update from tzcode 2013i.
58593         * timezone/private.h: Likewise.
58594         * timezone/scheck.c: Likewise.
58595         * timezone/tzfile.h: Likewise.
58596         * timezone/tzselect.ksh: Likewise.
58597         * timezone/zdump.c: Likewise.
58598         * timezone/zic.c: Likewise.
58600         * math/auto-libm-test-in: Add tests of cpow.
58601         * math/auto-libm-test-out: Regenerated.
58602         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58603         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58604         mpc_cc_c.
58605         (func_calc_desc): Add mpc_cc_c union field.
58606         (test_functions): Add cpow.
58607         (special_fill_2pi): New function.
58608         (special_real_inputs): Add 2pi.
58609         (calc_generic_results): Handle mpc_cc_c.
58610         * sysdeps/i386/fpu/libm-test-ulps: Update.
58611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58613         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58614         csqrt, ctan and ctanh.
58615         * math/auto-libm-test-out: Regenerated.
58616         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58617         (TEST_COND_x86): Likewise.
58618         (ccos_test_data): Use AUTO_TESTS_c_c.
58619         (ccosh_test_data): Likewise.
58620         (cexp_test_data): Likewise.
58621         (clog_test_data): Likewise.
58622         (csqrt_test_data): Likewise.
58623         (ctan_test_data): Likewise.
58624         (ctan_tonearest_test_data): Likewise.
58625         (ctan_towardzero_test_data): Likewise.
58626         (ctan_downward_test_data): Likewise.
58627         (ctan_upward_test_data): Likewise.
58628         (ctanh_test_data): Likewise.
58629         (ctanh_tonearest_test_data): Likewise.
58630         (ctanh_towardzero_test_data): Likewise.
58631         (ctanh_downward_test_data): Likewise.
58632         (ctanh_upward_test_data): Likewise.
58633         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58634         mpc_c_c.
58635         (func_calc_desc): Add mpc_c_c union field.
58636         (FUNC_mpc_c_c): New macro.
58637         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58638         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58639         ctanh.
58640         (special_fill_min_subnorm_p120): New function.
58641         (special_real_inputs): Add min_subnorm_p120.
58642         (calc_generic_results): Handle mpc_c_c.
58643         * sysdeps/i386/fpu/libm-test-ulps: Update.
58644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58646 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58648         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58649         (do_sin_slow): New functions.
58650         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58651         (cslow2, csloww1, csloww2): Use the new functions.
58653         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58654         Use M to change sign of result instead of X.  Assume X is
58655         positive.
58656         (csloww1): Likewise.
58657         (__sin): Adjust.
58658         (__cos): Adjust.
58660         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58661         arguments A and DA.
58662         (__sin): Adjust.
58663         (__cos): Likewise.
58665         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58666         (__cos): Likewise.
58667         (sloww1): Don't adjust sign of DX.
58668         (csloww1): Likewise.
58669         (sloww2): Use X directly and don't adjust sign of DX.
58670         (csloww2): Likewise.
58672 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58674         * math/auto-libm-test-in: Add tests of cabs and carg.
58675         * math/auto-libm-test-out: Regenerated.
58676         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58677         (carg_test_data): Likewise.
58678         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58679         mpc_c_f.
58680         (func_calc_desc): Add mpc_c_f union field.
58681         (test_functions): Add cabs and carg.
58682         (calc_generic_results): Handle mpc_c_f.
58684         * sysdeps/powerpc/powerpc32/libgcc-compat.S
58685         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58686         as a macro and a compat symbol.
58687         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58688         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58689         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58690         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58691         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58692         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58693         not use .hidden.
58694         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58695         Likewise.
58696         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58697         Likewise.
58698         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58699         Likewise.
58700         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58701         Likewise.
58702         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58703         Likewise.
58704         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58705         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58706         from GLIBC_2.3.2.
58708 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58712 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58714         * manual/texinfo.tex: Update to version 2013-11-26.10 with
58715         trailing whitespace removed.
58716         * scripts/config.guess: Update to version 2013-11-29.
58717         * scripts/config.sub: Update to version 2013-10-01.
58719         * math/auto-libm-test-in: Add tests of sincos.
58720         * math/auto-libm-test-out: Regenerated.
58721         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58722         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58723         mpfr_f_11.
58724         (func_calc_desc): Add mpfr_f_11 union field.
58725         (test_functions): Add sincos.
58726         (calc_generic_results): Handle mpfr_f_11.
58727         * sysdeps/i386/fpu/libm-test-ulps: Update.
58728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58730 2013-12-19  Andreas Schwab  <schwab@suse.de>
58732         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58733         CALL_MCOUNT.
58734         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58735         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58736         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58738 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58740         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58741         * sysdeps/i386/fpu/libm-test-ulps: Update.
58742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58744         [BZ #16293]
58745         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58746         round-to-nearest mode when using frndint.
58747         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58748         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58749         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58750         Likewise.
58751         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
58752         sinh test to fail.
58753         * math/auto-libm-test-out: Regenerated.
58754         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58755         (TEST_COND_x86): Likewise.
58756         (expm1_tonearest_test_data): New array.
58757         (expm1_test_tonearest): New function.
58758         (expm1_towardzero_test_data): New array.
58759         (expm1_test_towardzero): New function.
58760         (expm1_downward_test_data): New array.
58761         (expm1_test_downward): New function.
58762         (expm1_upward_test_data): New array.
58763         (expm1_test_upward): New function.
58764         (main): Run the new test functions.
58765         * sysdeps/i386/fpu/libm-test-ulps: Update.
58766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58768         * include/features.h: Update comment documenting feature test
58769         macros.  Mention _DEFAULT_SOURCE in comment.
58770         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58771         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58772         _BSD_SOURCE and _SVID_SOURCE.
58773         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58774         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58775         !_SVID_SOURCE]: Likewise.
58776         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58777         (__USE_POSIX_IMPLICITLY): Define.
58778         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58779         (_POSIX_SOURCE): Undefine and redefine.
58780         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58781         (_POSIX_C_SOURCE): Likewise.
58782         * manual/creature.texi (_DEFAULT_SOURCE): Document.
58783         (Feature Test Macros): Update documentation of default features.
58785 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58787         * benchtests/Makefile: Add bench-strtok.
58788         * benchtests/bench-strtok.c: New file: strtok benchtest.
58790 2013-12-19  Allan McRae  <allan@archlinux.org>
58792         * manual/install.texi: Suppress menu for plain text output.
58793         * INSTALL: Regenerated.
58795 2013-12-18  Brooks Moses  <bmoses@google.com>
58797         [BZ #15846]
58798         * misc/getauxval.c: Include errno.h.
58799         (__getauxval): Set errno to ENOENT if the requested type is not
58800         found.
58801         * misc/sys/auxv.h (getauxval): Document that it may set errno;
58802         don't declare with __attribute_const__.
58803         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58804         * manual/startup.texi: Document that getauxval sets errno.
58806 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58808         * math/auto-libm-test-in: Add tests of jn and yn.
58809         * math/auto-libm-test-out: Regenerated.
58810         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58811         (yn_test_data): Likewise.
58812         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58813         mpfr_if_f.
58814         (func_calc_desc): Add mpfr_if_f union field.
58815         (FUNC_mpfr_if_f): New macro.
58816         (test_functions): Add jn and yn.
58817         (calc_generic_results): Assert type of second input for
58818         mpfr_ff_f.  Handle mpfr_if_f.
58819         (output_for_one_input_case): Disable all checking for arguments
58820         fitting floating-point types in case of an integer argument.
58821         * sysdeps/i386/fpu/libm-test-ulps: Update.
58822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58825         Don't expect fegetround reference in libm.so.
58827 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58829         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58830         $(config-cflags-nofma).
58832 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58834         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58835         * math/auto-libm-test-out: Regenerated.
58837         [BZ #16338]
58838         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58839         to determine exponent and adjust argument to have exponent of -1.
58840         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58841         log2.
58842         * math/auto-libm-test-out: Regenerated.
58843         * sysdeps/i386/fpu/libm-test-ulps: Update.
58844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58846 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
58848         * manual/probes.texi: Remove cases when per-thread arenas are
58849         disabled.
58851 2013-12-18  Andreas Schwab  <schwab@suse.de>
58853         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58854         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58855         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58856         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58857         * sysdeps/i386/i686/multiarch/Makefile: Update.
58858         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58860 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58862         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58863         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58865 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
58867         [BZ #15968]
58868         Support TZ transition times < 00:00:00.
58869         This is needed for version-3 tz-format files; it supports time
58870         stamps past 2037 for America/Godthab (the only entry in the tz
58871         database for which this change is relevant).
58872         * manual/time.texi (TZ Variable): Document transition times
58873         from -167:59:59 through -00:00:01.
58874         * time/tzset.c (tz_rule): Time of day is now signed.
58875         (__tzset_parse_tz): Parse negative time of day.
58877         Document TZ transition times >= 25:00:00.
58878         * manual/time.texi (TZ Variable): Document transition times from
58879         25:00:00 through 167:59:59.  These are already supported, and this
58880         support will help with version-3 tz-format files.
58882         * manual/time.texi (TZ Variable): Modernize North America example
58883         to reflect current (i.e., 2007-and-later) daylight saving rules.
58885         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58887 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58889         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58890         * sysdeps/unix/bsd/bits/stat.h: Likewise.
58891         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58892         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58893         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58894         * sysdeps/unix/bsd/bsdstat.h: Likewise.
58895         * sysdeps/unix/bsd/clock.c: Likewise.
58896         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58897         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58898         * sysdeps/unix/bsd/init-posix.c: Likewise.
58899         * sysdeps/unix/bsd/poll.c: Likewise.
58900         * sysdeps/unix/bsd/ptsname.c: Likewise.
58901         * sysdeps/unix/bsd/seekdir.c: Likewise.
58902         * sysdeps/unix/bsd/setegid.c: Likewise.
58903         * sysdeps/unix/bsd/seteuid.c: Likewise.
58904         * sysdeps/unix/bsd/setgid.c: Likewise.
58905         * sysdeps/unix/bsd/setrgid.c: Likewise.
58906         * sysdeps/unix/bsd/setruid.c: Likewise.
58907         * sysdeps/unix/bsd/setsid.c: Likewise.
58908         * sysdeps/unix/bsd/setuid.c: Likewise.
58909         * sysdeps/unix/bsd/sigaction.c: Likewise.
58910         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58911         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58912         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58913         * sysdeps/unix/bsd/telldir.c: Likewise.
58914         * sysdeps/unix/bsd/times.c: Likewise.
58915         * sysdeps/unix/bsd/usleep.c: Likewise.
58917         * misc/Makefile (install-lib): Remove libbsd-compat.a.
58918         ($(objpfx)libbsd-compat.a): Remove rule.
58920         * include/features.h (__FAVOR_BSD): Do not define.
58921         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58922         features conflicting with POSIX.
58923         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58924         (_BSD_SOURCE): Remove description of not being a subset of other
58925         feature test macros.
58926         * manual/job.texi (getpgrp): Do not document BSD version.
58927         (getpgid): Do not document by reference to BSD getpgrp.
58928         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58929         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58930         * signal/signal.h [__FAVOR_BSD]: Likewise.
58931         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58932         instead of making contents conditional on [__FAVOR_BSD].
58933         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58935 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58939 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58941         [BZ #16314]
58942         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58943         values below 2**-450, not 2**-500.
58944         * math/auto-libm-test-in: Don't allow spurious underflow from
58945         hypot.
58946         * math/auto-libm-test-out: Regenerated.
58948         [BZ #16316]
58949         [BZ #16330]
58950         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58951         values of ha and hb and sort them after adjusting subnormal
58952         arguments.
58953         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58954         Likewise.
58955         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58956         values of ea and eb and sort them after adjusting subnormal
58957         arguments.
58958         * math/auto-libm-test-in: Do not expect some hypot tests of
58959         subnormals to fail.  Add more hypot tests.
58960         * math/auto-libm-test-out: Regenerated.
58962 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58964         [BZ #13304]
58965         * sysdeps/sh/s_fma.c: New file.
58966         * sysdeps/sh/s_fmaf.c: New file.
58967         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
58968         version.
58969         * sysdeps/sh/Implies: Add sh/soft-fp.
58971 2013-12-16  Roland McGrath  <roland@hack.frob.com>
58973         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
58974         level of indirection to members `objname', `errstring', `malloced'.
58975         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58976         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
58977         it as the __longjmp argument (just pass 1 instead).
58978         (_dl_catch_error): Initialize C with argument pointers and address of
58979         volatile local ERRCODE rather than copying values out of C at return.
58981 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
58983         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58984         * math/auto-libm-test-out: Regenerated.
58985         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58986         (hypot_test_data): Likewise.
58987         (pow_test_data): Likewise.
58988         (pow_tonearest_test_data): Likewise.
58989         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58990         mpfr_ff_f.
58991         (func_calc_desc): Add mpfr_ff_f union field.
58992         (FUNC_mpfr_ff_f): New macro.
58993         (test_functions): Add atan2, hypot and pow.
58994         (special_fill_min): New function.
58995         (special_fill_minus_min): Likewise.
58996         (special_fill_min_subnorm): Likewise.
58997         (special_fill_minus_min_subnorm): Likewise.
58998         (special_real_inputs): Add min, -min, min_subnorm and
58999         -min_subnorm.
59000         (calc_generic_results): Handle mpfr_ff_f.
59001         * sysdeps/i386/fpu/libm-test-ulps: Update.
59002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59004 2013-12-16  Will Newton  <will.newton@linaro.org>
59006         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59007         (Aligned Memory Blocks): Add documentation for aligned_alloc
59008         and suggest it as an alternative to posix_memalign.
59009         (Hooks for Malloc): Document __memalign_hook is also called
59010         for aligned_alloc.  (Summary of Malloc): Add summary for
59011         aligned alloc.  Document __memalign_hook is also called
59012         for aligned_alloc.
59014 2013-12-16  Will Newton  <will.newton@linaro.org>
59016         * manual/memory.texi (Malloc Examples): Clarify default
59017         alignment documentation.  Suggest posix_memalign rather
59018         than memalign or valloc.
59019         (Aligned Memory Blocks): Remove suggestion to use memalign
59020         or valloc.  Remove obsolete comment about BSD.
59021         Document memalign errno values and mark the function obsolete.
59022         Document posix_memalign returned error codes.  Mark valloc
59023         as obsolete.  (Hooks for Malloc): __memalign_hook is also
59024         called for posix_memalign and valloc.
59025         (Summary of Malloc): Add posix_memalign to function summary.
59026         __memalign_hook is also called for posix_memalign and valloc.
59028 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59030         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59031         TAYLOR_SIN.
59032         (__sin): Adjust.
59033         (__cos): Likewise.
59034         (sloww): Use mynumber union.  Expand ternary operator into
59035         if-else statements.
59036         (cslow): use mynumber union.
59038 2013-12-16  Allan McRae  <allan@archlinux.org>
59040         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59041         * configure: Regenerated.
59043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59045         [BZ #14120]
59046         * configure.ac: Added --enable-maintainer-mode. Check for
59047         autoconf when enabled.
59048         * configure: Regenerated.
59050         * nscd/nscd.service: New file.
59051         * nscd/nscd.tmpfiles: New file.
59053 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
59055         [BZ #12100]
59056         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59057         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59058         * sysdeps/x86_64/multiarch/strstr.c: ... here.
59059         (strstr): Add __strstr_sse2_unaligned ifunc.
59060         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59061         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59062         (strcasestr): Remove __strcasestr_sse42 ifunc.
59063         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59065         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59067 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59069         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59070         * sysdeps/sh/bits/fenv.h: ... here.
59071         * sysdeps/sh/sh4/fpu/bits: Remove directory.
59073 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59075         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59078         hypotf multiarch implementations.
59079         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59080         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59081         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59082         multiarch hypot for PPC64.
59083         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59084         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59085         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59086         multiarch hypotf for PPC64.
59088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59089         modff multiarch implementations.
59090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59093         multiarch modf for PPC64.
59094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59097         multiarch modff for PPC64.
59099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59100         and logl multiarch implementations.
59101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59104         multiarch logb for PPC64.
59105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59108         multiarch logb for PPC64.
59109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59112         multiarch logb for PPC64.
59114         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59115         isinff multiarch implementation.
59116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59117         file.
59118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59120         multiarch isinf for PPC64.
59121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59122         file.
59123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59124         multiarch isinff for PPC64.
59126         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59127         finitef multiarch implementation.
59128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59129         file.
59130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59132         multiarch finite for PPC64.
59133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59134         file.
59135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59136         multiarch finitef for PPC64.
59138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59139         lrint multiarch implementation.
59140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59141         file.
59142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59144         multiarch llrint for PPC64.
59145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59146         multiarch lrint for PPC64.
59148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59149         copysignf multiarch implementation.
59150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59151         file.
59152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59153         file.
59154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59155         multiarch copysign for PPC64.
59156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59157         multiarch copysignf for PPC64.
59159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59160         multiarch implementation.
59161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59162         file.
59163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59164         file.
59165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59166         file.
59167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59168         file.
59169         multiarch llround for PPC64.
59170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59171         multiarch trunc for PPC64.
59172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59173         multiarch truncf for PPC64.
59175         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59176         multiarch implementation.
59177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59178         file.
59179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59180         file.
59181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59182         file.
59183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59184         file.
59185         multiarch llround for PPC64.
59186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59187         multiarch round for PPC64.
59188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59189         multiarch roundf for PPC64.
59191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59192         multiarch implementation.
59193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59194         file.
59195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59196         file.
59197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59198         file.
59199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59200         file.
59201         multiarch llround for PPC64.
59202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59203         multiarch floor for PPC64.
59204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59205         multiarch floorf for PPC64.
59207         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59208         multiarch implementation.
59209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59210         file.
59211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59212         file.
59213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59214         file.
59215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59216         file.
59217         multiarch llround for PPC64.
59218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59219         multiarch ceil for PPC64.
59220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59221         multiarch ceilf for PPC64.
59223         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59224         multiarch implementation.
59225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59226         file.
59227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59228         file.
59229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59230         file.
59231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59232         multiarch llround for PPC64.
59233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59234         multiarch lround for PPC64.
59236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59237         multiarch implementation.
59238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59241         file.
59242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59245         multiarch isnan for PPC64.
59246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59247         multiarch isnanf for PPC64.
59249         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59250         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59251         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59252         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59253         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59256         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59257         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59259         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59262         multiarch implementations.
59263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59264         (__libc_ifunc_impl_list): Likewise.
59265         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59267         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59268         multiarch stpcpy for PPC64.
59270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59271         multiarch implementations.
59272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59273         (__libc_ifunc_impl_list): Likewise.
59274         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59275         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59276         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59277         multiarch strcpy for PPC64.
59279         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59280         redefine function name.
59281         (_wordcopy_fwd_dest_aligned): Likewise.
59282         (_wordcopy_bwd_aligned): Likewise.
59283         (_wordcopy_bwd_dest_aligned): Likewise.
59284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59285         multiarch implementations.
59286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59287         (__libc_ifunc_impl_list): Likewise.
59288         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59289         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59290         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59291         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59292         multiarch wcscpy for PPC64.
59294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59295         multiarch implementations.
59296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59297         (__libc_ifunc_impl_list): Likewise.
59298         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59299         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59300         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59301         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59302         multiarch wcscpy for PPC64.
59304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59305         multiarch implementations.
59306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59307         (__libc_ifunc_impl_list): Likewise.
59308         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59309         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59310         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59311         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59312         multiarch wcsrchr for PPC64.
59314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59315         multiarch implementations.
59316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59317         (__libc_ifunc_impl_list): Likewise.
59318         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59319         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59320         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59321         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59322         multiarch wcschr for PPC64.
59324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59325         multiarch implementations.
59326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59327         (__libc_ifunc_impl_list): Likewise.
59328         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59329         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59330         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59331         multiarch strchrnul for PPC64.
59333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59334         implementations.
59335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59336         (__libc_ifunc_impl_list): Likewise.
59337         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59338         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59339         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59340         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59341         strchr for PPC64.
59343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59344         implementations.
59345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59346         (__libc_ifunc_impl_list): Likewise.
59347         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59348         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59349         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59350         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59351         strncmp for PPC64.
59353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59354         multiarch implementations.
59355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59356         (__libc_ifunc_impl_list): Likewise.
59357         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59358         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59359         strncasecmp for PPC64.
59360         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59361         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59362         multiarch strncasecmp_l for PPC64.
59364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59365         multiarch implementations.
59366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59367         (__libc_ifunc_impl_list): Likewise.
59368         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59369         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59370         multiarch strcasecmp for PPC64.
59371         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59372         file.
59373         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59374         multiarch strcasecmp_l for PPC64.
59376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59377         implementations.
59378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59379         (__libc_ifunc_impl_list): Likewise.
59380         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59381         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59382         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59383         strnlen for PPC64.
59385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59386         implementations.
59387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59388         (__libc_ifunc_impl_list): Likewise.
59389         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59390         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59391         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59392         strlen for PPC64.
59394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59395         implementations.
59396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59397         (__libc_ifunc_impl_list): Likewise.
59398         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59399         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59400         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59401         rawmemrchr for PPC64.
59403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59404         implementation.
59405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59406         (__libc_ifunc_impl_list): Likewise.
59407         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59408         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59409         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59410         memrchr for PPC64.
59412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59413         implementation.
59414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59415         (__libc_ifunc_impl_list): Likewise.
59416         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59417         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59418         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59419         memchr for PPC64.
59421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59422         implementation.
59423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59424         (__libc_ifunc_impl_list): Likewise.
59425         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59426         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59427         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59428         mempcpy for PPC64.
59430         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59431         avoid cretion of __bzero symbol.
59432         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59433         Likewise.
59434         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59435         Likewise.
59436         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59437         Likewise.
59438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59439         multiarch implementations.
59440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59441         (__libc_ifunc_impl_list): Likewise.
59442         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59443         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59444         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59445         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59446         bzero for PPC32.
59447         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59448         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59449         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59450         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59451         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59452         memset for PPC64.
59453         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59455         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59457         implementations.
59458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59459         (__libc_ifunc_impl_list): Likewise.
59460         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59461         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59462         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59463         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59464         memcmp for PPC64.
59466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59467         multiarch for POWER/PPC64.
59468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59469         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59470         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59471         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59472         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59473         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59474         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59475         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59476         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59477         memcpy for PPC64.
59479         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59480         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59481         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59482         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59483         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59484         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59485         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59486         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59487         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59488         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59489         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59490         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59491         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59492         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59493         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59502 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59504         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59506 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59508         * benchtests/Makefile (bench): Add exp2 and log2.
59509         (LDLIBS-bench-exp2): Add -lm.
59510         (LDLIBS-bench-log2): Likewise.
59511         * benchtests/exp2-inputs: New inputs file.
59512         * benchtests/log2-inputs: New inputs file.
59513         * benchtests/log-inputs: Add new inputs.
59514         * benchtests/tan-inputs: Likewise.
59516 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59518         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59519         definition...
59520         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59521         (csloww2): ... from here.
59523         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59524         instead of structures.
59525         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59526         (POLYNOMIAL): Likewise.
59527         (TAYLOR_SLOW): Likewise.
59528         (__sin): Likewise.
59529         (__cos): Likewise.
59530         (slow1): Likewise.
59531         (slow2): Likewise.
59532         (sloww): Likewise.
59533         (sloww1); Likewise.
59534         (sloww2): Likewise.
59535         (bsloww1): Likewise.
59536         (bsloww2): Likewise.
59537         (cslow2): Likewise.
59538         (csloww): Likewise.
59539         (csloww1): Likewise.
59540         (csloww2): Likewise.
59542 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
59544         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59545         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59546         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59547         * malloc/hooks.c (realloc_check): Likewise.
59549         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59550         * malloc/arena.c: Remove PER_THREAD conditional.
59551         [!PER_THREAD]: Remove code.
59552         (ptmalloc_unlock_all2): Likewise.
59553         (ptmalloc_init): Likewise.
59554         (_int_new_arena): Likewise.
59555         (arena_get2): Likewise.
59556         * malloc/hooks.c (__malloc_get_state): Likewise.
59557         (__malloc_set_state): Likewise.
59558         * malloc/malloc.c: Likewise.
59559         (struct malloc_state): Likewise.
59560         (struct malloc_par): Likewise.
59561         (__libc_realloc): Likewise.
59562         (__libc_mallopt): Likewise.
59564 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59566         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59568 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
59570         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59571         macro to a function.  Check for zero perturb_byte.
59572         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59574         * malloc/malloc.c: (force_reg): Remove.
59575         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59576         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59577         force_reg by atomic_forced_read.
59578         * malloc/arena.c (ptmalloc_init): Likewise.
59579         * malloc/hooks.c (top_check): Likewise.
59581 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59585 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59589 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59591         * math/auto-libm-test-in: Add tests of lgamma.
59592         * math/auto-libm-test-out: Regenerated.
59593         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59594         (M_LOG_2_SQRT_PIl): Likewise.
59595         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59596         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59597         mpfr_f_f1.
59598         (func_calc_desc): Add mpfr_f_f1 union field.
59599         (ARGS1): New macro.
59600         (ARGS2): Likewise.
59601         (ARGS3): Likewise.
59602         (ARGS4): Likewise.
59603         (RET1): Likewise.
59604         (RET2): Likewise.
59605         (CALC): Likewise.
59606         (FUNC): Likewise.
59607         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59608         (test_functions): Add lgamma.
59609         (calc_generic_results): Handle mpfr_f_f1.
59610         * sysdeps/i386/fpu/libm-test-ulps: Update.
59611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59613 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59615         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59616         __mpn_add_n for PowerPC64/POWER7.
59617         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59618         __mpn_sub_n for PowerPC64/POWER7.
59620         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59621         __mpn_addmul_1 for PowerPC64.
59622         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59623         __mpn_submul_1 for PowerPC64.
59624         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59625         for PowerPC64.
59626         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59627         for PowerPC64.
59629 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
59631         [BZ #15089]
59632         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59634 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59636         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59638         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59639         add multiarch folders.
59640         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59641         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59642         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59643         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59644         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59645         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59646         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59647         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59648         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59649         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59650         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59659         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59661         New file.
59662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59663         New file.
59664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59665         multiarch __ieee754_hypot for PowerPC32.
59666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59667         New file.
59668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59669         New file.
59670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59671         multiarch __ieee754_hypotf for PowerPC32.
59673         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59674         long_double_symbol only if __logbl is defined.
59675         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59676         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59677         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59678         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59679         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59680         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59681         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59682         path for implementation.
59683         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59684         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59686         logb, and logbl multiarch implementations for PowerPC32.
59687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59688         file.
59689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59690         file.
59691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59692         multiarch logb for PowerPC32.
59693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59694         file.
59695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59696         file.
59697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59698         multiarch logbf for PowerPC32.
59699         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59701         file.
59702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59703         multiarch logbl implementation for PowerPC32.
59705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59706         and modff multiarch implementations.
59707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59708         New file.
59709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59710         New file.
59711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59712         multiarch modf for PowerPC32.
59713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59714         New file.
59715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59716         New file.
59717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59718         multiarch modff for PowerPC32.
59720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59721         and lrintf multiarch implementations.
59722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59723         New file.
59724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59725         New file.
59726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59727         multiarch lrint for PowerPC32.
59728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59729         file: multiarch lrintf for PowerPC32.
59731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59732         and lroundf multiarch implementations.
59733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59734         New file.
59735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59736         New file.
59737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59738         New file.
59739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59740         multiarch lround for PowerPC32.
59741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59742         file: multiarch lroundf for PowerPC32.
59744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59745         copysign and copysignf multiarch implementations.
59746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59747         New file.
59748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59749         New file.
59750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59751         file: multiarch copysign for PowerPC32.
59752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59753         file: multiarch copysignf for PowerPC32.
59755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59756         and truncf multiarch implementations.
59757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59758         New file.
59759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59760         file.
59761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59762         multiarch trunc for PowerPC32.
59763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59764         New file.
59765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59766         New file.
59767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59768         multiarch truncf for PowerPC32.
59770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59771         and roundf multiarch implementations.
59772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59773         New file.
59774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59775         file.
59776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59777         multiarch round for PowerPC32.
59778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59779         New file.
59780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59781         New file.
59782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59783         multiarch roundf for PowerPC32.
59785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59786         and floorf multiarch implementations.
59787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59788         New file.
59789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59790         file.
59791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59792         multiarch floor for PowerPC32.
59793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59794         New file.
59795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59796         New file.
59797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59798         multiarch floorf for PowerPC32.
59800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59801         and ceilf multiarch implementations.
59802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59803         New file.
59804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59805         file.
59806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59807         multiarch ceil for PowerPC32.
59808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59809         New file.
59810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59811         file.
59812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59813         multiarch ceilf for PowerPC32.
59815         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59816         is defined.
59817         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59818         FINITEF is defined.
59819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59820         and finitef multiarch implementations.
59821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59822         New file.
59823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59824         file.
59825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59826         multiarch finite for PowerPC32.
59827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59828         New file.
59829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59830         file: multiarch finitef for PowerPC32.
59832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59833         and isinff multiarch implementations.
59834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59835         file.
59836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59837         file.
59838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59839         multiarch isinf for PowerPC32.
59840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59841         New file.
59842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59843         multiarch isinff for PowerPC32.
59845         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59846         alias when __isnan is defined.
59847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59848         and isnanf multiarch implementations.
59849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59850         file.
59851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59852         file.
59853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59854         file.
59855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59856         file.
59857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59858         multiarch isnan for PowerPC32.
59859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59860         New file.
59861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59862         New file.
59863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59864         multiarch isnanf for PowerPC32.
59866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59867         and sqrtf multiarch implementations.
59868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59869         file.
59870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59871         file.
59872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59873         multiarch sqrt for PowerPC32.
59874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59875         file.
59876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59877         file.
59878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59879         multiarch sqrtf for PowerPC32.
59881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59882         and llroundf multiarch implementations.
59883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59884         New file.
59885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59886         New file.
59887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59888         New file.
59889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59890         file: multiarch llround for PowerPC32.
59891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59892         file: multiarch llroundf for PowerPC32.
59894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59895         multiarch PowerPC32 fpu implementations.
59896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59897         New file.
59898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59899         New file.
59900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59901         multiarch llrint for PowerPC32.
59902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59903         New file.
59904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59905         New file.
59906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59907         file.
59909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59911         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59912         file.
59913         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59914         file.
59915         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59916         file.
59917         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59918         multiarch wordcopy for PPC32.
59919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59920         wordcopy objects.
59921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59922         (__libc_ifunc_impl_list): Likewise.
59923         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59924         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59925         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59926         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59927         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59928         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59930         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59932         file.
59933         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59934         file.
59935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59936         file.
59937         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59938         multiarch wcscpy for PPC32.
59939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59940         multiarch objects.
59941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59942         (__libc_ifunc_impl_list): Likewise.
59943         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59944         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59945         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59946         sysdeps/powerpc/power6/wcscpy.c.
59948         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59950         file.
59951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59952         file.
59953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59954         file.
59955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59956         multiarch wcsrchr for PPC32.
59957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59958         multiarch objects.
59959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59960         (__libc_ifunc_impl_list): Likewise.
59961         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59962         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59963         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59964         sysdeps/powerpc/power6/wcsrchr.c.
59966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59967         file.
59968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59969         file.
59970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59971         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59972         multiarch wcschr for PPc32.
59973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59974         multiarch objects.
59975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59976         (__libc_ifunc_impl_list): Likewise.
59977         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59978         * sysdeps/powerpc/power6/wcschr.c: ... to here.
59979         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59980         sysdeps/powerpc/power6/wcschr.c.
59982         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59983         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59984         file.
59985         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59986         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59987         file: multiarch strchr for PPC32.
59988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59989         multiarch objects.
59990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59991         (__libc_ifunc_impl_list): Likewise.
59993         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59994         name.
59995         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59996         file.
59997         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59998         file.
59999         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60000         multiarch strchrnul for PPC32.
60001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60002         multiarch objects.
60003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60004         (__libc_ifunc_impl_list): Likewise.
60006         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60007         file.
60008         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60009         multiarch strncasecmp for PPC32.
60010         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60011         file.
60012         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60013         multiarch strncasecmp_l for PPC32.
60014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60015         strncasecmp multiarch objects.
60016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60017         (__libc_ifunc_impl_list): Likewise.
60019         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60020         file.
60021         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60022         multiarch strncasecmp for PPC32.
60023         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60024         New file.
60025         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60026         multiarch strcasecmp_l for PPC32.
60027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60028         multiarch objects.
60029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60030         (__libc_ifunc_impl_list): Likewise.
60032         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60033         file.
60034         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60035         file.
60036         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60037         multiarch strncmp for PPC32.
60038         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60039         multiarch objects.
60040         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60041         (__libc_ifunc_impl_list): Likewise.
60043         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60044         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60045         file.
60046         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60047         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60049         multiarch objects.
60050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60051         (__libc_ifunc_impl_list): Likewise.
60053         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60054         file.
60055         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60056         file.
60057         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60059         multiarch objects.
60060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60061         (__libc_ifunc_impl_list): Likewise.
60063         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60064         file.
60065         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60066         file.
60067         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60068         multiarch rawmemchr for PPC32.
60069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60070         multiarch objects.
60071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60072         (__libc_ifunc_impl_list): Likewise.
60074         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60075         file.
60076         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60077         file.
60078         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60079         file: memrchr multiarch for PPC32.
60080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60081         multiarch objects.
60082         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60083         (__libc_ifunc_impl_list): Likewise.
60085         * string/memchr.c (__memchr): Using macro to redefine symbol name.
60086         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60087         file.
60088         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60089         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60090         multiarch memchr for PPC32.
60091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60092         multiarch objects.
60093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60094         (__libc_ifunc_impl_list): Likewise.
60096         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60097         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60098         file.
60099         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60100         file.
60101         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60102         file: multiarch mempcpy for PPC32.
60103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60104         multiarch objects.
60105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60106         (__libc_ifunc_impl_list): Likewise.
60108         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60109         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60110         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60111         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60112         multiarch bzero for PPC32.
60113         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60114         file.
60115         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60116         file.
60117         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60118         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60119         file: multiarch memset for PPC32.
60120         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60122         memset multiarch objects.
60123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60124         (__libc_ifunc_impl_list): Likewise.
60126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60127         file.
60128         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60129         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60130         memcmp for PPC32.
60131         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60133         multiarch objects.
60134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60135         (__libc_ifunc_impl_list): Likewise.
60137         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60138         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60139         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60140         file.
60141         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60142         file.
60143         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60144         file.
60145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60146         multiarch memcpy for PPC32.
60147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60148         multiarch objects.
60149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60150         (__libc_ifunc_impl_list): Likewise.
60152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60153         support multiarch for POWER/PPC32.
60154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60155         Likewise.
60156         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60158         Implies file to make multiarch folder appers before the fpu and
60159         default folder for power4 configuration.
60161 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60163         * scripts/bench.pl: Append volatile keyword to type.
60165 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60167         * sysdeps/sh/sotruss-lib.c: New file.
60168         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60170 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60174 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
60176         [BZ #6810]
60177         * math/w_tgamma.c: Include <errno.h>.
60178         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
60179         * math/w_tgammaf.c: Include <errno.h>.
60180         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
60181         * math/w_tgammal.c: Include <errno.h>.
60182         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
60183         * math/auto-libm-test-in: Do not allow missing errno on tgamma
60184         underflow.  Add more tgamma tests.
60185         * math/auto-libm-test-out: Regenerated.
60186         * sysdeps/i386/fpu/libm-test-ulps: Update.
60187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60189         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60190         sin, sinh, tan, tanh, tgamma, y0 and y1.
60191         * math/auto-libm-test-out: Regenerated.
60192         * math/libm-test.inc (TEST_COND_x86_64): New macro.
60193         (TEST_COND_x86): Likewise.
60194         (M_E2l): Remove macro.
60195         (M_E3l): Likewise.
60196         (M_2_SQRT_PIl): Likewise.
60197         (M_SQRT_PIl): Likewise.
60198         (M_1_DIV_El): Likewise.
60199         (log_test_data): Use AUTO_TESTS_f_f.
60200         (log10_test_data): Likewise.
60201         (log1p_test_data): Likewise.
60202         (log2_test_data): Likewise.
60203         (sin_test_data): Likewise.
60204         (sin_tonearest_test_data): Likewise.
60205         (sin_towardzero_test_data): Likewise.
60206         (sin_downward_test_data): Likewise.
60207         (sin_upward_test_data): Likewise.
60208         (sinh_test_data): Likewise.
60209         (sinh_tonearest_test_data): Likewise.
60210         (sinh_towardzero_test_data): Likewise.
60211         (sinh_downward_test_data): Likewise.
60212         (sinh_upward_test_data): Likewise.
60213         (tan_test_data): Likewise.
60214         (tan_tonearest_test_data): Likewise.
60215         (tan_towardzero_test_data): Likewise.
60216         (tan_downward_test_data): Likewise.
60217         (tan_upward_test_data): Likewise.
60218         (tanh_test_data): Likewise.
60219         (tgamma_test_data): Likewise.
60220         (y0_test_data): Likewise.
60221         (y1_test_data): Likewise.
60222         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60223         (special_real_inputs): Add pi/4.
60224         * sysdeps/i386/fpu/libm-test-ulps: Update.
60225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60227 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60229         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60230         "longjmp_target" static probes.
60231         (__longjmp): Rename to __longjmp_symbol.
60232         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60233         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60234         on which longjmp to generate.
60235         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60236         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60237         probe.
60238         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60239         (__sigjmp_save): Rename to __sigjmp_save_symbol.
60240         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60241         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60242         and __sigjmp_save_symbol based on which sigsetjmp to generated.
60243         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60245         __longjmp_symbol based on which __longjmp to generate.
60246         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60247         probe.
60248         (setjmp): Rename to setjmp_symbol.
60249         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60250         (_setjmp): Rename to _setjmp_symbol.
60251         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60252         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60253         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60254         which setjmp to generate.
60255         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60256         "longjmp_target" static probes.
60258 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60260         * benchtests/README: Add note about output arguments.
60261         * benchtests/bench-sincos.c: Remove file.
60262         * benchtests/sincos-inputs: New file.
60263         * scripts/bench.pl: Identify output arguments and define
60264         static variables for them.
60266         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60268         [BZ #15941]
60269         * Makefile (INSTALL): Add install-plain.texi as the primary
60270         dependency.
60271         * manual/install-plain.texi: New file.
60272         * manual/install.texi: Include node directive only for
60273         non-plaintext output.
60275 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
60277         * stdlib/longlong.h: Update from GCC.
60279         [BZ #6807]
60280         [BZ #15901]
60281         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60282         * math/w_j0f.c (y0f): Likewise.
60283         * math/w_j0l.c (__y0l): Likewise.
60284         * math/w_j1.c (y1): Likewise.
60285         * math/w_j1f.c (y1f): Likewise.
60286         * math/w_j1l.c (__y1l): Likewise.
60287         * math/w_jn.c (yn): Likewise.
60288         * math/w_jnf.c (ynf): Likewise.
60289         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60290         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
60291         value for Bessel function domain errors outside _SVID_ mode.
60292         Adjust sign of return value for yn (negative integer, 0).
60293         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60294         by zero in return for negative x and set sign appropriately for
60295         negative n.
60296         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60297         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60298         * math/libm-test.inc (y0_test_data): Add more tests and adjust
60299         expectations in error cases.
60300         (y1_test_data): Likewise.
60301         (yn_test_data): Likewise.
60302         * sysdeps/i386/fpu/libm-test-ulps: Update.
60303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60305 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60307         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60308         "64" to "64-v1".  Add "64-v2".
60309         (abi-64-options): Rename to ...
60310         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
60311         (abi-64-condition): Rename to ...
60312         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
60313         (abi-64-ld-soname): Rename to ...
60314         (abi-64-v1-ld-soname): ... this.
60315         (abi-64-v2-options): Define.
60316         (abi-64-v2-condition): Likewise.
60317         (abi-64-v2-ld-soname): Likewise.
60318         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60319         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60324 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60325             Alan Modra  <amodra@gmail.com>
60327         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60328         New versions for use with the ELFv2 ABI.
60329         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60330         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60331         declaration.
60332         (struct La_ppc64v2_retval): Likewise.
60333         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60334         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60335         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60336         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60337         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60338         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60339         Do not save or restore CR.
60340         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60341         (_dl_profile_resolve): Do no save or restore CR.  Support extended
60342         return values for ELFv2 ABI.  Fix location of FPR return registers.
60343         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60344         updated values for _CALL_ELF == 2.
60345         (La_regs, La_retval, int_retval): Likewise.
60347 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60349         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60350         (FRAME_MIN_SIZE_PARM): Likewise.
60351         (FRAME_BACKCHAIN): Likewise.
60352         (FRAME_CR_SAVE): Likewise.
60353         (FRAME_LR_SAVE): Likewise.
60354         (FRAME_TOC_SAVE): Likewise.
60355         (FRAME_PARM_SAVE): Likewise.
60356         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60357         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60358         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60359         (call_mcount_parm_offset): New macro.
60360         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60361         (PROF): Use symbolic stack frame offsets.
60362         (TAIL_CALL_SYSCALL_ERROR): Likewise.
60363         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60364         Redefine in terms of FRAME_MIN_SIZE.
60365         (_dl_runtime_resolve): Use symbolic stack frame offsets.
60366         (_dl_profile_resolve): Likewise.  Update comment.
60367         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60368         symbols stack frame offsets.
60369         (__sigsetjmp): Likewise.
60370         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60371         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60372         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60373         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60376         (FRAME_BACKCHAIN): Remove.
60377         (FRAME_CR_SAVE): Likewise.
60378         (FRAME_LR_SAVE): Likewise.
60379         (FRAME_COMPILER_DW): Likewise.
60380         (FRAME_LINKER_DW): Likewise.
60381         (FRAME_TOC_SAVE): Likewise.
60382         (FRAME_PARM_SAVE): Likewise.
60383         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60384         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60385         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60387         (CHECK_SP): Use symbolic stack frame offsets.
60388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60389         zone" instead of caller's parameter save area for temp storage.
60390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60391         Likewise.  Also, use symbolic stack frame offsets.
60392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60393         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60394         our own stack frame instead of the caller's.
60395         (__socket): Use symbolic stack frame offsets.
60397 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60398             Alan Modra  <amodra@gmail.com>
60400         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60401         Define.
60402         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60403         (PPC64_LOCAL_ENTRY_OFFSET): Define.
60404         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60405         New function.
60406         (elf_machine_fixup_plt): Call it.
60407         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
60408         reloc arguments.
60409         (elf_machine_rela): Update call to elf_machine_plt_conflict.
60410         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60411         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60412         r2 before calling target.
60414 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60415             Alan Modra  <amodra@gmail.com>
60417         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60418         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60419         versions of macros to support ELFv2 ABI.
60420         (LOCALENTRY): New macro.
60421         (ENTRY, EALIGN): Use it.
60422         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60423         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60424         fall through into ENTRY entry point.
60425         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60426         Only define if _CALL_ELF != 2.
60428         (elf_machine_matches_host): Verify ABI version matches.
60429         (RTLD_START): Use LOCALENTRY.
60430         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60431         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60432         (PLT_ENTRY_WORDS): New macro.
60433         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60434         (elf_machine_runtime_setup): Support ELFv2 ABI.
60435         (elf_machine_fixup_plt): Likewise.
60436         (elf_machine_plt_conflict): Likewise.
60437         (resolve_ifunc): Likewise.
60438         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60439         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60440         Likewise.
60441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60442         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60444         (makecontext): Support ELFv2 ABI.
60445         * elf/elf.h (EF_PPC64_ABI): Define.
60447 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60449         * sysdeps/powerpc/powerpc64/sysdep.h
60450         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60451         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60452         (ENTRY) [ASSEMBLER]: ... but instead here ...
60453         (EALIGN) [ASSEMBLER]: ... and here.
60454         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60455         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60456         (ENTRY_2) [!ASSEMBLER]: Use it.
60457         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60458         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
60459         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60460         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60461         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60463         Use PPC64_LOAD_FUNCPTR.
60465         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60467 2013-12-04  Alan Modra  <amodra@gmail.com>
60469         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60470         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60471         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60472         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60474         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60475         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60476         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60477         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60478         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60479         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60481 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60484         (__makecontext): Fix incorrect CFI when backtracing out of
60485         context created via makecontext.
60486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60487         (__setcontext): Fix incorrect CFI during switch to new context.
60488         (__novec_setcontext): Likewise.
60490 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
60492         [BZ #4772]
60493         * time/strptime_l.c (__strptime_internal): Allow modifiers
60494         in strptime.
60495         * time/tst-strptime.c (day_tests): Add testcase.
60497 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60499         * scripts/bench.pl: Skip over blank lines.
60501 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
60503         [BZ #926]
60504         * manual/time.texi (Calendar Time): Clarify what timezone functions
60505         use.
60507 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60511 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
60513         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60514         implementation.
60515         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60516         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60517         * debug/memset_chk.c (__memset_chk): Likewise.
60518         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60519         * debug/strncpy_chk.c: Likewise.
60521 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60523         [BZ #15268]
60524         [BZ #15425]
60525         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60526         (__ieee754_exp): For possibly underflowing results, check size of
60527         result and force underflow exception if required.
60528         * math/auto-libm-test-in: Add more tests of exp.
60529         * math/auto-libm-test-out: Regenerated.
60530         * sysdeps/i386/fpu/libm-test-ulps: Update.
60531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60533         [BZ #16283]
60534         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60535         * math/w_exp2f.c (__exp2f): Likewise.
60536         * math/w_exp2l.c (__exp2l): Likewise.
60537         * math/auto-libm-test-in: Do not allow missing errno on exp2
60538         underflow.
60539         * math/auto-libm-test-out: Regenerated.
60541 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
60543         [BZ #16274]
60544         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60545         handle filename validation.
60546         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60547         (do_open): Delete.
60549 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60551         [BZ #6786]
60552         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60553         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60554         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60555         <float.h>.
60556         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60557         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60558         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60559         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60560         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60561         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60562         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60563         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60564         Add more erfc tests.
60565         * math/auto-libm-test-out: Regenerated.
60566         * sysdeps/i386/fpu/libm-test-ulps: Update.
60567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60569         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60570         exp2, expm1, j0 and j1.
60571         * math/auto-libm-test-out: Regenerated.
60572         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60573         (erfc_test_data): Likewise.
60574         (exp_test_data): Likewise.
60575         (exp_tonearest_test_data): Likewise.
60576         (exp_towardzero_test_data): Likewise.
60577         (exp_downward_test_data): Likewise.
60578         (exp_upward_test_data): Likewise.
60579         (exp10_test_data): Likewise.
60580         (exp2_test_data): Likewise.
60581         (expm1_test_data): Likewise.
60582         (j0_test_data): Likewise.
60583         (j1_test_data): Likewise.
60584         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60585         (input_flag_type): Add flag_xfail_rounding.
60586         (input_flags): Add xfail-rounding.
60587         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60588         (output_for_one_input_case): Handle flag_xfail_rounding.
60589         * sysdeps/i386/fpu/libm-test-ulps: Update.
60590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60592 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60594         [BZ #16289]
60595         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60596         division by 0.
60598 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60600         [BZ #16195]
60601         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60602         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60603         (STAP_PROBE0): New macro.
60604         (STAP_PROBE1): Likewise.
60605         (STAP_PROBE2): Likewise.
60606         (STAP_PROBE3): Likewise.
60607         (STAP_PROBE4): Likewise.
60609 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
60611         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60613 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60615         * benchtests/Makefile (bench): Add sqrt.
60616         (LDLIBS-bench-sqrt): New.
60617         * benchtests/sqrt-input: New.
60619 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60621         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60622         (GAIH_EAI): Likewise.
60623         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60624         (gaih_inet): Likewise.
60625         (getaddrinfo): Don't use GAIH_EAI.
60627         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60628         (struct gaih): Remove definition.
60630 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60632         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60633         Use HERRNOP directly.
60635 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60639 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
60641         * math/gen-auto-libm-tests.c (test_functions): Add more
60642         single-argument functions.
60643         (special_fill_pi_2): New function.
60644         (special_fill_minus_pi_2): Likewise.
60645         (special_fill_pi_6): Likewise.
60646         (special_fill_minus_pi_6): Likewise.
60647         (special_fill_pi_3): Likewise.
60648         (special_fill_2pi_3): Likewise.
60649         (special_fill_e): Likewise.
60650         (special_fill_1_e): Likewise.
60651         (special_fill_e_minus_1): Likewise.
60652         (special_real_inputs): Add more special inputs.
60653         (output_for_one_input_case): Do not require ERANGE on underflow to
60654         zero if round-to-nearest result does not underflow to zero, unless
60655         exact results required.
60656         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60657         atan, atanh, cbrt, cos and cosh.
60658         * math/auto-libm-test-out: Regenerated.
60659         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60660         (acos_tonearest_test_data): Likewise.
60661         (acos_towardzero_test_data): Likewise.
60662         (acos_downward_test_data): Likewise.
60663         (acos_upward_test_data): Likewise.
60664         (acosh_test_data): Likewise.
60665         (asin_test_data): Likewise.
60666         (asin_tonearest_test_data): Likewise.
60667         (asin_towardzero_test_data): Likewise.
60668         (asin_upward_test_data): Likewise.
60669         (asinh_test_data): Likewise.
60670         (atan_test_data): Likewise.
60671         (atanh_test_data): Likewise.
60672         (cbrt_test_data): Likewise.
60673         (cos_test_data): Likewise.
60674         (cos_tonearest_test_data): Likewise.
60675         (cos_towardzero_test_data): Likewise.
60676         (cos_downward_test_data): Likewise.
60677         (cos_upward_test_data): Likewise.
60678         (cosh_test_data): Likewise.
60679         (cosh_tonearest_test_data): Likewise.
60680         (cosh_towardzero_test_data): Likewise.
60681         (cosh_downward_test_data): Likewise.
60682         (cosh_upward_test_data): Likewise.
60683         * sysdeps/i386/fpu/libm-test-ulps: Update.
60684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60686 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
60688         [BZ #6787]
60689         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60690         * math/w_exp10f.c (__exp10f): Likewise.
60691         * math/w_exp10l.c (__exp10l): Likewise.
60692         * math/libm-test.inc (exp10_test_data): Add more tests and expect
60693         errno settings in existing tests.
60695         [BZ #14032]
60696         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60697         precision control set to double precision.
60698         * sysdeps/i386/fpu/w_sqrt.c: New file.
60699         * math/auto-libm-test-in: Add more tests.
60700         * math/auto-libm-test-out: Update.
60702         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60703         (sqrt_test_tonearest): New function.
60704         (sqrt_towardzero_test_data): New variable.
60705         (sqrt_test_towardzero): New function.
60706         (sqrt_downward_test_data): New variable.
60707         (sqrt_test_downward): New function.
60708         (sqrt_upward_test_data): New variable.
60709         (sqrt_test_upward): New function.
60710         (main): Call the new functions.
60712         * math/gen-auto-libm-tests.c: New file.
60713         * math/auto-libm-test-in: Likewise.
60714         * math/auto-libm-test-out: New generated file.
60715         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60716         variables.
60717         (%beautify): Add generated representations of zero.
60718         (top level): Set $auto_input and call parse_auto_input.
60719         (beautify): Remove trailing "f" from hex float constants.
60720         (parse_args): Handle XFAIL_TEST.
60721         (convert_condition): New function.
60722         (or_value): Likewise.
60723         (or_cond_value): Likewise.
60724         (generate_testfile): Handle AUTO_TESTS_* lines.
60725         (parse_auto_input): New function.
60726         * math/libm-test.inc (XFAIL_TEST): New macro.
60727         (ERRNO_UNCHANGED): Update value.
60728         (ERRNO_EDOM): Likewise.
60729         (ERRNO_ERANGE): Likewise.
60730         (IGNORE_RESULT): Likewise.
60731         (TEST_COND_flt_32): New macro.
60732         (TEST_COND_dbl_64): Likewise.
60733         (TEST_COND_ldbl_96_intel): Likewise.
60734         (TEST_COND_ldbl_96_m68k): Likewise.
60735         (TEST_COND_ldbl_128): Likewise.
60736         (TEST_COND_ldbl_128ibm): Likewise.
60737         (TEST_COND_long32): Likewise.
60738         (TEST_COND_long64): Likewise.
60739         (TEST_COND_before_rounding): Likewise.
60740         (TEST_COND_after_rounding): Likewise.
60741         (enable_test): Handle XFAIL_TEST flag.
60742         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60743         with finite results.
60744         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60745         auto-libm-test-out.
60747 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60748             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60750         [BZ #16214]
60751         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60752         __tls_get_addr_internal instead of __tls_get_offset in order to
60753         avoid GOT pointer dependency.  Make rtld export
60754         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60755         __tls_get_addr since we are a __tls_get_offset platform.
60756         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60757         GOT pointer being set up before.
60758         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60760 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
60762         * manual/math.texi (Errors in Math Functions): Document accuracy
60763         goals.
60765         [BZ #15004]
60766         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60767         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60768         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60769         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60770         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60771         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60772         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60773         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60774         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60775         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60776         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60777         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60778         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60779         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60780         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60781         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60783         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60784         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60785         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60786         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60787         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60788         Likewise.
60789         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60790         Likewise.
60791         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60792         Likewise.
60793         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60794         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60795         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60796         atomic-feupdateenv and flt-rounds.
60797         * sysdeps/powerpc/nofpu/Versions (libc): Add
60798         __atomic_feholdexcept, __atomic_feclearexcept,
60799         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60800         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60801         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60802         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60803         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60804         here.
60805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60806         Update.
60808         * manual/arith.texi (FP Exceptions): Document that exceptions may
60809         not be raised when matherr is used.
60810         (Math Error Reporting): Document overflow in directed rounding
60811         modes.  Document that errno may not be set when finite values are
60812         returned on overflow.  Document intent to set errno on underflow
60813         only for underflow to zero.
60815         [BZ #16271]
60816         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60817         round-to-nearest then adjust result for other rounding modes.
60818         * include/fenv.h (fegetround): Use libm_hidden_proto.
60819         * math/fegetround.c (fegetround): Use libm_hidden_def.
60820         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60821         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60822         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60823         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60824         Likewise.
60825         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60826         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60827         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60828         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60830 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60832         [BZ #16077]
60833         * nss/Versions (libnss_files): Add
60834         _nss_files_gethostbyname3_r.
60835         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60836         New function.
60837         (HOST_DB_LOOKUP): Remove macro.
60838         (_nss_files_gethostbyname_r): Implement function without the
60839         HOST_DB_LOOKUP macro.
60840         (_nss_files_gethostbyname2_r): Likewise.
60842 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
60844         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60846 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
60848         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60849         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60850         warning.
60852 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60854         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60855         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60856         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60857         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60858         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60859         __fe_nomask_env_priv and attribute_hidden.
60860         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60861         (libc_feupdateenv_test_ppc): Likewise.
60862         (libc_feresetround_ppc): Likewise.
60863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60864         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60865         compat_symbol macro.
60866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60867         (__fe_nomask_env): Likewise.
60868         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60870 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60872         * string/Makefile: Remove ifunc tests.
60873         * string/test-string.h: Define TEST_IFUNC.
60874         * string/test-bcopy-ifunc.c: Remove.
60875         * string/test-bzero-ifunc.c: Likewise.
60876         * string/test-memccpy-ifunc.c: Likewise.
60877         * string/test-memchr-ifunc.c: Likewise.
60878         * string/test-memcmp-ifunc.c: Likewise.
60879         * string/test-memcpy-ifunc.c: Likewise.
60880         * string/test-memmem-ifunc.c: Likewise.
60881         * string/test-memmove-ifunc.c: Likewise.
60882         * string/test-mempcpy-ifunc.c: Likewise.
60883         * string/test-memrchr-ifunc.c: Likewise.
60884         * string/test-memset-ifunc.c: Likewise.
60885         * string/test-rawmemchr-ifunc.c: Likewise.
60886         * string/test-stpcpy-ifunc.c: Likewise.
60887         * string/test-stpncpy-ifunc.c: Likewise.
60888         * string/test-strcasecmp-ifunc.c: Likewise.
60889         * string/test-strcasestr-ifunc.c: Likewise.
60890         * string/test-strcat-ifunc.c: Likewise.
60891         * string/test-strchr-ifunc.c: Likewise.
60892         * string/test-strchrnul-ifunc.c: Likewise.
60893         * string/test-strcmp-ifunc.c: Likewise.
60894         * string/test-strcpy-ifunc.c: Likewise.
60895         * string/test-strcspn-ifunc.c: Likewise.
60896         * string/test-strlen-ifunc.c: Likewise.
60897         * string/test-strncasecmp-ifunc.c: Likewise.
60898         * string/test-strncat-ifunc.c: Likewise.
60899         * string/test-strncmp-ifunc.c: Likewise.
60900         * string/test-strncpy-ifunc.c: Likewise.
60901         * string/test-strnlen-ifunc.c: Likewise.
60902         * string/test-strpbrk-ifunc.c: Likewise.
60903         * string/test-strrchr-ifunc.c: Likewise.
60904         * string/test-strspn-ifunc.c: Likewise.
60905         * string/test-strstr-ifunc.c: Likewise.
60907 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60909         * benchtests/Makefile: Remove ifunc tests.
60910         * benchtests/bench-string.h: Define TEST_IFUNC.
60911         * benchtests/bench-bcopy-ifunc.c: Remove.
60912         * benchtests/bench-bzero-ifunc.c: Likewise.
60913         * benchtests/bench-memccpy-ifunc.c: Likewise.
60914         * benchtests/bench-memchr-ifunc.c: Likewise.
60915         * benchtests/bench-memcmp-ifunc.c: Likewise.
60916         * benchtests/bench-memcpy-ifunc.c: Likewise.
60917         * benchtests/bench-memmem-ifunc.c: Likewise.
60918         * benchtests/bench-memmove-ifunc.c: Likewise.
60919         * benchtests/bench-mempcpy-ifunc.c: Likewise.
60920         * benchtests/bench-memrchr-ifunc.c: Likewise.
60921         * benchtests/bench-memset-ifunc.c: Likewise.
60922         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60923         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60924         * benchtests/bench-stpcpy-ifunc.c: Likewise.
60925         * benchtests/bench-stpncpy-ifunc.c: Likewise.
60926         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60927         * benchtests/bench-strcasestr-ifunc.c: Likewise.
60928         * benchtests/bench-strcat-ifunc.c: Likewise.
60929         * benchtests/bench-strchr-ifunc.c: Likewise.
60930         * benchtests/bench-strchrnul-ifunc.c: Likewise.
60931         * benchtests/bench-strcmp-ifunc.c: Likewise.
60932         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60933         * benchtests/bench-strcpy-ifunc.c: Likewise.
60934         * benchtests/bench-strcspn-ifunc.c: Likewise.
60935         * benchtests/bench-strlen-ifunc.c: Likewise.
60936         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60937         * benchtests/bench-strncat-ifunc.c: Likewise.
60938         * benchtests/bench-strncmp-ifunc.c: Likewise.
60939         * benchtests/bench-strncpy-ifunc.c: Likewise.
60940         * benchtests/bench-strnlen-ifunc.c: Likewise.
60941         * benchtests/bench-strpbrk-ifunc.c: Likewise.
60942         * benchtests/bench-strrchr-ifunc.c: Likewise.
60943         * benchtests/bench-strsep-ifunc.c: Likewise.
60944         * benchtests/bench-strspn-ifunc.c: Likewise.
60945         * benchtests/bench-strstr-ifunc.c: Likewise.
60947 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60949         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60951 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60953         * resolv/netdb.h: Use __glibc_reserved instead __unused.
60954         * rt/aio.h: Likewise.
60955         * sysdeps/gnu/bits/utmp.h: Likewise.
60956         * sysdeps/gnu/bits/utmpx.h: Likewise.
60957         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60958         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60959         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60960         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60961         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60962         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60963         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60964         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60965         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60966         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60967         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60968         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60969         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60971         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60972         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60973         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60974         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60975         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60976         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60977         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60978         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60979         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60980         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60981         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60982         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60983         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60984         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60985         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60986         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60987         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60988         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60989         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60990         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60991         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60992         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60993         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60994         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60995         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60996         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60997         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60998         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61000 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
61002         [BZ #16245]
61003         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61004         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61006 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
61008         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61009         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61010         Likewise.
61012 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61014         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61015         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61016         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61017         (__fesetround): Remove define.
61018         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61019         rounding and exceptions handling.
61020         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61021         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61022         (__fe_nomask_env): Likewise.
61023         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61024         __fegetround instead of fegetround.
61025         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61026         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61028 2013-11-21  Roland McGrath  <roland@hack.frob.com>
61030         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61031         it's there.
61033         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61035 2013-11-21  Meador Inge  <meadori@codesourcery.com>
61037         [BZ #11157]
61038         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61039         (encrypt_r): Likewise.
61040         * malloc/obstack.h (obstack_free): Likewise.
61041         * posix/unistd.h (encrypt): Likewise.
61043 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
61045         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61046         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61047         DL_CALL_DT_FINI() that call the functions directly.
61048         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61049         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61050         * elf/dl-fini.c: Likewise.
61052 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
61054         * malloc/hooks.c (memalign_check): Add alignment rounding.
61055         * malloc/malloc.c (_mid_memalign): New function.
61056         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61057         Implement by calling _mid_memalign.
61058         * manual/probes.texi (Memory Allocation Probes): Remove
61059         memory_valloc_retry and memory_pvalloc_retry.
61061 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61063         * locale/programs/locarchive.c (open_archive): Add const
61064         qualifier to ARCHIVEFNAME and copy default fname to
61065         DEFAULT_FNAME.
61067         [BZ #15601]
61068         * libio/tst-widetext.input: Rename Oriya to Odia.
61069         * locale/iso-639.def: Likewise.
61071         * manual/probes.texi (Mathematical Function Probes): Add
61072         documentation for sin, cos, asin and acos probes.
61073         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61074         (__sin32): Add slowasin probe.
61075         (__cos32): Add slowacos probe.
61076         (__mpsin): Add slowsin probe.
61077         (__mpcos): Add slowcos probe.
61079 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
61081         [BZ #15483]
61082         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61083         thread-local __sim_exceptions_thread and global
61084         __sim_exceptions_global.
61085         (__sim_disabled_exceptions): Change to thread-local
61086         __sim_disabled_exceptions_thread and global
61087         __sim_disabled_exceptions_global.
61088         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61089         and global __sim_round_mode_global.
61090         (__simulate_exceptions): Use thread-local floating-point state and
61091         set global state from it as needed.
61092         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61093         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61094         __sim_round_mode_thread.
61095         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61096         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61097         and global __sim_exceptions_global.
61098         (__sim_disabled_exceptions): Change to thread-local
61099         __sim_disabled_exceptions_thread and global
61100         __sim_disabled_exceptions_global.
61101         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61102         and global __sim_round_mode_global.
61103         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61104         (SIM_SET_GLOBAL): Likewise.
61105         * sysdeps/powerpc/soft-fp/sfp-machine.h
61106         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61107         __sim_round_mode_thread.
61108         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61109         __sim_disabled_exceptions_thread.
61110         (__sim_exceptions): Change to __sim_exceptions_thread.
61111         (__sim_disabled_exceptions): Change to
61112         __sim_disabled_exceptions_thread.
61113         (__sim_round_mode): Change to __sim_round_mode_thread.
61114         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61115         thread-local floating-point state and set global state from it as
61116         needed.
61117         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61118         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61119         (__sim_disabled_exceptions): Remove extern declaration.
61120         (feenableexcept): Use thread-local floating-point state and set
61121         global state from it as needed.
61122         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61123         extern declaration.
61124         (__sim_disabled_exceptions): Likewise.
61125         (__sim_round_mode): Likewise.
61126         (__fegetenv): Use thread-local floating-point state.
61127         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61128         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61129         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61130         floating-point state and set global state from it as needed.
61131         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61132         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61133         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61134         Likewise.
61135         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61136         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61137         Likewise.
61138         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61139         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61140         Use __sim_round_mode_thread.
61141         * math/test-fenv-tls.c: New file.
61142         * math/Makefile (tests): Add test-fenv-tls.
61143         ($(objpfx)test-fenv-tls): Depend on
61144         $(common-objpfx)nptl/libpthread.so.
61146 2013-11-19  Andreas Schwab  <schwab@suse.de>
61148         * locale/programs/locale.c (show_info): Decode wordarray elements.
61149         * locale/categories.def (LC_MONETARY): Add element for
61150         _NL_MONETARY_CRNCYSTR.
61151         * locale/C-monetary.c (conversion_rate): New variable.
61152         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61153         element.
61155 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
61157         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61158         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61160 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61162         * elf/Makefile (tst-auxv): New test.
61163         * elf/tst-auxv.c: New
61164         * elf/rtld.c (dl_main): Adjust AT_EXECFN
61166 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
61168         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61169         (hidden_proto): Caller changed.
61170         (hidden_tls_proto): New macro.
61171         (libc_hidden_tls_proto): Likewise.
61172         (rtld_hidden_tls_proto): Likewise.
61173         (libm_hidden_tls_proto): Likewise.
61174         (libresolv_hidden_tls_proto): Likewise.
61175         (librt_hidden_tls_proto): Likewise.
61176         (libdl_hidden_tls_proto): Likewise.
61177         (libnss_files_hidden_tls_proto): Likewise.
61178         (libnsl_hidden_tls_proto): Likewise.
61179         (libnss_nisplus_hidden_tls_proto): Likewise.
61180         (libutil_hidden_tls_proto): Likewise.
61182 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
61184         [BZ #10253]
61185         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61186         (decompose_rpath): Defer expansion to fillin_rpath.
61187         (_dl_init_paths): Pass linkmap to fillin_rpath.
61189 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
61191         * benchtests/Makefile: Add strsep.
61192         * benchtests/bench-strsep.c: New file: strsep benchtest.
61193         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61195 2013-11-18  Andreas Schwab  <schwab@suse.de>
61197         * locale/programs/locale.c (show_info) [case byte]: Check for
61198         '\377' instead of '\177'.
61199         * locale/C-monetary.c (not_available): Always use "\377".
61200         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61201         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
61202         detect unavailable sign_posn locale elements.
61203         * locale/localeconv.c (__localeconv): For grouping and
61204         mon_grouping handle "\177" and "\377" like no grouping.
61205         (INT_ELEM): New macro.  Use it to set all numeric members.
61206         * locale/programs/ld-monetary.c (monetary_read)
61207         <tok_mon_grouping>: Normalize single -1 to the empty string.
61208         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61209         Likewise.
61211 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
61213         [BZ #16055]
61214         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61215         when we match (nil).
61216         * stdio-common/tst-sscanf.c (struct test): Add testcase.
61218 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
61220         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61221         (NO_TEST_INLINE): Update value.
61222         (ERRNO_UNCHANGED): Likewise.
61223         (ERRNO_EDOM): Likewise.
61224         (ERRNO_ERANGE): Likewise.
61225         (IGNORE_RESULT): Likewise.
61226         (check_float_internal): Check signs of NaN results if
61227         TEST_NAN_SIGN used.
61228         (check_complex): Pass TEST_NAN_SIGN flag through to second
61229         check_float_internal call.
61230         (copysign_test_data): Add tests with quiet NaNs as second
61231         argument.  Use TEST_NAN_SIGN.
61232         (fabs_test_data): Add test of negative quiet NaN argument.  Use
61233         TEST_NAN_SIGN.
61234         (signbit_test_data): Add tests of quiet NaN argument.
61235         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61237         * math/gen-libm-test.pl (show_exceptions): Take extra argument
61238         $ignore_result.
61239         (parse_args): Handle function results specified as IGNORE.
61240         * math/libm-test.inc (IGNORE_RESULT): New macro.
61241         (check_float_internal): Do not check numerical result if flag
61242         IGNORE_RESULT set.
61243         (check_complex): Pass through IGNORE_RESULT to second
61244         check_float_internal call.
61245         (check_int): Do not check numerical result if flag IGNORE_RESULT
61246         set.
61247         (check_long): Likewise.
61248         (check_bool): Likewise.
61249         (check_longlong): Likewise.
61250         (lrint_test_data): Add tests of infinite and NaN arguments.
61251         (lrint_tonearest_test_data): Likewise.
61252         (lrint_towardzero_test_data): Likewise.
61253         (lrint_downward_test_data): Likewise.
61254         (lrint_upward_test_data): Likewise.
61255         (llrint_test_data): Likewise.
61256         (llrint_tonearest_test_data): Likewise.
61257         (llrint_towardzero_test_data): Likewise.
61258         (llrint_downward_test_data): Likewise.
61259         (llrint_upward_test_data): Likewise.
61260         (lround_test_data): Likewise.
61261         (llround_test_data): Likewise.
61263         * math/libm-test.inc (NO_TEST_INLINE): New macro.
61264         (ERRNO_UNCHANGED): Update value.
61265         (ERRNO_EDOM): Likewise.
61266         (ERRNO_ERANGE): Likewise.
61267         (NO_TEST_INLINE_FLOAT): New macro.
61268         (NO_TEST_INLINE_DOUBLE): Likewise.
61269         (enable_test): New function.
61270         (RUN_TEST_f_f): Check enable_test before running test.
61271         (RUN_TEST_2_f): Likewise.
61272         (RUN_TEST_fff_f): Likewise.
61273         (RUN_TEST_c_f): Likewise.
61274         (RUN_TEST_f_f1): Likewise.
61275         (RUN_TEST_fF_f1): Likewise.
61276         (RUN_TEST_fI_f1): Likewise.
61277         (RUN_TEST_ffI_f1): Likewise.
61278         (RUN_TEST_c_c): Likewise.
61279         (RUN_TEST_cc_c): Likewise.
61280         (RUN_TEST_f_i): Likewise.
61281         (RUN_TEST_f_i_tg): Likewise.
61282         (RUN_TEST_ff_i_tg): Likewise.
61283         (RUN_TEST_f_b): Likewise.
61284         (RUN_TEST_f_b_tg): Likewise.
61285         (RUN_TEST_f_l): Likewise.
61286         (RUN_TEST_f_L): Likewise.
61287         (RUN_TEST_fFF_11): Likewise.
61288         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61289         conditionals.
61290         (cosh_test_data): Likewise.
61291         (exp_test_data): Likewise.
61292         (expm1_test_data): Likewise.
61293         (hypot_test_data): Likewise.
61294         (pow_test_data): Likewise.
61295         (sinh_test_data): Likewise.
61296         (tanh_test_data): Likewise.
61297         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61298         flags argument.
61300         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61301         tests with quiet NaN input and output.
61302         (acosh_test_data): Likewise.
61303         (asin_test_data): Likewise.
61304         (asinh_test_data): Likewise.
61305         (atan_test_data): Likewise.
61306         (atanh_test_data): Likewise.
61307         (atan2_test_data): Likewise.
61308         (cbrt_test_data): Likewise.
61309         (cos_test_data): Likewise.
61310         (cosh_test_data): Likewise.
61311         (erf_test_data): Likewise.
61312         (erfc_test_data): Likewise.
61313         (exp_test_data): Likewise.
61314         (exp10_test_data): Likewise.
61315         (exp2_test_data): Likewise.
61316         (expm1_test_data): Likewise.
61317         (hypot_test_data): Likewise.
61318         (j0_test_data): Likewise.
61319         (j1_test_data): Likewise.
61320         (jn_test_data): Likewise.
61321         (lgamma_test_data): Likewise.
61322         (log_test_data): Likewise.
61323         (log10_test_data): Likewise.
61324         (log1p_test_data): Likewise.
61325         (log2_test_data): Likewise.
61326         (pow_test_data): Likewise.
61327         (scalb_test_data): Likewise.
61328         (sin_test_data): Likewise.
61329         (sincos_test_data): Likewise.
61330         (sinh_test_data): Likewise.
61331         (tan_test_data): Likewise.
61332         (tanh_test_data): Likewise.
61333         (tgamma_test_data): Likewise.
61334         (y0_test_data): Likewise.
61335         (y1_test_data): Likewise.
61336         (yn_test_data): Likewise.
61338         [BZ #16167]
61339         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61340         argument being NaN and avoid computations with second argument in
61341         that case.
61342         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61343         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61344         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61346 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
61348         * locale/iso-639.def: Add Chitwani Tharu (the).
61350 2013-11-14  Andreas Schwab  <schwab@suse.de>
61352         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61353         word instead of empty string.
61355 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61358         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61360         (__fe_nomask_env): Likewise.
61362 2013-11-13  Steve Ellcey  <sellcey@mips.com>
61364         * benchtests/bench-timing.h: Include time.h.
61366 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
61368         [BZ #15997]
61369         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61370         to 3.4.0 for x32.
61371         * sysdeps/unix/sysv/linux/configure: Regenerated.
61373 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
61375         [BZ #16151]
61376         * stdlib/strtod_l.c (round_and_return): Do not consider
61377         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61378         exponent one less than half the least subnormal exponent.
61379         * stdlib/test-strtod-round-data: Add more tests.
61380         * stdlib/tst-strtod-round.c (tests): Regenerated.
61382 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61384         [BZ #14143]
61385         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61386         (__fe_mask_env): Likewise.
61387         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61388         libm_hidden_proto and add function prototype.
61389         (__fe_mask_env): Add function prototype.
61390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61391         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61393         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61395         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61397 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61399         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61400         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61402 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61404         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61405         of htab_find_slot().
61407 2013-11-11  David S. Miller  <davem@davemloft.net>
61409         [BZ #16150]
61410         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61411         symbol in the non-vis3 case in static builds.
61412         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61413         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61414         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61415         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61417 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
61419         [BZ #387]
61420         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61421         it is empty.
61423 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61425         * benchtests/Makefile: Add bench-strtod.
61426         * benchtests/bench-strtod.c: New file: strtod benchtest
61428 2013-11-11  Andreas Schwab  <schwab@suse.de>
61430         [BZ #16153]
61431         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61432         terminating NUL in key length.
61434 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61436         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61437         Add artificial ODP entry for vDSO symbol for PPC64.
61438         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61439         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61441 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
61443         [BZ #15374]
61444         * nss/getent.c (services_keys): Recognize services starting with digit.
61446 2013-11-06  David S. Miller  <davem@davemloft.net>
61448         [BZ #15985]
61449         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61450         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61452 2013-11-06  Will Newton  <will.newton@linaro.org>
61454         * manual/memory.texi (Malloc Examples): Remove register
61455         keyword from examples.
61457 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
61459         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61461 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
61463         [BZ #6981]
61464         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61465         depending on [__GCC_IEC_559 > 0].
61466         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61467         depending on [__GCC_IEC_559_COMPLEX > 0].
61469 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
61471         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61472         to iso-639.def.
61474 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
61476         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61478 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
61480         [BZ #16112]
61481         * malloc/malloc (malloc_info): Do not handle first bin as
61482         special case.
61484 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
61486         * locale/iso-639.def: Add Central Nahuatl (nhn).
61488 2013-11-01  Bruno Haible  <bruno@clisp.org>
61490         [BZ #7003]
61491         * manual/math.texi (BSD Random): Specify range upper bound as
61492         in POSIX.
61494 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
61496         * locale/iso-639.def: Add Meadow Mari (mhr).
61498 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
61500         [BZ #14752], [BZ #15763]
61501         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61502         Validate name.
61503         * rt/tst_shm.c: Add test for escaping directory.
61505 2013-10-31  Andreas Schwab  <schwab@suse.de>
61507         [BZ #15917]
61508         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61509         followed by 'x' as part of digit sequence.
61510         * stdio-common/tst-sscanf.c (double_tests2): New tests.
61512 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61514         [BZ #16037]
61515         * configure.ac: allow GNU Make 4.0 and greater.
61516         * configure: Regenerated.
61518 2013-10-30  Will Newton  <will.newton@linaro.org>
61520         [BZ #16038]
61521         * malloc/hooks.c (memalign_check): Limit alignment to the
61522         maximum representable power of two.
61523         * malloc/malloc.c (__libc_memalign): Likewise.
61524         * malloc/tst-memalign.c (do_test): Add test for very
61525         large alignment values.
61526         * malloc/tst-posix_memalign.c (do_test): Likewise.
61528 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
61530         [BZ #11087]
61531         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61532         (munmap_chunk): Likewise.
61533         (mremap_chunk): Likewise.
61535 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
61537         [BZ #15799]
61538         * stdlib/div.c (div): Remove obsolete code.
61539         * stdlib/ldiv.c (ldiv): Likewise.
61540         * stdlib/lldiv.c (lldiv): Likewise.
61542 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61544         [BZ #16071]
61545         * nss/nss_files/files-XXX.c (get_contents_ret): New
61546         enumerator.
61547         (get_contents): New function.
61548         (internal_getent): Use it.  Expand size of LINEBUFLEN.
61550 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
61552         * configure.in: Moved to ...
61553         * configure.ac: ... here. Change reference to configure.in
61554         to configure.ac.
61555         * sysdeps/arm/preconfigure.ac: ... here.
61556         configure.in to configure.ac.
61557         * sysdeps/gnu/configure.in: Moved to ...
61558         * sysdeps/gnu/configure.ac: ... here.
61559         * sysdeps/i386/configure.in: Moved to ...
61560         * sysdeps/i386/configure.ac: ... here.
61561         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61562         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61563         * sysdeps/mach/configure.in: Moved to ...
61564         * sysdeps/mach/configure.ac: ... here.
61565         * sysdeps/mach/hurd/configure.in: Moved to ...
61566         * sysdeps/mach/hurd/configure.ac: ... here.
61567         * sysdeps/powerpc/configure.in: Moved to ...
61568         * sysdeps/powerpc/configure.ac: ... here.
61569         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61570         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61571         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61572         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61573         * sysdeps/s390/s390-32/configure.in: Moved to ...
61574         * sysdeps/s390/s390-32/configure.ac: ... here.
61575         * sysdeps/s390/s390-64/configure.in: Moved to ...
61576         * sysdeps/s390/s390-64/configure.ac: ... here.
61577         * sysdeps/sh/configure.in: Moved to ...
61578         * sysdeps/sh/configure.ac: ... here.
61579         * sysdeps/sparc/configure.in: Moved to ...
61580         * sysdeps/sparc/configure.ac: ... here.
61581         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61582         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61583         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61584         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61585         * sysdeps/x86_64/configure.in: Moved to ...
61586         * sysdeps/x86_64/configure.ac: ... here.
61587         * sysdeps/x86_64/preconfigure.in: Moved to ...
61588         * sysdeps/x86_64/preconfigure.ac: ... here.
61589         * aclocal.m4: Change reference to configure.in to configure.ac.
61590         * config.h.in: Likewise.
61591         * manual/install.texi: Likewise.
61592         * manual/maint.texi: Likewise.
61593         * Makefile: Likewise.
61594         * malloc/Makefile: Likewise.
61595         * nscd/Makefile: Likewise.
61596         * Makeconfig: Change reference to configure.in and
61597         preconfigure.in to configure.ac and preconfigure.ac
61598         respectively.
61599         * INSTALL: Regenerated.
61600         * configure: Likewise.
61601         * sysdeps/gnu/configure: Likewise.
61602         * sysdeps/i386/configure: Likewise.
61603         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61604         * sysdeps/mach/configure: Likewise.
61605         * sysdeps/mach/hurd/configure: Likewise.
61606         * sysdeps/powerpc/configure: Likewise.
61607         * sysdeps/powerpc/powerpc32/configure: Likewise.
61608         * sysdeps/powerpc/powerpc64/configure: Likewise.
61609         * sysdeps/s390/s390-32/configure: Likewise.
61610         * sysdeps/s390/s390-64/configure: Likewise.
61611         * sysdeps/sh/configure: Likewise.
61612         * sysdeps/sparc/configure: Likewise.
61613         * sysdeps/unix/sysv/linux/configure: Likewise.
61614         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61615         * sysdeps/x86_64/configure: Likewise.
61616         * sysdeps/x86_64/preconfigure: Likewise.
61618 2013-10-29  Andreas Schwab  <schwab@suse.de>
61620         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61622 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61624         * benchtests/pow-inputs: Add new inputs.
61626         * benchtests/exp-inputs: Add new inputs.
61628         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61629         conditional check for return value.
61630         (__cos32): Likewise.
61632 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61634         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61635         to provide a boost for large inputs with word alignment.
61636         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61637         implementation based on optimized PPC64 strcpy.
61638         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61639         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61640         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61641         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61643 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61645         [BZ #2801]
61646         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61648 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61650         [BZ #14876]
61651         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61652         * time/tst-strptime.c (day_tests): Add testcase.
61654 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61656         [BZ #14029]
61657         * manual/pattern.texi: Acknowledge that fnmatch can fail.
61659 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
61661         [BZ #16074]
61662         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61663         MAP_FAILED on error.
61665 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61667         [BZ #16072]
61668         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61669         heap for large requests.
61671 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
61673         [BZ #9954]
61674         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61675         result if the result has no associated interface.
61676         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61677         interface for all 127.X.Y.Z addresses.
61679 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
61681         * locale/iso-639.def: Add Ligurian (lij)
61683 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
61685         [BZ #15825]
61686         * sunrpc/rpc_main.c: Document rpcgen -5.
61688 2013-10-19  Michael Stahl  <mstahl@redhat.com>
61690         * elf/rtld.c (do_preload): Print the reason why preloading failed.
61692 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
61694         [BZ #10278]
61695         * posix/glob.c: Match only directories when trailing slash is present.
61696         * posix/tst-gnuglob.c (my_opendir): Do not open files.
61697         (main): Add testcase.
61699 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
61701         [BZ #15670]
61702         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61704 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
61706         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61707         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61708         AUTH_DES and cindex for FIPS 140-2.
61709         (DES Encryption): Add cindex FIPS 46-3.
61711         * locale/locarchive.h (struct locarhandle): Add fname.
61712         * locale/programs/localedef.c (main): Pass ARGV[remaining]
61713         if an optional argument was specified to --list-archive,
61714         otherwise NULL.
61715         * locale/programs/locarchive.c (show_archive_content): Take new
61716         argument fname and pass it via ah.fname to open_archive.
61717         * locale/programs/localedef.h: Update decl.
61718         (open_archive): If AH->fname is non-null, open that file
61719         rather than the default file name, and don't ignore ENOENT.
61720         (create_archive): Set AH.fname to NULL.
61721         (delete_locales_from_archive): Likewise.
61722         (add_locales_to_archive): Likewise.
61723         * locale/programs/locfile.c (write_all_categories): Likewise.
61725 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
61726             Aldy Hernandez  <aldyh@redhat.com>
61728         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61729         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61730         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61731         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61732         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61733         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61734         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61735         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61736         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61737         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61738         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61739         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61740         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61741         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61742         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61743         Likewise.
61744         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61745         Likewise.
61746         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61747         Likewise.
61748         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61749         Likewise.
61750         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61751         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61752         Likewise.
61753         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61754         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61755         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61756         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61757         Likewise.
61758         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61759         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61760         * sysdeps/powerpc/preconfigure: Likewise.
61761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61762         Likewise.
61763         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61764         Replace contents of file by #include of <fenv_libc.h>.
61765         * sysdeps/powerpc/soft-fp/sfp-machine.h
61766         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61767         and <sys/prctl.h>.
61768         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61769         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61770         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61771         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61772         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61773         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61775         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61776         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61777         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61778         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61779         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61781         Allow copysignl PLT reference to be missing.
61783 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
61784             Joseph Myers  <joseph@codesourcery.com
61786         [BZ #15948]
61787         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61788         single character.
61789         (add_to_tablewc): Assert sequence of wide characters is nonempty.
61791 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61793         * elf/tst-tls-dlinfo.c: Don't include tls.h.
61794         * elf/tst-tls1.c: Likewise.
61795         * elf/tst-tls10.h: Likewise.
61796         * elf/tst-tls14.c: Likewise.
61797         * elf/tst-tls2.c: Likewise.
61798         * elf/tst-tls3.c: Likewise.
61799         * elf/tst-tls4.c: Likewise.
61800         * elf/tst-tls5.c: Likewise.
61801         * elf/tst-tls6.c: Likewise.
61802         * elf/tst-tls7.c: Likewise.
61803         * elf/tst-tls8.c: Likewise.
61804         * elf/tst-tls9.c: Likewise.
61805         * elf/tst-tlsmod1.c: Likewise.
61806         * elf/tst-tlsmod13.c: Likewise.
61807         * elf/tst-tlsmod13a.c: Likewise.
61808         * elf/tst-tlsmod14a.c: Likewise.
61809         * elf/tst-tlsmod16a.c: Likewise.
61810         * elf/tst-tlsmod16b.c: Likewise.
61811         * elf/tst-tlsmod2.c: Likewise.
61812         * elf/tst-tlsmod3.c: Likewise.
61813         * elf/tst-tlsmod4.c: Likewise.
61814         * elf/tst-tlsmod5.c: Likewise.
61815         * elf/tst-tlsmod6.c: Likewise.
61817 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
61819         [BZ #12486]
61820         * malloc/malloc.c: remove checks for statistics.
61822 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
61824         [BZ #15277]
61825         * inet/inet_net.c (inet_network): Detect additional invalid strings.
61826         * inet/tst-network.c: Add testcase.
61828 2013-10-17  Andreas Schwab  <schwab@suse.de>
61830         [BZ #15218]
61831         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61832         to determine canonical name.
61834 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
61836         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61837         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61838         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61839         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61840         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61841         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61842         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61843         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61844         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61845         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61846         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61847         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61848         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61849         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61850         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61851         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61852         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61853         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61854         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61855         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61856         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61857         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61858         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61859         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61860         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61861         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61862         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61863         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61864         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61865         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61866         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61867         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61868         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61869         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61870         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61871         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61872         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61873         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61874         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61875         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61876         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61877         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61878         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61879         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61880         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61881         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61882         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61883         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61884         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61885         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61886         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61887         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61888         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61889         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61890         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61891         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61892         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61893         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61895 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
61897         [BZ #16041]
61898         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61899         make result into a quiet NaN.
61901 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
61903         * soft-fp/adddf3.c: Fix horizontal whitespace.
61904         * soft-fp/addsf3.c: Likewise.
61905         * soft-fp/addtf3.c: Likewise.
61906         * soft-fp/divdf3.c: Likewise.
61907         * soft-fp/divsf3.c: Likewise.
61908         * soft-fp/divtf3.c: Likewise.
61909         * soft-fp/double.h: Likewise.
61910         * soft-fp/eqdf2.c: Likewise.
61911         * soft-fp/eqsf2.c: Likewise.
61912         * soft-fp/eqtf2.c: Likewise.
61913         * soft-fp/extenddftf2.c: Likewise.
61914         * soft-fp/extended.h: Likewise.
61915         * soft-fp/extendsfdf2.c: Likewise.
61916         * soft-fp/extendsftf2.c: Likewise.
61917         * soft-fp/extendxftf2.c: Likewise.
61918         * soft-fp/fixdfdi.c: Likewise.
61919         * soft-fp/fixdfsi.c: Likewise.
61920         * soft-fp/fixdfti.c: Likewise.
61921         * soft-fp/fixsfdi.c: Likewise.
61922         * soft-fp/fixsfsi.c: Likewise.
61923         * soft-fp/fixsfti.c: Likewise.
61924         * soft-fp/fixtfdi.c: Likewise.
61925         * soft-fp/fixtfsi.c: Likewise.
61926         * soft-fp/fixtfti.c: Likewise.
61927         * soft-fp/fixunsdfdi.c: Likewise.
61928         * soft-fp/fixunsdfsi.c: Likewise.
61929         * soft-fp/fixunsdfti.c: Likewise.
61930         * soft-fp/fixunssfdi.c: Likewise.
61931         * soft-fp/fixunssfsi.c: Likewise.
61932         * soft-fp/fixunssfti.c: Likewise.
61933         * soft-fp/fixunstfdi.c: Likewise.
61934         * soft-fp/fixunstfsi.c: Likewise.
61935         * soft-fp/fixunstfti.c: Likewise.
61936         * soft-fp/floatdidf.c: Likewise.
61937         * soft-fp/floatdisf.c: Likewise.
61938         * soft-fp/floatditf.c: Likewise.
61939         * soft-fp/floatsidf.c: Likewise.
61940         * soft-fp/floatsisf.c: Likewise.
61941         * soft-fp/floatsitf.c: Likewise.
61942         * soft-fp/floattidf.c: Likewise.
61943         * soft-fp/floattisf.c: Likewise.
61944         * soft-fp/floattitf.c: Likewise.
61945         * soft-fp/floatundidf.c: Likewise.
61946         * soft-fp/floatundisf.c: Likewise.
61947         * soft-fp/floatunditf.c: Likewise.
61948         * soft-fp/floatunsidf.c: Likewise.
61949         * soft-fp/floatunsisf.c: Likewise.
61950         * soft-fp/floatunsitf.c: Likewise.
61951         * soft-fp/floatuntidf.c: Likewise.
61952         * soft-fp/floatuntisf.c: Likewise.
61953         * soft-fp/floatuntitf.c: Likewise.
61954         * soft-fp/fmadf4.c: Likewise.
61955         * soft-fp/fmasf4.c: Likewise.
61956         * soft-fp/fmatf4.c: Likewise.
61957         * soft-fp/gedf2.c: Likewise.
61958         * soft-fp/gesf2.c: Likewise.
61959         * soft-fp/getf2.c: Likewise.
61960         * soft-fp/ledf2.c: Likewise.
61961         * soft-fp/lesf2.c: Likewise.
61962         * soft-fp/letf2.c: Likewise.
61963         * soft-fp/muldf3.c: Likewise.
61964         * soft-fp/mulsf3.c: Likewise.
61965         * soft-fp/multf3.c: Likewise.
61966         * soft-fp/negdf2.c: Likewise.
61967         * soft-fp/negsf2.c: Likewise.
61968         * soft-fp/negtf2.c: Likewise.
61969         * soft-fp/op-1.h: Likewise.
61970         * soft-fp/op-2.h: Likewise.
61971         * soft-fp/op-4.h: Likewise.
61972         * soft-fp/op-8.h: Likewise.
61973         * soft-fp/op-common.h: Likewise.
61974         * soft-fp/quad.h: Likewise.
61975         * soft-fp/single.h: Likewise.
61976         * soft-fp/soft-fp.h: Likewise.
61977         * soft-fp/sqrtdf2.c: Likewise.
61978         * soft-fp/sqrtsf2.c: Likewise.
61979         * soft-fp/sqrttf2.c: Likewise.
61980         * soft-fp/subdf3.c: Likewise.
61981         * soft-fp/subsf3.c: Likewise.
61982         * soft-fp/subtf3.c: Likewise.
61983         * soft-fp/truncdfsf2.c: Likewise.
61984         * soft-fp/trunctfdf2.c: Likewise.
61985         * soft-fp/trunctfsf2.c: Likewise.
61986         * soft-fp/trunctfxf2.c: Likewise.
61987         * soft-fp/unorddf2.c: Likewise.
61988         * soft-fp/unordsf2.c: Likewise.
61989         * soft-fp/unordtf2.c: Likewise.
61991 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
61993         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61994         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61996 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
61998         * elf/dl-libc.c: Clear initfini list after freeing.
62000 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
62002         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62003         * soft-fp/addsf3.c: Likewise.
62004         * soft-fp/addtf3.c: Likewise.
62005         * soft-fp/divdf3.c: Likewise.
62006         * soft-fp/divsf3.c: Likewise.
62007         * soft-fp/divtf3.c: Likewise.
62008         * soft-fp/double.h: Likewise.
62009         * soft-fp/eqdf2.c: Likewise.
62010         * soft-fp/eqsf2.c: Likewise.
62011         * soft-fp/eqtf2.c: Likewise.
62012         * soft-fp/extenddftf2.c: Likewise.
62013         * soft-fp/extended.h: Likewise.
62014         * soft-fp/extendsfdf2.c: Likewise.
62015         * soft-fp/extendsftf2.c: Likewise.
62016         * soft-fp/extendxftf2.c: Likewise.
62017         * soft-fp/fixdfdi.c: Likewise.
62018         * soft-fp/fixdfsi.c: Likewise.
62019         * soft-fp/fixdfti.c: Likewise.
62020         * soft-fp/fixsfdi.c: Likewise.
62021         * soft-fp/fixsfsi.c: Likewise.
62022         * soft-fp/fixsfti.c: Likewise.
62023         * soft-fp/fixtfdi.c: Likewise.
62024         * soft-fp/fixtfsi.c: Likewise.
62025         * soft-fp/fixtfti.c: Likewise.
62026         * soft-fp/fixunsdfdi.c: Likewise.
62027         * soft-fp/fixunsdfsi.c: Likewise.
62028         * soft-fp/fixunsdfti.c: Likewise.
62029         * soft-fp/fixunssfdi.c: Likewise.
62030         * soft-fp/fixunssfsi.c: Likewise.
62031         * soft-fp/fixunssfti.c: Likewise.
62032         * soft-fp/fixunstfdi.c: Likewise.
62033         * soft-fp/fixunstfsi.c: Likewise.
62034         * soft-fp/fixunstfti.c: Likewise.
62035         * soft-fp/floatdidf.c: Likewise.
62036         * soft-fp/floatdisf.c: Likewise.
62037         * soft-fp/floatditf.c: Likewise.
62038         * soft-fp/floatsidf.c: Likewise.
62039         * soft-fp/floatsisf.c: Likewise.
62040         * soft-fp/floatsitf.c: Likewise.
62041         * soft-fp/floattidf.c: Likewise.
62042         * soft-fp/floattisf.c: Likewise.
62043         * soft-fp/floattitf.c: Likewise.
62044         * soft-fp/floatundidf.c: Likewise.
62045         * soft-fp/floatundisf.c: Likewise.
62046         * soft-fp/floatunsidf.c: Likewise.
62047         * soft-fp/floatunsisf.c: Likewise.
62048         * soft-fp/floatuntidf.c: Likewise.
62049         * soft-fp/floatuntisf.c: Likewise.
62050         * soft-fp/floatuntitf.c: Likewise.
62051         * soft-fp/fmadf4.c: Likewise.
62052         * soft-fp/fmasf4.c: Likewise.
62053         * soft-fp/fmatf4.c: Likewise.
62054         * soft-fp/gedf2.c: Likewise.
62055         * soft-fp/gesf2.c: Likewise.
62056         * soft-fp/getf2.c: Likewise.
62057         * soft-fp/ledf2.c: Likewise.
62058         * soft-fp/lesf2.c: Likewise.
62059         * soft-fp/letf2.c: Likewise.
62060         * soft-fp/muldf3.c: Likewise.
62061         * soft-fp/mulsf3.c: Likewise.
62062         * soft-fp/multf3.c: Likewise.
62063         * soft-fp/negdf2.c: Likewise.
62064         * soft-fp/negsf2.c: Likewise.
62065         * soft-fp/negtf2.c: Likewise.
62066         * soft-fp/op-1.h: Likewise.
62067         * soft-fp/op-2.h: Likewise.
62068         * soft-fp/op-4.h: Likewise.
62069         * soft-fp/op-8.h: Likewise.
62070         * soft-fp/op-common.h: Likewise.
62071         * soft-fp/quad.h: Likewise.
62072         * soft-fp/single.h: Likewise.
62073         * soft-fp/soft-fp.h: Likewise.
62074         * soft-fp/sqrtdf2.c: Likewise.
62075         * soft-fp/sqrtsf2.c: Likewise.
62076         * soft-fp/sqrttf2.c: Likewise.
62077         * soft-fp/subdf3.c: Likewise.
62078         * soft-fp/subsf3.c: Likewise.
62079         * soft-fp/subtf3.c: Likewise.
62080         * soft-fp/truncdfsf2.c: Likewise.
62081         * soft-fp/trunctfdf2.c: Likewise.
62082         * soft-fp/trunctfsf2.c: Likewise.
62083         * soft-fp/trunctfxf2.c: Likewise.
62084         * soft-fp/unorddf2.c: Likewise.
62085         * soft-fp/unordsf2.c: Likewise.
62086         * soft-fp/unordtf2.c: Likewise.
62088 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
62090         [BZ #15672]
62091         * misc/error.c (error_tail): Fix possible buffer overflow.
62093 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
62095         [BZ #13028]
62096         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62097         address.
62099 2013-10-14  P. J. McDermott  <pj@pehjota.net>
62101         [BZ #832]
62102         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
62103         testing pipefail option.
62105 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62107         * soft-fp/double.h: Indent preprocessor directives inside #if.
62108         * soft-fp/extended.h: Likewise.
62109         * soft-fp/op-2.h: Likewise.
62110         * soft-fp/op-4.h: Likewise.
62111         * soft-fp/op-common.h: Likewise.
62112         * soft-fp/quad.h: Likewise.
62113         * soft-fp/single.h: Likewise.
62114         * soft-fp/soft-fp.h: Likewise.
62116 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
62118         * iconv/iconv_prog.c: Fix typos.
62119         * stdio-common/psiginfo-data.h: Likewise.
62121 2013-10-12   Reuben Thomas <rrt@sc3d.org>
62123         [BZ #15764]
62124         * locale/setlocale.c: Fix typo.
62126 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62128         [BZ #16036]
62129         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62130         signaling NaN arguments.
62131         * soft-fp/unordsf2.c (__unordsf2): Likewise.
62132         * soft-fp/unordtf2.c (__unordtf2): Likewise.
62134         [BZ #14910]
62135         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62136         unordered operands.
62137         * soft-fp/gesf2.c (__gesf2): Likewise.
62138         * soft-fp/getf2.c (__getf2): Likewise.
62139         * soft-fp/ledf2.c (__ledf2): Likewise.
62140         * soft-fp/lesf2.c (__lesf2): Likewise.
62141         * soft-fp/letf2.c (__letf2): Likewise.
62143         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62144         * soft-fp/eqsf2.c (__eqsf2): Likewise.
62145         * soft-fp/eqtf2.c (__eqtf2): Likewise.
62146         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62147         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62148         * soft-fp/fixdfti.c (__fixdfti): Likewise.
62149         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62150         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62151         * soft-fp/fixsfti.c (__fixsfti): Likewise.
62152         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62153         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62154         * soft-fp/fixtfti.c (__fixtfti): Likewise.
62155         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62156         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62157         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62158         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62159         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62160         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62161         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62162         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62163         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62164         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62165         * soft-fp/floatdisf.c (__floatdisf): Likewise.
62166         * soft-fp/floatsisf.c (__floatsisf): Likewise.
62167         * soft-fp/floattidf.c (__floattidf): Likewise.
62168         * soft-fp/floattisf.c (__floattisf): Likewise.
62169         * soft-fp/floattitf.c (__floattitf): Likewise.
62170         * soft-fp/floatundidf.c (__floatundidf): Likewise.
62171         * soft-fp/floatundisf.c (__floatundisf): Likewise.
62172         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62173         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62174         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62175         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62176         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62177         * soft-fp/gesf2.c (__gesf2): Likewise.
62178         * soft-fp/getf2.c (__getf2): Likewise.
62179         * soft-fp/ledf2.c (__ledf2): Likewise.
62180         * soft-fp/lesf2.c (__lesf2): Likewise.
62181         * soft-fp/letf2.c (__letf2): Likewise.
62183         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62184         Undefine and redefine.
62185         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62186         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62187         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62188         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62189         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62190         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62191         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62192         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62193         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62194         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62195         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62196         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62197         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62198         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62199         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62201         [BZ #16032]
62202         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62203         without decrementing exponent if mantissa >= that for the
62204         denominator, not >.
62205         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62206         denominator, not >.  Decrement exponent in < case instead of
62207         incrementing in >= case.
62208         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62209         without decrementing exponent if mantissa >= that for the
62210         denominator, not >.
62212         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62213         computing saturated result for unsigned overflow.
62215 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62216             Jeff Law  <law@redhat.com>
62218         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62219         (atan2Mp): Add systemtap probe marker.
62220         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62221         (__ieee754_log): Add systemtap probe marker.
62222         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62223         (atanMp): Add systemtap probe marker.
62224         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62225         (tanMp): Add systemtap probe marker.
62226         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62227         (__slowexp): Add systemtap probe marker.
62228         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62229         (__slowpow): Add systemtap probe marker.
62230         * manual/probes.texi: Document probes.
62232 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
62234         [BZ #15362]
62235         * libio/fileops.c (_IO_new_file_write): Return count of bytes
62236         written.
62237         (_IO_new_file_xsputn): Don't return EOF if nothing has been
62238         written.
62239         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62240         written to buffer but not flushed.
62241         * libio/iofwrite_u.c:  Likewise.
62242         * libio/iopadn.c:  Return bytes returned even if EOF was
62243         encountered.
62244         * libio/iowpadn.c:  Likewise.
62245         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62246         if _IO_padn does not write the whole buffer.
62247         [!COMPILE_WPRINTF] (PAD): Likewise.
62249 2013-10-10  David S. Miller  <davem@davemloft.net>
62251         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62252         directory block.
62254 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62256         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
62257         instead of FSF address.
62258         * soft-fp/fixdfti.c: Likewise.
62259         * soft-fp/fixsfti.c: Likewise.
62260         * soft-fp/fixtfti.c: Likewise.
62261         * soft-fp/fixunsdfti.c: Likewise.
62262         * soft-fp/fixunssfti.c: Likewise.
62263         * soft-fp/fixunstfti.c: Likewise.
62264         * soft-fp/floattidf.c: Likewise.
62265         * soft-fp/floattisf.c: Likewise.
62266         * soft-fp/floattitf.c: Likewise.
62267         * soft-fp/floatuntidf.c: Likewise.
62268         * soft-fp/floatuntisf.c: Likewise.
62269         * soft-fp/floatuntitf.c: Likewise.
62270         * soft-fp/trunctfxf2.c: Likewise.
62272         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
62273         * soft-fp/fixdfti.c: Likewise.
62274         * soft-fp/fixsfti.c: Likewise.
62275         * soft-fp/fixtfti.c: Likewise.
62276         * soft-fp/fixunsdfti.c: Likewise.
62277         * soft-fp/fixunssfti.c: Likewise.
62278         * soft-fp/fixunstfti.c: Likewise.
62279         * soft-fp/floattidf.c: Likewise.
62280         * soft-fp/floattisf.c: Likewise.
62281         * soft-fp/floattitf.c: Likewise.
62282         * soft-fp/floatuntidf.c: Likewise.
62283         * soft-fp/floatuntisf.c: Likewise.
62284         * soft-fp/floatuntitf.c: Likewise.
62285         * soft-fp/trunctfxf2.c: Likewise.
62287 2013-10-10  David S. Miller  <davem@davemloft.net>
62289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62291 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
62293         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62294         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62295         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62296         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62297         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62298         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62299         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62301         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62302         for NaNs before doing comparisons on argument.
62303         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62304         Likewise.
62306 2013-10-10  Will Newton  <will.newton@linaro.org>
62308         * malloc/hooks.c (memalign_check): Ensure the value of bytes
62309         passed to _int_memalign does not overflow.
62311 2013-10-10  Torvald Riegel  <triegel@redhat.com>
62313         * scripts/bench.pl: Add include-sources directive.
62314         * benchtests/README: Update documentation.
62316 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62318         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62319         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62320         instead of FP_INIT_ROUNDMODE.
62321         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62322         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62324         [BZ #16034]
62325         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
62326         copy class of input value.
62327         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
62328         not handle exceptions.
62329         * soft-fp/negsf2.c (__negsf2): Likewise.
62330         * soft-fp/negtf2.c (__negtf2): Likewise.
62331         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62333 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
62335         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62336         semicolon.  From Linux kernel.
62338 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
62340         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62342 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
62344         [BZ #156]
62345         * manual/socket.texi: Added statement about buffer
62346         for gethostbyname2_r.
62348 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
62350         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62351         Use .p2align directive instead, throughout.
62352         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62353         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62354         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62355         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62356         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62357         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62358         * sysdeps/x86_64/strchr.S: Likewise.
62359         * sysdeps/x86_64/strrchr.S: Likewise.
62361 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62363         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62365         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62367         * sysdeps/generic/math_private.h (__mpsin1): Remove
62368         declaration.
62369         (__mpcos1): Likewise.
62370         (__mpsin): New argument __range_reduce.
62371         (__mpcos): Likewise.
62372         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62373         (slow): Use __mpsin and __mpcos.
62374         (slow1): Likewise.
62375         (slow2): Likewise.
62376         (sloww): Likewise.
62377         (sloww1): Likewise.
62378         (sloww2): Likewise.
62379         (bsloww): Likewise.
62380         (bsloww1): Likewise.
62381         (bsloww2): Likewise.
62382         (cslow2): Likewise.
62383         (csloww): Likewise.
62384         (csloww1): Likewise.
62385         (csloww2): Likewise.
62386         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62387         range_reduce.  Merge in __mpsin1.
62388         (__mpcos): Likewise.
62389         (__mpsin1): Remove.
62390         (__mpcos1): Likewise.
62392 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
62394         * locale/loadlocale.c (_nl_intern_locale_data): Use
62395         LOCFILE_ALIGNED_P.
62396         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62397         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62398         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62399         obstack data is appropriately aligned.
62400         (obstack_int32_grow_fast): Likewise.
62401         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62402         * locale/programs/locfile.c (add_locale_uint32): Likewise.
62403         (add_locale_uint32_array): Likewise.
62405 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62407         * benchtests/Makefile: Remove ARGLIST and RET variables.
62408         ($(objpfx)bench-%.c): Pass only function name to the script.
62409         * benchtests/README: Update documentation.
62410         * benchtests/acos-inputs: Add new directives.
62411         * benchtests/acosh-inputs: Likewise.
62412         * benchtests/asin-inputs: Likewise.
62413         * benchtests/asinh-inputs: Likewise.
62414         * benchtests/atan-inputs: Likewise.
62415         * benchtests/atanh-inputs: Likewise.
62416         * benchtests/cos-inputs: Likewise.
62417         * benchtests/cosh-inputs: Likewise.
62418         * benchtests/exp-inputs: Likewise.
62419         * benchtests/log-inputs: Likewise.
62420         * benchtests/pow-inputs: Likewise.
62421         * benchtests/rint-inputs: Likewise.
62422         * benchtests/sin-inputs: Likewise.
62423         * benchtests/sinh-inputs: Likewise.
62424         * benchtests/tan-inputs: Likewise.
62425         * benchtests/tanh-inputs: Likewise.
62426         * scripts/bench.pl: Add support for new directives.
62428 2013-10-07  Alan Modra  <amodra@gmail.com>
62430         * README: Fix careless merge.
62432 2013-10-05  Alan Modra  <amodra@gmail.com>
62434         * NEWS: Mention powerpc64le support and bugs fixed.
62435         * README: Both big-endian and little-endian powerpc64 supported.
62437 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62439         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62440         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62441         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62442         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62444 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
62446         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62447         match prototype.
62449 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
62451         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62452         Move -mhard-float appending from
62453         ports/sysdeps/powerpc/powerpc32/Makefile.
62454         [$(with-fp) = yes] (ASFLAGS): Likewise.
62455         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62456         * sysdeps/powerpc/nofpu: Move directory from
62457         ports/sysdeps/powerpc/nofpu.
62458         * sysdeps/powerpc/soft-fp: Move directory from
62459         ports/sysdeps/powerpc/soft-fp.
62460         * sysdeps/powerpc/powerpc32/405: Move directory from
62461         ports/sysdeps/powerpc/powerpc32/405.
62462         * sysdeps/powerpc/powerpc32/440: Move directory from
62463         ports/sysdeps/powerpc/powerpc32/440.
62464         * sysdeps/powerpc/powerpc32/464: Move directory from
62465         ports/sysdeps/powerpc/powerpc32/464.
62466         * sysdeps/powerpc/powerpc32/476: Move directory from
62467         ports/sysdeps/powerpc/powerpc32/476.
62468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62469         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62471         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62473         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62475         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62477         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62478         * README: Update for powerpc-*-linux-gnu software floating point
62479         support in libc.
62481         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62482         case to powerpc/powerpc32*.
62483         * sysdeps/unix/sysv/linux/configure: Regenerated.
62485         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62486         (_FPU_MASK_OM): Define as 0x04.
62487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62489         0x00c10080.
62490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62491         0x0000003c.
62492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62495         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62496         getcontext_e500.
62497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62498         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62499         setcontext_e500.
62500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62501         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62502         and setcontext_e500.
62504 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
62506         * locale/iso-3166.def: Update iso-1366.def and related occurrences
62508 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62510         * manual/threads.texi (Default Thread Attributes): Fix typo.
62512 2013-10-04  Will Newton  <will.newton@linaro.org>
62514         * malloc/Makefile: Add tst-memalign.
62515         * malloc/tst-memalign.c: New file.
62517         * malloc/tst-posix_memalign.c: Add comments.
62518         (do_test): Add comments and call free on all potentially
62519         allocated pointers. Add space after cast.
62521         * malloc/tst-pvalloc.c: Add comments.
62522         (do_test): Add comments and call free on all potentially
62523         allocated pointers. Remove duplicate check for NULL pointer.
62524         Add space after cast.
62526         * malloc/tst-valloc.c: Add comments.
62527         (do_test): Add comments and call free on all potentially
62528         allocated pointers. Remove duplicate check for NULL pointer.
62529         Add space after cast.
62531 2013-10-04  Alan Modra  <amodra@gmail.com>
62533         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62534         Use stdint types in rather than __attribute__((mode())).
62535         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62537 2013-10-04  Alan Modra  <amodra@gmail.com>
62539         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62540         Correct handling of unaligned relocs for little-endian.
62541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62543 2013-10-04  Alan Modra  <amodra@gmail.com>
62545         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62546         * configure: Regenerate.
62547         * nptl/shlib-versions: Powerpc*le starts at 2.18.
62548         * shlib-versions: Likewise.
62550 2013-10-04  Alan Modra  <amodra@gmail.com>
62552         * string/tester.c (test_memrchr): Increment reported test cycle.
62554 2013-10-04  Alan Modra  <amodra@gmail.com>
62556         * string/test-memcpy.c (do_one_test): When reporting errors, print
62557         string address and don't overrun end of string.
62559 2013-10-04  Alan Modra  <amodra@gmail.com>
62561         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62562         insrdi.  Make better use of reg selection to speed exit slightly.
62563         Schedule entry path a little better.  Remove useless "are we done"
62564         checks on entry to main loop.  Handle wrapping around zero address.
62565         Correct main loop count.  Handle single left-over word from main
62566         loop inline rather than by using loop_small.  Remove extra word
62567         case in loop_small caused by wrong loop count.  Add little-endian
62568         support.
62569         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62570         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62571         cache hint.
62572         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62573         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62574         support.  Avoid rlwimi.
62575         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62577 2013-10-04  Alan Modra  <amodra@gmail.com>
62579         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62580         insrdi.  Formatting.
62581         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62582         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62583         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62584         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62585         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62586         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62588 2013-10-04  Alan Modra  <amodra@gmail.com>
62590         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62591         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62592         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62593         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62594         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62595         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62596         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62597         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62598         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62599         use of regs.  Use power7 mtocrf.  Tidy function tails.
62601 2013-10-04  Alan Modra  <amodra@gmail.com>
62603         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62604         Formatting.  Consistently use rXXX register defines or rN defines.
62605         Use early exit labels that avoid restoring unused non-volatile regs.
62606         Make cr field use more consistent with rWORDn compares.  Rename
62607         regs used as shift registers for unaligned loop, using rN defines
62608         for short lifetime/multiple use regs.
62609         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62610         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62611         addi 1,1,64 to pop stack frame.  Simplify return value code.
62612         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62614 2013-10-04  Alan Modra  <amodra@gmail.com>
62616         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62617         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62618         rather than rlwimi.
62619         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62620         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62621         little-endian support.  Correct typos.
62622         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62623         rather than rlwimi.
62624         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
62625         in loop and entry code to keep "and." results.
62626         (strchr): Add little-endian support.  Comment.  Move cntlzd
62627         earlier in tail.
62628         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62630 2013-10-04  Alan Modra  <amodra@gmail.com>
62632         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62633         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62634         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62635         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62637 2013-10-04  Alan Modra  <amodra@gmail.com>
62639         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62640         (rTMP): Define as r11.
62641         (strcmp): Add little-endian support.  Optimise tail.
62642         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62643         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62644         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62645         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62646         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62647         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62648         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62650 2013-10-04  Alan Modra  <amodra@gmail.com>
62652         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62653         little-endian support.  Remove unnecessary "are we done" tests.
62654         Handle "s" wrapping around zero and extremely large "size".
62655         Correct main loop count.  Handle single left-over word from main
62656         loop inline rather than by using small_loop.  Correct comments.
62657         Delete "zero" tail, use "end_max" instead.
62658         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62660 2013-10-04  Alan Modra  <amodra@gmail.com>
62662         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62663         support.  Don't branch over align.
62664         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62665         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62666         support.  Rearrange tmp reg use to suit.  Comment.
62667         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62669 2013-10-04  Alan Modra  <amodra@gmail.com>
62671         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62673 2013-10-04  Alan Modra  <amodra@gmail.com>
62675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62676         conditional form of branch and link when obtaining pc.
62677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62679 2013-10-04  Alan Modra  <amodra@gmail.com>
62681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62682         HIWORD/LOWORD.
62683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62686 2013-10-04  Alan Modra  <amodra@gmail.com>
62688         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62689         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62690         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62691         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62692         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62693         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62694         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62695         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62696         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62697         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62699 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62700             Alistair Popple <alistair@ozlabs.au.ibm.com>
62701             Alan Modra <amodra@gmail.com>
62703         [BZ #15723]
62704         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62705         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62706         _dl_hwcap access for little-endian.
62707         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
62708         destroy vmx regs when saving unaligned.
62709         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62710         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
62711         destroy vmx regs when saving unaligned.
62713 2013-10-04  Alan Modra  <amodra@gmail.com>
62715         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62716         Don't use a union to pack hi/low value.
62718 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62720         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62721         for little-endian.
62722         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62723         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62724         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62725         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62726         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62728 2013-10-04  Alan Modra  <amodra@gmail.com>
62730         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62731         constants to usual value for .cst8 section, and remove redundant
62732         high address load.
62733         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62734         constant for 0x1p52.  Load little-endian words of double from
62735         correct stack offsets.
62737 2013-10-04  Alan Modra  <amodra@gmail.com>
62739         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62740         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62741         words of double from correct stack offsets.
62742         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62743         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62744         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62745         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62746         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62747         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62748         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62749         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62750         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62751         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62752         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62753         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62754         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62755         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62756         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62757         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62758         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62760 2013-10-04  Alan Modra  <amodra@gmail.com>
62762         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62763         64-bit int/double union.
62764         (_FPU_SETCW): Likewise.
62765         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62766         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62768 2013-10-04  Alan Modra  <amodra@gmail.com>
62770         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62771         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62773 2013-10-04  Alan Modra  <amodra@gmail.com>
62775         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62776         use vector int constants.
62777         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62779 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62781         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62782         array with long long.
62783         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62784         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62785         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62786         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62787         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62788         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62789         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62790         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62791         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62792         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62793         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62794         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62795         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62797 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62799         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62800         (__signbit): Likewise.  Correct for little-endian.
62801         (__signbitl): Call __signbit.
62802         (lrint): Correct for little-endian.
62803         (lrintf): Call lrint.
62805 2013-10-04  Alan Modra  <amodra@gmail.com>
62807         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62808         union 32-bit int array member with 64-bit int array.
62809         (t515, tm256): Double rather than long double.
62810         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62812 2013-10-04  Alan Modra  <amodra@gmail.com>
62814         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62815         Delete.
62816         (IEEE854_LONG_DOUBLE_BIAS): Delete.
62817         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62818         version of math_ldbl.h.
62820 2013-10-04  Alan Modra  <amodra@gmail.com>
62822         [BZ #15734], [BZ #15735]
62823         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62824         all uses of ieee875 long double macros and unions.  Simplify test
62825         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
62826         ldbl_extract_mantissa value for ix,iy exponents.  Properly
62827         normalize after ldbl_extract_mantissa, and don't add hidden bit
62828         already handled.  Don't treat low word of ieee854 mantissa like
62829         low word of IBM long double and mask off bit when testing for
62830         zero.
62831         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62832         all uses of ieee875 long double macros and unions.  Simplify tests
62833         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
62834         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
62835         two1022, instead use their values.  Recognise that tests for large
62836         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
62837         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62838         Rewrite all uses of ieee875 long double macros and unions.  Simplify
62839         test for 0.0L and nan.  Correct negation.
62840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62841         ieee875 long double macros and unions.  Correct output for large
62842         magnitude x.  Correct absolute value calculation.
62843         (__erfcl): Likewise.
62844         * math/libm-test.inc: Add tests for errors discovered in IBM long
62845         double versions of fmodl, remainderl, erfl and erfcl.
62847 2013-10-04  Alan Modra  <amodra@gmail.com>
62849         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62850         all uses of ieee854 long double macros and unions.  Simplify tests
62851         for long doubles that are fully specified by the high double.
62852         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62853         Likewise.
62854         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62855         Remove dead code too.
62856         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62857         (__ieee754_ynl): Likewise.
62858         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62859         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62860         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62861         Remove dead code too.
62862         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62863         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62864         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62865         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62866         Simplify.
62867         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62868         Simplify.
62869         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62870         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62871         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62872         Comment on variable precision.
62873         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62874         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62875         Likewise.
62876         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62877         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62878         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62879         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62880         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62882 2013-10-04  Alan Modra  <amodra@gmail.com>
62884         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62885         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62886         all uses of ieee854 long double macros and unions.
62887         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62888         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62889         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62890         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62891         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62892         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62893         Likewise.
62894         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62895         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62896         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62897         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62898         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62899         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62900         Simplify sign and nan test too.
62901         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62902         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62903         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62904         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62905         Likewise.
62906         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62907         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62908         Likewise.
62909         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62910         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62911         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62912         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62913         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62914         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62916 2013-10-04  Alan Modra  <amodra@gmail.com>
62918         * stdio-common/printf_size.c (__printf_size): Don't use
62919         union ieee854_long_double in fpnum union.
62920         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
62921         signbit macro to retrieve sign from long double.
62922         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62923         retrieve sign from long double.
62924         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62925         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62926         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62927         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62928         * math/test-misc.c (main): Don't use union ieee854_long_double.
62930 2013-10-04  Alan Modra  <amodra@gmail.com>
62932         [BZ #15680]
62933         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62934         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62935         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62936         calculation.  Remove unnecessary test for denormal exponent.
62937         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62938         Correct handling of denormals.  Avoid undefined shift behaviour.
62939         Correct normalisation of low mantissa when low double is denormal.
62940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62941         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
62942         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62943         Correct normalisation of low mantissa.  Test for overflow of high
62944         mantissa and normalise.
62945         (ldbl_nearbyint): Use more readable constant for two52.
62946         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62947         (__mpn_construct_long_double): Fix test for overflow of high
62948         mantissa and correct normalisation.  Avoid undefined shift.
62950 2013-10-04  Alan Modra  <amodra@gmail.com>
62952         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62953         (union ibm_extended_long_double): Define as an array of ieee754_double.
62954         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62955         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62956         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62957         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62958         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62959         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62960         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62961         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62962         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62963         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62964         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62966 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
62968         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62969         page size instead of calling getpagesize.
62971         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62972         (LOCFILE_ALIGN_MASK): Likewise.
62973         (LOCFILE_ALIGN_UP): Likewise.
62974         (LOCFILE_ALIGNED_P): Likewise.
62975         * locale/programs/ld-collate.c (collate_output): Use the new
62976         macros instead of __alignof__ (int32_t).
62977         * locale/weight.h (findidx): Likewise.
62979 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
62981         [BZ #431]
62982         * manual/string.texi: Fix strncat and wcsncat.
62984 2013-10-03  Brooks Moses  <bmoses@google.com>
62986         [BZ #15915]
62987         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62988         * Makerules: ...here, and adjust associated comments.
62990 2013-10-02  Will Newton  <will.newton@linaro.org>
62992         * malloc/Makefile: Add tst-pvalloc.
62993         * malloc/tst-pvalloc.c: New file.
62995 2013-10-02  Will Newton  <will.newton@linaro.org>
62997         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62998         improve test coverage.
63000 2013-10-02  Will Newton  <will.newton@linaro.org>
63002         * malloc/Makefile: Add tst-posix_memalign.
63003         * malloc/tst-posix_memalign.c: New file.
63005 2013-10-01  Eric Blake  <eblake@redhat.com>
63007         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63008         Use __THROWNL rather than __THROW on static functions.
63010 2013-09-30  Petr Machata  <pmachata@redhat.com>
63012         * elf/elf.h (R_AARCH64_ABS16): New macro.
63013         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63014         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63015         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63016         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63017         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63018         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63019         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63020         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63021         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63022         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63023         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63024         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63025         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63026         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63027         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63028         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63029         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63030         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63031         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63032         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63033         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63034         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63035         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63036         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63037         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63038         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63039         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63040         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63041         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63042         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63043         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63044         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63045         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63046         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63047         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63048         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63049         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63050         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63051         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63052         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63053         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63054         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63055         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63056         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63057         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63058         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63059         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63060         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63061         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63062         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63063         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63064         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63065         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63066         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63067         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63068         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63069         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63070         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63071         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63072         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63073         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63074         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63075         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63076         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63077         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63078         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63079         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63080         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63081         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63082         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63083         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63084         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63085         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63086         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63087         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63088         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63089         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63090         (R_AARCH64_TLSDESC_LDR): Likewise.
63091         (R_AARCH64_TLSDESC_ADD): Likewise.
63092         (R_AARCH64_TLSDESC_CALL): Likewise.
63094 2013-09-30  Andreas Schwab  <schwab@suse.de>
63096         [BZ #15048]
63097         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63098         the nss database lookup.
63099         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63102 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
63104         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63106 2013-09-28  P. J. McDermott  <pj@pehjota.net>
63108         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63109         ${Bash-specific parameter/pattern/string} parameter expansion.
63110         * sysdeps/unix/make-syscalls.sh: Likewise.
63112 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63114         * sysdeps/sh/stackguard-macros.h: New file.
63116 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
63118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63120         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63121         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63122         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63123         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63125 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63127         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63128         Fix thread ID register.
63130 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
63132         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63133         [POSIX || UNIX98]: Require rather than permitting all symbols from
63134         <time.h>.
63135         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63136         element of struct sched_param.
63137         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63138         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63139         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63140         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63141         constant.
63143 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
63145         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63146         argument calculation.
63148 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63150         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63151         Expect macro.
63152         [POSIX] (pthread_attr_t): Do not require type.
63153         [POSIX] (pthread_cond_t): Likewise.
63154         [POSIX] (pthread_condattr_t): Likewise.
63155         [POSIX] (pthread_key_t): Likewise.
63156         [POSIX] (pthread_mutex_t): Likewise.
63157         [POSIX] (pthread_mutexattr_t): Likewise.
63158         [POSIX] (pthread_once_t): Likewise.
63159         [POSIX] (pthread_t): Likewise.
63160         [POSIX-based standards] (pthread_atfork): Expect function.
63162 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63163             Richard Sandiford  <richard@codesourcery.com>
63165         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63166         (swap_endianness_p): New extern variable.
63167         (set_big_endian): New inline function.
63168         (maybe_swap_uint32): Likewise.
63169         (maybe_swap_uint32_array): Likewise.
63170         (maybe_swap_uint32_obstack): Likewise.
63171         * locale/programs/locfile.c: Include <stdbool.h>.
63172         (swap_endianness_p): New variable.
63173         (add_locale_uint32): Call maybe_swap_uint32.
63174         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63175         (write_locale_data): Call maybe_swap_uint32_array.
63176         * locale/programs/ld-collate.c (obstack_int32_grow): Call
63177         maybe_swap_uint32.
63178         (obstack_int32_grow_fast): Likewise.
63179         (output_weightwc): Call maybe_swap_uint32_obstack.
63180         (collate_output): Likewise.
63181         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63182         (OPT_LITTLE_ENDIAN): Likewise.
63183         (options): Add --little-endian and --big-endian options.
63184         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63185         * locale/programs/locarchive.c: Include "locfile.h".
63186         (GET): New macro.
63187         (SET): Likewise.
63188         (INC): Likewise.
63189         (create_archive): Use the new macros to access fields of
63190         structures directly mapped from or written to locale archives.
63191         (oldlocrecentcmp): Likewise.
63192         (enlarge_archive): Likewise.
63193         (insert_name): Likewise.
63194         (add_alias): Likewise.
63195         (add_locale): Likewise.
63196         (delete_locales_from_archive): Likewise.
63197         (show_archive_content): Likewise.
63198         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
63199         locale data.
63201 2013-09-24  Roland McGrath  <roland@hack.frob.com>
63203         * manual/freemanuals.texi: Updated from (newly) canonical copy at
63204         http://www.gnu.org/doc/freemanuals.texi.
63205         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63207 2013-09-24  Will Newton  <will.newton@linaro.org>
63209         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63210         macro.
63212 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
63214         * locale/hashval.h (compute_hashval): Interpret bytes of key as
63215         unsigned char.
63217 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
63219         * manual/threads.texi (POSIX Threads): Fix a typo.
63221 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63223         [BZ #14547]
63224         * string/tst-strcoll-overflow.c: New test case.
63225         * string/Makefile (xtests): Add tst-strcoll-overflow.
63226         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63227         cache if string sizes may cause integer overflow.
63229         [BZ #14547]
63230         * string/strcoll_l.c (coll_seq): New members rule, idx,
63231         save_idx and back_us.
63232         (get_next_seq_nocache): New function.
63233         (do_compare_nocache): New function.
63234         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63235         when malloc fails.
63237 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
63239         [BZ #15754]
63240         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63241         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63242         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63244         [BZ #15754]
63245         * elf/Makefile (tests): Add tst-ptrguard1.
63246         (tests-static): Add tst-ptrguard1-static.
63247         (tst-ptrguard1-ARGS): Define.
63248         (tst-ptrguard1-static-ARGS): Define.
63249         * elf/tst-ptrguard1.c: New file.
63250         * elf/tst-ptrguard1-static.c: New file.
63251         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63252         * sysdeps/i386/stackguard-macros.h: Likewise.
63253         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63254         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63255         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63256         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63257         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63258         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63260 2013-09-23  Hector Marco  <hecmargi@upv.es>
63261             Ismael Ripoll  <iripoll@disca.upv.es>
63262             Carlos O'Donell  <carlos@redhat.com>
63264         [BZ #15754]
63265         * sysdeps/generic/stackguard-macros.h: Define
63266         __pointer_chk_guard_local and POINTER_CHK_GUARD.
63267         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63268         Define __pointer_chk_guard_local.
63269         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63270         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63272 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
63274         [BZ #15859]
63275         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63277 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
63279         * include/string.h (__ffs): Declare as hidden.
63280         * string/ffs.c (__ffs): Define as hidden.
63281         * sysdeps/i386/ffs.c (__ffs): Likewise.
63282         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63283         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63284         * sysdeps/s390/ffs.c (__ffs): Likewise.
63285         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63287 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
63289         * NEWS: Mention malloc probes.
63291         * malloc/arena.c (new_heap): New memory_heap_new probe.
63292         (grow_heap): New memory_heap_more probe.
63293         (shrink_heap): New memory_heap_less probe.
63294         (heap_trim): New memory_heap_free probe.
63295         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63296         (systrim): New memory_sbrk_less probe.
63297         * manual/probes.texi: Document them.
63299         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63300         * manual/probes.texi: Document it.
63302         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63303         (__libc_realloc): Add memory_realloc_retry probe.
63304         (__libc_memalign): Add memory_memalign_retry probe.
63305         (__libc_valloc): Add memory_valloc_retry probe.
63306         (__libc_pvalloc): Add memory_pvalloc_retry probe.
63307         (__libc_calloc): Add memory_calloc_retry probe.
63308         * manual/probes.texi: Document them.
63310         * malloc/arena.c (get_free_list): Add probe
63311         memory_arena_reuse_free_list.
63312         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63313         and memory_arena_reuse.
63314         (arena_get2) [!PER_THREAD]: Likewise.
63315         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63316         memory_arena_reuse_realloc.
63317         * manual/probes.texi: Document them.
63319         * malloc/malloc.c (__libc_free): Add
63320         memory_mallopt_free_dyn_thresholds probe.
63321         (__libc_mallopt): Add multiple memory_mallopt probes.
63322         * manual/probes.texi: Document them.
63324         * malloc/malloc.c: Include stap-probe.h.
63325         (__libc_mallopt): Add memory_mallopt probe.
63326         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63327         * manual/probes.texi: New.
63328         * manual/Makefile (chapters): Add probes.
63329         * manual/threads.texi: Set next node.
63331 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
63333         [BZ #15963, #13985]
63334         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63335         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63336         Add `Chinese' to `nan' entry name.
63338 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63340         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63341         (POLYNOMIAL): Likewise.
63342         (TAYLOR_SINCOS): Likewise.
63343         (TAYLOR_SLOW): Likewise.
63344         (__sin): Use TAYLOR_SINCOS.
63345         (__cos): Likewise.
63346         (slow): Use TAYLOR_SLOW.
63347         (sloww): Likewise.
63348         (bsloww): Likewise.
63349         (csloww): Likewise.
63351 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63353         * stdlib/strtod_l.c: Fix buffer overrun.
63355 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63357         * benchtests/Makefile (bench): Add sincos.
63358         * benchtests/bench-sincos.c: New file.
63360         * math/libm-test.inc (cos_test_data): New test inputs.
63361         (sin_test_data): Likewise.
63363         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63364         macro.
63365         (__sin): Use it.
63366         (__cos): Likewise.
63367         (slow1): Likewise.
63368         (slow2): Likewise.
63369         (sloww1): Likewise.
63370         (sloww2): Likewise.
63371         (bsloww1): Likewise.
63372         (bsloww2): Likewise.
63373         (cslow2): Likewise.
63374         (csloww1): Likewise.
63375         (csloww2): Likewise.
63377         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63378         function.
63379         (__sin): Use it.
63380         (__cos): Likewise.
63382         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63383         gotos.
63384         (__cos): Likewise.
63386 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
63388         * config.h.in (HAVE_MIPS_NAN2008): New macro.
63389         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63390         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63391         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63392         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63393         * elf/cache.c (print_entry): Handle the new cache flags.
63395 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63396             Aldy Hernandez  <aldyh@redhat.com>
63398         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63399         Change condition to [_SOFT_FLOAT].
63400         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63405         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63411         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63412         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63415         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63416         declaration.
63418 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63420         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63421         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63422         (__longjmp): Use LOAD_GP to load saved GPRs.
63423         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63424         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63425         (__sigsetjmp): Use SAVE_GP to save GPRs.
63427         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63428         Do not append -msoft-float.
63429         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63431 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63433         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63435 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
63437         [BZ #15966]
63438         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63439         (_FPU_GETCW): Use initial "__" on variable and field names but not
63440         on macro parameter name.
63441         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
63442         parentheses around reference to macro parameter.
63444 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
63446         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63447         prototype.
63448         (ctype_startup): Use uint32_t in cast and sizeof for
63449         ctype->charnames.
63451 2013-09-11  Jia Liu  <proljc@gmail.com>
63453         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63454         __daddr_t_defined.
63455         [__FreeBSD__]: Likewise.
63457 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
63459         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63460         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63461         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63462         (strchr): Remove __strchr_sse42 ifunc selection.
63463         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63464         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63466 2013-09-11  Will Newton  <will.newton@linaro.org>
63468         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63469         parameter to RES. Remove hardcoded 1000 value.
63470         * benchtests/bench-skeleton.c (main): Pass RES parameter
63471         to TIMING_INIT and multiply result by 1000.
63473 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63477 2013-09-11  Andreas Schwab  <schwab@suse.de>
63479         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63480         if not defined.
63481         (O_TMPFILE) [__USE_GNU]: Define.
63482         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63483         Define.
63485 2013-09-11  Will Newton  <will.newton@linaro.org>
63487         [BZ #15857]
63488         * malloc/malloc.c (__libc_memalign): Check the value of bytes
63489         does not overflow.
63491 2013-09-11  Will Newton  <will.newton@linaro.org>
63493         [BZ #15856]
63494         * malloc/malloc.c (__libc_valloc): Check the value of bytes
63495         does not overflow.
63497 2013-09-11  Will Newton  <will.newton@linaro.org>
63499         [BZ #15855]
63500         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63501         does not overflow.
63503 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
63505         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63506         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63507         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63508         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63509         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63511 2013-09-10  Allan McRae  <allan@archlinux.org>
63513         [BZ #15748]
63514         * manual/arith.texi (Parsing of Floats): Clarify
63515         cross-reference.
63517         [BZ #15849]
63518         * manual/install.texi (Running make install): Mention
63519         --enable-pt-chown.
63520         * INSTALL: Regenerated.
63522 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
63524         * csu/init-first.c (_init): Remove the !SHARED condition around
63525         FPU control word initialization.
63526         * elf/dl-support.c (_dl_fpu_control): New variable.
63527         (_dl_aux_init) <AT_FPUCW>: Initialize it.
63528         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63529         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63530         * math/test-fpucw-static.c: New file.
63531         * math/test-fpucw-ieee.c: New file.
63532         * math/test-fpucw-ieee-static.c: New file.
63533         * math/Makefile (tests): Add `test-fpucw-ieee' and
63534         `$(tests-static)'.
63535         (tests-static): New variable.
63536         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63537         dependency to...
63538         [($(build-shared),yes)]
63539         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63540         ... this.
63541         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63542         New dependency.
63544 2013-09-09  Allan McRae  <allan@archlinux.org>
63546         [BZ #15939]
63547         * manual/string.texi (Collation Functions): Fix typo in
63548         strcoll example.
63549         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63551         [BZ #15893]
63552         * stdlib/isomac.c (get_null_defines): Fix memory leak.
63554         [BZ #15892]
63555         * libio/memstream.c (open_memstream): Fix memory leak.
63556         * libio/wmemstream.c (open_wmemstream): Likewise.
63558         [BZ #15895]
63559         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63561 2013-09-09  Will Newton  <will.newton@linaro.org>
63563         * malloc/Makefile: Add tst-realloc to tests.
63564         * malloc/tst-realloc.c: New file.
63566 2013-09-09  Allan McRae  <allan@archlinux.org>
63568         [BZ #15844]
63569         * COPYING: Update from GNU website to fix FSF address.
63570         * COPYING.LIB: Likewise.
63572 2013-09-06  David S. Miller  <davem@davemloft.net>
63574         * po/zh_TW.po: Update Chinese (traditional) translation from
63575         translation project.
63577 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63578             Joseph Myers  <joseph@codesourcery.com>
63580         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63581         "localeinfo.h".
63582         (obstack_chunk_alloc): New macro.
63583         (obstack_chunk_free): Likewise.
63584         (record_offset): New function.
63585         (init_locale_data): Likewise.
63586         (align_locale_data): Likewise.
63587         (add_locale_empty): Likewise.
63588         (add_locale_raw_data): Likewise.
63589         (add_locale_raw_obstack): Likewise.
63590         (add_locale_string): Likewise.
63591         (add_locale_wstring): Likewise.
63592         (add_locale_uint32): Likewise.
63593         (add_locale_uint32_array): Likewise.
63594         (add_locale_char): Likewise.
63595         (start_locale_structure): Likewise.
63596         (end_locale_structure): Likewise.
63597         (start_locale_prelude): Likewise.
63598         (end_locale_prelude): Likewise.
63599         (write_locale_data): Take locale_file structure rather than an
63600         iovec.
63601         * locale/programs/locfile.h: Include "obstack.h".
63602         (struct locale_file): Change to store locale file contents instead
63603         of header.
63604         (init_locale_data): New prototype.
63605         (align_locale_data): Likewise.
63606         (add_locale_empty): Likewise.
63607         (add_locale_raw_data): Likewise.
63608         (add_locale_raw_obstack): Likewise.
63609         (add_locale_string): Likewise.
63610         (add_locale_wstring): Likewise.
63611         (add_locale_uint32): Likewise.
63612         (add_locale_uint32_array): Likewise.
63613         (add_locale_char): Likewise.
63614         (start_locale_structure): Likewise.
63615         (end_locale_structure): Likewise.
63616         (start_locale_prelude): Likewise.
63617         (end_locale_prelude): Likewise.
63618         (write_locale_data): Update prototype.
63619         * locale/programs/3level.h (struct TABLE): Remove result field.
63620         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63621         Use new locale_file interface.
63622         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63623         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63624         * locale/programs/ld-address.c (address_output): Use new
63625         locale_file interface.
63626         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63627         NO_ADD_LOCALE.
63628         (collate_finish): Don't call collseq_table_finalize.
63629         (collate_output): Use new locale_file interface.
63630         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63631         in file.
63632         (NO_FINALIZE): Change to NO_ADD_LOCALE.
63633         (TABLE): Move defines earlier in file.
63634         (ELEMENT): Likewise.
63635         (DEFAULT): Likewise.
63636         (wctrans_table_add): Move macro and inline function earlier in
63637         file.
63638         (struct wctype_table): Move type earlier in file.
63639         (add_locale_wctype_table): New static prototype.
63640         (struct locale_ctype_t): Use logical types instead of struct iovec
63641         pointers for members.
63642         (ctype_output): Use new locale_file interface.
63643         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
63644         new locale_file interface.
63645         (allocate_arrays): Update for use of new locale_file interface.
63646         * locale/programs/ld-identification.c (identification_output): Use
63647         new locale_file interface.
63648         * locale/programs/ld-measurement.c (measurement_output): Likewise.
63649         * locale/programs/ld-messages.c (messages_output): Likewise.
63650         * locale/programs/ld-monetary.c (monetary_output): Likewise.
63651         * locale/programs/ld-name.c (name_output): Likewise.
63652         * locale/programs/ld-numeric.c (numeric_output): Likewise.
63653         * locale/programs/ld-paper.c (paper_output): Likewise.
63654         * locale/programs/ld-telephone.c (telephone_output): Likewise.
63655         * locale/programs/ld-time.c (time_output): Likewise.
63657 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63659         * benchtests/Makefile: Add memrchr benchmark.
63660         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63661         benchmark as memrchr.
63662         * benchtests/bench-memrchr-ifunc.c: New file.
63663         * benchtests/bench-memrchr.c: New file.
63665 2013-09-06   Will Newton  <will.newton@linaro.org>
63667         * benchtests/Makefile (string-bench): Add memcpy.
63669 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
63670             Cong Wang  <amwang@redhat.com>
63672         [BZ #15850]
63673         * sysdeps/unix/sysv/linux/bits/in.h
63674         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63675         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63676         before __USE_KERNEL_IPV6_DEFS uses.
63677         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63678         IPPROTO_BEETPH.
63679         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63680         sockaddr_in6, or ipv6_mreq.
63682 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63684         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63685         memory access for final bytes in some large inputs.
63686         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63688 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63690         * string/test-memrchr.c: New file.
63691         * string/test-memrchr-ifunc.c: New file.
63692         * string/Makefile: Add new memrchr testcase.
63694 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
63696         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63697         fanotify_init returns EPERM.
63699 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63701         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63702         errors.
63703         (top level): Treat second token from macro or constant entries for
63704         allowed headers as allowed.
63705         * include/complex.h: Condition internal declarations on
63706         [!_ISOMAC].
63707         * include/fenv.h: Condition include of <stdbool.h> and internal
63708         declarations on [!_ISOMAC].
63710 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
63712         [BZ #15923]
63713         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63715 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63717         * configure.in (--enable-versioning): Remove configure option.
63718         (libc_cv_asm_symver_directive): Remove configure test.
63719         (libc_cv_ld_version_script_option): Likewise.
63720         (VERSIONING): Remove variable and AC_SUBST.
63721         (DO_VERSIONING): Remove AC_DEFINE.
63722         * configure: Regenerated.
63723         * config.h.in (DO_VERSIONING): Remove macro.
63724         * Makerules [$(versioning) = yes]: Change conditionals to
63725         [$(build-shared) = yes].
63726         * config.make.in (versioning): Remove variable.
63727         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63728         [$(build-shared) = yes].
63729         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63730         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63731         * elf/Makefile [$(versioning) = yes]: Change conditionals to
63732         [$(build-shared) = yes].
63733         * extra-lib.mk [$(versioning) = yes]: Likewise.
63734         * hurd/Makefile [$(versioning) = yes]: Likewise.
63735         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63736         [SHARED].
63737         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63738         [SHARED].
63739         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63740         [SHARED && !NO_HIDDEN].
63741         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63742         [SHARED].
63743         [SHARED && DO_VERSIONING]: Likewise..
63744         * libio/Makefile [$(versioning) = yes]: Change conditionals to
63745         [$(build-shared) = yes].
63746         * manual/install.texi (--disable-versioning): Remove
63747         documentation.
63748         * INSTALL: Regenerated.
63749         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63750         to [SHARED].
63751         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63752         [$(build-shared) = yes].
63753         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63754         * sysdeps/i386/i686/multiarch/strstr-c.c
63755         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63756         [SHARED && !NO_HIDDEN].
63757         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63758         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63759         * sysdeps/powerpc/powerpc32/dl-machine.c
63760         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63761         * sysdeps/powerpc/powerpc32/sysdep.h
63762         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63763         to [SHARED && PIC && !NO_HIDDEN].
63764         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63765         conditional to [SHARED].
63767 2013-09-04   Will Newton  <will.newton@linaro.org>
63769         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63770         * benchtests/bench-string.h: Include bench-timing.h instead
63771         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63772         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63773         call to HP_TIMING_DIFF_INIT.
63774         * benchtests/bench-memccpy.c: Use bench-timing.h macros
63775         instead of hp-timing.h macros.
63776         * benchtests/bench-memchr.c: Likewise.
63777         * benchtests/bench-memcmp.c: Likewise.
63778         * benchtests/bench-memcpy.c: Likewise.
63779         * benchtests/bench-memmem.c: Likewise.
63780         * benchtests/bench-memmove.c: Likewise.
63781         * benchtests/bench-memset.c: Likewise.
63782         * benchtests/bench-rawmemchr.c: Likewise.
63783         * benchtests/bench-strcasecmp.c: Likewise.
63784         * benchtests/bench-strcasestr.c: Likewise.
63785         * benchtests/bench-strcat.c: Likewise.
63786         * benchtests/bench-strchr.c: Likewise.
63787         * benchtests/bench-strcmp.c: Likewise.
63788         * benchtests/bench-strcpy.c: Likewise.
63789         * benchtests/bench-strcpy_chk.c: Likewise.
63790         * benchtests/bench-strlen.c: Likewise.
63791         * benchtests/bench-strncasecmp.c: Likewise.
63792         * benchtests/bench-strncat.c: Likewise.
63793         * benchtests/bench-strncmp.c: Likewise.
63794         * benchtests/bench-strncpy.c: Likewise.
63795         * benchtests/bench-strnlen.c: Likewise.
63796         * benchtests/bench-strpbrk.c: Likewise.
63797         * benchtests/bench-strrchr.c: Likewise.
63798         * benchtests/bench-strspn.c: Likewise.
63799         * benchtests/bench-strstr.c: Likewise.
63801 2013-09-04  Will Newton  <will.newton@linaro.org>
63803         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63805 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
63807         [BZ #15427]
63808         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63809         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63810         * math/libm-test.inc (lgamma_test_data): Add more tests.
63811         * sysdeps/i386/fpu/libm-test-ulps: Update.
63812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63814 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
63816         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63818         Add ifunc.
63819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63820         Add strcmp-sse2-unaligned
63821         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63823 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63825         * Versions.def (libc): Add GLIBC_2.19.
63827 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63829         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63830         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63832 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
63834         [BZ #14155]
63835         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63836         intermediate calculations in recurrence.
63837         (__ieee754_ynf): Likewise.
63838         * math/libm-test.inc (jn_test_data): Do not allow spurious
63839         underflow exception.  Add more tests.
63840         (yn_test_data): Add more tests.
63841         * sysdeps/i386/fpu/libm-test-ulps: Update.
63842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63844 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
63846         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63848 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
63850         * csu/init-first.c: Fix then/than typos.
63851         * locale/programs/ld-collate.c: Likewise.
63852         * locale/programs/linereader.h: Likewise.
63853         * manual/charset.texi: Likewise.
63854         * manual/filesys.texi: Likewise.
63855         * manual/stdio.texi: Likewise.
63856         * manual/string.texi: Likewise.
63857         * stdlib/fmtmsg.c: Likewise.
63858         * sysdeps/i386/stpncpy.S: Likewise.
63859         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63860         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63861         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63862         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63864 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
63866         * elf/dl-open.c: Fix typos.
63867         * iconvdata/gbbig5.c: Likewise.
63868         * iconvdata/iso-2022-jp.c: Likewise.
63869         * iconv/gconv_int.h: Likewise.
63870         * iconv/loop.c: Likewise.
63871         * nis/rpcsvc/nis.h: Likewise.
63872         * resolv/ns_name.c: Likewise.
63873         * stdio-common/vfscanf.c: Likewise.
63874         * streams/stropts.h: Likewise.
63875         * sunrpc/rpc_thread.c: Likewise.
63876         * sysdeps/i386/strpbrk.S: Likewise.
63877         * sysdeps/ieee754/k_standard.c: Likewise.
63878         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63879         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63880         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63881         * sysdeps/mach/hurd/profil.c: Likewise.
63882         * sysdeps/s390/dl-procinfo.h: Likewise.
63883         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63884         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63885         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63886         * sysdeps/x86_64/dl-trampoline.S: Likewise.
63887         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63889 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
63891         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63894 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
63896         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63897         aix specific files.
63898         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63899         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63900         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63901         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63902         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63903         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63904         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63905         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63907 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
63908             Roland McGrath  <roland@hack.frob.com>
63910         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63911         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63913 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63915         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63916         __executable_start symbol instead of _start.
63918 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
63920         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63921         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63922         Move macros to...
63923         * sysdeps/gnu/ldsodefs.h: ... this new file.
63925         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63926         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63927         instead of ELFOSABI_LINUX.
63929         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63930         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63931         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63932         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63933         Likewise.
63934         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63935         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63936         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63937         Likewise.
63938         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63939         (ibm_extended_long_double): Add ieee_nan member.
63940         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63941         (do_test): New function.
63943         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63944         TEST_TRUNC.
63945         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63946         functions, renamed from truncdfsf_test, trunctfsf_test,
63947         trunctfdf_test.
63948         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63949         functions.
63950         (do_test): Run all these.
63952 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
63954         * argp/argp-help.c: Fix typos.
63955         * argp/argp-parse.c: Likewise.
63956         * debug/backtracesyms.c: Likewise.
63957         * elf/elf.h: Likewise.
63958         * malloc/malloc.c: Likewise.
63959         * nis/nis_print.c: Likewise.
63960         * resolv/res_comp.c: Likewise.
63961         * stdlib/stdlib.h: Likewise.
63962         * sunrpc/clnt_tcp.c: Likewise.
63963         * sunrpc/clnt_udp.c: Likewise.
63964         * sunrpc/clnt_unix.c: Likewise.
63965         * sysdeps/unix/bsd/ptsname.c: Likewise.
63966         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63967         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63969         Likewise.
63970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63971         Likewise.
63972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63973         Likewise.
63974         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63976 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63978         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63981 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
63983         [BZ #15897]
63984         * dlfcn/Makefile (tests): Add bug-dl-leaf.
63985         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63986         ($(objpfx)bug-dl-leaf): New rule.
63987         ($(objpfx)bug-dl-leaf.so): Likewise.
63988         ($(objpfx)bug-dl-leaf.out): Likewise.
63989         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63990         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63991         * dlfcn/bug-dl-leaf.c: New test.
63992         * dlfcn/bug-dl-leaf-lib.c: Likewise.
63993         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63994         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63995         (dlclose): Likewise.
63996         (dlmopen): Likewise.
63998 2013-08-27  Roland McGrath  <roland@hack.frob.com>
64000         * include/netdb.h [!_ISOMAC]:
64001         Don't include <tls.h>.
64002         (h_errno, __libc_h_errno): Move declaration and macros out of
64003         [_LIBC_REENTRANT].
64005         * include/resolv.h [_RESOLV_H_]:
64006         Don't include <tls.h>.
64007         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64008         * resolv/res_libc.c: Don't include <tls.h>.
64009         (_res): Use __attribute__ ((nocommon)) in place of
64010         __attribute__ ((section (".bss"))).
64012         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64013         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64015         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64017         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64018         only under [SIOCGIFCONF && SIOCGIFNETMASK].
64020         * resolv/res_mkquery.c: Include <sys/time.h>.
64022         * inet/ifreq.c: Moved to ...
64023         * sysdeps/unix/ifreq.c: ... here.
64024         * inet/ifreq.c: New file, true stub version.
64026         * socket/sa_len.c: New file.
64027         * socket/Makefile (aux): Add it.
64028         * sysdeps/unix/sysv/linux/Makefile
64029         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64030         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64031         and #include <socket/sa_len.c>.
64032         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64033         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64035         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64036         * bits/socket.h: ... here.
64038         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64039         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64040         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64042 2013-08-27  Andreas Schwab  <schwab@suse.de>
64044         [BZ #15736]
64045         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64046         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64047         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64048         * string/test-strcasecmp.c (test_main): Run tests in several
64049         locales.
64050         * string/test-strncasecmp.c (test_main): Likewise.
64052         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64053         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64054         to __strcasecmp_nonascii and __strncasecmp_nonascii.
64055         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64056         (__strncasecmp_ssse3) [PIC]: Likewise.
64058 2013-08-26  Roland McGrath  <roland@hack.frob.com>
64060         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64062         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64063         instead of explicitly declaring xdecrypt.
64064         * nis/nss_nis/nis-publickey.c: Likewise.
64066 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64068         [BZ #15890]
64069         * nscd/aicache.c: Include res_hconf.h.
64070         (addhstaiX): Initialize res_hconf.
64072 2013-08-26  Andreas Schwab  <schwab@suse.de>
64074         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64075         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64077 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64079         * nscd/aicache.c (addhstaiX): Fix indentation.
64081 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
64083         * configure.ac: Quote $build_pt_chown test.
64084         * configure: Regenerated.
64086 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
64088         [BZ #15532]
64089         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64090         * math/s_cexpf.c (__cexpf): Likewise.
64091         * math/s_cexpl.c (__cexpl): Likewise.
64092         * math/libm-test.inc (cexp_test_data): Correct expected return
64093         value for NaN + i0.  Add another test.
64095 2013-08-22  David S. Miller  <davem@davemloft.net>
64097         * po/ca.po: Update Catalan translation from translation project.
64098         * po/uk.po: Add Ukrainian translations from translation project.
64100 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
64102         [BZ #15797]
64103         * math/s_fdim.c (__fdim): Check for infinite arguments if result
64104         is infinite, not alongside NaN test.
64105         * math/s_fdimf.c (__fdimf): Likewise.
64106         * math/s_fdiml.c (__fdiml): Likewise.
64107         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
64108         errno is unchanged.
64110 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
64112         * argp/argp-help.c: Fix typos.
64113         * crypt/speeds.c: Likewise.
64114         * csu/check_fds.c: Likewise.
64115         * elf/dl-load.c: Likewise.
64116         * elf/dl-open.c: Likewise.
64117         * elf/reldep3.c: Likewise.
64118         * elf/reldep.c: Likewise.
64119         * elf/sprof.c: Likewise.
64120         * iconv/iconv_charmap.c: Likewise.
64121         * iconv/skeleton.c: Likewise.
64122         * iconv/strtab.c: Likewise.
64123         * io/lockf64.c: Likewise.
64124         * libio/libioP.h: Likewise.
64125         * resolv/gai_notify.c: Likewise.
64126         * resolv/ns_name.c: Likewise.
64127         * resolv/ns_samedomain.c: Likewise.
64128         * resolv/res_send.c: Likewise.
64129         * stdlib/random.c: Likewise.
64130         * sunrpc/rpc/xdr.h: Likewise.
64131         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64132         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64133         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64134         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64135         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64136         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64137         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64138         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64139         * sysdeps/mach/hurd/check_fds.c: Likewise.
64140         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64141         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64142         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64143         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64144         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64145         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64146         * sysdeps/pthread/aio_notify.c: Likewise.
64147         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64148         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64149         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64150         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64151         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64153 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64155         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64156         version if bit_Slow_SSE4_2 is set.
64157         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64158         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64160 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64162         [BZ #15867]
64163         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64164         trampoline stack frame information.
64165         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64166         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64167         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64168         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64169         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64170         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64171         (_libc_vdso_platform_setup): Initialize the signal trampolines.
64172         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64173         sa_flags value.
64174         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64175         interrupting a syscall and set with option SA_SIGINFO.
64177 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64179         [BZ #15531]
64180         * math/s_cproj.c (__cproj): Only return an infinity if one part of
64181         argument is infinite.
64182         * math/s_cprojf.c (__cprojf): Likewise.
64183         * math/s_cprojl.c (__cprojl): Likewise.
64184         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64185         * math/libm-test.inc (cproj_test_data): Add more tests.
64187         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64189         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64190         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64191         size.  Use __ffs to determine corresponding shift.
64193 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64194             Roland McGrath  <roland@hack.frob.com>
64196         * Makefile (INSTALL): Remove trailing blank lines from output of
64197         makeinfo.
64199 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64201         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64202         Align 32 bit compat elf_greg to 8 bytes.
64204 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
64206         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64208 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64210         * string/strcoll_l.c (coll_seq): New structure.
64211         (get_next_seq_cached): New function.
64212         (get_next_seq): New function.
64213         (do_compare): New function.
64214         (STRCOLL): Use GNU style definition.  Simplify implementation
64215         by using get_next_seq, get_next_seq_cached and do_compare.
64217 2013-08-16  Florian Weimer  <fweimer@redhat.com>
64219         [BZ #14699]
64220         CVE-2013-4237
64221         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64222         member.
64223         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64224         member.
64225         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64226         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64227         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
64228         conditional.
64229         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64230         GETDENTS_64BIT_ALIGNED.
64231         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64232         * manual/filesys.texi (Reading/Closing Directory): Document
64233         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
64234         strongly.
64235         * manual/conf.texi (Limits for Files): Add portability note to
64236         NAME_MAX, PATH_MAX.
64237         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64239 2013-08-13  Andreas Schwab  <schwab@suse.de>
64241         [BZ #15749]
64242         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64243         of fabs.
64244         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64245         LDBL_MAX_EXP >= 16384]: Add tests for it.
64247 2013-08-12  David S. Miller  <davem@davemloft.net>
64249         * version.h (RELEASE): Set to "development".
64250         (VERSION): Set to "2.18.90".
64251         * NEWS: Add 2.19 section.
64253 2013-08-03  David S. Miller  <davem@davemloft.net>
64255         * po/ko.po: Update Korean translation from translation project.
64257 2013-08-01  David S. Miller  <davem@davemloft.net>
64259         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
64260         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64261         Bilka.
64263 2013-07-30  David S. Miller  <davem@davemloft.net>
64265         * po/fr.po: Update French translation from translation project.
64267 2013-07-28  David S. Miller  <davem@davemloft.net>
64269         * po/cs.po: Update Czech translation from translation project.
64271         * po/sv.po: Update Swedish translation from translation project.
64273 2013-07-27  David S. Miller  <davem@davemloft.net>
64275         * po/eo.po: Update Esperanto translation from translation project.
64277         * po/vi.po: Update Vietnamese translation from translation project.
64279         * po/de.po: Update German translation from translation project.
64281 2013-07-26  David S. Miller  <davem@davemloft.net>
64283         * po/bg.po: Update Bulgarian translation from translation project.
64285         * po/nl.po: Update Dutch translation from translation project.
64286         * po/pl.po: Update Polish translation from translation project.
64287         * po/ru.po: Update Russian translation from translation project.
64289 2013-07-24  David S. Miller  <davem@davemloft.net>
64291         * po/libc.pot: Update.
64293 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64295         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64296         variable page size.
64297         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64298         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64299         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64301 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64303         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64305 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64306             Andreas Schwab  <schwab@suse.de>
64307             Roland McGrath  <roland@hack.frob.com>
64308             Joseph Myers  <joseph@codesourcery.com>
64309             Carlos O'Donell  <carlos@redhat.com>
64311         [BZ #15755]
64312         * config.h.in: Define HAVE_PT_CHOWN.
64313         * config.make.in (build-pt-chown): New variable.
64314         * configure.in (--enable-pt_chown): New configure option.
64315         * configure: Regenerate.
64316         * login/Makefile: Include Makeconfig.  Build pt_chown only if
64317         build-pt-chown is enabled.
64318         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64319         pt_chown to fix pty ownership.
64320         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64321         CLOSE_ALL_FDS.
64322         * manual/install.texi (Configuring and compiling): Mention
64323         --enable-pt_chown. Add @findex for grantpt.
64324         * INSTALL: Regenerate.
64326 2013-07-20  David S. Miller  <davem@davemloft.net>
64328         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64329         difference between 32-bit and 64-bit.
64331 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
64333         [BZ #15711]
64334         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64335         Avoid system header dependency with -ffreestanding.
64336         ($(objpfx)bits/syscall%d): Likewise.
64338 2013-07-13  David S. Miller  <davem@davemloft.net>
64340         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64341         underflows from atanl/atan2l due to bug 15319.
64342         (casinh_test_data): Likewise.
64344 2013-07-07  David S. Miller  <davem@davemloft.net>
64346         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64348 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
64350         * sysdeps/i386/fpu/libm-test-ulps: Update.
64351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64353 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64355         * configure.in (--enable-lock-elision): Fix message text.
64356         * INSTALL: Regenerate.
64357         * configure: Regenerate.
64359 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64363 2013-07-03  Andreas Jaeger  <aj@suse.de>
64365         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64366         define.
64367         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64368         (ptrace_peeksiginfo_args): Add.
64369         (__ptrace_peeksiginfo_flags): Add.
64370         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64371         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64372         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64374 2013-07-03  Allan McRae  <allan@archlinux.org>
64376         * sysdeps/i386/fpu/libm-test-ulps: Update.
64378 2013-07-02  David S. Miller  <davem@davemloft.net>
64380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64382 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
64384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64386 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64388         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64391 2013-07-02  Andi Kleen <ak@linux.intel.com>
64393         * config.h.in (ENABLE_LOCK_ELISION): Add.
64394         * configure.in (--enable-lock-elision): Add option.
64395         * manual/install.texi: Document --enable lock elision.
64396         * configure: Regenerate
64397         * INSTALL: Regenerate.
64399 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
64401         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64402         SSE4.2 strcasecmp for libc.a.
64403         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64405 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64407         [BZ #13304]
64408         * soft-fp/op-common.h (_FP_FMA): New macro.
64409         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64410         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
64411         (_FP_MUL_MEAT_1_imm): ... here.
64412         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
64413         (_FP_MUL_MEAT_1_wide): ... here.
64414         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
64415         (_FP_MUL_MEAT_1_hard): ... here.
64416         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64417         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
64418         (_FP_MUL_MEAT_2_wide): ... here.
64419         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
64420         (_FP_MUL_MEAT_2_wide_3mul): ... here.
64421         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
64422         (_FP_MUL_MEAT_2_gmp): ... here.
64423         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64424         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
64425         (_FP_MUL_MEAT_4_wide): ... here.
64426         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
64427         (_FP_MUL_MEAT_4_gmp): ... here.
64428         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64429         (_FP_WFRACBITS_DW_S): Likewise.
64430         (_FP_WFRACXBITS_DW_S): Likewise.
64431         (_FP_HIGHBIT_DW_S): Likewise.
64432         (FP_FMA_S): Likewise.
64433         (_FP_FRAC_HIGH_DW_S): Likewise.
64434         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64435         (_FP_WFRACBITS_DW_D): Likewise.
64436         (_FP_WFRACXBITS_DW_D): Likewise.
64437         (_FP_HIGHBIT_DW_D): Likewise.
64438         (FP_FMA_D): Likewise.
64439         (_FP_FRAC_HIGH_DW_D): Likewise.
64440         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64441         (_FP_WFRACBITS_DW_E): Likewise.
64442         (_FP_WFRACXBITS_DW_E): Likewise.
64443         (_FP_HIGHBIT_DW_E): Likewise.
64444         (FP_FMA_E): Likewise.
64445         (_FP_FRAC_HIGH_DW_E): Likewise.
64446         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64447         (_FP_WFRACBITS_DW_Q): Likewise.
64448         (_FP_WFRACXBITS_DW_Q): Likewise.
64449         (_FP_HIGHBIT_DW_Q): Likewise.
64450         (FP_FMA_Q): Likewise.
64451         (_FP_FRAC_HIGH_DW_Q): Likewise.
64452         * soft-fp/fmasf4.c: New file.
64453         * soft-fp/fmadf4.c: Likewise.
64454         * soft-fp/fmatf4.c: Likewise.
64456 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64459         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64460         Silvermont.
64461         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64462         macro.
64463         (index_Slow_SSE4_2): Likewise.
64464         (index_Prefer_PMINUB_for_stringop): Likewise.
64465         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64466         bit_Slow_SSE4_2 is set.
64467         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64468         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64470 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64472         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64473         rtld_global._dl_hwcap2.
64474         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64475         POWER8.
64476         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64477         POWER8 feature descriptions defined in _dl_hwcap2.
64478         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64479         string handling for POWER8 feature bits.
64480         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64481         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64482         _dl_powerpc_cap_flags.
64483         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64484         * sysdeps/powerpc/rtld-global-offsets.sym
64485         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64486         _dl_hwcap2 in the rtld_global_ro structure.
64488 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64490         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64491         hardware capabilities in support of AT_HWCAP2.
64492         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64493         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64494         GLRO(dl_hwcap2).
64495         (_dl_show_auxv): Add support for calling _dl_procinfo to display
64496         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
64497         explicitly the unknown a_type display mechanism is used.
64498         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64499         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64500         struct member.
64501         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64502         to macro prototype for AT_HWCAP2 support.
64503         * sysdeps/i386/dl-procinfo.h: Likewise.
64504         * sysdeps/s390/dl-procinfo.h: Likewise.
64505         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64506         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
64507         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
64508         return -1 for unknown a_type display fallback.
64509         * sysdeps/sparc/dl-procinfo.h: Likewise.
64510         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64511         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64513 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
64515         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64516         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64518 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
64520         [BZ #12492]
64521         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64522         mprotect making __stack_prot writable.
64524 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
64525             Joseph Myers  <joseph@codesourcery.com>
64527         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64528         as being properly aligned.
64530 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
64532         * dlfcn/modstatic5.c: New file.
64533         * dlfcn/tststatic5.c: New file.
64534         * dlfcn/Makefile (tests): Add tststatic5.
64535         (tests-static): Likewise.
64536         (modules-names): Add modstatic5.
64537         (tststatic5-ENV): New variable.
64538         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64540         [BZ #15022]
64541         * elf/dl-support.c (_dl_main_map): New variable.
64542         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64543         (_dl_nns, _dl_load_adds): Set to 1.
64544         (_dl_initial_searchlist): Refer to _dl_main_map.
64545         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64546         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64547         call to _dl_get_origin.
64548         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64549         around call_map.
64550         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64551         * dlfcn/modstatic3.c: New file.
64552         * dlfcn/tststatic3.c: New file.
64553         * dlfcn/tststatic4.c: New file.
64554         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64555         (tests-static): Likewise.
64556         (modules-names): Add modstatic3.
64557         (tststatic3-ENV, tststatic4-ENV): New variables.
64558         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64559         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64561 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64563         * configure.in (CC): Require GCC version 4.4 or later.
64564         * configure: Regenerated.
64565         * manual/install.texi (Tools for Compilation): Update GCC version
64566         requirement.
64567         * INSTALL: Regenerated.
64569 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64571         [BZ #15674]
64572         * string/test-memcmp.c (check2): New.
64573         (main): Call check2.
64575         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64577 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64579         [BZ #15022]
64580         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64581         over to...
64582         (dl_open_worker) [!SHARED]: ... here.
64584 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64586         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64588 2013-06-25  Richard Henderson  <rth@redhat.com>
64590         * locale/programs/locarchive.c: Include <libc-internal.h>
64592 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64594         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64595         trailing whitespace removed.
64597 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64599         [BZ #10283]
64600         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64601         * locale/programs/locarchive.c: Include libc-mmap.h.
64602         (prepare_address_space): Take two new outputs (the mmap base and len).
64603         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64604         values.
64605         (create_archive): Declare new mmap base and len values for
64606         prepare_address_space, and store the result in ah.
64607         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64608         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64609         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64610         Declare new mmap base and len values for
64611         prepare_address_space, and store the result in new_ah.
64612         (open_archive): Declare new mmap base and len values for
64613         prepare_address_space, and store the result in ah.
64614         (close_archive): If ah->mmap_base is not NULL, use that and
64615         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64616         * sysdeps/generic/libc-mmap.h: New file.
64618 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64620         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64621         (ALIGN_UP): Likewise.
64622         (PTR_ALIGN_DOWN): Likewise.
64623         (PTR_ALIGN_UP): Likewise.
64625 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64627         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64628         entry mapped to PPC_PLATFORM_POWER8.
64629         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64630         POWER8.
64631         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64632         (_dl_string_platform): Add case for exporting platform position for
64633         POWER8.
64634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64635         search path to sysdeps/powerpc/powerpc32/power8 directory.
64636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64637         search path to sysdeps/powerpc/powerpc64/power8 directory.
64638         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64639         power7 directories.
64640         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64641         power7 directories.
64643 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64645         * INSTALL: Regenerate.
64647         * nscd/connections.c (nscd_init): Fix comment.
64649 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
64651         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64653         [BZ #15667]
64654         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64655         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64657 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64659         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64660         DL_DST_REQ_STATIC.
64661         (DL_DST_REQ_STATIC): Remove macro.
64663 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
64665         [BZ #7006]
64666         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64667         with a shift of 0 bits.
64669 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64671         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64672         $(tststatic-ENV).
64674 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64676         [BZ #15655]
64677         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64679 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64681         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64682         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64683         accepts -fno-tree-loop-distribute-patterns.
64684         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64685         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64686         recursive call.
64687         * string/memset.c (memset): Likewise.
64688         * string/test-memmove.c (simple_memmove): Disable loop transformation
64689         to library calls.
64690         * string/test-memset.c (simple_memset): Likewise.
64691         * benchtests/bench-memmove.c (simple_memmove): Likewise.
64692         * benchtests/bench-memset.c (simple_memset): Likewise.
64693         * configure: Regenerated.
64695 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
64697         * math/test-misc.c (main): Ignore fesetround failure when failures
64698         of subsequent rounding tests would be ignored.
64700         [BZ #15654]
64701         * math/fedisblxcpt.c (fedisableexcept): Return 0.
64702         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64703         * math/fegetenv.c (__fegetenv): Return 0.
64704         * math/fegetexcept.c (fegetexcept): Return 0.
64705         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64706         FE_TONEAREST.
64707         * math/feholdexcpt.c (feholdexcept): Return 0.
64708         * math/fesetenv.c (__fesetenv): Return 0.
64709         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64710         argument FE_TONEAREST.
64711         * math/feupdateenv.c (__feupdateenv): Return 0.
64712         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64714 2013-06-18  Roland McGrath  <roland@hack.frob.com>
64716         * elf/rtld-Rules (rtld-compile-command.S): New variable.
64717         (rtld-compile-command.s, rtld-compile-command.c): New variables.
64718         ($(objpfx)rtld-%.os rules): Use them.
64720 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64722         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64723         fields.
64725 2013-06-17  Roland McGrath  <roland@hack.frob.com>
64727         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64728         length of target pattern, then descending length of dependency pattern.
64729         * configure.in (AWK): Require gawk 3.1.2 or newer.
64730         * manual/install.texi (Tools for Compilation): Say that we do.
64731         * configure: Regenerated.
64733         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64734         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64735         * scripts/sysd-rules.awk: ... this new script.
64736         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64737         than a glob-style pattern.
64739 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
64741         * math/test-misc.c (main): Do not treat incorrectly rounded
64742         conversions as failure unless ROUNDING_TESTS passes.
64744 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
64746         [BZ #15631]
64747         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64748         restore exception state around main square root computation, then
64749         check for inexactness explicitly.
64751         * math/libm-test.inc (fma_test_data): Add another test.
64753 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64755         * manual/threads.texi (Non-POSIX Extensions): New document
64756         node.  Document pthread_getattr_default_np and
64757         pthread_setattr_default_np.
64759         * Versions.def (libpthread): Add GLIBC_2.18.
64760         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64762         Likewise.
64763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64764         Likewise.
64765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64766         Likewise.
64767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64768         Likewise.
64769         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64770         Likewise.
64771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64772         Likewise.
64773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64774         Likewise.
64775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64776         Likewise.
64777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64778         Likewise.
64780 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64783         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64785 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64786             H.J. Lu  <hjl.tools@gmail.com>
64788         [BZ #15627]
64789         * sysdeps/x86_64/rtld-memset.c: Remove file.
64790         * sysdeps/x86_64/rtld-memset.S: New file.
64792 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
64794         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64795         (test_in_one_mode): Take arguments for whether the rounding mode
64796         is supported for each floating-point type.
64797         (do_test): Pass new arguments to test_in_one_mode using
64798         ROUNDING_TESTS.
64800 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64802         * posix/tst-waitid.c (do_test): Distinguish different instances of
64803         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
64804         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64805         before entering the kernel for waitpid.
64807 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64809         * NEWS: Fix note on clock function precision.  Text by Roland
64810         McGrath.
64812 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64814         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64815         it into place only when and if the sanity check passes.
64817 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
64819         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64820         output for whether conversion result is exact.  Take argument
64821         indicating whether type is IBM long double.
64822         (round_for_all): Change need_exact field to ibm_ld.
64823         * stdlib/tst-strtod-round.c (struct exactness): New type.
64824         (struct test): Change bool ld_ok field to struct exactness exact.
64825         (TEST): Update all definitions for change to field.
64826         (tests): Regenerate array contents.
64827         (test_in_one_mode): Take pointer to new field instead of old ld_ok
64828         field value.  Check for IBM long double here.
64829         (do_test): Update calls to test_in_one_mode.
64831 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64833         [BZ #12515]
64834         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64835         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64837 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64839         [BZ #15605]
64840         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64841         generated by the compiler on loop optimizations.
64842         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64843         general definitions.
64845 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
64847         * math/bug-nextafter.c: Include <math-tests.h>.
64848         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64849         the relevant type.
64850         * math/bug-nexttoward.c: Include <math-tests.h>.
64851         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64852         the relevant type.
64853         * math/test-misc.c: Include <math-tests.h>.
64854         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64855         the relevant type.
64857 2013-06-12  Andreas Jaeger  <aj@suse.de>
64859         * po/ia.po: Update Interlingua translation from translation
64860         project.
64862 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64864         * include/fenv.h: Include stdbool.h.
64865         (struct rm_ctx): New structure.
64866         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64867         Define macro.
64868         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64869         (SET_RESTORE_ROUNDF): Likewise.
64870         (SET_RESTORE_ROUNDL): Likewise.
64871         (SET_RESTORE_ROUND_NOEX): Likewise.
64872         (SET_RESTORE_ROUND_NOEXF): Likewise.
64873         (SET_RESTORE_ROUND_NOEXL): Likewise.
64874         (SET_RESTORE_ROUND_53BIT): Likewise.
64875         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64876         (libc_feresetround_noexf_ctx): Likewise.
64877         (libc_feresetround_noexl_ctx): Likewise.
64878         (libc_feholdsetround_53bit_ctx): Likewise.
64879         (libc_feresetround_53bit_ctx): Likewise.
64880         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64881         (libc_feholdexcept_setround_sse_ctx): New function.
64882         (libc_fesetenv_sse_ctx): Likewise.
64883         (libc_feupdateenv_sse_ctx): Likewise.
64884         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64885         (libc_feholdexcept_setround_387_ctx): Likewise.
64886         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64887         (libc_feholdsetround_387_prec_ctx): Likewise.
64888         (libc_feholdsetround_387_ctx): Likewise.
64889         (libc_feholdsetround_387_53bit_ctx): Likewise.
64890         (libc_feholdsetround_sse_ctx): Likewise.
64891         (libc_feresetround_sse_ctx): Likewise.
64892         (libc_feresetround_387_ctx): Likewise.
64893         (libc_feupdateenv_387_ctx): Likewise.
64894         (libc_feholdexcept_setroundf_ctx): Define macro.
64895         (libc_fesetenvf_ctx): Likewise.
64896         (libc_feupdateenvf_ctx): Likewise.
64897         (libc_feholdsetroundf_ctx): Likewise.
64898         (libc_feresetroundf_ctx): Likewise.
64899         (libc_feholdexcept_setround_ctx): Likewise.
64900         (libc_fesetenv_ctx): Likewise.
64901         (libc_feupdateenv_ctx): Likewise.
64902         (libc_feholdsetround_ctx): Likewise.
64903         (libc_feresetround_ctx): Likewise.
64904         (libc_feholdexcept_setroundl_ctx): Likewise.
64905         (libc_feupdateenvl_ctx): Likewise.
64906         (libc_feholdsetroundl_ctx): Likewise.
64907         (libc_feresetroundl_ctx): Likewise.
64908         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64909         (libc_feresetround_53bit_ctx): Likewise.
64911 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64913         * locale/iso-639.def: Convert to UTF-8.
64915 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
64917         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64918         (EXCEPTION_TESTS_double): Likewise.
64919         (EXCEPTION_TESTS_long_double): Likewise.
64920         (EXCEPTION_TESTS): Likewise.
64921         * math/libm-test.inc (test_exceptions): Only test exceptions if
64922         EXCEPTION_TESTS (FLOAT).
64924 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64926         * benchtests/Makefile (string-bench): Add strcpy_chk and
64927         stpcpy_chk.
64928         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64929         * benchtests/bench-stpcpy_chk.c: New file.
64930         * benchtests/bench-strcpy_chk-ifunc.c: New file.
64931         * benchtests/bench-strcpy_chk.c: New file.
64932         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64933         code.
64934         (do_test): Likewise.
64936 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64938         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64939         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64940         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64941         with tabs where appropriate.
64942         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64943         dl-procinfo.h.
64944         [PPC_PLATFORM_PPC440]: Likewise.
64945         [PPC_PLATFORM_PPC464]: Likewise.
64946         [PPC_PLATFORM_PPC476]: Likewise.
64947         (_dl_string_platform): Add support for detecting ppc405, ppc440,
64948         ppc464, and ppc476 platform strings merging from ports/
64949         dl-procinfo.h.
64951 2013-06-11  Andreas Schwab  <schwab@suse.de>
64953         [BZ #14991]
64954         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64955         (from_ucs4_idx): Regenerate.
64956         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64957         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64958         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64959         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64960         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64961         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64962         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64963         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64964         from FROM_LOOP and TO_LOOP specific macros.
64965         (BODY): Handle combining characters.
64966         * iconvdata/BIG5HKSCS.irreversible: Update.
64967         * iconvdata/BIG5HKSCS.precomposed: New file.
64968         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64969         characters.
64970         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64972 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64974         * include/sys/time.h: Fix indentation and add copyright header.
64976         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64977         (do_test): Likewise.
64978         * string/test-memchr.c (do_one_test): Likewise.
64979         (do_test): Likewise.
64980         * string/test-memcmp.c (do_one_test): Likewise.
64981         (do_test): Likewise.
64982         * string/test-memcpy.c (do_one_test): Likewise.
64983         (do_test): Likewise.
64984         * string/test-memmem.c (do_one_test): Likewise.
64985         (do_test): Likewise.
64986         (do_random_tests): Likewise.
64987         * string/test-memmove.c (do_one_test): Likewise.
64988         (do_test): Likewise.
64989         * string/test-memset.c (do_one_test): Likewise.
64990         (do_test): Likewise.
64991         * string/test-rawmemchr.c (do_one_test): Likewise.
64992         (do_test): Likewise.
64993         * string/test-strcasecmp.c (do_one_test): Likewise.
64994         (do_test): Likewise.
64995         * string/test-strcasestr.c (do_one_test): Likewise.
64996         (do_test): Likewise.
64997         * string/test-strcat.c (do_one_test): Likewise.
64998         (do_test): Likewise.
64999         * string/test-strchr.c (do_one_test): Likewise.
65000         (do_test): Likewise.
65001         * string/test-strcmp.c (do_one_test): Likewise.
65002         (do_test): Likewise.
65003         * string/test-strcpy.c (do_one_test): Likewise.
65004         (do_test): Likewise.
65005         * string/test-string.h: Likewise.
65006         (test_init): Likewise.
65007         * string/test-strlen.c (do_one_test): Likewise.
65008         (do_test): Likewise.
65009         * string/test-strncasecmp.c (do_one_test): Likewise.
65010         (do_test): Likewise.
65011         * string/test-strncat.c (do_one_test): Likewise.
65012         (do_test): Likewise.
65013         * string/test-strncmp.c (do_one_test): Likewise.
65014         (do_test_limit): Likewise.
65015         (do_test): Likewise.
65016         * string/test-strncpy.c (do_one_test): Likewise.
65017         (do_test): Likewise.
65018         * string/test-strnlen.c (do_one_test): Likewise.
65019         (do_test): Likewise.
65020         * string/test-strpbrk.c (do_one_test): Likewise.
65021         (do_test): Likewise.
65022         * string/test-strrchr.c (do_one_test): Likewise.
65023         (do_test): Likewise.
65024         * string/test-strspn.c (do_one_test): Likewise.
65025         (do_test): Likewise.
65026         * string/test-strstr.c (do_one_test): Likewise.
65027         (do_test): Likewise.
65029         * benchtests/Makefile (string-bench): Add string benchmarks.
65030         * benchtests/bench-bcopy-ifunc.c: New file.
65031         * benchtests/bench-bcopy.c: New file.
65032         * benchtests/bench-bzero-ifunc.c: New file.
65033         * benchtests/bench-bzero.c: New file.
65034         * benchtests/bench-memccpy-ifunc.c: New file.
65035         * benchtests/bench-memccpy.c: New file.
65036         * benchtests/bench-memchr-ifunc.c: New file.
65037         * benchtests/bench-memchr.c: New file.
65038         * benchtests/bench-memcmp-ifunc.c: New file.
65039         * benchtests/bench-memcmp.c: New file.
65040         * benchtests/bench-memmem-ifunc.c: New file.
65041         * benchtests/bench-memmem.c: New file.
65042         * benchtests/bench-memmove-ifunc.c: New file.
65043         * benchtests/bench-memmove.c: New file.
65044         * benchtests/bench-mempcpy-ifunc.c: New file.
65045         * benchtests/bench-mempcpy.c: New file.
65046         * benchtests/bench-memset-ifunc.c: New file.
65047         * benchtests/bench-memset.c: New file.
65048         * benchtests/bench-rawmemchr-ifunc.c: New file.
65049         * benchtests/bench-rawmemchr.c: New file.
65050         * benchtests/bench-stpcpy-ifunc.c: New file.
65051         * benchtests/bench-stpcpy.c: New file.
65052         * benchtests/bench-stpncpy-ifunc.c: New file.
65053         * benchtests/bench-stpncpy.c: New file.
65054         * benchtests/bench-strcasecmp-ifunc.c: New file.
65055         * benchtests/bench-strcasecmp.c: New file.
65056         * benchtests/bench-strcasestr-ifunc.c: New file.
65057         * benchtests/bench-strcasestr.c: New file.
65058         * benchtests/bench-strcat-ifunc.c: New file.
65059         * benchtests/bench-strcat.c: New file.
65060         * benchtests/bench-strchr-ifunc.c: New file.
65061         * benchtests/bench-strchr.c: New file.
65062         * benchtests/bench-strchrnul-ifunc.c: New file.
65063         * benchtests/bench-strchrnul.c: New file.
65064         * benchtests/bench-strcmp-ifunc.c: New file.
65065         * benchtests/bench-strcmp.c: New file.
65066         * benchtests/bench-strcpy-ifunc.c: New file.
65067         * benchtests/bench-strcpy.c: New file.
65068         * benchtests/bench-strcspn-ifunc.c: New file.
65069         * benchtests/bench-strcspn.c: New file.
65070         * benchtests/bench-strlen-ifunc.c: New file.
65071         * benchtests/bench-strlen.c: New file.
65072         * benchtests/bench-strncasecmp-ifunc.c: New file.
65073         * benchtests/bench-strncasecmp.c: New file.
65074         * benchtests/bench-strncat-ifunc.c: New file.
65075         * benchtests/bench-strncat.c: New file.
65076         * benchtests/bench-strncmp-ifunc.c: New file.
65077         * benchtests/bench-strncmp.c: New file.
65078         * benchtests/bench-strncpy-ifunc.c: New file.
65079         * benchtests/bench-strncpy.c: New file.
65080         * benchtests/bench-strnlen-ifunc.c: New file.
65081         * benchtests/bench-strnlen.c: New file.
65082         * benchtests/bench-strpbrk-ifunc.c: New file.
65083         * benchtests/bench-strpbrk.c: New file.
65084         * benchtests/bench-strrchr-ifunc.c: New file.
65085         * benchtests/bench-strrchr.c: New file.
65086         * benchtests/bench-strspn-ifunc.c: New file.
65087         * benchtests/bench-strspn.c: New file.
65088         * benchtests/bench-strstr-ifunc.c: New file.
65089         * benchtests/bench-strstr.c: New file.
65091         * benchtests/Makefile: Disable parallel execution of targets.
65092         (string-bench): Add memcpy.
65093         (benchset): New variable to store a list of benchmark sets.
65094         (bench-func): Renamed from bench.
65095         (bench-set): New target.
65096         (bench): Depend on bench-func and bench-set.
65097         * benchtests/README: Add section on benchmark sets.
65098         * benchtests/bench-memcpy-ifunc.c: New file.
65099         * benchtests/bench-memcpy.c: New file.
65100         * benchtests/bench-string.h: New file.
65102 2013-06-11  Andreas Schwab  <schwab@suse.de>
65104         [BZ #15577]
65105         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65106         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65107         values in the triple.
65108         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65109         terminator in the group key.
65111 2013-06-11  Andreas Jaeger  <aj@suse.de>
65113         * po/zh_TW.po: Update Chinese (traditional) translation from
65114         translation project.
65116 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65118         * include/time.h (__clock_gettime): Add libc_hidden_proto.
65119         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65120         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
65121         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65122         (clock_getcpuclockid): Likewise.
65123         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65124         Add weak_alias and libc_hidden_def.
65125         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65126         * rt/clock_gettime.c (clock_gettime): Rename to
65127         __clock_gettime.  Add weak_alias and libc_hidden_def.
65128         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65129         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65130         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
65131         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65132         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65133         Likewise.
65134         * rt/clock_settime.c (clock_settime): Rename to
65135         __clock_settime.  Add weak_alias and libc_hidden_def.
65136         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65138 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
65140         * mach/err_boot.sub: Remove trailing whitespace.
65141         * mach/err_ipc.sub: Likewise.
65142         * mach/err_mach.sub: Likewise.
65144         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65145         (ROUNDING_TESTS_double): Likewise.
65146         (ROUNDING_TESTS_long_double): Likewise.
65147         (ROUNDING_TESTS): Likewise.
65148         * math/libm-test.inc: Include <math-tests.h>.
65149         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65150         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65151         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65152         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65154 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65156         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65157         of assigning.
65159 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
65161         * sysdeps/gnu/errlist.awk: Do not generate space at end of
65162         otherwise empty TRANS lines.
65163         * sysdeps/gnu/errlist.c: Regenerated.
65165         * catgets/gencat.c (error_print): Use (void) in function
65166         definition.
65167         * crypt/crypt_util.c (__init_des): Likewise.
65168         * crypt/speeds.c (Stop): Likewise.
65169         (main): Likewise.
65170         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65171         * inet/ruserpass.c (token): Likewise.
65172         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65173         * intl/localealias.c (extend_alias_table): Likewise.
65174         * intl/plural-exp.c (init_germanic_plural): Likewise.
65175         * libio/fcloseall.c (__fcloseall): Likewise.
65176         * libio/genops.c (_IO_flush_all): Likewise.
65177         (_IO_flush_all_linebuffered): Likewise.
65178         (_IO_cleanup): Likewise.
65179         (_IO_iter_begin): Likewise.
65180         (_IO_iter_end): Likewise.
65181         (_IO_list_lock): Likewise.
65182         (_IO_list_unlock): Likewise.
65183         (_IO_list_resetlock): Likewise.
65184         * libio/getchar.c (getchar): Likewise.
65185         * libio/getchar_u.c (getchar_unlocked): Likewise.
65186         * libio/getwchar.c (getwchar): Likewise.
65187         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65188         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65189         * login/getpt.c (__getpt): Likewise.
65190         * login/tst-utmp.c (main): Likewise.
65191         * malloc/hooks.c (__malloc_check_init): Likewise.
65192         * malloc/malloc.c (__malloc_stats): Likewise.
65193         * malloc/mtrace.c (tr_break): Likewise.
65194         (mtrace): Likewise.
65195         (muntrace): Likewise.
65196         * misc/fstab.c (endfsent): Likewise.
65197         * misc/getclktck.c (__getclktck): Likewise.
65198         * misc/getdtsz.c (__getdtablesize): Likewise.
65199         * misc/gethostid.c (gethostid): Likewise.
65200         * misc/getpagesize.c (__getpagesize): Likewise.
65201         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65202         (__get_nprocs): Likewise.
65203         (__get_phys_pages): Likewise.
65204         (__get_avphys_pages): Likewise.
65205         * misc/getttyent.c (getttyent): Likewise.
65206         (setttyent): Likewise.
65207         (endttyent): Likewise.
65208         * misc/getusershell.c (getusershell): Likewise.
65209         (endusershell): Likewise.
65210         (setusershell): Likewise.
65211         (initshells): Likewise.
65212         * misc/hsearch.c (__hdestroy): Likewise.
65213         * misc/sync.c (sync): Likewise.
65214         * misc/syslog.c (closelog_internal): Likewise.
65215         (closelog): Likewise.
65216         * misc/ttyslot.c (ttyslot): Likewise.
65217         * misc/vhangup.c (vhangup): Likewise.
65218         * posix/fork.c (__fork): Likewise.
65219         * posix/getegid.c (__getegid): Likewise.
65220         * posix/geteuid.c (__geteuid): Likewise.
65221         * posix/getgid.c (__getgid): Likewise.
65222         * posix/getpid.c (__getpid): Likewise.
65223         * posix/getppid.c (__getppid): Likewise.
65224         * posix/getuid.c (__getuid): Likewise.
65225         * posix/pause.c (pause): Likewise.
65226         * posix/setpgrp.c (setpgrp): Likewise.
65227         * posix/setsid.c (__setsid): Likewise.
65228         * posix/test-vfork.c (noop): Likewise.
65229         * resolv/gethnamaddr.c (_endhtent): Likewise.
65230         (_gethtent): Likewise.
65231         (ht_endhostent): Likewise.
65232         (gethostent): Likewise.
65233         (dns_service): Likewise.
65234         * stdlib/drand48.c (drand48): Likewise.
65235         * stdlib/lrand48.c (lrand48): Likewise.
65236         * stdlib/mrand48.c (mrand48): Likewise.
65237         * stdlib/rand.c (rand): Likewise.
65238         * stdlib/random.c (__random): Likewise.
65239         * stdlib/setenv.c (clearenv): Likewise.
65240         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65241         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65242         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65243         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65244         (__get_nprocs): Likewise.
65245         (__get_phys_pages): Likewise.
65246         (__get_avphys_pages): Likewise.
65247         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65248         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65249         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65250         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65251         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65252         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65253         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65254         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65255         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65256         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65257         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65258         * sysdeps/mach/hurd/sync.c (sync): Likewise.
65259         * sysdeps/posix/clock.c (clock): Likewise.
65260         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65261         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65262         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65263         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65264         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65265         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65266         (__get_nprocs_conf): Likewise.
65267         (__get_phys_pages): Likewise.
65268         (__get_avphys_pages): Likewise.
65269         * time/clock.c (clock): Likewise.
65270         * time/tzset.c (__tzname_max): Likewise.
65272 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
65274         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65275         (__bswap_32): Do not use "register".
65276         * crypt/crypt.c (_ufc_doit_r): Likewise.
65277         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65278         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65279         * gmon/gmon.c (__monstartup): Likewise.
65280         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65281         * hurd/hurdmalloc.c (more_memory): Likewise.
65282         (malloc): Likewise.
65283         (free): Likewise.
65284         (realloc): Likewise.
65285         (malloc_fork_prepare): Likewise.
65286         (malloc_fork_parent): Likewise.
65287         (malloc_fork_child): Likewise.
65288         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65289         (_svcauth_des): Likewise.
65290         * inet/inet_lnaof.c (inet_lnaof): Likewise.
65291         * inet/inet_net.c (inet_network): Likewise.
65292         * inet/inet_netof.c (inet_netof): Likewise.
65293         * inet/rcmd.c (__validuser2_sa): Likewise.
65294         * io/fts.c (fts_open): Likewise.
65295         (fts_load): Likewise.
65296         (fts_close): Likewise.
65297         (fts_read): Likewise.
65298         (fts_children): Likewise.
65299         (fts_build): Likewise.
65300         (fts_stat): Likewise.
65301         (fts_sort): Likewise.
65302         (fts_alloc): Likewise.
65303         (fts_lfree): Likewise.
65304         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65305         (_IO_file_xsgetn): Likewise.
65306         (_IO_file_xsgetn_mmap): Likewise.
65307         * libio/iofopncook.c (_IO_cookie_read): Likewise.
65308         (_IO_cookie_write): Likewise.
65309         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65310         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65311         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65312         * malloc/obstack.c (_obstack_begin): Likewise.
65313         (_obstack_begin_1): Likewise.
65314         (_obstack_newchunk): Likewise.
65315         (_obstack_allocated_p): Likewise.
65316         (obstack_free): Likewise.
65317         (_obstack_memory_used): Likewise.
65318         * misc/getttyent.c (getttynam): Likewise.
65319         (getttyent): Likewise.
65320         (skip): Likewise.
65321         (value): Likewise.
65322         * misc/getusershell.c (initshells): Likewise.
65323         * misc/syslog.c (__vsyslog_chk): Likewise.
65324         * misc/ttyslot.c (ttyslot): Likewise.
65325         * nis/nis_hash.c (__nis_hash): Likewise.
65326         * posix/fnmatch_loop.c (FCT): Likewise.
65327         * posix/getconf.c (print_all): Likewise.
65328         (main): Likewise.
65329         * posix/getopt.c (exchange): Likewise.
65330         * posix/glob.c (globfree): Likewise.
65331         (prefix_array): Likewise.
65332         (__glob_pattern_type): Likewise.
65333         * resolv/arpa/nameser.h (NS_GET16): Likewise.
65334         (NS_GET32): Likewise.
65335         (NS_PUT16): Likewise.
65336         (NS_PUT32): Likewise.
65337         * resolv/gethnamaddr.c (getanswer): Likewise.
65338         (gethostbyname2): Likewise.
65339         (gethostbyaddr): Likewise.
65340         (_gethtent): Likewise.
65341         (_gethtbyname2): Likewise.
65342         (_gethtbyaddr): Likewise.
65343         * resolv/ns_print.c (dst_s_get_int16): Likewise.
65344         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65345         * resolv/res_init.c (__res_vinit): Likewise.
65346         (net_mask): Likewise.
65347         * resolv/res_mkquery.c (outchar): Likewise.
65348         (PRINT): Likewise.
65349         * stdio-common/printf_fp.c (outchar): Likewise.
65350         (PRINT): Likewise.
65351         * stdio-common/printf_fphex.c (outchar): Likewise.
65352         (PRINT): Likewise.
65353         * stdio-common/printf_size.c (outchar): Likewise.
65354         (PRINT): Likewise.
65355         * stdio-common/test_rdwr.c (main): Likewise.
65356         * stdio-common/tfformat.c (matches): Likewise.
65357         * stdio-common/vfprintf.c (outchar): Likewise.
65358         (printf_unknown): Likewise.
65359         (buffered_vfprintf): Likewise.
65360         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65361         * stdio-common/xbug.c (AppendToBuffer): Likewise.
65362         (ReadFile): Likewise.
65363         * stdlib/qsort.c (SWAP): Likewise.
65364         (_quicksort): Likewise.
65365         * stdlib/setenv.c (__add_to_environ): Likewise.
65366         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65367         * stdlib/strtol_l.c (__strtol_l): Likewise.
65368         * stdlib/tst-strtod.c (main): Likewise.
65369         * stdlib/tst-strtol.c (main): Likewise.
65370         * stdlib/tst-strtoll.c (main): Likewise.
65371         * string/bits/string2.h (__strcmp_cc): Likewise.
65372         (__strcmp_cg): Likewise.
65373         (__strcspn_c1): Likewise.
65374         (__strcspn_c2): Likewise.
65375         (__strcspn_c3): Likewise.
65376         (__strspn_c1): Likewise.
65377         (__strspn_c2): Likewise.
65378         (__strspn_c3): Likewise.
65379         (__strsep_1c): Likewise.
65380         (__strsep_2c): Likewise.
65381         (__strsep_3c): Likewise.
65382         * string/memccpy.c (__memccpy): Likewise.
65383         * string/stpcpy.c (__stpcpy): Likewise.
65384         * string/strcmp.c (strcmp): Likewise.
65385         * string/strrchr.c (strrchr): Likewise.
65386         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65387         Likewise.
65388         * sysdeps/mach/hurd/getcwd.c
65389         (_hurd_canonicalize_directory_name_internal): Likewise.
65390         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65391         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65392         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65393         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65394         Likewise, in both definitions.
65395         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65396         definitions.
65397         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65398         64] (__bswap_64): Likewise.
65399         * time/test_time.c (main): Likewise.
65400         * time/tzfile.c (__tzfile_read): Likewise.
65401         (__tzfile_compute): Likewise.
65402         * time/tzset.c (__tzset_parse_tz): Likewise.
65403         (tzset_internal): Likewise.
65404         (compute_change): Likewise.
65405         * wcsmbs/wcscat.c (__wcscat): Likewise.
65406         * wcsmbs/wcschr.c (wcschr): Likewise.
65407         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65408         * wcsmbs/wcscspn.c (wcscspn): Likewise.
65409         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65410         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65411         * wcsmbs/wcsspn.c (wcsspn): Likewise.
65412         * wcsmbs/wcsstr.c (wcsstr): Likewise.
65413         * wcsmbs/wmemchr.c (wmemchr): Likewise.
65414         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65415         * wcsmbs/wmemset.c (wmemset): Likewise.
65417 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
65419         * scripts/config.guess: Update to version 2013-05-16.
65420         * scripts/config.sub: Update to version 2013-04-24.
65421         * scripts/install-sh: Update to version 2011-11-20.07.
65422         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65423         * scripts/move-if-change: Update to version 2012-01-06 07:23.
65425 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
65427         * debug/fgetws_u_chk.c: Fix leading whitespaces.
65428         * elf/sln.c: Likewise.
65429         * hurd/hurd/ioctl.h: Likewise.
65430         * hurd/hurdmalloc.c: Likewise.
65431         * hurd/xattr.c: Likewise.
65432         * include/shlib-compat.h: Likewise.
65433         * inet/ruserpass.c: Likewise.
65434         * libio/iofgets_u.c: Likewise.
65435         * libio/iofgetws_u.c: Likewise.
65436         * locale/programs/ld-identification.c: Likewise.
65437         * locale/programs/ld-time.c: Likewise.
65438         * mach/msg-destroy.c: Likewise.
65439         * nss/nss_files/files-netgrp.c: Likewise.
65440         * resolv/res_data.c: Likewise.
65441         * soft-fp/op-1.h: Likewise.
65442         * soft-fp/op-2.h: Likewise.
65443         * soft-fp/op-4.h: Likewise.
65444         * soft-fp/op-common.h: Likewise.
65445         * stdio-common/printf_fphex.c: Likewise.
65446         * stdlib/strtod_l.c: Likewise.
65447         * sunrpc/rpc/clnt.h: Likewise.
65448         * sysdeps/generic/framestate.c: Likewise.
65449         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65450         * sysdeps/i386/bsd-setjmp.S: Likewise.
65451         * sysdeps/i386/__longjmp.S: Likewise.
65452         * sysdeps/i386/setjmp.S: Likewise.
65453         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65454         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65455         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65456         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65457         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65458         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65459         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65460         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65461         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65462         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65463         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65464         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65465         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65466         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65467         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65468         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65469         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65470         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65471         * sysdeps/ieee754/support.c: Likewise.
65472         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65473         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65474         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65475         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65476         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65477         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65478         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65479         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65480         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65481         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65482         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65483         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65484         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65485         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65486         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65487         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65488         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65491 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
65493         * posix/transbug.c: Remove executable mode.
65495 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
65497         * crypt/speeds.c: Remove trailing whitespace.
65498         * dlfcn/default.c: Likewise.
65499         * elf/ifuncdep2.c: Likewise.
65500         * elf/ifuncmain1.c: Likewise.
65501         * elf/ifuncmain1vis.c: Likewise.
65502         * elf/testobj.h: Likewise.
65503         * elf/tst-stackguard1.c: Likewise.
65504         * gmon/sys/gmon.h: Likewise.
65505         * hurd/hurdmsg.c: Likewise.
65506         * hurd/new-fd.c: Likewise.
65507         * hurd/ports-get.c: Likewise.
65508         * iconvdata/ibm1008_420.c: Likewise.
65509         * inet/tst-getni1.c: Likewise.
65510         * inet/tst-getni2.c: Likewise.
65511         * libio/ioungetc.c: Likewise.
65512         * libio/wfiledoalloc.c: Likewise.
65513         * manual/libm-err-tab.pl: Likewise.
65514         * math/w_dremf.c: Likewise.
65515         * misc/ftruncate.c: Likewise.
65516         * posix/bug-glob2.c: Likewise.
65517         * posix/tst-pcre.c: Likewise.
65518         * posix/wait4.c: Likewise.
65519         * resolv/README: Likewise.
65520         * resolv/res_debug.h: Likewise.
65521         * resolv/tst-inet_ntop.c: Likewise.
65522         * setjmp/bug269-setjmp.c: Likewise.
65523         * soft-fp/extended.h: Likewise.
65524         * soft-fp/op-1.h: Likewise.
65525         * soft-fp/op-2.h: Likewise.
65526         * soft-fp/op-4.h: Likewise.
65527         * soft-fp/op-8.h: Likewise.
65528         * soft-fp/testit.c: Likewise.
65529         * stdio-common/bug16.c: Likewise.
65530         * stdlib/random.c: Likewise.
65531         * sunrpc/rpcsvc/rquota.x: Likewise.
65532         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65533         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65534         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65535         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65536         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65537         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65538         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65539         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65540         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65541         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65542         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65543         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65544         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65545         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65546         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65547         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65548         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65549         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65550         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65551         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65552         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65553         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65554         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65555         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65556         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65557         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65558         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65559         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65560         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65561         * sysdeps/ieee754/s_lib_version.c: Likewise.
65562         * sysdeps/mach/hurd/check_fds.c: Likewise.
65563         * sysdeps/mach/hurd/getsockname.c: Likewise.
65564         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65565         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65566         * sysdeps/powerpc/bits/link.h: Likewise.
65567         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65568         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65569         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65570         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65571         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65572         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65573         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65574         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65575         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65576         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65577         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65578         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65579         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65580         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65581         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65582         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65583         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65584         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65585         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65586         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65587         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65588         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65589         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65590         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65591         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65592         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65593         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65594         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65595         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65596         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65597         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65598         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65599         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65600         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65601         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65602         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65603         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65604         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65605         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65606         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65607         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65608         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65609         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65610         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65611         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65612         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65613         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65614         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65615         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65616         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65617         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65618         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65619         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65620         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65621         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65622         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65623         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65624         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65625         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65626         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65627         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65628         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65629         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65630         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65631         * sysdeps/powerpc/sysdep.h: Likewise.
65632         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65633         * sysdeps/s390/s390-64/sub_n.S: Likewise.
65634         * sysdeps/sh/dl-trampoline.S: Likewise.
65635         * sysdeps/sh/memset.S: Likewise.
65636         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65637         * sysdeps/sh/strlen.S: Likewise.
65638         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65639         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65640         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65641         * sysdeps/sparc/sparc32/rem.S: Likewise.
65642         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65643         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65644         * sysdeps/sparc/sparc32/strchr.S: Likewise.
65645         * sysdeps/sparc/sparc32/udiv.S: Likewise.
65646         * sysdeps/sparc/sparc32/urem.S: Likewise.
65647         * sysdeps/sparc/sparc64/add_n.S: Likewise.
65648         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65649         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65650         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65651         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65652         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65653         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65654         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65655         * sysdeps/unix/bsd/times.c: Likewise.
65656         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65657         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65661         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65662         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65663         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65664         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65665         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65666         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65667         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65668         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65669         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65670         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65671         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65672         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65673         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65674         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65675         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65676         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65677         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65678         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65679         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65680         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65681         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65682         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65683         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65684         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65685         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65686         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65687         * sysdeps/x86_64/strcspn.S: Likewise.
65689 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65691         * locale/C-translit.h: Revert #include <stdint.h> because this is a
65692         generated file.  Regenerate properly from gen-translit.pl.
65693         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
65694         locale/C-translit.h.
65696 2013-06-05  Andreas Schwab  <schwab@suse.de>
65698         [BZ #15100]
65699         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65700         week as 6 instead of -1.
65701         * time/tst-strptime.c (day_tests): Add test case.
65703 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65705         * sysdeps/generic/math_private.h
65706         (libc_feholdexcept_setround_53bit): Replace with
65707         libc_feholdsetround_53bit.
65708         (libc_feupdateenv_53bit): Replace with
65709         libc_feresetround_53bit.
65710         (SET_RESTORE_ROUND_53BIT): Adjust.
65712 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65714         * string/test-strchrnul.c: Add copyright header.
65716         * posix/tst-getaddrinfo4.c: Increase test timeout.
65718 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
65720         [BZ #15536]
65721         * math/libm-test.inc (MAX_EXP): Remove
65722         (MIN_EXP): Define.
65723         (ulp): Use MIN_EXP - MANT_DIG.
65724         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65726 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
65728         * po/be.po: Revert last change.
65729         * po/zh_CN.po: Likewise.
65730         * po/header.pot: Likewise.
65732 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
65734         * Makefile ($(common-objpfx)linkobj/libc.so): Define
65735         link-libc-deps to empty as target-specific variable.
65736         * Makerules (link-libc-args): New variable.
65737         (libc-for-link): Likewise.
65738         (link-libc-deps): Likewise.
65739         (lib%.so): Depend on $(link-libc-deps).  Link with
65740         $(link-libc-args).
65741         (build-module): Link with $(link-libc-args).
65742         (build-module-asneeded): Likewise.
65743         (build-module-helper-objlist): Filter out $(link-libc-deps) from
65744         list of objects.
65745         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65746         target-specific variable.
65747         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65748         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65749         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65750         libc.
65751         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65752         libc and ld.so.
65753         ($(objpfx)libpcprofile.so): Likewise.
65754         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65755         libc_nonshared.a.
65756         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65757         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65758         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65759         $(link-libc-deps).
65760         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65761         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65762         * login/Makefile ($(objpfx)libutil.so): Likewise.
65763         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65764         * math/Makefile ($(objpfx)libm.so): Likewise.
65765         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65766         $(objpfx)libnsl.so): Define libc-for-link as target-specific
65767         variable instead of depending directly on libc.
65768         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65769         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65770         $(link-libc-deps).
65771         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65772         libc.
65773         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65774         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65775         ($(objpfx)libanl.so): Likewise.
65776         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65777         ld.so.
65778         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65779         $(link-libc-deps).
65780         * sysdeps/i386/fpu/Makefile: Remove file.
65781         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65782         ($(objpfx)libm.so): Remove dependency on ld.so.
65784 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
65786         [BZ # 15553]
65787         * nis/yp_xdr.c (XDRMAXNAME): Define.
65788         (XDRMAXRECORD): Define.
65789         (xdr_domainname): Use XDRMAXNAME.
65790         (xdr_mapname): Likewise.
65791         (xdr_peername): Likewise.
65792         (xdr_keydat): Use XDRMAXRECORD.
65793         (xdr_valdat): Likewise.
65795 2013-05-30  Jeff Law  <law@redhat.com>
65797         [BZ #14256]
65798         * manual/errno.texi (ESTALE): Update to account for more than
65799         just NFS file systems.
65800         * sysdeps/gnu/errlist.c: Regenerated.
65802 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65804         [BZ #15465]
65805         * elf/Makefile (tests): Add tst-null-argv.
65806         (modules-names):  Add tst-null-argv-lib.
65807         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65808         (tst-null-argv-ENV): Set environment for tst-null-argv.
65809         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65810         (RTLD_PROGNAME): New macro.
65811         * elf/tst-null-argv.c: New test case.
65812         * elf/tst-null-argv-lib.c: Library for test case.
65813         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65814         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65815         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65816         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65817         * elf/dl-init.c (call_init): Likewise.
65818         (_dl_init): Likewise.
65819         * elf/dl-load.c (print_search_path): Likewise.
65820         (_dl_map_object): Likewise.
65821         * elf/dl-lookup.c (do_lookup_x): Likewise.
65822         (add_dependency): Likewise.
65823         (_dl_lookup_symbol_x): Likewise.
65824         (_dl_debug_bindings): Likewise.
65825         * elf/dl-open.c (_dl_show_scope): Likewise.
65826         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65827         * elf/dl-version.c (match_symbol): Likewise.
65828         (_dl_check_map_versions): Likewise.
65829         * elf/rtld.c (dl_main): Likewise.
65830         (print_unresolved): Use RTLD_PROGNAME.
65831         (print_missing_version): Likewise.
65832         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65833         (elf_machine_rela): Likewise.
65834         * sysdeps/powerpc/powerpc32/dl-machine.c
65835         (__process_machine_rela): Likewise.
65836         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65837         Likewise.
65838         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65839         Likewise.
65840         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65841         Likewise.
65842         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65843         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65844         Likewise.
65845         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65846         Likewise.
65847         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65849 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
65851         * po/be.po: Add descriptive title.
65852         * po/zh_CN.po: Likewise.
65853         * po/header.pot: Likewise.
65855 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
65857         * locale/programs/locarchive.c (create_archive): Inlucde fname in
65858         error message.
65859         (enlarge_archive): Likewise.
65861 2013-05-28  Ben North  <ben@redfrontdoor.org>
65863         * manual/arith.texi (frexp): It is the magnitude of the return
65864         value which lies in [0.5, 1), not the return value itself.
65866 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65870 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
65872         * stdio-common/bug26.c (main): Correct fscanf template.
65874         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65875         declare _dl_skip_args.
65877         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65878         Don't declare.
65880         * manual/platform.texi: Add missing @end deftypefun.
65882 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65884         [BZ #15529]
65885         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65886         bit of mantissa of 2^16382.
65887         * math/libm-test.inc (hypot_test_data): Add more tests.
65889         * math/libm-test.inc: Add drem and pow10 to list of tested
65890         functions.
65891         (pow10_test): New function.
65892         (drem_test): Likewise.
65893         (drem_test_tonearest): Likewise.
65894         (drem_test_towardzero): Likewise.
65895         (drem_test_downward): Likewise.
65896         (drem_test_upward): Likewise.
65897         (main): Call the new functions.
65899         * math/libm-test.inc (finite_test_data): Remove.
65900         (finite_test): Run tests from isfinite_test_data.
65901         (gamma_test_data): Remove.
65902         (gamma_test): Run tests from lgamma_test_data.
65903         * sysdeps/i386/fpu/libm-test-ulps: Update.
65904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65906 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65908         * manual/platform.texi: Add PowerPC PPR function set documentation.
65909         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65910         implementation.
65912 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
65914         * math/libm-test.inc (MAX_EXP): Define.
65915         (ULPDIFF): Define.
65916         (ulp): New function.
65917         (check_float_internal): Use ULPDIFF.
65918         (cpow_test): Disable failing test.
65919         (check_ulp): Test ulp() implementation.
65920         (main): Call check_ulp before starting tests.
65922 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65924         * math/gen-libm-test.pl (generate_testfile): Do not handle
65925         START_DATA and END_DATA.
65926         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65927         END_DATA.
65928         (acos_tonearest_test_data): Likewise.
65929         (acos_towardzero_test_data): Likewise.
65930         (acos_downward_test_data): Likewise.
65931         (acos_upward_test_data): Likewise.
65932         (acosh_test_data): Likewise.
65933         (asin_test_data): Likewise.
65934         (asin_tonearest_test_data): Likewise.
65935         (asin_towardzero_test_data): Likewise.
65936         (asin_downward_test_data): Likewise.
65937         (asin_upward_test_data): Likewise.
65938         (asinh_test_data): Likewise.
65939         (atan_test_data): Likewise.
65940         (atanh_test_data): Likewise.
65941         (atan2_test_data): Likewise.
65942         (cabs_test_data): Likewise.
65943         (cacos_test_data): Likewise.
65944         (cacosh_test_data): Likewise.
65945         (carg_test_data): Likewise.
65946         (casin_test_data): Likewise.
65947         (casinh_test_data): Likewise.
65948         (catan_test_data): Likewise.
65949         (catanh_test_data): Likewise.
65950         (cbrt_test_data): Likewise.
65951         (ccos_test_data): Likewise.
65952         (ccosh_test_data): Likewise.
65953         (ceil_test_data): Likewise.
65954         (cexp_test_data): Likewise.
65955         (cimag_test_data): Likewise.
65956         (clog_test_data): Likewise.
65957         (clog10_test_data): Likewise.
65958         (conj_test_data): Likewise.
65959         (copysign_test_data): Likewise.
65960         (cos_test_data): Likewise.
65961         (cos_tonearest_test_data): Likewise.
65962         (cos_towardzero_test_data): Likewise.
65963         (cos_downward_test_data): Likewise.
65964         (cos_upward_test_data): Likewise.
65965         (cosh_test_data): Likewise.
65966         (cosh_tonearest_test_data): Likewise.
65967         (cosh_towardzero_test_data): Likewise.
65968         (cosh_downward_test_data): Likewise.
65969         (cosh_upward_test_data): Likewise.
65970         (cpow_test_data): Likewise.
65971         (cproj_test_data): Likewise.
65972         (creal_test_data): Likewise.
65973         (csin_test_data): Likewise.
65974         (csinh_test_data): Likewise.
65975         (csqrt_test_data): Likewise.
65976         (ctan_test_data): Likewise.
65977         (ctan_tonearest_test_data): Likewise.
65978         (ctan_towardzero_test_data): Likewise.
65979         (ctan_downward_test_data): Likewise.
65980         (ctan_upward_test_data): Likewise.
65981         (ctanh_test_data): Likewise.
65982         (ctanh_tonearest_test_data): Likewise.
65983         (ctanh_towardzero_test_data): Likewise.
65984         (ctanh_downward_test_data): Likewise.
65985         (ctanh_upward_test_data): Likewise.
65986         (erf_test_data): Likewise.
65987         (erfc_test_data): Likewise.
65988         (exp_test_data): Likewise.
65989         (exp_tonearest_test_data): Likewise.
65990         (exp_towardzero_test_data): Likewise.
65991         (exp_downward_test_data): Likewise.
65992         (exp_upward_test_data): Likewise.
65993         (exp10_test_data): Likewise.
65994         (exp2_test_data): Likewise.
65995         (expm1_test_data): Likewise.
65996         (fabs_test_data): Likewise.
65997         (fdim_test_data): Likewise.
65998         (finite_test_data): Likewise.
65999         (floor_test_data): Likewise.
66000         (fma_test_data): Likewise.
66001         (fma_towardzero_test_data): Likewise.
66002         (fma_downward_test_data): Likewise.
66003         (fma_upward_test_data): Likewise.
66004         (fmax_test_data): Likewise.
66005         (fmin_test_data): Likewise.
66006         (fmod_test_data): Likewise.
66007         (fpclassify_test_data): Likewise.
66008         (frexp_test_data): Likewise.
66009         (gamma_test_data): Likewise.
66010         (hypot_test_data): Likewise.
66011         (ilogb_test_data): Likewise.
66012         (isfinite_test_data): Likewise.
66013         (isgreater_test_data): Likewise.
66014         (isgreaterequal_test_data): Likewise.
66015         (isinf_test_data): Likewise.
66016         (isless_test_data): Likewise.
66017         (islessequal_test_data): Likewise.
66018         (islessgreater_test_data): Likewise.
66019         (isnan_test_data): Likewise.
66020         (isnormal_test_data): Likewise.
66021         (issignaling_test_data): Likewise.
66022         (isunordered_test_data): Likewise.
66023         (j0_test_data): Likewise.
66024         (j1_test_data): Likewise.
66025         (jn_test_data): Likewise.
66026         (ldexp_test_data): Likewise.
66027         (lgamma_test_data): Likewise.
66028         (lrint_test_data): Likewise.
66029         (lrint_tonearest_test_data): Likewise.
66030         (lrint_towardzero_test_data): Likewise.
66031         (lrint_downward_test_data): Likewise.
66032         (lrint_upward_test_data): Likewise.
66033         (llrint_test_data): Likewise.
66034         (llrint_tonearest_test_data): Likewise.
66035         (llrint_towardzero_test_data): Likewise.
66036         (llrint_downward_test_data): Likewise.
66037         (llrint_upward_test_data): Likewise.
66038         (log_test_data): Likewise.
66039         (log10_test_data): Likewise.
66040         (log1p_test_data): Likewise.
66041         (log2_test_data): Likewise.
66042         (logb_test_data): Likewise.
66043         (logb_downward_test_data): Likewise.
66044         (lround_test_data): Likewise.
66045         (llround_test_data): Likewise.
66046         (modf_test_data): Likewise.
66047         (nearbyint_test_data): Likewise.
66048         (nextafter_test_data): Likewise.
66049         (nexttoward_test_data): Likewise.
66050         (pow_test_data): Likewise.
66051         (pow_tonearest_test_data): Likewise.
66052         (pow_towardzero_test_data): Likewise.
66053         (pow_downward_test_data): Likewise.
66054         (pow_upward_test_data): Likewise.
66055         (remainder_test_data): Likewise.
66056         (remainder_tonearest_test_data): Likewise.
66057         (remainder_towardzero_test_data): Likewise.
66058         (remainder_downward_test_data): Likewise.
66059         (remainder_upward_test_data): Likewise.
66060         (remquo_test_data): Likewise.
66061         (rint_test_data): Likewise.
66062         (rint_tonearest_test_data): Likewise.
66063         (rint_towardzero_test_data): Likewise.
66064         (rint_downward_test_data): Likewise.
66065         (rint_upward_test_data): Likewise.
66066         (round_test_data): Likewise.
66067         (scalb_test_data): Likewise.
66068         (scalbn_test_data): Likewise.
66069         (scalbln_test_data): Likewise.
66070         (signbit_test_data): Likewise.
66071         (sin_test_data): Likewise.
66072         (sin_tonearest_test_data): Likewise.
66073         (sin_towardzero_test_data): Likewise.
66074         (sin_downward_test_data): Likewise.
66075         (sin_upward_test_data): Likewise.
66076         (sincos_test_data): Likewise.
66077         (sinh_test_data): Likewise.
66078         (sinh_tonearest_test_data): Likewise.
66079         (sinh_towardzero_test_data): Likewise.
66080         (sinh_downward_test_data): Likewise.
66081         (sinh_upward_test_data): Likewise.
66082         (sqrt_test_data): Likewise.
66083         (tan_test_data): Likewise.
66084         (tan_tonearest_test_data): Likewise.
66085         (tan_towardzero_test_data): Likewise.
66086         (tan_downward_test_data): Likewise.
66087         (tan_upward_test_data): Likewise.
66088         (tanh_test_data): Likewise.
66089         (tgamma_test_data): Likewise.
66090         (trunc_test_data): Likewise.
66091         (y0_test_data): Likewise.
66092         (y1_test_data): Likewise.
66093         (yn_test_data): Likewise.
66094         (significand_test_data): Likewise.
66096         * math/gen-libm-test.pl (@functions): Remove variable.
66097         (generate_testfile): Don't handle START and END lines.
66098         * math/libm-test.inc (START): New macro.
66099         (END): Likewise.
66100         (END_COMPLEX): Likewise.
66101         (acos_test): Use END macro without arguments.
66102         (acos_test_tonearest): Likewise.
66103         (acos_test_towardzero): Likewise.
66104         (acos_test_downward): Likewise.
66105         (acos_test_upward): Likewise.
66106         (acosh_test): Likewise.
66107         (asin_test): Likewise.
66108         (asin_test_tonearest): Likewise.
66109         (asin_test_towardzero): Likewise.
66110         (asin_test_downward): Likewise.
66111         (asin_test_upward): Likewise.
66112         (asinh_test): Likewise.
66113         (atan_test): Likewise.
66114         (atanh_test): Likewise.
66115         (atan2_test): Likewise.
66116         (cabs_test): Likewise.
66117         (cacos_test): Use END_COMPLEX macro without arguments.
66118         (cacosh_test): Likewise.
66119         (carg_test): Use END macro without arguments.
66120         (casin_test): Use END_COMPLEX macro without arguments.
66121         (casinh_test): Likewise.
66122         (catan_test): Likewise.
66123         (catanh_test): Likewise.
66124         (cbrt_test): Use END macro without arguments.
66125         (ccos_test): Use END_COMPLEX macro without arguments.
66126         (ccosh_test): Likewise.
66127         (ceil_test): Use END macro without arguments.
66128         (cexp_test): Use END_COMPLEX macro without arguments.
66129         (cimag_test): Use END macro without arguments.
66130         (clog_test): Use END_COMPLEX macro without arguments.
66131         (clog10_test): Likewise.
66132         (conj_test): Likewise.
66133         (copysign_test): Use END macro without arguments.
66134         (cos_test): Likewise.
66135         (cos_test_tonearest): Likewise.
66136         (cos_test_towardzero): Likewise.
66137         (cos_test_downward): Likewise.
66138         (cos_test_upward): Likewise.
66139         (cosh_test): Likewise.
66140         (cosh_test_tonearest): Likewise.
66141         (cosh_test_towardzero): Likewise.
66142         (cosh_test_downward): Likewise.
66143         (cosh_test_upward): Likewise.
66144         (cpow_test): Use END_COMPLEX macro without arguments.
66145         (cproj_test): Likewise.
66146         (creal_test): Use END macro without arguments.
66147         (csin_test): Use END_COMPLEX macro without arguments.
66148         (csinh_test): Likewise.
66149         (csqrt_test): Likewise.
66150         (ctan_test): Likewise.
66151         (ctan_test_tonearest): Likewise.
66152         (ctan_test_towardzero): Likewise.
66153         (ctan_test_downward): Likewise.
66154         (ctan_test_upward): Likewise.
66155         (ctanh_test): Likewise.
66156         (ctanh_test_tonearest): Likewise.
66157         (ctanh_test_towardzero): Likewise.
66158         (ctanh_test_downward): Likewise.
66159         (ctanh_test_upward): Likewise.
66160         (erf_test): Use END macro without arguments.
66161         (erfc_test): Likewise.
66162         (exp_test): Likewise.
66163         (exp_test_tonearest): Likewise.
66164         (exp_test_towardzero): Likewise.
66165         (exp_test_downward): Likewise.
66166         (exp_test_upward): Likewise.
66167         (exp10_test): Likewise.
66168         (exp2_test): Likewise.
66169         (expm1_test): Likewise.
66170         (fabs_test): Likewise.
66171         (fdim_test): Likewise.
66172         (finite_test): Likewise.
66173         (floor_test): Likewise.
66174         (fma_test): Likewise.
66175         (fma_test_towardzero): Likewise.
66176         (fma_test_downward): Likewise.
66177         (fma_test_upward): Likewise.
66178         (fmax_test): Likewise.
66179         (fmin_test): Likewise.
66180         (fmod_test): Likewise.
66181         (fpclassify_test): Likewise.
66182         (frexp_test): Likewise.
66183         (gamma_test): Likewise.
66184         (hypot_test): Likewise.
66185         (ilogb_test): Likewise.
66186         (isfinite_test): Likewise.
66187         (isgreater_test): Likewise.
66188         (isgreaterequal_test): Likewise.
66189         (isinf_test): Likewise.
66190         (isless_test): Likewise.
66191         (islessequal_test): Likewise.
66192         (islessgreater_test): Likewise.
66193         (isnan_test): Likewise.
66194         (isnormal_test): Likewise.
66195         (issignaling_test): Likewise.
66196         (isunordered_test): Likewise.
66197         (j0_test): Likewise.
66198         (j1_test): Likewise.
66199         (jn_test): Likewise.
66200         (ldexp_test): Likewise.
66201         (lgamma_test): Likewise.
66202         (lrint_test): Likewise.
66203         (lrint_test_tonearest): Likewise.
66204         (lrint_test_towardzero): Likewise.
66205         (lrint_test_downward): Likewise.
66206         (lrint_test_upward): Likewise.
66207         (llrint_test): Likewise.
66208         (llrint_test_tonearest): Likewise.
66209         (llrint_test_towardzero): Likewise.
66210         (llrint_test_downward): Likewise.
66211         (llrint_test_upward): Likewise.
66212         (log_test): Likewise.
66213         (log10_test): Likewise.
66214         (log1p_test): Likewise.
66215         (log2_test): Likewise.
66216         (logb_test): Likewise.
66217         (logb_test_downward): Likewise.
66218         (lround_test): Likewise.
66219         (llround_test): Likewise.
66220         (modf_test): Likewise.
66221         (nearbyint_test): Likewise.
66222         (nextafter_test): Likewise.
66223         (nexttoward_test): Likewise.
66224         (pow_test): Likewise.
66225         (pow_test_tonearest): Likewise.
66226         (pow_test_towardzero): Likewise.
66227         (pow_test_downward): Likewise.
66228         (pow_test_upward): Likewise.
66229         (remainder_test): Likewise.
66230         (remainder_test_tonearest): Likewise.
66231         (remainder_test_towardzero): Likewise.
66232         (remainder_test_downward): Likewise.
66233         (remainder_test_upward): Likewise.
66234         (remquo_test): Likewise.
66235         (rint_test): Likewise.
66236         (rint_test_tonearest): Likewise.
66237         (rint_test_towardzero): Likewise.
66238         (rint_test_downward): Likewise.
66239         (rint_test_upward): Likewise.
66240         (round_test): Likewise.
66241         (scalb_test): Likewise.
66242         (scalbn_test): Likewise.
66243         (scalbln_test): Likewise.
66244         (signbit_test): Likewise.
66245         (sin_test): Likewise.
66246         (sin_test_tonearest): Likewise.
66247         (sin_test_towardzero): Likewise.
66248         (sin_test_downward): Likewise.
66249         (sin_test_upward): Likewise.
66250         (sincos_test): Likewise.
66251         (sinh_test): Likewise.
66252         (sinh_test_tonearest): Likewise.
66253         (sinh_test_towardzero): Likewise.
66254         (sinh_test_downward): Likewise.
66255         (sinh_test_upward): Likewise.
66256         (sqrt_test): Likewise.
66257         (tan_test): Likewise.
66258         (tan_test_tonearest): Likewise.
66259         (tan_test_towardzero): Likewise.
66260         (tan_test_downward): Likewise.
66261         (tan_test_upward): Likewise.
66262         (tanh_test): Likewise.
66263         (tgamma_test): Likewise.
66264         (trunc_test): Likewise.
66265         (y0_test): Likewise.
66266         (y1_test): Likewise.
66267         (yn_test): Likewise.
66268         (significand_test): Likewise.
66270 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
66272         [BZ #15381]
66273         * libio/genops.c (_IO_no_init): Initialize wide struct info.
66275 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66277         [BZ #14894]
66278         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66279         __ppc_mdoio and __ppc_mdoom.
66280         * manual/platform.texi: Document new functions __ppc_yield,
66281         __ppc_mdoio and __ppc_mdoom.
66283 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
66285         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66286         (main): Mention "tls" pseudo-hwcap is legacy.
66287         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66289 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66291         * math/gen-libm-test.pl (parse_args): Output only string of
66292         arguments as text for test name, not full call or descriptions of
66293         tests for extra outputs.
66294         (generate_testfile): Do not pass function name to parse_args.
66295         Generate this_func variable from START.
66296         * math/libm-test.inc (struct test_f_f_data): Rename test_name
66297         field to arg_str.
66298         (struct test_ff_f_data): Likewise.
66299         (test_ff_f_data_nexttoward): Likewise.
66300         (struct test_fi_f_data): Likewise.
66301         (struct test_fl_f_data): Likewise.
66302         (struct test_if_f_data): Likewise.
66303         (struct test_fff_f_data): Likewise.
66304         (struct test_c_f_data): Likewise.
66305         (struct test_f_f1_data): Likewise.  Remove field extra_name.
66306         (struct test_fF_f1_data): Likewise.
66307         (struct test_ffI_f1_data): Likewise.
66308         (struct test_c_c_data): Rename test_name field to arg_str.
66309         (struct test_cc_c_data): Likewise.
66310         (struct test_f_i_data): Likewise.
66311         (struct test_ff_i_data): Likewise.
66312         (struct test_f_l_data): Likewise.
66313         (struct test_f_L_data): Likewise.
66314         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
66315         and extra2_name.
66316         (COMMON_TEST_SETUP): New macro.
66317         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66318         (COMMON_TEST_CLEANUP): Likewise.
66319         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66320         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
66321         macros.
66322         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66323         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
66324         macros.
66325         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66326         (RUN_TEST_fff_f): Take argument string.  Call new setup and
66327         cleanup macros.
66328         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66329         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
66330         macros.
66331         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66332         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
66333         macros.
66334         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66335         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
66336         cleanup macros.
66337         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66338         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
66339         cleanup macros.
66340         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66341         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
66342         cleanup macros.
66343         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66344         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
66345         macros.
66346         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66347         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
66348         macros.
66349         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66350         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
66351         macros.
66352         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66353         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
66354         cleanup macros.
66355         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66356         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
66357         cleanup macros.
66358         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66359         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
66360         macros.
66361         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66362         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
66363         cleanup macros.
66364         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66365         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
66366         macros.
66367         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66368         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
66369         macros.
66370         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66371         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
66372         cleanup macros.
66373         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66375 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
66377         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66378         to _sifields.sigfault.
66379         (si_addr_lsb): Define new macro.
66380         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66381         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66382         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66384 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
66386         [BZ #15441]
66387         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66388         returns -1.
66389         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66390         null return -1.
66391         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66392         loading the domain.
66394 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66396         * math/gen-libm-test.pl (parse_args): Do not include expected
66397         result in test name.
66398         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66399         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66400         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66401         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66402         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66405 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66407         * benchtests/Makefile: Sort function entries.
66409         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66410         tanh, asinh, acosh, atanh.
66411         * benchtests/acos-inputs: New file.
66412         * benchtests/acosh-inputs: New file.
66413         * benchtests/asin-inputs: New file.
66414         * benchtests/asinh-inputs: New file.
66415         * benchtests/atanh-inputs: New file.
66416         * benchtests/cosh-inputs: New file.
66417         * benchtests/log-inputs: New file.
66418         * benchtests/sinh-inputs: New file.
66419         * benchtests/tanh-inputs: New file.
66421 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
66423         [BZ #15339]
66424         * posix/tst-getaddrinfo4.c: New test.
66425         * posix/Makefile (tests): Add it.
66427 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66429         [BZ #15339]
66430         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66431         when no services were used.
66432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66433         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66435 2013-05-21  Andreas Schwab  <schwab@suse.de>
66437         [BZ #15014]
66438         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66439         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66440         successful.
66441         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66442         redundant variable declarations and reallocation of buffer when
66443         parsing as IPv6 address.  Always set NSS status when called from
66444         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
66445         buffer too small.  Correct computation of needed size.
66446         * nss/Makefile (tests): Add test-digits-dots.
66447         * nss/test-digits-dots.c: New test.
66449 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66451         * benchtests/Makefile: Remove instructions for adding
66452         benchmark tests.
66453         * benchtests/README: New file to explain how to execute and
66454         enhance the benchmark tests.
66456 2013-05-21  Andreas Schwab  <schwab@suse.de>
66458         [BZ #15493]
66459         * setjmp/Makefile (tests): Add tst-sigsetjmp.
66460         * setjmp/tst-sigsetjmp.c: New test.
66462 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
66464         * sysdeps/x86_64/memset.S (memset): New implementation.
66465         (__bzero): Likewise.
66466         (__memset_tail): New function.
66468 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
66470         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66471         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66472         __memcpy_sse2_unaligned ifunc selection.
66473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66474         Add memcpy-sse2-unaligned.S.
66475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66476         Add: __memcpy_sse2_unaligned.
66478 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
66480         [BZ #15490]
66481         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66482         math_force_eval before restoring floating-point envrionment.
66483         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66484         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66485         Likewise.
66486         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66487         <math_private.h>.
66488         (__nearbyintl): Use math_force_eval before restoring
66489         floating-point environment.
66490         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66492         * math/gen-libm-test.pl (special_functions): Remove.
66493         (parse_args): Don't handle TEST_extra.  Handle functions with no
66494         return value.
66495         * math/libm-test.inc (struct test_sincos_data): Replace with
66496         struct test_fFF_11_data.
66497         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66498         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66499         (sincos_test_data): Change element type to struct
66500         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
66501         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66502         RUN_TEST_LOOP_sincos.
66503         * math/README.libm-test: Don't mention special handling of
66504         individual functions.
66505         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66506         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66507         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66508         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66509         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66512         * math/gen-libm-test.pl (get_variable): Remove function.
66513         (parse_args): Don't show pointer parameters to call in test
66514         names.  Use "extra output N" in test names for extra outputs
66515         rather than naming variables.
66517 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
66519         [BZ #15488]
66520         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66521         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66522         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66523         double tests.
66524         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66525         disable.
66526         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66527         check_long_double.
66529         * math/gen-libm-test.pl (@tests): Remove variable.
66530         ($count): Likewise.
66531         (new_test): Remove function.
66532         (show_exceptions): New function.
66533         (special_functions): Use show_exceptions instead of new_test.
66534         (parse_args): Likewise.
66535         (generate_testfile): Pass only function name in generated call to
66536         print_max_error or print_complex_max_error.
66537         (get_ulps): Do not handle complex tests specially.
66538         (output_test): Rename to ...
66539         (get_all_ulps_for_test): ... this.  Return a string rather than
66540         printing to a file.  Require ulps to be present.
66541         (output_ulps): Generate arrays rather than #defines.
66542         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66543         (struct ulp_data): New type.
66544         (BUILD_COMPLEX_ULP): Remove macro.
66545         (compare_ulp_data): New function.
66546         (find_ulps): Likewise.
66547         (find_test_ulps): Likewise.
66548         (find_function_ulps): Likewise.
66549         (find_complex_function_ulps): Likewise.
66550         (print_max_error): Determine allowed ulps using
66551         find_function_ulps.
66552         (print_complex_max_error): Determine allowed ulps using
66553         find_complex_function_ulps.
66554         (check_float_internal): Determine max ulps using find_test_ulps.
66555         (check_float): Do not take max_ulp parameter.  Update call to
66556         check_float_internal.
66557         (check_complex): Likewise.
66558         (check_int): Do not take max_ulp parameter.
66559         (check_long): Likewise.
66560         (check_bool): Likewise.
66561         (check_longlong): Likewise.
66562         (struct test_f_f_data): Remove max_ulp field.
66563         (struct test_ff_f_data): Likewise.
66564         (struct test_ff_f_data_nexttoward): Likewise.
66565         (struct test_fi_f_data): Likewise.
66566         (struct test_fl_f_data): Likewise.
66567         (struct test_if_f_data): Likewise.
66568         (struct test_fff_f_data): Likewise.
66569         (struct test_c_f_data): Likewise.
66570         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66571         (struct test_fF_f1_data): Likewise.
66572         (struct test_ffI_f1_data): Likewise.
66573         (struct test_c_c_data): Remove max_ulp field.
66574         (struct test_cc_c_data): Likewise.
66575         (struct test_f_i_data): Likewise.
66576         (struct test_ff_i_data): Likewise.
66577         (struct test_f_l_data): Likewise.
66578         (struct test_f_L_data): Likewise.
66579         (struct test_sincos_data): Likewise.
66580         (RUN_TEST_f_f): Do not handle ulps.
66581         (RUN_TEST_LOOP_f_f): Likewise.
66582         (RUN_TEST_2_f): Likewise.
66583         (RUN_TEST_LOOP_2_f): Likewise.
66584         (RUN_TEST_fff_f): Likewise.
66585         (RUN_TEST_LOOP_fff_f): Likewise.
66586         (RUN_TEST_c_f): Likewise.
66587         (RUN_TEST_LOOP_c_f): Likewise.
66588         (RUN_TEST_f_f1): Likewise.
66589         (RUN_TEST_LOOP_f_f1): Likewise.
66590         (RUN_TEST_fF_f1): Likewise.
66591         (RUN_TEST_LOOP_fF_f1): Likewise.
66592         (RUN_TEST_fI_f1): Likewise.
66593         (RUN_TEST_LOOP_fI_f1): Likewise.
66594         (RUN_TEST_ffI_f1): Likewise.
66595         (RUN_TEST_LOOP_ffI_f1): Likewise.
66596         (RUN_TEST_c_c): Likewise.
66597         (RUN_TEST_LOOP_c_c): Likewise.
66598         (RUN_TEST_cc_c): Likewise.
66599         (RUN_TEST_LOOP_cc_c): Likewise.
66600         (RUN_TEST_f_i): Likewise.
66601         (RUN_TEST_LOOP_f_i): Likewise.
66602         (RUN_TEST_f_i_tg): Likewise.
66603         (RUN_TEST_LOOP_f_i_tg): Likewise.
66604         (RUN_TEST_ff_i_tg): Likewise.
66605         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66606         (RUN_TEST_f_b): Likewise.
66607         (RUN_TEST_LOOP_f_b): Likewise.
66608         (RUN_TEST_f_b_tg): Likewise.
66609         (RUN_TEST_LOOP_f_b_tg): Likewise.
66610         (RUN_TEST_f_l): Likewise.
66611         (RUN_TEST_LOOP_f_l): Likewise.
66612         (RUN_TEST_f_L): Likewise.
66613         (RUN_TEST_LOOP_f_L): Likewise.
66614         (RUN_TEST_sincos): Likewise.
66615         (RUN_TEST_LOOP_sincos): Likewise.
66617 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66619         [BZ #15480]
66620         [BZ #15485]
66621         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66622         main case of finite arguments, set rounding mode to FE_TONEAREST
66623         and discard exceptions.
66624         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66625         exceptions.
66626         (remainder_tonearest_test_data): New variable.
66627         (remainder_test_tonearest): New function.
66628         (remainder_towardzero_test_data): New variable.
66629         (remainder_test_towardzero): New function.
66630         (remainder_downward_test_data): New variable.
66631         (remainder_test_downward): New function.
66632         (remainder_upward_test_data): New variable.
66633         (remainder_test_upward): New function.
66634         (main): Call the new test functions.
66636         * math/libm-test.inc (struct test_f_f1_data): Remove field
66637         extra_init.
66638         (struct test_fF_f1_data): Likewise.
66639         (struct test_ffI_f1_data): Likewise.
66640         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
66641         based on value of EXTRA_EXPECTED.
66642         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66643         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
66644         EXTRA_VAR based on value of EXTRA_EXPECTED.
66645         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66646         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
66647         EXTRA_VAR based on value of EXTRA_EXPECTED.
66648         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66649         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
66650         EXTRA_VAR based on value of EXTRA_EXPECTED.
66651         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66652         * math/gen-libm-test.pl (parse_args): Don't output initializers
66653         for extra output values.
66655         * math/libm-test.inc (check_int): Expect result to be exactly
66656         equal to expected value and do not handle ulps.
66657         (check_long): Likewise.
66658         (check_longlong): Likewise.
66660         * math/libm-test.inc (ceil_test_data): Test for "inexact"
66661         exceptions.
66662         (cimag_test_data): Likewise.
66663         (conj_test_data): Likewise.
66664         (copysign_test_data): Likewise.
66665         (cproj_test_data): Likewise.
66666         (creal_test_data): Likewise.
66667         (fabs_test_data): Likewise.
66668         (fdim_test_data): Likewise.
66669         (finite_test_data): Likewise.
66670         (floor_test_data): Likewise.
66671         (fmax_test_data): Likewise.
66672         (fmin_test_data): Likewise.
66673         (fmod_test_data): Likewise.
66674         (fpclassify_test_data): Likewise.
66675         (frexp_test_data): Likewise.
66676         (ilogb_test_data): Likewise.
66677         (isfinite_test_data): Likewise.
66678         (isgreater_test_data): Likewise.
66679         (isgreaterequal_test_data): Likewise.
66680         (isinf_test_data): Likewise.
66681         (isless_test_data): Likewise.
66682         (islessequal_test_data): Likewise.
66683         (islessgreater_test_data): Likewise.
66684         (isnan_test_data): Likewise.
66685         (isnormal_test_data): Likewise.
66686         (issignaling_test_data): Likewise.
66687         (isunordered_test_data): Likewise.
66688         (ldexp_test_data): Likewise.
66689         (lrint_test_data): Likewise.
66690         (lrint_test_data) [TEST_FLOAT]: Disable one test.
66691         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66692         (lrint_tonearest_test_data): Test for "inexact" exceptions.
66693         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66694         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66695         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66696         test input.
66697         (lrint_towardzero_test_data): Test for "inexact" exceptions.
66698         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66699         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66700         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66701         that test input.
66702         (lrint_downward_test_data): Test for "inexact" exceptions.
66703         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66704         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66705         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66706         test input.
66707         (lrint_upward_test_data): Test for "inexact" exceptions.
66708         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66709         test input.
66710         (llrint_test_data): Test for "inexact" exceptions.
66711         (llrint_test_data) [TEST_FLOAT]: Disable one test.
66712         (llrint_tonearest_test_data): Test for "inexact" exceptions.
66713         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66714         (llrint_towardzero_test_data): Test for "inexact" exceptions.
66715         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66716         (llrint_downward_test_data): Test for "inexact" exceptions.
66717         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66718         (llrint_upward_test_data): Test for "inexact" exceptions.
66719         (logb_test_data): Likewise.
66720         (logb_downward_test_data): Likewise.
66721         (nextafter_test_data): Likewise.
66722         (nexttoward_test_data): Likewise.
66723         (remainder_test_data): Likewise.
66724         (remquo_test_data): Likewise.
66725         (scalbn_test_data): Likewise.
66726         (scalbln_test_data): Likewise.
66727         (signbit_test_data): Likewise.
66728         (sqrt_test_data): Likewise.
66729         (significand_test_data): Likewise.
66731 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66733         [BZ #15424]
66734         * benchtests/bench-modf.c (struct args): Mark arg0 as
66735         volatile.
66736         * scripts/bench.pl: Mark members of struct args as volatile.
66738 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66740         [BZ # 15497]
66741         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66742         negative infinity on POWER6 or lower.
66743         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66745 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
66747         [BZ #15442]
66748         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66749         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66750         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66751         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66752         (_FP_SETQNAN): New macro.
66753         (_FP_SETQNAN_SEMIRAW): Likewise.
66754         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66755         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66756         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66757         (FP_EXTEND): Use _FP_FRAC_SNANP.
66758         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66759         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66760         into account.
66761         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66762         New macro.
66763         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66764         Likewise.
66766 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66768         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66769         with DIVIDE_BY_ZERO_EXCEPTION.
66770         (gamma_test_data): Likewise.
66771         (lgamma_test_data): Likewise.
66772         (log_test_data): Likewise.
66773         (log10_test_data): Likewise.
66774         (log2_test_data): Likewise.
66775         (tgamma_test_data): Likewise.
66777         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66778         (acos_test_tonearest): Likewise.
66779         (acos_test_towardzero): Likewise.
66780         (acos_test_downward): Likewise.
66781         (acos_test_upward): Likewise.
66782         (acosh_test): Likewise.
66783         (asin_test): Likewise.
66784         (asin_test_tonearest): Likewise.
66785         (asin_test_towardzero): Likewise.
66786         (asin_test_downward): Likewise.
66787         (asin_test_upward): Likewise.
66788         (asinh_test): Likewise.
66789         (atan_test): Likewise.
66790         (atanh_test): Likewise.
66791         (atan2_test): Likewise.
66792         (cabs_test): Likewise.
66793         (cacos_test): Likewise.
66794         (cacosh_test): Likewise.
66795         (casin_test): Likewise.
66796         (casinh_test): Likewise.
66797         (catan_test): Likewise.
66798         (catanh_test): Likewise.
66799         (cbrt_test): Likewise.
66800         (ccos_test): Likewise.
66801         (ccosh_test): Likewise.
66802         (cexp_test): Likewise.
66803         (clog_test): Likewise.
66804         (clog10_test): Likewise.
66805         (cos_test): Likewise.
66806         (cos_test_tonearest): Likewise.
66807         (cos_test_towardzero): Likewise.
66808         (cos_test_downward): Likewise.
66809         (cos_test_upward): Likewise.
66810         (cosh_test): Likewise.
66811         (cosh_test_tonearest): Likewise.
66812         (cosh_test_towardzero): Likewise.
66813         (cosh_test_downward): Likewise.
66814         (cosh_test_upward): Likewise.
66815         (cpow_test): Likewise.
66816         (csin_test): Likewise.
66817         (csinh_test): Likewise.
66818         (csqrt_test): Likewise.
66819         (ctan_test): Likewise.
66820         (ctan_test_tonearest): Likewise.
66821         (ctan_test_towardzero): Likewise.
66822         (ctan_test_downward): Likewise.
66823         (ctan_test_upward): Likewise.
66824         (ctanh_test): Likewise.
66825         (ctanh_test_tonearest): Likewise.
66826         (ctanh_test_towardzero): Likewise.
66827         (ctanh_test_downward): Likewise.
66828         (ctanh_test_upward): Likewise.
66829         (erf_test): Likewise.
66830         (erfc_test): Likewise.
66831         (exp_test): Likewise.
66832         (exp_test_tonearest): Likewise.
66833         (exp_test_towardzero): Likewise.
66834         (exp_test_downward): Likewise.
66835         (exp_test_upward): Likewise.
66836         (exp10_test): Likewise.
66837         (exp2_test): Likewise.
66838         (expm1_test): Likewise.
66839         (fmod_test): Likewise.
66840         (gamma_test): Likewise.
66841         (hypot_test): Likewise.
66842         (j0_test): Likewise.
66843         (j1_test): Likewise.
66844         (jn_test): Likewise.
66845         (lgamma_test): Likewise.
66846         (log_test): Likewise.
66847         (log10_test): Likewise.
66848         (log1p_test): Likewise.
66849         (log2_test): Likewise.
66850         (logb_test_downward): Likewise.
66851         (pow_test): Likewise.
66852         (pow_test_tonearest): Likewise.
66853         (pow_test_towardzero): Likewise.
66854         (pow_test_downward): Likewise.
66855         (pow_test_upward): Likewise.
66856         (remainder_test): Likewise.
66857         (remquo_test): Likewise.
66858         (sin_test): Likewise.
66859         (sin_test_tonearest): Likewise.
66860         (sin_test_towardzero): Likewise.
66861         (sin_test_downward): Likewise.
66862         (sin_test_upward): Likewise.
66863         (sincos_test): Likewise.
66864         (sinh_test): Likewise.
66865         (sinh_test_tonearest): Likewise.
66866         (sinh_test_towardzero): Likewise.
66867         (sinh_test_downward): Likewise.
66868         (sinh_test_upward): Likewise.
66869         (sqrt_test): Likewise.
66870         (tan_test): Likewise.
66871         (tan_test_tonearest): Likewise.
66872         (tan_test_towardzero): Likewise.
66873         (tan_test_downward): Likewise.
66874         (tan_test_upward): Likewise.
66875         (tanh_test): Likewise.
66876         (tgamma_test): Likewise.
66877         (y0_test): Likewise.
66878         (y1_test): Likewise.
66879         (yn_test): Likewise.
66881         * math/gen-libm-test.pl (adjust_arg): Remove function.
66882         (special_function): Remove argument $in_func.  Only handle
66883         generating output for tables of tests, not inside functions.
66884         (parse_args): Likewise.
66885         (generate_testfile): Remove variable $in_func.  Update call to
66886         parse_args.
66887         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66888         (MINUS_ZERO_INIT): Rename macro to minus_zero.
66889         (PLUS_INFTY_INIT): Rename macro to plus_infty.
66890         (MINUS_INFTY_INIT): Rename macro to minus_infty.
66891         (QNAN_VALUE_INIT): Rename macro to qnan_value.
66892         (MAX_VALUE_INIT): Rename macro to max_value.
66893         (MIN_VALUE_INIT): Rename macro to min_value.
66894         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66895         (plus_zero): Remove variable.
66896         (minus_zero): Likewise.
66897         (plus_infty): Likewise.
66898         (minus_infty): Likewise.
66899         (qnan_value): Likewise.
66900         (max_value): Likewise.
66901         (min_value): Likewise.
66902         (min_subnorm_value): Likewise.
66904 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66906         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66907         uint64_t or uint32_t usage.
66908         * crypt/sha256-block.c: Likewise.
66909         * crypt/sha256-crypt.c: Likewise.
66910         * crypt/sha256.c: Likewise.
66911         * crypt/sha512-block.c: Likewise.
66912         * crypt/sha512-crypt.c: Likewise.
66913         * crypt/sha512.c: Likewise.
66914         * debug/backtrace-tst.c: Likewise.
66915         * debug/pcprofiledump.c: Likewise.
66916         * elf/cache.c: Likewise.
66917         * elf/dl-cache.c: Likewise.
66918         * elf/dl-misc.c: Likewise.
66919         * elf/dl-profile.c: Likewise.
66920         * elf/dl-support.c: Likewise.
66921         * elf/ldconfig.c: Likewise.
66922         * elf/sprof.c: Likewise.
66923         * iconv/dummy-repertoire.c: Likewise.
66924         * iconv/iconv_charmap.c: Likewise.
66925         * iconv/skeleton.c: Likewise.
66926         * iconvdata/8bit-generic.c: Likewise.
66927         * iconvdata/cp737.h: Likewise.
66928         * iconvdata/cp775.h: Likewise.
66929         * iconvdata/ibm1008.h: Likewise.
66930         * iconvdata/ibm1025.h: Likewise.
66931         * iconvdata/ibm1046.h: Likewise.
66932         * iconvdata/ibm1097.h: Likewise.
66933         * iconvdata/ibm1112.h: Likewise.
66934         * iconvdata/ibm1122.h: Likewise.
66935         * iconvdata/ibm1123.h: Likewise.
66936         * iconvdata/ibm1124.h: Likewise.
66937         * iconvdata/ibm1129.h: Likewise.
66938         * iconvdata/ibm1130.h: Likewise.
66939         * iconvdata/ibm1132.h: Likewise.
66940         * iconvdata/ibm1133.h: Likewise.
66941         * iconvdata/ibm1137.h: Likewise.
66942         * iconvdata/ibm1140.h: Likewise.
66943         * iconvdata/ibm1141.h: Likewise.
66944         * iconvdata/ibm1142.h: Likewise.
66945         * iconvdata/ibm1143.h: Likewise.
66946         * iconvdata/ibm1144.h: Likewise.
66947         * iconvdata/ibm1145.h: Likewise.
66948         * iconvdata/ibm1146.h: Likewise.
66949         * iconvdata/ibm1147.h: Likewise.
66950         * iconvdata/ibm1148.h: Likewise.
66951         * iconvdata/ibm1149.h: Likewise.
66952         * iconvdata/ibm1153.h: Likewise.
66953         * iconvdata/ibm1154.h: Likewise.
66954         * iconvdata/ibm1155.h: Likewise.
66955         * iconvdata/ibm1156.h: Likewise.
66956         * iconvdata/ibm1157.h: Likewise.
66957         * iconvdata/ibm1158.h: Likewise.
66958         * iconvdata/ibm1160.h: Likewise.
66959         * iconvdata/ibm1161.h: Likewise.
66960         * iconvdata/ibm1162.h: Likewise.
66961         * iconvdata/ibm1163.h: Likewise.
66962         * iconvdata/ibm1164.h: Likewise.
66963         * iconvdata/ibm1166.h: Likewise.
66964         * iconvdata/ibm1167.h: Likewise.
66965         * iconvdata/ibm12712.h: Likewise.
66966         * iconvdata/ibm1390.h: Likewise.
66967         * iconvdata/ibm1399.h: Likewise.
66968         * iconvdata/ibm16804.h: Likewise.
66969         * iconvdata/ibm4517.h: Likewise.
66970         * iconvdata/ibm4899.h: Likewise.
66971         * iconvdata/ibm4909.h: Likewise.
66972         * iconvdata/ibm4971.h: Likewise.
66973         * iconvdata/ibm5347.h: Likewise.
66974         * iconvdata/ibm803.h: Likewise.
66975         * iconvdata/ibm856.h: Likewise.
66976         * iconvdata/ibm901.h: Likewise.
66977         * iconvdata/ibm902.h: Likewise.
66978         * iconvdata/ibm9030.h: Likewise.
66979         * iconvdata/ibm9066.h: Likewise.
66980         * iconvdata/ibm921.h: Likewise.
66981         * iconvdata/ibm922.h: Likewise.
66982         * iconvdata/ibm9448.h: Likewise.
66983         * iconvdata/isiri-3342.h: Likewise.
66984         * iconvdata/jis0201.h: Likewise.
66985         * include/link.h: Likewise.
66986         * include/netdb.h: Likewise.
66987         * inet/check_native.c: Likewise.
66988         * inet/check_pf.c: Likewise.
66989         * inet/getipv4sourcefilter.c: Likewise.
66990         * inet/getnameinfo.c: Likewise.
66991         * inet/getsourcefilter.c: Likewise.
66992         * inet/htonl.c: Likewise.
66993         * inet/setipv4sourcefilter.c: Likewise.
66994         * inet/setsourcefilter.c: Likewise.
66995         * inet/test-inet6_opt.c: Likewise.
66996         * inet/tst-network.c: Likewise.
66997         * locale/C-collate.c: Likewise.
66998         * locale/C-ctype.c: Likewise.
66999         * locale/C-time.c: Likewise.
67000         * locale/C-translit.h: Likewise.
67001         * locale/loadarchive.c: Likewise.
67002         * locale/programs/3level.h: Likewise.
67003         * locale/programs/charmap.c: Likewise.
67004         * locale/programs/charmap.h: Likewise.
67005         * locale/programs/ld-address.c: Likewise.
67006         * locale/programs/ld-collate.c: Likewise.
67007         * locale/programs/ld-ctype.c: Likewise.
67008         * locale/programs/ld-identification.c: Likewise.
67009         * locale/programs/ld-measurement.c: Likewise.
67010         * locale/programs/ld-messages.c: Likewise.
67011         * locale/programs/ld-monetary.c: Likewise.
67012         * locale/programs/ld-name.c: Likewise.
67013         * locale/programs/ld-numeric.c: Likewise.
67014         * locale/programs/ld-paper.c: Likewise.
67015         * locale/programs/ld-telephone.c: Likewise.
67016         * locale/programs/ld-time.c: Likewise.
67017         * locale/programs/linereader.c: Likewise.
67018         * locale/programs/locale.c: Likewise.
67019         * locale/programs/locarchive.c: Likewise.
67020         * locale/programs/locfile.h: Likewise.
67021         * locale/programs/repertoire.c: Likewise.
67022         * locale/programs/simple-hash.c: Likewise.
67023         * locale/programs/simple-hash.h: Likewise.
67024         * malloc/memusage.c: Likewise.
67025         * malloc/memusagestat.c: Likewise.
67026         * nis/nis_defaults.c: Likewise.
67027         * nis/nis_hash.c: Likewise.
67028         * nis/nis_print.c: Likewise.
67029         * nis/nis_xdr.c: Likewise.
67030         * nscd/connections.c: Likewise.
67031         * nscd/hstcache.c: Likewise.
67032         * nscd/nscd_gethst_r.c: Likewise.
67033         * nscd/nscd_getserv_r.c: Likewise.
67034         * nscd/nscd_helper.c: Likewise.
67035         * nscd/servicescache.c: Likewise.
67036         * nss/makedb.c: Likewise.
67037         * nss/nss_db/db-XXX.c: Likewise.
67038         * nss/nss_db/db-initgroups.c: Likewise.
67039         * nss/nss_db/db-netgrp.c: Likewise.
67040         * nss/nss_files/files-network.c: Likewise.
67041         * nss/nss_files/files-parse.c: Likewise.
67042         * posix/bug-regex5.c: Likewise.
67043         * posix/fnmatch_loop.c: Likewise.
67044         * posix/regcomp.c: Likewise.
67045         * posix/regexec.c: Likewise.
67046         * posix/tst-rfc3484-2.c: Likewise.
67047         * posix/tst-rfc3484-3.c: Likewise.
67048         * posix/tst-rfc3484.c: Likewise.
67049         * resolv/nss_dns/dns-canon.c: Likewise.
67050         * resolv/nss_dns/dns-network.c: Likewise.
67051         * resolv/res_init.c: Likewise.
67052         * resolv/res_mkquery.c: Likewise.
67053         * resolv/tst-aton.c: Likewise.
67054         * stdlib/cxa_atexit.c: Likewise.
67055         * stdlib/cxa_finalize.c: Likewise.
67056         * stdlib/gen-fpioconst.c: Likewise.
67057         * stdlib/strtol_l.c: Likewise.
67058         * string/tst-endian.c: Likewise.
67059         * sunrpc/auth_des.c: Likewise.
67060         * sunrpc/clnt_udp.c: Likewise.
67061         * sunrpc/rtime.c: Likewise.
67062         * sunrpc/svcauth_des.c: Likewise.
67063         * sunrpc/xdr.c: Likewise.
67064         * sunrpc/xdr_intXX_t.c: Likewise.
67065         * sunrpc/xdr_rec.c: Likewise.
67066         * sysdeps/generic/ldconfig.h: Likewise.
67067         * sysdeps/generic/ldsodefs.h: Likewise.
67068         * sysdeps/generic/memusage.h: Likewise.
67069         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67070         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67071         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67072         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67073         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67074         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67075         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67076         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67077         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67078         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67079         * sysdeps/posix/getaddrinfo.c: Likewise.
67080         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67081         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67082         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67083         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67084         * sysdeps/powerpc/test-gettimebase.c: Likewise.
67085         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67086         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67087         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67088         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67089         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67090         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67091         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67092         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67093         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67094         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67095         * sysdeps/x86_64/dl-tls.h: Likewise.
67096         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67097         * time/alt_digit.c: Likewise.
67098         * time/era.c: Likewise.
67099         * wcsmbs/tst-c16c32-1.c: Likewise.
67101 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67103         * math/libm-test.inc (struct test_sincos_data): New type.
67104         (RUN_TEST_LOOP_sincos): New macro.
67105         (sincos_test_data): New variable.
67106         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67108 2013-05-16  Richard Henderson  <rth@redhat.com>
67110         * math/atest-exp2.c (LIMB64): New macro.
67111         (CONSTSZ): New macro.
67112         (mp_exp1, mp_exp_m1, mp_log2): New variables.
67113         (hexdig): Move ...
67114         (print_mpn_fp): ... to function scope.
67115         (read_mpn_hex): Remove.
67116         (get_log2): Remove.
67117         (exp2_mpn): Use mp_log2.
67118         (main): Use mp_exp1.
67120 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67122         * math/libm-test.inc: Remove comment about not testing "inexact"
67123         exceptions.
67124         (INEXACT_EXCEPTION): New macro.
67125         (NO_INEXACT_EXCEPTION): Likewise.
67126         (INVALID_EXCEPTION_OK): Update value.
67127         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67128         (OVERFLOW_EXCEPTION_OK): Likewise.
67129         (UNDERFLOW_EXCEPTION_OK): Likewise.
67130         (IGNORE_ZERO_INF_SIGN): Likewise.
67131         (ERRNO_UNCHANGED): Likewise.
67132         (ERRNO_EDOM): Likewise.
67133         (ERRNO_ERANGE): Likewise.
67134         (test_exceptions): Handle testing "inexact" exceptions.
67135         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67136         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67137         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67138         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67139         INEXACT_EXCEPTION.
67140         (rint_towardzero_test_data): Likewise.
67141         (rint_downward_test_data): Likewise.
67142         (rint_upward_test_data): Likewise.
67144         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67145         with OVERFLOW_EXCEPTION.
67146         (exp10_test_data): Likewise.
67147         (exp2_test_data): Likewise.
67148         (expm1_test_data): Likewise.
67149         (lgamma_test_data): Likewise.
67150         (pow_test_data): Likewise.
67151         (tgamma_test_data): Likewise.
67152         (yn_test_data): Remove duplicate test of overflow.
67154         * math/libm-test.inc (struct test_cc_c_data): New type.
67155         (RUN_TEST_LOOP_cc_c): New macro.
67156         (cpow_test_data): New variable.
67157         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67159         * math/libm-test.inc (struct test_f_L_data): New type.
67160         (RUN_TEST_LOOP_f_L): New macro.
67161         (llrint_test_data): New variable.
67162         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67163         (llrint_tonearest_test_data): New variable.
67164         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67165         (llrint_towardzero_test_data): New variable.
67166         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67167         (llrint_downward_test_data): New variable.
67168         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67169         (llrint_upward_test_data): New variable.
67170         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67171         (llround_test_data): New variable.
67172         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67174 2013-05-13  Peter Collingbourne  <pcc@google.com>
67176         * math/atest-exp2.c (get_log2): Remove const attribute.
67178 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67180         * math/libm-test.inc (struct test_f_l_data): New type.
67181         (RUN_TEST_LOOP_f_l): New macro.
67182         (lrint_test_data): New variable.
67183         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67184         (lrint_tonearest_test_data): New variable.
67185         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67186         (lrint_towardzero_test_data): New variable.
67187         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67188         (lrint_downward_test_data): New variable.
67189         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67190         (lrint_upward_test_data): New variable.
67191         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67192         (lround_test_data): New variable.
67193         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67195 2013-05-15  Peter Collingbourne  <pcc@google.com>
67197         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67198         (EXTRACT_WORDS64) Use where appropriate.
67199         (INSERT_WORDS64) Likewise.
67201         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67202         constraints with x constraints.
67203         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67205         * malloc/obstack.c (_obstack_compat): Add initializer.
67207 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
67209         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67210         si_trapno and add si_addr_lsb to _sifields.sigfault.
67211         (si_trapno): Remove macro.
67212         (si_addr_lsb): Define new macro.
67213         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67215 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67217         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67218         instead of TEST_f_l.
67219         (llrint_test_tonearest): Likewise.
67220         (llrint_test_towardzero): Likewise.
67221         (llrint_test_downward): Likewise.
67222         (llrint_test_upward): Likewise.
67223         (llround_test): Likewise.
67225         * math/libm-test.inc (struct test_f_i_data): Add comment.
67226         (RUN_TEST_LOOP_f_b): New macro.
67227         (RUN_TEST_LOOP_f_b_tg): Likewise.
67228         (finite_test_data): New variable.
67229         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67230         (isfinite_test_data): New variable.
67231         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67232         (isinf_test_data): New variable.
67233         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67234         (isnan_test_data): New variable.
67235         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67236         (isnormal_test_data): New variable.
67237         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67238         (issignaling_test_data): New variable.
67239         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67240         (signbit_test_data): New variable.
67241         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67243         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67244         with INVALID_EXCEPTION.
67245         (acosh_test_data): Likewise.
67246         (asin_test_data): Likewise.
67247         (atanh_test_data): Likewise.
67248         (fmod_test_data): Likewise.
67249         (log_test_data): Likewise.
67250         (log10_test_data): Likewise.
67251         (log2_test_data): Likewise.
67252         (pow_test_data): Likewise.
67253         (sqrt_test_data): Likewise.
67254         (y0_test_data): Likewise.
67255         (y1_test_data): Likewise.
67256         (yn_test_data): Likewise.
67258         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67259         function contents.
67261         * math/libm-test.inc (struct test_ff_i_data): New type.
67262         (RUN_TEST_LOOP_ff_i_tg): New macro.
67263         (isgreater_test_data): New variable.
67264         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67265         (isgreaterequal_test_data): New variable.
67266         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67267         (isless_test_data): New variable.
67268         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67269         (islessequal_test_data): New variable.
67270         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67271         (islessgreater_test_data): New variable.
67272         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67273         (isunordered_test_data): New variable.
67274         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67276 2013-05-14  David S. Miller  <davem@davemloft.net>
67278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67280 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
67282         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67284         * math/libm-test.inc (struct test_fF_f1_data): Change type of
67285         extra_test to int.
67286         (struct test_f_i_data): Change type of max_ulp to int.
67288         * math/libm-test.inc (test_ffI_f1_data): New type.
67289         (RUN_TEST_LOOP_ffI_f1): New macro.
67290         (remquo_test_data): New variable.
67291         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67293         * setjmp/tst-setjmp-fp.c: New file.
67294         * setjmp/Makefile (tests): Add tst-setjmp-fp.
67295         (link-libm): New variable.
67296         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67298         * math/libm-test.inc (struct test_f_i_data): New type.
67299         (RUN_TEST_LOOP_f_i): New macro.
67300         (RUN_TEST_LOOP_f_i_tg): Likewise.
67301         (fpclassify_test_data): New variable.
67302         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67303         (ilogb_test_data): New variable.
67304         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67306         * math/libm-test.inc (scalbln_test): Correct function name in END
67307         call.
67309         * math/libm-test.inc (struct test_f_f1_data): Add comment.
67310         (RUN_TEST_LOOP_fI_f1): New macro.
67311         (frexp_test_data): New variable.
67312         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67314         * math/libm-test.inc (struct test_fF_f1_data): New type.
67315         (RUN_TEST_LOOP_fF_f1): New macro.
67316         (modf_test_data): New variable.
67317         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67319         * math/libm-test.inc (struct test_f_f1_data): New type.
67320         (RUN_TEST_LOOP_f_f1): New macro.
67321         (gamma_test_data): New variable.
67322         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67323         (lgamma_test_data): New variable.
67324         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67326 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
67328         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67329         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67330         (main): Comment "tls" pseudo-hwcap.
67332 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
67334         * math/libm-test.inc (struct test_fl_f_data): New type.
67335         (RUN_TEST_LOOP_fl_f): New variable.
67336         (scalbln_test_data): New variable.
67337         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67339         * math/libm-test.inc (struct test_fi_f_data): New type.
67340         (RUN_TEST_LOOP_fi_f): New macro.
67341         (ldexp_test_data): New variable.
67342         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67343         (scalbn_test_data): New variable.
67344         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67346         * math/libm-test.inc (struct test_c_f_data): New type.
67347         (RUN_TEST_LOOP_c_f): New macro.
67348         (cabs_test_data): New variable.
67349         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67350         (carg_test_data): New variable.
67351         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67352         (cimag_test_data): New variable.
67353         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67354         (creal_test_data): New variable.
67355         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67357         * math/libm-test.inc (struct test_if_f_data): New type.
67358         (RUN_TEST_LOOP_if_f): New macro.
67359         (jn_test_data): New variable.
67360         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67361         (yn_test_data): New variable.
67362         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67364         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67366 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67368         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67369         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67371 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67373         * benchtests/Makefile (CPPFLAGS-nonlib): Add
67374         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67375         (bench-deps): Add bench-timing.h.
67376         * benchtests-bench-skeleton.c: Include bench-timing.h.
67377         (main): Use TIMING_* macros instead of clock_gettime.
67378         * benchtests/bench-timing.h: New file.
67380         [BZ #14582]
67381         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67382         Renamed from _LIB_VERSION.
67383         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67385 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
67387         * math/libm-test.inc (struct test_fff_f_data): New type.
67388         (RUN_TEST_LOOP_fff_f): New macro.
67389         (fma_test_data): New variable.
67390         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67391         (fma_towardzero_test_data): New variable.
67392         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67393         (fma_downward_test_data): New variable.
67394         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67395         (fma_upward_test_data): New variable.
67396         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67398         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67399         (struct test_c_c_data): New type.
67400         (RUN_TEST_LOOP_c_c): New macro.
67401         (cacos_test_data): New variable.
67402         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67403         (cacosh_test_data): New variable.
67404         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67405         (casin_test_data): New variable.
67406         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67407         (casinh_test_data): New variable.
67408         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67409         (catan_test_data): New variable.
67410         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67411         (catanh_test_data): New variable.
67412         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67413         (ccos_test_data): New variable.
67414         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67415         (ccosh_test_data): New variable.
67416         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67417         (cexp_test_data): New variable.
67418         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67419         (clog_test_data): New variable.
67420         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67421         (clog10_test_data): New variable.
67422         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67423         (conj_test_data): New variable.
67424         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67425         (cproj_test_data): New variable.
67426         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67427         (csin_test_data): New variable.
67428         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67429         (csinh_test_data): New variable.
67430         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67431         (csqrt_test_data): New variable.
67432         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67433         (ctan_test_data): New variable.
67434         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67435         (ctan_tonearest_test_data): New variable.
67436         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67437         (ctan_towardzero_test_data): New variable.
67438         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67439         (ctan_downward_test_data): New variable.
67440         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67441         (ctan_upward_test_data): New variable.
67442         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67443         (ctanh_test_data): New variable.
67444         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67445         (ctanh_tonearest_test_data): New variable.
67446         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67447         (ctanh_towardzero_test_data): New variable.
67448         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67449         (ctanh_downward_test_data): New variable.
67450         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67451         (ctanh_upward_test_data): New variable.
67452         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67453         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67454         of BUILD_COMPLEX.
67456         * math/libm-test.inc (struct test_ff_f_data): New type.
67457         (struct test_ff_f_data_nexttoward): Likewise.
67458         (RUN_TEST_LOOP_2_f): New macro.
67459         (RUN_TEST_LOOP_ff_f): Likewise.
67460         (atan2_test_data): New variable.
67461         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67462         (copysign_test_data): New variable.
67463         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67464         (fdim_test_data): New variable.
67465         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67466         (fmax_test_data): New variable.
67467         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67468         (fmin_test_data): New variable.
67469         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67470         (fmod_test_data): New variable.
67471         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67472         (hypot_test_data): New variable.
67473         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67474         (nextafter_test_data): New variable.
67475         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67476         (nexttoward_test_data): New variable.
67477         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67478         (pow_test_data): New variable.
67479         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67480         (pow_tonearest_test_data): New variable.
67481         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67482         (pow_towardzero_test_data): New variable.
67483         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67484         (pow_downward_test_data): New variable.
67485         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67486         (pow_upward_test_data): New variable.
67487         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67488         (remainder_test_data): New variable.
67489         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67490         (scalb_test_data): New variable.
67491         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67492         * sysdeps/i386/fpu/libm-test-ulps: Update.
67494 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
67496         * math/libm-test.inc (fma_test): Use max_value instead of local
67497         variable fltmax.
67498         (nextafter_test): Likewise.
67500         * math/libm-test.inc (acos_towardzero_test_data): New variable.
67501         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67502         (acos_downward_test_data): New variable.
67503         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67504         (acos_upward_test_data): New variable.
67505         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67506         (acosh_test_data): New variable.
67507         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67508         (asin_test_data): New variable.
67509         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67510         (asin_tonearest_test_data): New variable.
67511         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67512         (asin_towardzero_test_data): New variable.
67513         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67514         (asin_downward_test_data): New variable.
67515         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67516         (asin_upward_test_data): New variable.
67517         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67518         (asinh_test_data): New variable.
67519         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67520         (atan_test_data): New variable.
67521         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67522         (atanh_test_data): New variable.
67523         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67524         (cbrt_test_data): New variable.
67525         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67526         (ceil_test_data): New variable.
67527         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67528         (cos_test_data): New variable.
67529         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67530         (cos_tonearest_test_data): New variable.
67531         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67532         (cos_towardzero_test_data): New variable.
67533         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67534         (cos_downward_test_data): New variable.
67535         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67536         (cos_upward_test_data): New variable.
67537         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67538         (cosh_test_data): New variable.
67539         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67540         (cosh_tonearest_test_data): New variable.
67541         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67542         (cosh_towardzero_test_data): New variable.
67543         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67544         (cosh_downward_test_data): New variable.
67545         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67546         (cosh_upward_test_data): New variable.
67547         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67548         (erf_test_data): New variable.
67549         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67550         (erfc_test_data): New variable.
67551         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67552         (exp_test_data): New variable.
67553         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67554         (exp_tonearest_test_data): New variable.
67555         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67556         (exp_towardzero_test_data): New variable.
67557         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67558         (exp_downward_test_data): New variable.
67559         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67560         (exp_upward_test_data): New variable.
67561         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67562         (exp10_test_data): New variable.
67563         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67564         (exp2_test_data): New variable.
67565         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67566         (expm1_test_data): New variable.
67567         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67568         (fabs_test_data): New variable.
67569         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67570         (floor_test_data): New variable.
67571         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67572         (j0_test_data): New variable.
67573         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67574         (j1_test_data): New variable.
67575         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67576         (log_test_data): New variable.
67577         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67578         (log10_test_data): New variable.
67579         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67580         (log1p_test_data): New variable.
67581         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67582         (log2_test_data): New variable.
67583         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67584         (logb_test_data): New variable.
67585         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67586         (logb_downward_test_data): New variable.
67587         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67588         (nearbyint_test_data): New variable.
67589         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67590         (rint_test_data): New variable.
67591         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67592         (rint_tonearest_test_data): New variable.
67593         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67594         (rint_towardzero_test_data): New variable.
67595         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67596         (rint_downward_test_data): New variable.
67597         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67598         (rint_upward_test_data): New variable.
67599         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67600         (round_test_data): New variable.
67601         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67602         (sin_test_data): New variable.
67603         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67604         (sin_tonearest_test_data): New variable.
67605         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67606         (sin_towardzero_test_data): New variable.
67607         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67608         (sin_downward_test_data): New variable.
67609         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67610         (sin_upward_test_data): New variable.
67611         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67612         (sinh_test_data): New variable.
67613         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67614         (sinh_tonearest_test_data): New variable.
67615         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67616         (sinh_towardzero_test_data): New variable.
67617         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67618         (sinh_downward_test_data): New variable.
67619         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67620         (sinh_upward_test_data): New variable.
67621         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67622         (sqrt_test_data): New variable.
67623         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67624         (tan_test_data): New variable.
67625         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67626         (tan_tonearest_test_data): New variable.
67627         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67628         (tan_towardzero_test_data): New variable.
67629         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67630         (tan_downward_test_data): New variable.
67631         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67632         (tan_upward_test_data): New variable.
67633         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67634         (tanh_test_data): New variable.
67635         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67636         (tgamma_test_data): New variable.
67637         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67638         (trunc_test_data): New variable.
67639         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67640         (y0_test_data): New variable.
67641         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67642         (y1_test_data): New variable.
67643         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67644         (significand_test_data): New variable.
67645         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67647 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
67649         [BZ #12387]
67650         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67652 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67654         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67656 2013-05-10  Andreas Jaeger  <aj@suse.de>
67658         [BZ #15448]
67659         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67660         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67662 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67664         * math/gen-libm-test.pl (adjust_arg): New function.
67665         (special_functions): Handle generating output in both functions
67666         and arrays.
67667         (parse_args): Likewise.
67668         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
67669         $in_func argument to parse_args.
67670         * math/libm-test.inc (struct test_f_f_data): New type.
67671         (IF_ROUND_INIT_): New macro.
67672         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67673         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67674         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67675         (IF_ROUND_INIT_FE_UPWARD): Likewise.
67676         (ROUND_RESTORE_): Likewise.
67677         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67678         (ROUND_RESTORE_FE_TONEAREST): Likewise.
67679         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67680         (ROUND_RESTORE_FE_UPWARD): Likewise.
67681         (RUN_TEST_LOOP_f_f): New macro.
67682         (acos_test_data): New variable.
67683         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67684         (acos_tonearest_test_data): New variable.
67685         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67687 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67689         * benchtests/bench-skeleton.c (startup): Fix coding style.
67691 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67693         [BZ #6809]
67694         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67695         negative infinity argument.
67696         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67697         negative infinity argument.
67698         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67699         negative infinity argument.
67700         * math/libm-test.inc (tgamma_test): Expect errno to be set for
67701         domain errors.
67703 2013-05-10  Florian Weimer  <fweimer@redhat.com>
67705         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67706         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67707         * iconv/iconv_prog.c (main): Likewise.
67708         * locale/programs/charmap-dir.c (charmap_readdir)
67709         (fopen_uncompressed): Likewise.
67710         * locale/programs/locfile.c (siblings_uncached)
67711         (write_locale_data): Use lstat64 instead of lstat.
67712         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67713         stat.
67715 2013-05-10  Andreas Jaeger  <aj@suse.de>
67717         [BZ #15395]
67718         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67719         localization.
67720         Include <locale.h>.
67722 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
67724         * elf/dl-close.c (_dl_close_worker): Add comments.
67726 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
67728         [BZ #15359]
67729         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67730         high part of pi/2.
67731         (__ieee754_rem_pio2l): Update comments.
67733         [BZ #15429]
67734         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67735         high part of pi/2.
67736         (__ieee754_rem_pio2l): Update comments.
67738         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67739         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67741         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67742         M_PI_4l.
67744         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67745         (M_PI_34_LOG10El): Likewise.
67746         (M_PI2_LOG10El): Likewise.
67747         (M_PI4_LOG10El): Likewise.
67748         (M_PI_LOG10El): Likewise.
67750 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67754 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
67756         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67757         (MINUS_ZERO_INIT): Likewise.
67758         (PLUS_INFTY_INIT): Likewise.
67759         (MINUS_INFTY_INIT): Likewise.
67760         (QNAN_VALUE_INIT): Likewise.
67761         (MAX_VALUE_INIT): Likewise.
67762         (MIN_VALUE_INIT): Likewise.
67763         (MIN_SUBNORM_VALUE_INIT): Likewise.
67764         (plus_zero): Initialize with PLUS_ZERO_INIT.
67765         (minus_zero): Initialize with MINUS_ZERO_INIT.
67766         (plus_infty): Initialize with PLUS_INFTY_INIT.
67767         (minus_infty): Initialize with MINUS_INFTY_INIT.
67768         (qnan_value): Initialize with QNAN_VALUE_INIT.
67769         (max_value): Initialize with MAX_VALUE_INIT.
67770         (min_value): Initialize with MIN_VALUE_INIT.
67771         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67773         * math/libm-test.inc (RUN_TEST_if_f): New macro.
67774         (jn_test): Use TEST_if_f instead of TEST_ff_f.
67775         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67776         (yn_test): Use TEST_if_f instead of TEST_ff_f.
67778         * math/libm-test.inc (RUN_TEST_f_f): New macro.
67779         (RUN_TEST_2_f): Likewise.
67780         (RUN_TEST_ff_f): Likewise.
67781         (RUN_TEST_fi_f): Likewise.
67782         (RUN_TEST_fl_f): Likewise.
67783         (RUN_TEST_fff_f): Likewise.
67784         (RUN_TEST_c_f): Likewise.
67785         (RUN_TEST_f_f1): Likewise.
67786         (RUN_TEST_fF_f1): Likewise.
67787         (RUN_TEST_fI_f1): Likewise.
67788         (RUN_TEST_ffI_f1): Likewise.
67789         (RUN_TEST_c_c): Likewise.
67790         (RUN_TEST_cc_c): Likewise.
67791         (RUN_TEST_f_i): Likewise.
67792         (RUN_TEST_f_i_tg): Likewise.
67793         (RUN_TEST_ff_i_tg): Likewise.
67794         (RUN_TEST_f_b): Likewise.
67795         (RUN_TEST_f_b_tg): Likewise.
67796         (RUN_TEST_f_l): Likewise.
67797         (RUN_TEST_f_L): Likewise.
67798         (RUN_TEST_sincos): Likewise.
67799         * math/gen-libm-test.pl (new_test): Take new argument to indicate
67800         whether to show exceptions.  Do not include ");\n" in return
67801         value.
67802         (special_functions): Output call to RUN_TEST_sincos instead of
67803         check_float calls.  Update calls to new_test.
67804         (parse_args): Output call to single RUN_TEST_* macro instead of
67805         check_* calls and other assignments.  Update calls to new_test.
67807         [BZ #2546]
67808         [BZ #2560]
67809         [BZ #5159]
67810         [BZ #15426]
67811         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67812         input to result for tgamma overflow.
67813         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67814         (gamma_coeff): New variable.
67815         (NCOEFF): New macro.
67816         (gamma_positive): New function.
67817         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67818         underflow here.  Use gamma_positive instead of exp (lgamma) for
67819         other arguments.
67820         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67821         (gamma_coeff): New variable.
67822         (NCOEFF): New macro.
67823         (gammaf_positive): New function.
67824         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67825         underflow here.  Use gamma_positive instead of exp (lgamma) for
67826         other arguments.
67827         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67828         (gamma_coeff): New variable.
67829         (NCOEFF): New macro.
67830         (gammal_positive): New function.
67831         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67832         underflow here.  Use gamma_positive instead of exp (lgamma) for
67833         other arguments.
67834         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67835         (gamma_coeff): New variable.
67836         (NCOEFF): New macro.
67837         (gammal_positive): New function.
67838         (__ieee754_gammal_r): Handle positive infinity, overflow and
67839         underflow here.  Handle NaN the same as positive infinity.  Remove
67840         check x < 0xffffffff for negative integers.  Use gamma_positive
67841         instead of exp (lgamma) for other arguments.
67842         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67843         (gamma_coeff): New variable.
67844         (NCOEFF): New macro.
67845         (gammal_positive): New function.
67846         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67847         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67848         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67849         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67850         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67851         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67852         * sysdeps/generic/math_private.h (__gamma_productf): New
67853         prototype.
67854         (__gamma_product): Likewise.
67855         (__gamma_productl): Likewise.
67856         * math/Makefile (libm-calls): Add gamma_product.
67857         * math/libm-test.inc (tgamma_test): Add more tests.
67858         * sysdeps/i386/fpu/libm-test-ulps: Update.
67859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67861 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
67863         * benchtests/bench-skeleton.c (main): Preheat CPU.
67865 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
67867         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67869 2013-05-07  Roland McGrath  <roland@hack.frob.com>
67871         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67872         and _dl_skip_args_internal.
67874 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
67876         * manual/message.texi (Message Translation): Talk about users.
67877         Message to key mapping impacts design.
67879 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67881         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67883         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67885         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67886         * sysdeps/wordsize-64/glob64.c: ... here.
67888         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67889         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67890         New macros.
67892         * debug/getlogin_r_chk.c: Moved to ...
67893         * login/getlogin_r_chk.c: ... here.
67894         * debug/Makefile (routines): Move getlogin_r_chk to ...
67895         * login/Makefile (routines): ... here.
67896         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67897         * login/Versions (libc: GLIBC_2.4): ... here.
67899         * io/poll.c (__poll): Renamed from poll.
67900         Add libc_hidden_def.
67901         (poll): Define as weak alias.
67903         * debug/ptsname_r_chk.c: Moved to ...
67904         * login/ptsname_r_chk.c: ... here.
67905         * debug/Makefile (routines): Move ptsname_r_chk to ...
67906         * login/Makefile (routines): ... here.
67907         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67908         * login/Versions (libc: GLIBC_2.4): ... here.
67910         * posix/getlogin.c: Moved to ...
67911         * login/getlogin.c: ... here.
67912         * posix/getlogin_r.c: Moved to ...
67913         * login/getlogin_r.c: ... here.
67914         * posix/getlogin_r.c: Moved to ...
67915         * login/getlogin_r.c: ... here.
67916         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67917         * login/Makefile (routines): ... here.
67918         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67919         * login/Versions (libc: GLIBC_2.0): ... here.
67921         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67922         (setrlimit): Define as weak alias.
67924         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67925         Call __ names for open, ftruncate, and close.
67926         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67927         (truncate): Define as weak alias.
67929 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
67931         * math/gen-libm-test.pl (parse_args): Initialize x before each
67932         test of frexp, modf and remquo.
67934         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67935         test signgam value.
67937 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67939         [BZ #15418]
67940         [BZ #15419]
67941         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67942         internal tests.
67943         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67945 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67947         * elf/dl-writev.h: New file.
67948         * elf/dl-misc.c: Include it.
67949         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67950         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67952 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
67954         * math/libm-test.inc (noXFails): Remove variable.
67955         (noXPasses): Likewise.
67956         (BUILD_COMPLEX_INT): Remove macro.
67957         (print_screen): Remove xfail argument.
67958         (print_screen_max_error): Likewise.
67959         (update_stats): Likewise.
67960         (print_max_error): Likewise.  Update calls to other affected
67961         functions.
67962         (print_complex_max_error): Likewise.
67963         (test_single_exception): Update calls to print_screen.
67964         (test_single_errno): Likewise.
67965         (check_float_internal): Remove xfail argument.  Update calls to
67966         other affected functions.
67967         (check_float): Likewise.
67968         (check_complex): Likewise.
67969         (check_int): Likewise.
67970         (check_long): Likewise.
67971         (check_bool): Likewise.
67972         (check_longlong): Likewise.
67973         (main): Don't print noXFails and noXPasses.
67974         * math/gen-libm-test.pl (top level): Don't mention expected
67975         failure handling in comment.
67976         (new_test): Don't handle expected failures.
67977         (parse_args): Don't mention expected failure handling in comment.
67978         (generate_testfile): Don't handle expected failures.
67979         (parse_ulps): Likewise.
67980         (print_ulps_file): Likewise.
67981         (get_failure): Remove function.
67982         (output_test): Don't handle expected failures.
67983         * make/README.libm-test: Don't mention expected failure handling.
67985         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
67986         (minus_zero): Likewise.
67987         (plus_infty): Likewise.
67988         (minus_infty): Likewise.
67989         (qnan_value): Likewise.
67990         (max_value): Likewise.
67991         (min_value): Likewise.
67992         (min_subnorm_value): Likewise.
67993         (initialize): Do not initialize those variables dynamically.
67995 2013-05-03  Roland McGrath  <roland@hack.frob.com>
67997         * io/open.c (__open_2): Moved to ...
67998         * io/open_2.c: ... this new file.
67999         * io/open64.c (__open64_2): Moved to ...
68000         * io/open64_2.c: ... this new file.
68001         * io/openat.c (__openat_2): Moved to ...
68002         * io/openat_2.c: ... this new file.
68003         * io/openat64.c (__openat64_2): Moved to ...
68004         * io/openat64_2.c: ... this new file.
68005         * io/Makefile (routines): Add them.
68006         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68007         * sysdeps/unix/sysv/linux/open_2.c: File removed.
68008         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68009         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68010         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68011         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68012         (__openat64): Add hidden_ver.
68013         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68014         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68016         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68017         Separately conditionalize setting of GLRO(dl_sysinfo) so
68018         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68019         as well, but the actual setting is only under [NEED_DL_SYSINFO].
68021 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68023         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68024         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68025         definition.
68026         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68027         * sysdeps/unix/sysv/linux/powerpc/init-first.c
68028         (_libc_vdso_platform_setup): Add __vdso_time initialization.
68029         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68030         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68032 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
68034         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68035         test signgam value.
68037         * math/libm-test.inc (hypot_test): Do not use
68038         IGNORE_ZERO_INF_SIGN.
68040 2013-05-03  Andreas Jaeger  <aj@suse.de>
68042         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68043         Linux 3.9.
68044         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68045         (PF_MAX): Adjust for VSOCK change.
68047 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68051 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
68053         [BZ #15264]
68054         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68055         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68056         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68058 2013-05-02  David S. Miller  <davem@davemloft.net>
68060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68062 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
68064         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68066 2013-05-01  Roland McGrath  <roland@hack.frob.com>
68068         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68070 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
68072         [BZ #14952]
68073         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68074         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68075         Use __attribute__ ((__gnu_inline__)).
68076         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68077         Don't use __attribute__ ((__gnu_inline__)).
68079 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
68081         [BZ #15423]
68082         * math/s_catan.c (__catan): Handle small real or imaginary part of
68083         input specially to avoid spurious underflow.
68084         * math/s_catanf.c (__catanf): Likewise.
68085         * math/s_catanh.c (__catanh): Likewise.
68086         * math/s_catanhf.c (__catanhf): Likewise.
68087         * math/s_catanhl.c (__catanhl): Likewise.
68088         * math/s_catanl.c (__catanl): Likewise.
68089         * math/libm-test.inc (catan_test): Add more tests.
68090         (catanh_test): Likewise.
68091         * sysdeps/i386/fpu/libm-test-ulps: Update.
68092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68094 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68098 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
68100         [BZ #15416]
68101         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68102         accurately for denominator in atan2.
68103         * math/s_catanf.c (__catanf): Likewise.
68104         * math/s_catanh.c (__catanh): Likewise.
68105         * math/s_catanhf.c (__catanhf): Likewise.
68106         * math/s_catanhl.c (__catanhl): Likewise.
68107         * math/s_catanl.c (__catanl): Likewise.
68108         * math/libm-test.inc (catan_test): Add more tests.
68109         (catanh_test): Likewise.
68110         * sysdeps/i386/fpu/libm-test-ulps: Update.
68111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68113 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68115         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68117         * benchtests/Makefile (bench): Remove slow benchmarks.
68118         * benchtests/atan-inputs: Add slow benchmark inputs.
68119         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68120         (BENCH_FUNC): Accept variant offset.
68121         (VARIANT): Define.
68122         * benchtests/bench-skeleton.c (main): Run benchmark for each
68123         variant.
68124         * benchtests/cos-inputs: Add slow benchmark inputs.
68125         * benchtests/exp-inputs: Likewise.
68126         * benchtests/pow-inputs: Likewise.
68127         * benchtests/sin-inputs: Likewise.
68128         * benchtests/slowatan-inputs: Remove.
68129         * benchtests/slowatan.c: Remove.
68130         * benchtests/slowcos-inputs: Remove.
68131         * benchtests/slowcos.c: Remove.
68132         * benchtests/slowexp-inputs: Remove.
68133         * benchtests/slowexp.c: Remove.
68134         * benchtests/slowpow-inputs: Remove.
68135         * benchtests/slowpow.c: Remove.
68136         * benchtests/slowsin-inputs: Remove.
68137         * benchtests/slowsin.c: Remove.
68138         * benchtests/slowtan-inputs: Remove.
68139         * benchtests/slowtan.c: Remove.
68140         * benchtests/tan-inputs: Add slow benchmark inputs.
68141         * scripts/bench.pl: Parse comments and directives.
68143         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
68144         in CPPFLAGS.
68145         ($(objpfx)bench-%.c): Remove *-ITER.
68146         * benchtests/bench-modf.c: Remove definition of ITER.
68147         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68148         (main): Loop for DURATION seconds instead of fixed number of
68149         iterations.
68150         * scripts/bench.pl: Don't expect iterations in parameters.
68152 2013-04-29  Roland McGrath  <roland@hack.frob.com>
68154         * io/fchdir.c (__fchdir): Renamed from fchdir.
68155         (fchdir): Define as weak alias.
68157 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68159         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68160         (ERRNO_EDOM): Likewise.
68161         (ERRNO_ERANGE): Likewise.
68162         (noErrnoTests): New variable.
68163         (init_max_error): Set errno to 0.
68164         (test_single_errno): New function.
68165         (test_errno): Likewise.
68166         (check_float_internal): Call test_errno.  Set errno to 0.
68167         (check_complex): Refer to errno tests in comment.
68168         (check_int): Call test_errno.  Set errno to 0.
68169         (check_long): Likewise.
68170         (check_bool): Likewise.
68171         (check_longlong): Likewise.
68172         (cos_test): Use ERRNO_* flags for errno tests instead of
68173         check_int.
68174         (expm1_test): Likewise.
68175         (fmod_test): Likewise.
68176         (ilogb_test): Likewise.
68177         (lgamma_test): Likewise.
68178         (pow_test): Likewise.
68179         (remainder_test): Likewise.
68180         (sin_test): Likewise.
68181         (tan_test): Likewise.
68182         (yn_test): Likewise.
68183         (initialize): Set errno to 0.
68184         (main): Print number of errno tests.
68185         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68187 2013-04-29  Andreas Jaeger  <aj@suse.de>
68189         [BZ #15084]
68190         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68191         and RES_USEVC.
68193         [BZ #15085]
68194         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68195         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68196         unimplemented.
68198         [BZ #15380]
68199         * stdlib/random.c (__initstate): Return NULL if
68200         __initstate fails.
68202         [BZ #15086]
68203         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68204         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68205         RES_SNGLKUPREOP.
68207 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68211 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68213         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68214         of individual tests.
68215         (casin_test): Likewise.
68216         (casinh_test): Likewise.
68218 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
68220         [BZ #15409]
68221         * math/s_catan.c (__catan): Handle arguments with large real or
68222         imaginary part separately without squaring.
68223         * math/s_catanf.c (__catanf): Likewise.
68224         * math/s_catanh.c (__catanh): Likewise.
68225         * math/s_catanhf.c (__catanhf): Likewise.
68226         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68227         and redefine.
68228         (__catanhl): Handle arguments with large real or imaginary part
68229         separately without squaring.
68230         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68231         and redefine.
68232         (__catanl): Handle arguments with large real or imaginary part
68233         separately without squaring.
68234         * math/libm-test.inc (catan_test): Add more tests.
68235         (catanh_test): Likewise.
68236         * sysdeps/i386/fpu/libm-test-ulps: Update.
68237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68239 2013-04-27  Andreas Jaeger  <aj@suse.de>
68241         [BZ #15007]
68242         * stdlib/stdlib.h: Update guards for qecvt.
68243         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68244         <stdlib.h>.
68246 2013-04-27  Allan McRae  <allan@archlinux.org>
68248         * sysdeps/i386/fpu/libm-test-ulps: Update.
68250 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
68252         [BZ #15406]
68253         * math/s_catan.c: Include <float.h>.
68254         (__catan): Ensure underflow exception occurs for underflowed
68255         result.
68256         * math/s_catanf.c: Include <float.h>.
68257         (__catanf): Ensure underflow exception occurs for underflowed
68258         result.
68259         * math/s_catanh.c: Include <float.h>.
68260         (__catanh): Ensure underflow exception occurs for underflowed
68261         result.
68262         * math/s_catanhf.c: Include <float.h>.
68263         (__catanhf): Ensure underflow exception occurs for underflowed
68264         result.
68265         * math/s_catanhl.c: Include <float.h>.
68266         (__catanhl): Ensure underflow exception occurs for underflowed
68267         result.
68268         * math/s_catanl.c: Include <float.h>.
68269         (__catanl): Ensure underflow exception occurs for underflowed
68270         result.
68271         * math/libm-test.inc (catan_test): Add more tests.
68272         (catanh_test): Likewise.
68274         [BZ #15405]
68275         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68276         underflowed result.
68277         * math/s_ccoshf.c (__ccoshf): Likewise.
68278         * math/s_ccoshl.c (__ccoshl): Likewise.
68279         * math/s_csin.c (__csin): Likewise.
68280         * math/s_csinf.c (__csinf): Likewise.
68281         * math/s_csinh.c (__csinh): Likewise.
68282         * math/s_csinhf.c (__csinhf): Likewise.
68283         * math/s_csinhl.c (__csinhl): Likewise.
68284         * math/s_csinl.c (__csinl): Likewise.
68285         * math/libm-test.inc (ccos_test): Add more tests.
68286         (ccosh_test): Likewise.
68287         (csin_test): Likewise.
68288         (csinh_test): Likewise.
68290 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68292         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68293         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68294         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68295         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68296         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68297         powerpc/power5+/fpu folders.
68298         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68301 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68305 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
68307         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68308         additions to variable.
68309         [$(config-machine) = x86_64] (modules-names): Likewise.
68310         ($(objpfx)tst-audit3): Remove dependency.
68311         ($(objpfx)tst-audit3.out): Likewise.
68312         ($(objpfx)tst-audit4): Likewise.
68313         ($(objpfx)tst-audit4.out): Likewise.
68314         ($(objpfx)tst-audit5): Likewise.
68315         ($(objpfx)tst-audit5.out): Likewise.
68316         ($(objpfx)tst-audit6): Likewise.
68317         ($(objpfx)tst-audit6.out): Likewise.
68318         ($(objpfx)tst-audit7): Likewise.
68319         ($(objpfx)tst-audit7.out): Likewise.
68320         (tst-audit3-ENV): Remove variable.
68321         (tst-audit4-ENV): Likewise.
68322         (tst-audit5-ENV): Likewise.
68323         (tst-audit6-ENV): Likewise.
68324         (tst-audit7-ENV): Likewise.
68325         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68326         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68327         addition to variable.
68328         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68329         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68330         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68331         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68332         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68333         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68334         tst-audit3, tst-audit4 and tst-audit5.
68335         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68336         tst-audit6 and tst-audit7.
68337         [$(subdir) = elf] (modules-names): Add audit modules for those
68338         tests.
68339         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68340         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68341         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68342         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68343         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68344         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68345         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68346         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68347         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68348         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68349         [$(subdir) = elf] (tst-audit3-ENV): New variable.
68350         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68351         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68352         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68353         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68354         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68355         Likewise.
68356         [$(subdir) = elf && $(config-cflags-avx) = yes]
68357         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68358         [$(subdir) = elf && $(config-cflags-avx) = yes]
68359         (CFLAGS-tst-auditmod4a.c): Likewise.
68360         [$(subdir) = elf && $(config-cflags-avx) = yes]
68361         (CFLAGS-tst-auditmod4b.c): Likewise.
68362         [$(subdir) = elf && $(config-cflags-avx) = yes]
68363         (CFLAGS-tst-auditmod6b.c): Likewise.
68364         [$(subdir) = elf && $(config-cflags-avx) = yes]
68365         (CFLAGS-tst-auditmod6c.c): Likewise.
68366         [$(subdir) = elf && $(config-cflags-avx) = yes]
68367         (CFLAGS-tst-auditmod7b.c): Likewise.
68368         * elf/tst-audit3.c: Move to ...
68369         * sysdeps/x86_64/tst-audit3.c: ... here.
68370         * elf/tst-audit4.c: Move to ...
68371         * sysdeps/x86_64/tst-audit4.c: ... here.
68372         * elf/tst-audit5.c: Move to ...
68373         * sysdeps/x86_64/tst-audit5.c: ... here.
68374         * elf/tst-audit6.c: Move to ...
68375         * sysdeps/x86_64/tst-audit6.c: ... here.
68376         * elf/tst-audit7.c: Move to ...
68377         * sysdeps/x86_64/tst-audit7.c: ... here.
68378         * elf/tst-auditmod3a.c: Move to ...
68379         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68380         * elf/tst-auditmod3b.c: Move to ...
68381         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68382         * elf/tst-auditmod4a.c: Move to ...
68383         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68384         * elf/tst-auditmod4b.c: Move to ...
68385         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68386         * elf/tst-auditmod5a.c: Move to ...
68387         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68388         * elf/tst-auditmod5b.c: Move to ...
68389         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68390         * elf/tst-auditmod6a.c: Move to ...
68391         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68392         * elf/tst-auditmod6b.c: Move to ...
68393         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68394         * elf/tst-auditmod6c.c: Move to ...
68395         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68396         * elf/tst-auditmod7a.c: Move to ...
68397         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68398         * elf/tst-auditmod7b.c: Move to ...
68399         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68401 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
68403         [BZ #15366]
68404         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68405         define unconditionally.
68406         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68407         define unconditionally.
68408         (INT8_C, INT16_C, etc.): Likewise.
68410 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
68412         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68413         __ehdr_start with hidden visibility.
68415         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68417 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
68419         * math/libm-test.inc (cos_test): Use accurate hex constants.
68420         (sincost_test): Likewise.
68422 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
68424         * math/libm-test.inc (catan_test): Add more tests.
68425         (catanh_test): Likewise.
68427         * math/s_catanf.c (__catanf): Use suffixed floating-point
68428         constants.
68429         * math/s_catanhf.c (__catanhf): Likewise.
68430         * math/s_catanhl.c (__catanhl): Likewise.
68431         * math/s_catanl.c (__catanl): Likewise.
68433         [BZ #15394]
68434         * math/s_catan.c (__catan): Calculate imaginary part of result
68435         with log1p not log unless computing log of number close to 0.
68436         * math/s_catanf.c (__catanf): Likewise.
68437         * math/s_catanl.c (__catanl): Likewise.
68438         * math/s_catanh.c (__catanh): Calculate real part of result with
68439         log1p not log unless computing log of number close to 0.
68440         * math/s_catanhf.c (__catanhf): Likewise.
68441         * math/s_catanhl.c (__catanhl): Likewise.
68442         * math/libm-test.inc (catan_test): Add more tests.
68443         (catanh_test): Likewise.
68444         * sysdeps/i386/fpu/libm-test-ulps: Update.
68445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68447 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
68449         * benchtests/Makefile: Mention files in which fast and slow
68450         paths of math functions are implemented.
68452 2013-04-23  Roland McGrath  <roland@hack.frob.com>
68454         * sysdeps/posix/timespec_get.c: New file.
68456 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68458         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68459         POWER.
68460         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68461         for POWER.
68462         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68463         powerpc/power5/fpu folders.
68464         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68465         * benchtests/Makefile: Add modf testcase.
68466         * benchtests/bench-modf.c: New file: Benchmark test for mo
68468 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
68470         [BZ #14888]
68471         * time/Makefile (tests): Add tst-strptime-whitespace.
68472         * time/strptime_l.c (get_number): Use ISSPACE.
68473         (__strptime_internal): Likewise.
68474         * time/tst-strptime-whitespace.c: New test case.
68476 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
68478         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68479         member.
68480         (_nss_files_init): Set it here.
68482 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68484         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68485         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68486         unsigned.
68488 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
68490         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68492 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68494         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68495         size just once.
68497 2013-04-21  David S. Miller  <davem@davemloft.net>
68499         * po/ru.po: Update Russion translation from translation project.
68501 2013-04-17  Adam Conrad  <adconrad@0c3.net>
68503         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68504         and setfsgid.
68506 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
68508         * configure.in: Remove i386 configure warning. Remove i386 case.
68509         * configure: Regenerate.
68510         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68511         Add example to error message.
68512         * sysdeps/i386/configure: Regenerate.
68514 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68516         * benchtests/Makefile (bench): Add cos, tan, slowcos and
68517         slowtan.
68518         * benchtests/cos-inputs: New file.
68519         * benchtests/slowcos-inputs: New file.
68520         * benchtests/slowcos.c: New file.
68521         * benchtests/slowtan-inputs: New file.
68522         * benchtests/slowtan.c: New file.
68523         * benchtests/tan-inputs: New file.
68525 2013-04-16  Roland McGrath  <roland@hack.frob.com>
68527         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68528         considered kosher.
68530 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68532         * benchtests/Makefile: Include cppflags-iterator.mk to add
68533         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68535         * Makefile.in (bench-clean): New target.
68536         * benchtests/Makefile (bench-clean): Likewise.
68538 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
68540         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68542 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
68544         * stdio-common/tstdiomisc.c: Fix coding-style violation.
68546 2013-04-15  Andreas Schwab  <schwab@suse.de>
68548         * nscd/grpcache.c (cache_addgr): Properly check for short write.
68549         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68550         * nscd/pwdcache.c (cache_addpw): Likewise.
68551         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
68552         more than recsize.
68554 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68556         * benchtests/Makefile (bench): Write all output to
68557         bench-out.tmp together.
68559 2013-04-15  Andreas Schwab  <schwab@suse.de>
68561         * nscd/nscd.c (main): Don't fork again after closing files.
68563 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68565         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68567         * benchtests/Rules (bench-deps): Collect dependencies into a
68568         single variable.  Add Makefile to dependencies.
68569         ($(objpfx)bench-%.c): Depend on bench-deps.
68571 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68572             Xavier Roche  <roche+kml2@exalead.com>
68574         [BZ #15361]
68575         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68576         just that it's a file descriptor.
68577         * manual/llio.texi (Synchronizing AIO Operations): Update description
68578         for EBADF error from aio_fsync.
68580 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68582         * Rules (bench): Move target definition...
68583         * benchtests/Makefile: ... here.
68585 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68587         * math/libm-test.inc (cos_test): Fix PI/2 test.
68588         (sincos_test): Likewise.
68589         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68590         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68592 2013-04-11  Andreas Schwab  <schwab@suse.de>
68594         [BZ #13988]
68595         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68596         accept exponent character only when digits were seen.
68597         * stdio-common/Makefile (tests): Add bug26.
68598         * stdio-common/bug26.c: New file.
68600         [BZ #14293]
68601         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68602         non-freeable.
68604 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68606         * Makeconfig (rtld-prefix): Define built linker prefix.
68607         * Rules (run-bench): Use it.
68608         * math/Makefile (run-regen-ulps): Likewise.
68610         * Rules (bench): Remove eval.
68612 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68613             Roland McGrath  <roland@hack.frob.com>
68614             Ondrej Bilka  <neleai@seznam.cz>
68616         [BZ #15346]
68617         * time/getdate.c: Include ctype.h and alloca.h.
68618         (__getdate_r): Trim leading and trailing spaces of input.
68619         * time/tst-getdate.c (tests): Add tests with leading and
68620         trailing spaces.
68622 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68624         [BZ #14280]
68625         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68626         when computing value.
68628 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68630         * math/README.libm-test (How can I generate "libm-test-ulps"?):
68631         Use testrun.sh to run libm tests.
68633         [BZ #15309]
68634         * elf/dl-open.c (dl_open_worker): memset all of seen array.
68636 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
68638         [BZ #15264]
68639         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68641 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68643         * Makefile.in (regen-ulps): New target.
68644         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68645         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68646         [ifneq (no,$(PERL)] (regen-ulps): New target.
68647         [ifeq (no,$(PERL)] (regen-ulps): New target.
68648         * math/libm-test.inc (ulps_file_name): Define.
68649         (output_dir): New variable.
68650         (options): Add "output-dir" option.
68651         (parse_opt): Handle 'o' case.
68652         (main): If output_dir is non-NULL use it as a prefix
68653         otherwise use "".
68654         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68656 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68658         [BZ #10060, #10062]
68659         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68660         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68661         fail configure if __sync_val_compare_and_swap is not inlined.
68662         * sysdeps/i386/configure: Regenerate.
68663         * configure.in: Build for i686 when configured for i386.
68664         * configure: Regenerate.
68665         * README: Remove i386 reference.
68667 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68669         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68670         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68672 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68674         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68675         (lmsnanval): New variables.
68676         (F): Add conversion tests.
68677         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68678         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68680         * stdio-common/tstdiomisc.c (F): Properly collect individual
68681         tests' results.
68683         [BZ #14686, #15336]
68684         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68685         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68686         Instead, use input NaN values or generate a qNaN by arithmetic
68687         operation.  Also fix bugs to comply with the standard.
68688         * math/libm-test.inc (remainder_test): Add more tests.
68690         [BZ #15335, #15342]
68691         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68692         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68693         input NaN values or generate a qNaN by arithmetic operation.
68695         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68696         unreachable code.
68698         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68699         definitions.
68701 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
68703         [BZ #14478]
68704         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68705         underflowed result.
68706         * math/s_cexpf.c (__cexpf): Likewise.
68707         * math/s_cexpl.c (__cexpl): Likewise.
68708         * math/libm-test.inc (cexp_test): Add more tests.
68710 2013-04-03  Andreas Schwab  <schwab@suse.de>
68712         [BZ #15330]
68713         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68714         order arrays from heap if bigger than alloca cutoff.
68716 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
68718         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68719         (SNAN_TESTS_double): Refer to GCC PR56831.
68720         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68721         GCC PR56828.
68723 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
68725         * Rules (bench): Move bench.out after the run is complete.
68727         * Rules (bench): Echo currently running benchmark.
68729         * benchtests/Makefile (bench): Add atan and slowatan.
68730         * benchtests/atan-inputs: New file.
68731         * benchtests/slowatan-inputs: New file.
68732         * benchtests/slowatan.c: New file.
68734         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68735         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68736         its value.
68738         [BZ #15305]
68739         * sysdeps/unix/sysv/linux/kernel-features.h
68740         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68741         __ASSUME_XFS_RESTRICTED_CHOWN.
68742         * sysdeps/unix/sysv/linux/pathconf.c
68743         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68744         Save and restore errno.
68746 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
68748         [BZ #15327]
68749         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68750         arguments using __kernel_casinh.
68751         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68752         arguments using __kernel_casinhf.
68753         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68754         arguments using __kernel_casinhl.
68755         * math/libm-test.inc (cacosh_test): Add more tests.
68756         * sysdeps/i386/fpu/libm-test-ulps: Update.
68757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68759 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68761         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68762         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68764         * bench/Makefile (bench): Add sin and slowsin.
68765         * benchtests/sin-inputs: New file.
68766         * benchtests/slowsin-inputs: New file.
68767         * benchtests/slowsin.c: New file.
68769         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68770         (bench): Add slowexp and slowpow.
68771         (exp-ITER): Increase iterations.
68772         (pow-ITER): Likewise.
68773         * benchtests/exp-inputs: Change input.
68774         * benchtests/pow-inputs: Likewise.
68775         * benchtests/slowexp-inputs: New file.
68776         * benchtests/slowexp.c: New file.
68777         * benchtests/slowpow-inputs: New file.
68778         * benchtests/slowpow.c: New file.
68780 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68782         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68783         instructions.
68784         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68785         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68786         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68787         * benchtests/Makefile: Add rint benchtest.
68788         * benchtests/rint-inputs: Input for rint benchtest.
68790 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68792         * Versions.def (libm): Add GLIBC_2.18.
68793         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68794         hidden libm prototypes.
68795         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68796         * math/Makefile (libm-calls): Add s_issignaling.
68797         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68798         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
68799         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68800         declaration.
68801         * math/math.h [__USE_GNU] (issignaling): New macro.
68802         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68803         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68804         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68805         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68806         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68807         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68808         * manual/arith.texi (issignaling): New section.
68809         * manual/libm-err-tab.pl (@all_functions): Update comment.
68810         * math/gen-libm-test.pl (parse_args): Apply special handling for
68811         issignaling.
68812         * math/libm-test.inc (print_float, issignaling_test): New
68813         functions.
68814         (check_float_internal): Add issignaling checks.
68815         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68816         default definition.
68817         * sysdeps/powerpc/math-tests.h: New file.
68818         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68819         tests.
68820         * math/test-snan.c (TEST_FUNC): Likewise.
68822 2013-03-30  David S. Miller  <davem@davemloft.net>
68824         * po/de.po: Update from translation team.
68826 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
68828         [BZ #10357]
68829         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68830         imaginary part less than 1.0 and real part less than 0.5
68831         specially.
68832         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68833         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68834         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68835         (cacos_test): Add more tests.
68836         (casin_test): Likewise.
68837         (casinh_test): Likewise.
68838         * sysdeps/i386/fpu/libm-test-ulps: Update.
68839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68841 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68843         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68844         ONE with its value.
68846         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68847         (__pow_mp): Replace ONE and MONE with their values.
68848         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68849         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68850         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68851         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68852         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68853         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68855         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68857         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68858         (__pow_mp): Replace ZERO and MZERO with their values.
68859         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68860         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68861         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68862         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68863         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68864         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68865         (__sqr): Likewise.
68867         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68869         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68871 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68873         * include/stdlib.h [!SHARED] (__call_tls_dtors):
68874         Declare with __attribute__ ((weak)).
68875         * stdlib/exit.c (__libc_atexit) [!SHARED]:
68876         Call __call_tls_dtors only if it's not NULL.
68878 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68880         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68881         didn't do it already, then set _dl_phdr and _dl_phnum based on the
68882         magic __ehdr_start linker symbol if it's defined.
68883         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68884         them up here if it was already done.
68886         * elf/dl-support.c (_dl_phdr): Make pointer to const.
68887         (_dl_aux_init): Use const in cast when setting it.
68888         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68889         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68890         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68892         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68893         Declare them here.
68894         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68895         * csu/libc-tls.c: Nor here.
68896         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68898         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68899         (__libc_message): Never call vsyslog.
68901 2013-03-28  Alan Modra  <amodra@gmail.com>
68903         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68904         Define as empty.
68905         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68906         Likewise.
68908 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68910         [BZ #15214]
68911         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68912         underflow.
68913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68915 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68917         [BZ #15304]
68918         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68919         Don't add gid passed as argument.
68921         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68923 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
68925         [BZ #15307]
68926         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68927         imaginary part between 1.0 and 1.5 and real part less than 0.5
68928         specially.
68929         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68930         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68931         * math/libm-test.inc (cacos_test): Add more tests.
68932         (casin_test): Likewise.
68933         (casinh_test): Likewise.
68934         * sysdeps/i386/fpu/libm-test-ulps: Update.
68935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68937 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68939         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68940         constants.
68941         (norm): Likewise.
68942         (denorm): Likewise.
68943         (__dbl_mp): Likewise.
68944         (add_magnitudes): Likewise.
68945         (sub_magnitudes): Likewise.
68946         (__add): Likewise.
68947         (__sub): Likewise.
68948         (__mul): Likewise.
68949         (__sqr): Likewise.
68950         (__inv): Likewise.
68951         (__dvd): Likewise.
68953         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68954         commented code.
68955         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68956         (__dubcos): Likewise.
68957         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68958         (__ieee754_acos): Likewise.
68959         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68960         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68961         (__exp1): Likewise.
68962         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68963         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68964         (log1): Likewise.
68965         (my_log2): Likewise.
68966         (checkint): Likewise.
68967         * sysdeps/ieee754/dbl-64/e_remainder.c
68968         (__ieee754_remainder): Likewise.
68969         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68970         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68971         (bsloww): Likewise.
68972         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68974         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68975         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68976         MANTISSA_STORE_T to store computations on mantissa.  Use
68977         macros for rounding and division.
68978         (denorm): Likewise.
68979         (__dbl_mp): Likewise.
68980         (add_magnitudes): Likewise.
68981         (sub_magnitudes): Likewise.
68982         (__mul): Likewise.
68983         (__sqr): Likewise.
68984         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
68985         powers of two in terms of TWOPOW macro.
68986         (mp_no): Make type of mantissa as MANTISSA_T.
68987         [!RADIXI]: Define RADIXI.
68988         [!TWO52]: Define TWO52.
68989         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68991 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68993         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68994         llroundl symbol when building for PPC32.
68996 2013-03-24  Mark H Weaver  <mhw@netris.org>
68998         * manual/arith.texi (Normalization Functions): Fix prototypes for
68999         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69001 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69003         [BZ #13889]
69004         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69005         high value to check if expl overflow.
69006         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69007         to check for underflow and overflow.
69008         * math/libm-test.inc: Add exp test.
69010 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
69012         [BZ #11120]
69013         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69014         with NOT_IN_libc.
69016 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69018         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69019         symbol.
69021 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69023         * math/gen-libm-test.pl (parse_args, special_functions): Properly
69024         wrap blocks consisting of several statements.
69026         * sysdeps/generic/math-tests.h: New file.
69027         * sysdeps/i386/fpu/math-tests.h: Likewise.
69028         * math/test-snan.c: Include it.
69029         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69031 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69033         [BZ #15285]
69034         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69035         (__ieee754_j0l): Do not improve calculations using cos of twice
69036         input for inputs above LDBL_MAX / 2.0L.
69037         (__ieee754_y0l): Likewise.
69038         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69039         (__ieee754_j1l): Do not improve calculations using cos of twice
69040         input for inputs above LDBL_MAX / 2.0L.
69041         (__ieee754_y1l): Likewise.
69042         * math/libm-test.inc (j0_test): Add another test.
69043         (j1_test): Likewise.
69044         (y0_test): Likewise.
69045         (y1_test): Likewise.
69046         * sysdeps/i386/fpu/libm-test-ulps: Update.
69048 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69050         * Rules ($(objpfx)bench-%.c): Include code from a C source
69051         file.
69053 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69055         [BZ #15287]
69056         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69057         imaginary part 1.0 and real part less than 0.5 specially.
69058         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69059         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69060         * math/libm-test.inc (cacos_test): Add more tests.
69061         (casin_test): Likewise.
69062         (casinh_test): Likewise.
69063         * sysdeps/i386/fpu/libm-test-ulps: Update.
69064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69066 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69068         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69069         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69071 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
69073         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69074         * config.make.in (config-cflags-sse4): Remove variable.
69075         (config-cflags-avx): Likewise.
69076         (config-cflags-sse2avx): Likewise.
69077         (config-cflags-novzeroupper): Likewise.
69078         (config-asflags-i686): Likewise.
69079         (have-mfma4): Likewise.
69080         (have-as-vis3): Likewise.
69081         (MIG): Likewise.
69082         * configure.in (MIG): Do not AC_SUBST.
69083         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69084         (libc_cv_cc_sse4): Do not AC_SUBST.
69085         (libc_cv_cc_avx): Likewise.
69086         (libc_cv_cc_sse2avx): Likewise.
69087         (libc_cv_cc_novzeroupper): Likewise.
69088         (libc_cv_cc_fma4): Likewise.
69089         (libc_cv_as_i686): Likewise.
69090         (libc_cv_sparc_as_vis3): Likewise.
69091         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69092         LIBC_CONFIG_VAR.
69093         (config-asflags-i686): Likewise.
69094         (config-cflags-avx): Likewise.
69095         (config-cflags-sse2avx): Likewise.
69096         (have-mfma4): Likewise.
69097         (config-cflags-novzeroupper): Likewise.
69098         * sysdeps/mach/configure.in (MIG): Likewise.
69099         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69100         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69101         LIBC_CONFIG_VAR.
69102         (config-cflags-avx): Likewise.
69103         (config-cflags-sse2avx): Likewise.
69104         (have-mfma4): Likewise.
69105         (config-cflags-novzeroupper): Likewise.
69106         * configure: Regenerated.
69107         * sysdeps/i386/configure: Likewise.
69108         * sysdeps/mach/configure: Likewise.
69109         * sysdeps/sparc/configure: Likewise.
69110         * sysdeps/x86_64/configure: Likewise.
69112 2013-03-20  Roland McGrath  <roland@hack.frob.com>
69114         [BZ #14812]
69115         * locale/programs/localedef.c (options): Put N_ translation marker
69116         on argument names, not just descriptions.
69118 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69120         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69122 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
69124         [BZ #14176]
69125         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69127 2013-03-19  Roland McGrath  <roland@hack.frob.com>
69129         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69130         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69131         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69132         [!BEFORE_ABORT] (before_abort): New function.
69133         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69134         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69135         (writev_for_fatal): New function.
69136         (WRITEV_FOR_FATAL): New macro; call that.
69137         (backtrace_and_maps): New function.
69138         (BEFORE_ABORT): New macro; call that.
69139         (struct str_list): Type removed.
69140         (__libc_message, __libc_fatal): Functions removed.
69141         Include <sysdeps/posix/libc_fatal.c> instead.
69143 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
69145         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69146         constants.
69147         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69148         double constants.
69150 2013-03-19  Andreas Schwab  <schwab@suse.de>
69152         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69153         * sysdeps/gnu/configure: Regenerate.
69155         * configure.in: Substitute libc_cv_rtlddir.
69156         * configure: Regenerate.
69157         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69158         * Makeconfig (rtlddir, inst_rtlddir): New variables.
69159         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69160         * elf/Makefile (install-others, CFLAGS-interp.c)
69161         (ldso_install, common-ldd-rewrite): Likewise.
69162         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69163         $(inst_slibdir)/$(rtld-installed-name).
69164         * scripts/rellns-sh: Add -p option.
69165         * Makerules (make-shlib-link): Use rellns-sh to get relative name
69166         for source.
69168 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69170         * manual/nptl.texi: Renamed to ...
69171         * manual/threads.texi: ... this.
69172         * manual/Makefile (chapters): Update.
69174 2013-03-18  Roland McGrath  <roland@hack.frob.com>
69176         [BZ #14812]
69177         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69178         on argument names, not just descriptions.
69179         * malloc/memusagestat.c (options): Likewise.
69180         * nss/getent.c (options): Likewise.
69182 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
69184         [BZ #14812]
69185         * iconv/iconv_prog.c (options): Put N_ translation marker
69186         on argument names, not just descriptions.
69187         * iconv/iconvconfig.c (options): Likewise.
69189 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
69191         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69192         implementation which is faster on all x86_64 architectures.
69193         Tested on AMD, Intel Nehalem, SNB, IVB.
69194         * sysdeps/x86_64/strnlen.S: Likewise.
69196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69197         Remove all multiarch strlen and strnlen versions.
69198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69199         Remove strlen and strnlen related parts.
69201         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69202         Inline strlen part.
69203         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69205         * sysdeps/x86_64/multiarch/strlen.S: Remove.
69206         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69207         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69208         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69209         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69210         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69212 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
69214         * manual/memory.texi (Malloc Tunable Parameters):
69215         Sort parameters alphabetically. Add comments for missing entries.
69217 2013-03-17  David S. Miller  <davem@davemloft.net>
69219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69221 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
69223         [BZ #15283]
69224         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69225         for arguments at most half maximum finite value.
69226         * math/libm-test.inc (j0_test): Add more tests.
69227         (j1_test): Likewise.
69228         (y0_test): Likewise.
69229         (y1_test): Likewise.
69230         * sysdeps/i386/fpu/libm-test-ulps: Update.
69231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69233         [BZ #14155]
69234         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69235         1 / x and functions P and Q for arguments above 0x1p256L.
69236         (__ieee754_y0l): Likewise.
69237         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69238         (__ieee754_y1l): Likewise.
69239         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69240         (j1_test): Likewise.
69241         (y0_test): Likewise.
69242         (y1_test): Likewise.
69244 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
69246         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69247         variable.
69249 2013-03-15  Roland McGrath  <roland@hack.frob.com>
69251         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69252         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69253         zero since it's initialized to EXEC_PAGESIZE.
69255         * sysdeps/unix/sysv/linux/ldsodefs.h
69256         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69257         * sysdeps/generic/ldsodefs.h: ... here.
69259 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
69261         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69263         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69264         math/test-snan.c.
69265         * math/test-snan.c: Renamed from
69266         sysdeps/powerpc/fpu/test-powerpc-snan.c.
69267         * math/Makefile (tests): Add test-snan.
69268         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69269         test-powerpc-snan.
69271         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69272         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
69273         functions.
69274         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
69275         __builtin_nan family of functions.
69276         * math/libm-test.inc (initialize): Initialize qnan_value with
69277         __builtin_nan family of functions.
69278         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69279         Remove variables.
69280         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69281         Remove functions.
69282         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
69283         storage class.  Initialize qNaN_var and sNaN_var with
69284         __builtin_nan and __builtin_nans families of functions,
69285         respectively.
69287         * math/libm-test.inc (acosh_test): Also test with qNaN input.
69288         (sqrt_test): Remove duplicate test with qNaN input.
69289         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69290         (round_test, signbit_test, significand_test): Note missing +/-Inf
69291         as well as qNaN tests.
69293         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69294         qNaN_var.  Fix a few strings, too.
69295         * math/libm-test.inc (nan_value): Rename to qnan_value.
69296         * math/gen-libm-test.pl (%beautify): Adjust to that.
69297         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69298         * math/test-misc.c (main): Likewise.
69299         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69300         to __qnan_bytes, and __qnan_union, respectively.
69301         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69302         Likewise.
69303         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69304         and lqnanval, respectively.
69305         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69306         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69307         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69308         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69310         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69311         * math/test-misc.c (main) [__x86_64__]: Enable test for long
69312         doubles.
69314         * math/test-misc.c (main): Fix copy'n'pastos.
69315         * misc/tst-efgcvt.c (special): Likewise.
69317         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69318         Remove declarations.
69320 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69322         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69323         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69324         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69325         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69327 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69329         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69330         macro to return vdso values correctly in IFUNC implementations.
69331         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69332         Optimization by using IFUNC.
69334 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69335             Richard Henderson  <rth@redhat.com>
69336             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69338         * Makefile.in (bench): New target.
69339         * NEWS: Mention the benchmark framework.
69340         * Rules (bench): Likewise.
69341         (binaries-bench): Generate binaries for functions to
69342         benchmark.
69343         * benchtests/Makefile: New makefile for benchmark tests.
69344         * benchtests/bench-skeleton.c: New skeleton file for benchmark
69345         programs.
69346         * benchtests/exp-inputs: New input file for EXP function.
69347         * benchtests/pow-inputs: New input file for POW function.
69348         * scripts/bench.pl: New script to generate source files for
69349         benchmark programs.
69351 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69353         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69354         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69355         computations on mantissa.  Use macros for rounding and
69356         division.
69357         (denorm): Likewise.
69358         (__dbl_mp): Likewise.
69359         (add_magnitudes): Likewise.
69360         (sub_magnitudes): Likewise.
69361         (__mul): Likewise.
69362         (__sqr): Likewise.
69363         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69364         powers of two in terms of TWOPOW macro.
69365         (mp_no): Make type of mantissa as MANTISSA_T.
69366         [!RADIXI]: Define RADIXI.
69367         [!TWO52]: Define TWO52.
69368         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69370         * manual/nptl.texi (cindex): Modify threads to pthreads.
69372 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
69374         * sysdeps/x86_64/preconfigure: Regenerated.
69376 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
69378         [BZ #14155]
69379         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69380         0x1p28 and above.
69381         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69382         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69383         0x1p28 and above.
69384         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69385         * math/libm-test.inc (j0_test): Do not allow one spurious
69386         underflow exception.
69387         (y1_test): Likewise.
69389 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69391         * manual/Makefile (chapters): Add nptl.
69392         * manual/debug.texi (Debugging Support): Add link to Threads
69393         chapter.
69394         * manual/nptl.texi: New file.
69396         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69398 2013-03-14  Petr Baudis  <pasky@ucw.cz>
69400         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69401         for non-NULL pointer before the memory validity test. Pointed
69402         out by Holger Brunck <holger.brunck@keymile.com>.
69404 2013-03-13  Andreas Schwab  <schwab@suse.de>
69406         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69407         instead of .os.
69409 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
69411         * timezone/zic.c: Update from tzcode 2013b.
69413 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
69415         * manual/install.texi (Configuring and compiling):
69416         Mention i686 and i586.
69417         * INSTALL: Regenerate.
69419 2013-03-12  Roland McGrath  <roland@hack.frob.com>
69421         * sysdeps/init_array/elf-init.c: New file.
69422         * csu/elf-init.c
69423         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69424         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69426         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69427         __gmon_start__ as global, but as static with a .preinit_array pointer.
69428         * sysdeps/init_array/gmon-start.c: New file.  Use that.
69429         * sysdeps/init_array/crti.S: New file, empty except for comments.
69430         * sysdeps/init_array/crtn.S: Likewise.
69432 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
69434         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69435         definining bcopy.
69436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69437         Remove Prefer_SSE_for_memop.
69438         * sysdeps/x86_64/multiarch/init-arch.h: Remove
69439         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69440         HAS_PREFER_SSE_FOR_MEMOP.
69441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69442         memset-x86-64.
69443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69444         Remove bzero, memset ifunc support.
69445         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69446         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69447         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69448         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69450 2013-03-11  Andreas Schwab  <schwab@suse.de>
69452         [BZ #15234]
69453         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69454         by SHLIB_COMPAT.
69455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69456         (GLIBC_2.16): Remove pthread_atfork.
69458 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
69460         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69461         (ptestcases.h): Likewise.
69463 2013-03-08  Roland McGrath  <roland@hack.frob.com>
69465         * Makeconfig ($(common-objpfx)config.status): Depend on
69466         sysdeps/*/preconfigure{,.in} too.
69468 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
69470         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69471         (__free_hook): Use void * instead of __malloc_ptr_t.
69472         (__malloc_hook): Likewise.
69473         (__realloc_hook): Likewise.
69474         (__memalign_hook): Likewise.
69475         (__after_morecore_hook): Likewise.
69476         * malloc/arena.c (save_malloc_hook): Likewise.
69477         (save_free_hook): Likewise.
69478         * malloc/hooks.c (malloc_hook_ini): Likewise.
69479         (realloc_hook_ini): Likewise.
69480         (memalign_hook_ini): Likewise.
69481         * malloc/malloc.c (malloc_hook_ini): Likewise.
69482         (realloc_hook_ini): Likewise.
69483         (memalign_hook_ini): Likewise.
69484         (__free_hook): Likewise.
69485         (__malloc_hook): Likewise.
69486         (__realloc_hook): Likewise.
69487         (__memalign_hook): Likewise.
69488         (__libc_malloc): Likewise.
69489         (__libc_free): Likewise.
69490         (__libc_realloc): Likewise.
69491         (__libc_memalign): Likewise.
69492         (__libc_valloc): Likewise.
69493         (__libc_pvalloc): Likewise.
69494         (__libc_calloc): Likewise.
69495         (__posix_memalign): Likewise.
69496         * malloc/morecore.c (__sbrk): Likewise.
69497         (__default_morecore): Likewise.
69499         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69501         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69502         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69503         __malloc_ptrdiff_t.
69505         * malloc/malloc.h (__malloc_size_t): Remove macro.
69506         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69507         __malloc_size_t.
69508         (old_memalign_hook): Likewise.
69509         (old_realloc_hook): Likewise.
69510         (struct hdr): Likewise.
69511         (flood): Likewise.
69512         (mallochook): Likewise.
69513         (memalignhook): Likewise.
69514         (reallochook): Likewise.
69515         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69516         (tr_old_realloc_hook): Likewise.
69517         (tr_old_memalign_hook): Likewise.
69518         (tr_mallochook): Likewise.
69519         (tr_reallochook): Likewise.
69520         (tr_memalignhook): Likewise.
69522 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69524         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69525         default_ldbl_pack and using as default implementation.
69526         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69527         implementation.
69528         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69529         redundant definition.
69530         (ldbl_insert_mantissa): Likewise.
69531         (ldbl_canonicalize): Likewise.
69532         (ldbl_nearbyint): Likewise.
69533         (ldbl_pack): Rename to ldbl_pack_ppc.
69534         (ldbl_unpack): Rename to ldbl_unpack_ppc.
69535         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69536         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69538 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69541         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69542         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69543         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69545         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69546         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69547         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69549 2013-03-07  Andreas Jaeger  <aj@suse.de>
69551         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69552         bits/mman-linux.h.
69554 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69556         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69557         Include mpa.h and declare __MPEXP.
69558         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69559         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69560         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69561         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69562         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69563         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69564         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69566         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69567         (__slowpow): Use long double EXPL and LOGL functions to
69568         compute POW.
69569         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69570         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69571         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69572         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69573         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69574         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69576         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69577         intermediate variable to calculate exponent.
69578         (__sqr): Likewise.
69579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69580         Likewise.
69581         (__sqr): Likewise.
69583         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69584         [!NO__SQR]: Define __sqr.
69585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69586         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69587         sysdeps/ieee754/dbl-64/mpa.c.
69588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69590         [BZ #12723]
69591         * posix/Makefile (tests): Add tst-pathconf.
69592         * posix/tst-pathconf.c: New test case.
69593         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69594         _PC_PIPE_BUF.
69595         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69597 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69599         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69601 2013-03-06  Andreas Jaeger  <aj@suse.de>
69603         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69604         definition via __MAP_ANONYMOUS.
69606         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69607         it's not part of Linux headers.
69609         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69610         (MAP_HUGE_MASK): Define.
69612         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69613         Define.
69614         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69616         Define.
69617         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69618         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69619         Define.
69620         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69621         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69622         Define.
69623         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69625         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69626         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69627         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69628         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69629         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69630         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69632         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69633         Handle f2fs.
69635         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69636         Handle f2fs and efivarfs.
69638         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69639         f2fs.
69641         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69642         (EFIVARFS_MAGIC): Add.
69643         (F2FS_LINK_MAX): Add.
69645 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69647         * stdio-common/vfprintf.c: Replace __builtin_expect with
69648         __glibc_unlikely.
69650 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
69652         [BZ #13550]
69653         * sysdeps/generic/bp-sym.h: Remove file.
69654         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69655         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69656         <bp-sym.h> and <bp-asm.h>.
69657         (__longjmp): Don't use BP_SYM.
69658         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69659         and <bp-asm.h>.
69660         (memcpy): Don't use BP_SYM.
69661         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69662         <bp-sym.h> and <bp-asm.h>.
69663         (memcpy): Don't use BP_SYM.
69664         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69665         <bp-asm.h>.
69666         (memcpy): Don't use BP_SYM.
69667         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69668         <bp-asm.h>.
69669         (memset): Don't use BP_SYM.
69670         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69671         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69672         (__bzero): Don't use BP_SYM.
69673         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69674         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69675         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69676         <bp-sym.h> and <bp-asm.h>.
69677         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69678         pointers.
69679         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69680         <bp-sym.h> and <bp-asm.h>.
69681         (memcpy): Don't use BP_SYM.
69682         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69683         <bp-sym.h> and <bp-asm.h>.
69684         (memset): Don't use BP_SYM.
69685         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69686         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69687         (__bzero): Don't use BP_SYM.
69688         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69689         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69690         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69691         <bp-sym.h> and <bp-asm.h>.
69692         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69693         pointers.
69694         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69695         <bp-sym.h> and <bp-asm.h>.
69696         (memcpy): Don't use BP_SYM.
69697         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69698         <bp-sym.h> and <bp-asm.h>.
69699         (memset): Don't use BP_SYM.
69700         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69701         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69702         (__bzero): Don't use BP_SYM.
69703         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69704         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69705         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69706         <bp-sym.h> and <bp-asm.h>.
69707         (__memchr): Don't use BP_SYM.
69708         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69709         <bp-sym.h> and <bp-asm.h>.
69710         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69711         pointers.
69712         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69713         <bp-sym.h> and <bp-asm.h>.
69714         (memcpy): Don't use BP_SYM.
69715         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69716         <bp-sym.h> and <bp-asm.h>.
69717         (__mempcpy): Don't use BP_SYM.
69718         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69719         <bp-sym.h> and <bp-asm.h>.
69720         (__memrchr): Don't use BP_SYM.
69721         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69722         <bp-sym.h> and <bp-asm.h>.
69723         (memset): Don't use BP_SYM.
69724         (__bzero): Likewise.
69725         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69726         <bp-sym.h> and <bp-asm.h>.
69727         (__rawmemchr): Don't use BP_SYM.
69728         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69729         <bp-sym.h> and <bp-asm.h>.
69730         (__STRCMP): Don't use BP_SYM.
69731         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69732         <bp-sym.h> and <bp-asm.h>.
69733         (strchr): Don't use BP_SYM.
69734         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69735         <bp-sym.h> and <bp-asm.h>.
69736         (__strchrnul): Don't use BP_SYM.
69737         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69738         <bp-sym.h> and <bp-asm.h>.
69739         (strlen): Don't use BP_SYM.
69740         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69741         <bp-sym.h> and <bp-asm.h>.
69742         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69743         pointers.
69744         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69745         <bp-sym.h> and <bp-asm.h>.
69746         (__strnlen): Don't use BP_SYM.
69747         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69748         <bp-sym.h> and <bp-asm.h>.
69749         (__GI__setjmp): Don't use BP_SYM.
69750         (_setjmp): Likewise.
69751         (__sigsetjmp): Likewise.
69752         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69753         (L(start_addresses)): Don't use BP_SYM.
69754         (_start): Likewise.
69755         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69756         <bp-asm.h>.
69757         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69758         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69759         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69760         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69761         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69762         <bp-asm.h>.
69763         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69764         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
69765         about bounded pointers.
69766         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69767         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69768         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69769         <bp-asm.h>.
69770         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69771         about bounded pointers.  Remove GKM FIXME comments.
69772         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69773         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69774         <bp-asm.h>.
69775         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69776         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
69777         Remove GKM FIXME comments.
69778         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69779         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69780         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69781         <bp-asm.h>.
69782         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69783         about bounded pointers.  Remove GKM FIXME comment.
69784         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69785         and <bp-asm.h>.
69786         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69787         pointers.
69788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69789         <bp-sym.h> and <bp-asm.h>.
69790         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69792         <bp-sym.h> and <bp-asm.h>.
69793         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69794         comment.
69796 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69798         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69799         call free(NULL).
69801 2013-03-05  David S. Miller  <davem@davemloft.net>
69803         * po/es.po: Update from translation team.
69805 2013-03-05  Andreas Jaeger  <aj@suse.de>
69807         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69808         <bits/mman-linux.h>.
69809         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69810         is fine.
69811         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69812         <bits/mman-linux.h> to end of file.
69813         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69814         is fine.
69815         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69816         <bits/mman-linux.h> to end of file.
69817         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69818         is fine.
69819         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69820         <bits/mman-linux.h> to end of file.
69822         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69823         (MCL_CURRENT, MCL_FUTURE): Define here.
69825 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69827         [BZ #15232]
69828         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69829         attribute_hidden.
69830         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69832 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69834         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69835         fourth parameter needed for rt_sigprocmask syscall.
69836         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69837         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69838         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69839         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69840         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69841         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69843 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
69845         [BZ #13550]
69846         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69847         comment about bounded pointers.
69848         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69849         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69851 2013-03-04  Andreas Jaeger  <aj@suse.de>
69853         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69854         common definitions.
69856         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69857         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69858         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69859         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69860         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69861         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69863 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69865         [BZ #15055]
69866         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69867         __ieee754_sqrl instead of __sqrl.
69869 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
69871         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69872         * sysdeps/powerpc/fpu_control.h: ... here.
69873         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69874         * sysdeps/powerpc/bits/fenvinline.h: ... here.
69875         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69876         * sysdeps/powerpc/bits/mathinline.h: ... here.
69878 2013-03-01  Roland McGrath  <roland@hack.frob.com>
69880         * elf/dl-hwcaps.c (_dl_important_hwcaps):
69881         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69882         to just [NEED_DL_SYSINFO_DSO].
69883         * elf/dl-support.c: Likewise.
69884         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69885         * elf/rtld.c (dl_main): Likewise.
69886         * elf/setup-vdso.h (setup_vdso): Likewise.
69887         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69888         * sysdeps/unix/sysv/linux/dl-sysdep.c
69889         (_dl_discover_osversion): Likewise.
69891 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
69893         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69894         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69896 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
69898         * NEWS: Mention libm performance improvements and non-x86 PI
69899         futex support.
69901         * csu/libc-start.c (__pthread_initialize_minimal): Change
69902         function arguments.
69903         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69905 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
69907         [BZ #13550]
69908         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69909         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69910         <bp-sym.h> and <bp-asm.h>.
69911         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69912         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69913         and <bp-asm.h>.
69914         (memcpy): Don't use BP_SYM.
69915         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69916         <bp-asm.h>.
69917         (__mpn_add_n): Don't use BP_SYM.
69918         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69919         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69920         and <bp-asm.h>.
69921         (__mpn_addmul_1): Don't use BP_SYM.
69922         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69923         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69924         <bp-sym.h>.
69925         (_setjmp): Don't use BP_SYM.
69926         (__novmx_setjmp): Likewise.
69927         (__GI__setjmp): Likewise.
69928         (__vmx_setjmp): Likewise.
69929         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69930         <bp-sym.h>.
69931         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69932         (__bzero): Don't use BP_SYM.
69933         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69934         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69935         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69936         <bp-sym.h> and <bp-asm.h>.
69937         (memcpy): Don't use BP_SYM.
69938         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69939         <bp-sym.h> and <bp-asm.h>.
69940         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69941         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69942         <bp-sym.h> and <bp-asm.h>.
69943         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69944         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69945         <bp-asm.h>.
69946         (__mpn_lshift): Don't use BP_SYM.
69947         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69948         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69949         <bp-asm.h>.
69950         (memset): Don't use BP_SYM.
69951         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69952         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69953         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69954         <bp-asm.h>.
69955         (__mpn_mul_1): Don't use BP_SYM.
69956         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69957         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69958         <bp-sym.h> and <bp-asm.h>.
69959         (memcmp): Don't use BP_SYM.
69960         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69961         <bp-sym.h> and <bp-asm.h>.
69962         (memcpy): Don't use BP_SYM.
69963         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69964         <bp-sym.h> and <bp-asm.h>.
69965         (memset): Don't use BP_SYM.
69966         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69967         <bp-sym.h> and <bp-asm.h>.
69968         (strncmp): Don't use BP_SYM.
69969         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69970         <bp-sym.h> and <bp-asm.h>.
69971         (memcpy): Don't use BP_SYM.
69972         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69973         <bp-sym.h> and <bp-asm.h>.
69974         (memset): Don't use BP_SYM.
69975         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69976         <bp-sym.h> and <bp-asm.h>.
69977         (__memchr): Don't use BP_SYM.
69978         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69979         <bp-sym.h> and <bp-asm.h>.
69980         (memcmp): Don't use BP_SYM.
69981         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69982         <bp-sym.h> and <bp-asm.h>.
69983         (memcpy): Don't use BP_SYM.
69984         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69985         <bp-sym.h> and <bp-asm.h>.
69986         (__mempcpy): Don't use BP_SYM.
69987         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69988         <bp-sym.h> and <bp-asm.h>.
69989         (__memrchr): Don't use BP_SYM.
69990         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69991         <bp-sym.h> and <bp-asm.h>.
69992         (memset): Don't use BP_SYM.
69993         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69994         <bp-sym.h> and <bp-asm.h>.
69995         (__rawmemchr): Don't use BP_SYM.
69996         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69997         <bp-sym.h> and <bp-asm.h>.
69998         (__STRCMP): Don't use BP_SYM.
69999         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70000         <bp-sym.h> and <bp-asm.h>.
70001         (strchr): Don't use BP_SYM.
70002         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70003         <bp-sym.h> and <bp-asm.h>.
70004         (__strchrnul): Don't use BP_SYM.
70005         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70006         <bp-sym.h> and <bp-asm.h>.
70007         (strlen): Don't use BP_SYM.
70008         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70009         <bp-sym.h> and <bp-asm.h>.
70010         (strncmp): Don't use BP_SYM.
70011         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70012         <bp-sym.h> and <bp-asm.h>.
70013         (__strnlen): Don't use BP_SYM.
70014         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70015         <bp-asm.h>.
70016         (__mpn_rshift): Don't use BP_SYM.
70017         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70018         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70019         <bp-sym.h> and <bp-asm.h>.
70020         (__sigsetjmp): Don't use BP_SYM.
70021         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70022         (L(start_addresses)): Don't use BP_SYM.
70023         (_start): Likewise.
70024         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70025         <bp-asm.h>.
70026         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70027         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70028         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70029         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70030         <bp-asm.h>.
70031         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70032         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70033         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70034         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70035         <bp-asm.h>.
70036         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70037         comments.
70038         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70039         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70040         <bp-asm.h>.
70041         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
70042         FIXME comments.
70043         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70044         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70045         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70046         <bp-asm.h>.
70047         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70048         comment.
70049         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70050         and <bp-asm.h>.
70051         (strncmp): Don't use BP_SYM,
70052         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70053         <bp-asm.h>.
70054         (__mpn_sub_n): Don't use BP_SYM.
70055         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70056         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70057         and <bp-asm.h>.
70058         (__mpn_submul_1): Don't use BP_SYM.
70059         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70061         <bp-sym.h> and <bp-asm.h>.
70062         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70064         <bp-sym.h> and <bp-asm.h>.
70065         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70066         comment.
70068 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70070         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70071         Use ZK to minimize writes to Z.
70072         (sub_magnitudes): Simplify code a bit.
70073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70074         Use ZK to minimize writes to Z.
70075         (sub_magnitudes): Simplify code a bit.
70077 2013-02-27  Roland McGrath  <roland@hack.frob.com>
70079         * csu/gmon-start.c: Add special exception to license text.
70081 2013-02-27  Richard Henderson  <rth@redhat.com>
70083         * scripts/config.guess: Update from config.git.
70084         * scripts/config.sub: Likewise.
70086 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70088         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70090         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70092         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70094         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70096         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70098 2013-02-26  Roland McGrath  <roland@hack.frob.com>
70100         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70101         [$(build-shared = yes].
70103 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70105         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70106         (__mul): Reduce iterations for calculating mantissa.
70108         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70109         MPTWO.
70110         (__mpranred): Likewise.
70112         [BZ #15160]
70113         * malloc/memusagestat.c (main): Draw graphs for heap and stack
70114         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70116 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
70118         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70119         Define __attribute__.
70121 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70123         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70124         unused.
70125         * posix/regex_internal.h (__attribute): Remove.
70126         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70127         (re_string_context_at): Likewise.
70128         (bitset_not): Use __attribute__ and mark function as possibly
70129         unused.
70130         (bitset_merge): Likewise.
70131         (bitset_mask): Likewise.
70132         (re_string_char_size_at): Likewise.
70133         (re_string_wchar_at): Likewise.
70134         (re_string_elem_size_at): Likewise.
70136 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70138         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70139         code.
70140         (cc32): Likewise.
70142         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70143         (__acr): Likewise.
70144         (__cpy): Likewise.
70145         (norm): Likewise.
70146         (denorm): Likewise.
70147         (__dbl_mp): Likewise.
70148         (add_magnitudes): Likewise.
70149         (sub_magnitudes): Likewise.
70150         (__mul): Likewise.
70151         (__inv): Likewise.
70153         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70154         style.
70156         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70157         style.
70159         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70160         code.
70162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70163         up changes with default code.
70164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70165         Likewise.
70167 2013-02-24  Allan McRae  <allan@archlinux.org>
70169         * manual/socket.texi (The Internet Namespace): Order menu items
70170         to match that in the file.
70172         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70173         node listing of the info page menu.
70175 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
70177         [BZ #13550]
70178         * sysdeps/i386/bp-asm.h: Remove file.
70179         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70180         (PARMS): Do not use macros from bp-asm.h.
70181         (S1): Likewise.
70182         (S2): Likewise.
70183         (SIZE): Likewise.
70184         (__mpn_add_n): Do not use BP_SYM
70185         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70186         "bp-asm.h".
70187         (PARMS): Do not use macros from bp-asm.h.
70188         (S1): Likewise.
70189         (SIZE): Likewise.
70190         (__mpn_addmul_1): Do not use BP_SYM
70191         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70192         "bp-asm.h".
70193         (PARMS): Do not use macros from bp-asm.h.
70194         (SIGMSK): Likewise.
70195         (_setjmp): Likewise.  Do not use BP_SYM.
70196         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70197         "bp-asm.h".
70198         (PARMS): Do not use macros from bp-asm.h.
70199         (SIGMSK): Likewise.
70200         (setjmp): Likewise.  Do not use BP_SYM.
70201         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70202         "bp-asm.h".
70203         (PARMS): Do not use macros from bp-asm.h.
70204         (__frexp): Do not use BP_SYM.
70205         (frexp): Likewise.
70206         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70207         "bp-asm.h".
70208         (PARMS): Do not use macros from bp-asm.h.
70209         (__frexpf): Do not use BP_SYM.
70210         (frexpf): Likewise.
70211         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70212         "bp-asm.h".
70213         (PARMS): Do not use macros from bp-asm.h.
70214         (__frexpl): Do not use BP_SYM.
70215         (frexpl): Likewise.
70216         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70217         "bp-asm.h".
70218         (PARMS): Do not use macros from bp-asm.h.
70219         (__remquo): Do not use BP_SYM.
70220         (remquo): Likewise.
70221         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70222         "bp-asm.h".
70223         (PARMS): Do not use macros from bp-asm.h.
70224         (__remquof): Do not use BP_SYM.
70225         (remquof): Likewise.
70226         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70227         "bp-asm.h".
70228         (PARMS): Do not use macros from bp-asm.h.
70229         (__remquol): Do not use BP_SYM.
70230         (remquol): Likewise.
70231         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70232         "bp-asm.h".
70233         (PARMS): Do not use macros from bp-asm.h.
70234         (DEST): Likewise.
70235         (SRC): Likewise.
70236         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
70237         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70238         "bp-asm.h".
70239         (PARMS): Do not use macros from bp-asm.h.
70240         (strlen): Do not use BP_SYM.
70241         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70242         "bp-asm.h".
70243         (PARMS): Do not use macros from bp-asm.h.
70244         (S1): Likewise.
70245         (S2): Likewise.
70246         (SIZE): Likewise.
70247         (__mpn_add_n): Do not use BP_SYM.
70248         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70249         "bp-asm.h".
70250         (PARMS): Do not use macros from bp-asm.h.
70251         (S1): Likewise.
70252         (SIZE): Likewise.
70253         (__mpn_addmul_1): Do not use BP_SYM.
70254         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70255         weak_alias.
70256         (bzero): Likewise.
70257         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70258         "bp-asm.h".
70259         (PARMS): Do not use macros from bp-asm.h.
70260         (S): Likewise.
70261         (SIZE): Likewise.
70262         (__mpn_lshift): Do not use BP_SYM.
70263         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70264         "bp-asm.h".
70265         (PARMS): Do not use macros from bp-asm.h.
70266         (DEST): Likewise.
70267         (SRC): Likewise.
70268         (LEN): Likewise.
70269         (memcpy): Likewise.  Do not use BP_SYM.
70270         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70271         libc_hidden_def and weak_alias.
70272         (mempcpy): Do not use BP_SYM in weak_alias.
70273         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70274         "bp-asm.h".
70275         (PARMS): Do not use macros from bp-asm.h.
70276         (DEST): Likewise.
70277         (LEN): Likewise.
70278         [!BZERO_P] (CHR): Likewise.
70279         (memset): Likewise.  Do not use BP_SYM.
70280         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70281         "bp-asm.h".
70282         (PARMS): Do not use macros from bp-asm.h.
70283         (S1): Likewise.
70284         (SIZE): Likewise.
70285         (__mpn_mul_1): Do not use BP_SYM.
70286         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70287         "bp-asm.h".
70288         (PARMS): Do not use macros from bp-asm.h.
70289         (S): Likewise.
70290         (SIZE): Likewise.
70291         (__mpn_rshift): Do not use BP_SYM.
70292         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70293         "bp-asm.h".
70294         (PARMS): Do not use macros from bp-asm.h.
70295         (STR): Likewise.
70296         (CHR): Likewise.
70297         (strchr): Likewise.  Do not use BP_SYM.
70298         (index): Do not use BP_SYM in weak_alias.
70299         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70300         "bp-asm.h".
70301         (PARMS): Do not use macros from bp-asm.h.
70302         (DEST): Likewise.
70303         (SRC): Likewise.
70304         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
70305         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70306         "bp-asm.h".
70307         (PARMS): Do not use macros from bp-asm.h.
70308         (strlen): Do not use BP_SYM.
70309         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70310         "bp-asm.h".
70311         (PARMS): Do not use macros from bp-asm.h.
70312         (S1): Likewise.
70313         (S2): Likewise.
70314         (SIZE): Likewise.
70315         (__mpn_sub_n): Do not use BP_SYM.
70316         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70317         "bp-asm.h".
70318         (PARMS): Do not use macros from bp-asm.h.
70319         (S1): Likewise.
70320         (SIZE): Likewise.
70321         (__mpn_submul_1): Do not use BP_SYM.
70322         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70323         "bp-asm.h".
70324         (PARMS): Do not use macros from bp-asm.h.
70325         (S1): Likewise.
70326         (S2): Likewise.
70327         (SIZE): Likewise.
70328         (__mpn_add_n): Do not use BP_SYM.
70329         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70330         weak_alias.
70331         (bzero): Likewise.
70332         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70333         "bp-asm.h".
70334         (PARMS): Do not use macros from bp-asm.h.
70335         (BLK2): Likewise.
70336         (LEN): Likewise.
70337         (memcmp): Do not use BP_SYM.
70338         (bcmp): Do not use BP_SYM in weak_alias.
70339         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70340         "bp-asm.h".
70341         (PARMS): Do not use macros from bp-asm.h.
70342         (DEST): Likewise.
70343         (SRC): Likewise.
70344         (LEN): Likewise.
70345         (memcpy): Likewise.  Do not use BP_SYM.
70346         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70347         "bp-asm.h".
70348         (PARMS): Do not use macros from bp-asm.h.
70349         (DEST): Likewise.
70350         (SRC): Likewise.
70351         (LEN): Likewise.
70352         (memmove): Likewise.  Do not use BP_SYM.
70353         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70354         "bp-asm.h".
70355         (PARMS): Do not use macros from bp-asm.h.
70356         (DEST): Likewise.
70357         (SRC): Likewise.
70358         (LEN): Likewise.
70359         (__mempcpy): Likewise.  Do not use BP_SYM.
70360         (mempcpy): Do not use BP_SYM in weak_alias.
70361         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70362         "bp-asm.h".
70363         (PARMS): Do not use macros from bp-asm.h.
70364         (DEST): Likewise.
70365         (LEN): Likewise.
70366         [!BZERO_P] (CHR): Likewise.
70367         (memset): Likewise.  Do not use BP_SYM.
70368         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70369         "bp-asm.h".
70370         (PARMS): Do not use macros from bp-asm.h.
70371         (STR2): Likewise.
70372         (strcmp): Do not use BP_SYM.
70373         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70374         "bp-asm.h".
70375         (PARMS): Do not use macros from bp-asm.h.
70376         (STR): Likewise.
70377         (DELIM): Likewise.
70378         [USE_AS_STRTOK_R] (SAVE): Likewise.
70379         (FUNCTION): Likewise.  Do not use BP_SYM.
70380         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70381         aliases.
70382         (strtok_r): Likewise.
70383         (__GI___strtok_r): Likewise.
70384         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70385         (PARMS): Do not use macros from bp-asm.h.
70386         (S): Likewise.
70387         (SIZE): Likewise.
70388         (__mpn_lshift): Do not use BP_SYM.
70389         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70390         (PARMS): Do not use macros from bp-asm.h.
70391         (STR): Likewise.
70392         (CHR): Likewise.
70393         (__memchr): Do not use BP_SYM.
70394         (memchr): Do not use BP_SYM in weak_alias.
70395         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70396         (PARMS): Do not use macros from bp-asm.h.
70397         (BLK2): Likewise.
70398         (LEN): Likewise.
70399         (memcmp): Do not use BP_SYM.
70400         (bcmp): Do not use BP_SYM in weak_alias.
70401         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70402         (PARMS): Do not use macros from bp-asm.h.
70403         (S1): Likewise.
70404         (SIZE): Likewise.
70405         (__mpn_mul_1): Do not use BP_SYM.
70406         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70407         "bp-asm.h".
70408         (PARMS): Do not use macros from bp-asm.h.
70409         (STR): Likewise.
70410         (CHR): Likewise.
70411         (__rawmemchr): Do not use BP_SYM.
70412         (rawmemchr): Do not use BP_SYM in weak_alias.
70413         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70414         (PARMS): Do not use macros from bp-asm.h.
70415         (S): Likewise.
70416         (SIZE): Likewise.
70417         (__mpn_rshift): Do not use BP_SYM.
70418         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70419         (PARMS): Do not use macros from bp-asm.h.
70420         (SIGMSK): Likewise.
70421         (__sigsetjmp): Likewise.  Do not use BP_SYM.
70422         * sysdeps/i386/start.S: Do not include "bp-sym.h".
70423         (_start): Do not use BP_SYM.
70424         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70425         (PARMS): Do not use macros from bp-asm.h.
70426         (DEST): Likewise.
70427         (SRC): Likewise.
70428         (__stpcpy): Likewise.  Do not use BP_SYM.
70429         (stpcpy): Do not use BP_SYM in weak_alias.
70430         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70431         "bp-asm.h".
70432         (PARMS): Do not use macros from bp-asm.h.
70433         (DEST): Likewise.
70434         (SRC): Likewise.
70435         (LEN): Likewise.
70436         (__stpncpy): Likewise.  Do not use BP_SYM.
70437         (stpncpy): Do not use BP_SYM in weak_alias.
70438         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70439         (PARMS): Do not use macros from bp-asm.h.
70440         (STR): Likewise.
70441         (CHR): Likewise.
70442         (strchr): Likewise.  Do not use BP_SYM.
70443         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70444         "bp-asm.h".
70445         (PARMS): Do not use macros from bp-asm.h.
70446         (STR): Likewise.
70447         (CHR): Likewise.
70448         (__strchrnul): Likewise.  Do not use BP_SYM.
70449         (strchrnul): Do not use BP_SYM in weak_alias.
70450         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70451         "bp-asm.h".
70452         (PARMS): Do not use macros from bp-asm.h.
70453         (STOP): Likewise.
70454         (strcspn): Do not use BP_SYM.
70455         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70456         "bp-asm.h".
70457         (PARMS): Do not use macros from bp-asm.h.
70458         (STR): Likewise.
70459         (STOP): Likewise.
70460         (strpbrk): Likewise.  Do not use BP_SYM.
70461         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70462         "bp-asm.h".
70463         (PARMS): Do not use macros from bp-asm.h.
70464         (STR): Likewise.
70465         (CHR): Likewise.
70466         (strrchr): Likewise.  Do not use BP_SYM.
70467         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70468         (PARMS): Do not use macros from bp-asm.h.
70469         (SKIP): Likewise.
70470         (strspn): Do not use BP_SYM.
70471         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70472         (PARMS): Do not use macros from bp-asm.h.
70473         (STR): Likewise.
70474         (DELIM): Likewise.
70475         (SAVE): Likewise.
70476         (FUNCTION): Likewise.  Do not use BP_SYM.
70477         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70478         aliases.
70479         (strtok_r): Likewise.
70480         (__GI___strtok_r): Likewise.
70481         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70482         (PARMS): Do not use macros from bp-asm.h.
70483         (S1): Likewise.
70484         (S2): Likewise.
70485         (SIZE): Likewise.
70486         (__mpn_sub_n): Do not use BP_SYM.
70487         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70488         "bp-asm.h".
70489         (PARMS): Do not use macros from bp-asm.h.
70490         (S1): Likewise.
70491         (SIZE): Likewise.
70492         (__mpn_submul_1): Do not use BP_SYM.
70493         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70494         <bp-sym.h>.
70495         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70496         and <bp-asm.h>.
70497         (PARMS): Do not use macros from bp-asm.h.
70498         (FLAGS): Likewise.
70499         (PTID): Likewise.
70500         (TLS): Likewise.
70501         (CTID): Likewise.
70502         (__clone): Do not use BP_SYM.
70503         (clone): Do not use BP_SYM in weak_alias.
70504         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70505         and <bp-asm.h>.
70506         (PARMS): Do not use macros from bp-asm.h.
70507         (LEN): Likewise.
70508         (__mmap64): Do not use BP_SYM.
70509         (mmap64): Do not use BP_SYM in weak_alias.
70510         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70511         <bp-sym.h> and <bp-asm.h>.
70512         (PARMS): Do not use macros from bp-asm.h.
70513         (__posix_fadvise64_l64): Do not use BP_SYM.
70514         * sysdeps/unix/sysv/linux/i386/semtimedop.S
70515         (PARMS): Do not use macros from bp-asm.h.
70516         (NSOPS): Likewise.
70517         (semtimedop): Do not use BP_SYM.
70518         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70519         and <bp-asm.h>.
70521 2013-02-21  Allan McRae  <allan@archlinux.org>
70523         * manual/message.texi (Charset conversion in gettext):
70524         Move @end statement to beginning of line.
70526 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70529         static.
70530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70531         Likewise.
70533         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70534         (denorm): Likewise.
70535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70536         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70538 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70540         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70541         tail-call to the resolved function if pltexit isn't needed.
70543 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70546         or Y being zero as being unlikely.
70547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70548         Likewise.
70550 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
70552         * manual/nss.texi (System Databases and Name Service Switch):
70553         Remove frobnicate @pxref.
70555 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70557         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70558         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70560 2013-02-20  Petr Machata  <pmachata@redhat.com>
70562         * elf/elf.h (R_ARM_TARGET1): New macro.
70563         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70564         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70565         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70566         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70567         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70568         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70569         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70570         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70571         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70572         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70573         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70574         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70575         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70576         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70577         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70578         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70579         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70580         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70581         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70582         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70583         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70584         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70585         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70586         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70587         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70588         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70589         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70590         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70591         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70592         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70593         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70594         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70595         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70596         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70597         (R_ARM_THM_GOT_BREL12): Likewise.
70598         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70599         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70600         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70601         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70602         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70603         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70604         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70605         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70606         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70608 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70610         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70611         __attribute_used__ to __attribute__ ((unused)).
70613 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70615         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70616         powerpc mpa.c.
70617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70618         comment formatting.
70619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70621 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70623         [BZ #13550]
70624         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70625         Remove macro.
70626         (ENTER): Remove both macro definitions.
70627         (LEAVE): Likewise.
70628         (CHECK_BOUNDS_LOW): Likewise.
70629         (CHECK_BOUNDS_HIGH): Likewise.
70630         (CHECK_BOUNDS_BOTH): Likewise.
70631         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70632         (RETURN_BOUNDED_POINTER): Likewise.
70633         (RETURN_NULL_BOUNDED_POINTER): Likewise.
70634         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70635         (POP_ERRNO_LOCATION_RETURN): Likewise.
70636         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70637         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70638         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70639         macros.
70640         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70641         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70642         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70643         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70644         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70645         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70646         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70647         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70648         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70649         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70650         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70651         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70652         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70653         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70654         removed macros.
70655         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70656         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70657         macros.
70658         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70659         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70660         * sysdeps/i386/i586/memset.S (memset): Likewise.
70661         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70662         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70663         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70664         macros.
70665         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70666         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70667         Change uses of L(2) to L(out).
70668         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70669         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70670         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70671         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70672         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70673         removed macros.
70674         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70675         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70676         macros.
70677         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70678         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70679         (RETURN): Do not use macro LEAVE.
70680         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70681         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70682         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70683         * sysdeps/i386/i686/memset.S (memset): Likewise.
70684         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70685         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70686         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70687         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70688         Likewise.
70689         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70690         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
70691         L(1_2) and L(1_3) into L(1).
70692         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70693         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70694         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70695         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70696         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70697         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70698         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70699         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70700         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70701         macros.
70702         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70703         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70704         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70705         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70706         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70707         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70708         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70709         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70710         * sysdeps/i386/strcspn.S (strcspn): Likewise.
70711         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70712         * sysdeps/i386/strrchr.S (strrchr): Likewise.
70713         * sysdeps/i386/strspn.S (strspn): Likewise.
70714         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70715         conditional code.
70716         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70717         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70718         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70719         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
70720         L(1_3) into L(1_1).
70721         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70722         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70723         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70724         macros.
70725         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70727 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
70729         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70730         macro.
70732 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70734         * math/atest-exp.c (exp_mpn): Remove ROUND.
70735         * math/atest-exp2.c (exp_mpn): Likewise.
70736         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70738         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70739         * stdlib/tst-tls-atexit-lib.c: Likewise.
70740         * stdlib/tst-tls-atexit.c: Likewise.
70742 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70744         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70745         and __attribute_alloc_size__.
70747 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70749         * include/programs/xmalloc.h: Change __attribute_alloc_size to
70750         __attribute_alloc_size__.
70751         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70752         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70754 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70756         * include/programs/xmalloc.h: New file.
70757         * catgets/gencat.c: Include it.
70758         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70759         * elf/pldd.c: Likewise.
70760         * iconv/iconv_charmap.c: Likewise.
70761         * iconv/iconvconfig.c: Likewise.
70762         * iconv/strtab.c: Likewise.
70763         * locale/programs/locale.c: Likewise.
70764         * locale/programs/localedef.h: Likewise.
70765         * locale/programs/simple-hash.c: Likewise.
70766         * nscd/nscd.h: Likewise.
70767         * nss/makedb.c: Likewise.
70768         * sysdeps/generic/ldconfig.h: Likewise.
70770 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70772         * Versions.def: Add GLIBC_2.18.
70773         * include/link.h (struct link_map): New member l_tls_dtor_count.
70774         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70775         (__call_tls_dtors): Likewise.
70776         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70777         __cxa_thread_atexit_impl.
70778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70779         Likewise.
70780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70781         Likewise.
70782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70783         Likewise.
70784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70785         Likewise.
70786         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70788         Likewise.
70789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70790         Likewise.
70791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70793         Likewise.
70794         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70795         (tests): Add test case tst-tls-atexit.
70796         (modules-names): Add shared library for tst-tls-atexit.
70797         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70798         (GLIBC_PRIVATE): Add __call_tls_dtors.
70799         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70800         for libstdc++.
70801         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70802         * stdlib/tst-tls-atexit.c: New test case.
70803         * stdlib/tst-tls-atexit-lib.c: New test case.
70805         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70807         * elf/Versions (ld): Add _dl_find_dso_for_object.
70808         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70809         * elf/dl-open.c (_dl_find_dso_for_object): New function.
70810         (dl_open_worker): Use _dl_find_dso_for_object.
70811         * elf/dl-sym.c (do_sym): Likewise.
70812         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70814 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70816         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70817         Syntactic changes only.
70818         (_dl_runtime_profile): Do a tail-call to the resolved function.
70820 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
70822         [BZ #13550]
70823         * sysdeps/x86_64/bp-asm.h: Remove file.
70824         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70825         <bp-sym.h> and <bp-asm.h>.
70826         (__clone): Do not use BP_SYM.
70827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70828         <bp-sym.h> and <bp-asm.h>.
70829         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70830         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70831         "bp-asm.h".
70832         (_setjmp): Do not use BP_SYM.
70833         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70834         "bp-asm.h".
70835         (setjmp): Do not use BP_SYM.
70836         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70837         libc_hidden_def.
70838         (mempcpy): Do not use BP_SYM in weak_alias.
70839         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70840         "bp-asm.h".
70841         (strchr): Do not use BP_SYM.
70842         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70843         "bp-asm.h".
70844         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70845         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70846         (_start): Do not use BP_SYM.
70847         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70848         "bp-asm.h".
70849         (strcat): Do not use BP_SYM.
70850         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70851         "bp-asm.h".
70852         (STRCMP): Do not use BP_SYM.
70853         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70854         "bp-asm.h".
70855         (STRCPY): Do not use BP_SYM.
70856         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70857         "bp-asm.h".
70858         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70859         "bp-asm.h".
70860         (FUNCTION): Do not use BP_SYM.
70861         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70862         weak_alias.
70863         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70865 2013-02-17  Andreas Jaeger  <aj@suse.de>
70867         * time/Versions: Sort entries.
70868         * string/Versions: Likewise.
70869         * resolv/Versions: Likewise.
70870         * posix/Versions: Likewise.
70871         * iconv/Versions: Likewise.
70872         * elf/Versions: Likewise.
70873         * wcsmbs/Versions: Likewise.
70875 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
70877         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70878         loop termination condition.
70880         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70881         variable to calculate EZ.
70882         (__sqr): Likewise.
70884         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70885         the lower precision input.
70887 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
70889         [BZ #13550]
70890         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70891         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70892         (run-via-rtld-prefix): Do not handle %-bp tests.
70893         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70894         (all-object-suffixes): Remove .ob.
70895         (bppfx): Remove variable.
70896         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70897         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70898         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70899         [$(build-bounded) = yes] (libtype.ob): Likewise.
70900         * Makerules (elide-routines.ob): Remove variable.
70901         (do-tests-clean): Do not handle *-bp.out.
70902         (common-mostlyclean): Do not handle *-bp and *-bp.out.
70903         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70904         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70905         (tests): Do not include $(tests-bp.out).
70906         (xtests): Do not include $(xtests-bp.out).
70907         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70908         [$(build-bounded) = yes] ($(addprefix
70909         $(objpfx),$(binaries-bounded))): Remove rule.
70910         ($(objpfx)%-bp.out): Remove rule.
70911         * config.make.in (build-bounded): Remove variable.
70912         * crypt/Makefile [$(build-bounded) = yes]
70913         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70914         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70915         append to variable.
70916         [$(build-bounded) = yes] (install-lib): Likewise.
70917         [$(build-bounded) = yes] (generated): Likewise.
70918         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70919         Remove rule.
70920         * intl/Makefile [$(build-bounded) = yes]
70921         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70922         * math/Makefile [$(build-bounded) = yes]
70923         ($(tests:%=$(objpfx)%-bp): Likewise.
70924         * misc/Makefile [$(build-bounded) = yes]
70925         ($(objpfx)tst-tsearch-bp): Likewise.
70926         * nptl/Makeconfig (bounded-thread-library): Remove variable.
70927         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70928         Remove dependency.
70929         * string/Makefile (o-objects.ob): Remove variable.
70930         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70931         (CFLAGS-.ob): Remove variable.
70932         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70933         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70934         both definitions of variable.
70935         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70936         (ASFLAGS-.ob): Remove variable.
70938 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
70940         [BZ #13550]
70941         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70942         Remove __BOUNDED_POINTERS__ from condition.
70943         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70944         * string/bits/string2.h [!__NO_STRING_INLINES &&
70945         !__BOUNDED_POINTERS__]: Likewise.
70946         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70947         Likewise.
70948         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70949         Remove conditional code.
70950         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70951         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70952         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70953         condition.
70955         [BZ #13550]
70956         * csu/libc-start.c: Do not include <bp-sym.h>.
70957         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70958         * elf/dl-open.c: Do not include <bp-sym.h>.
70959         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70960         * math/fegetenv.c: Do not include <bp-sym.h>.
70961         (fegetenv): Do not use BP_SYM in versioned symbols.
70962         * nptl/sysdeps/pthread/bits/libc-lockP.h
70963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70964         <bp-sym.h>.
70965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70966         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70968         (__pthread_mutex_destroy): Likewise.
70969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70970         (__pthread_mutex_lock): Likewise.
70971         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70972         (__pthread_mutex_trylock): Likewise.
70973         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70974         (__pthread_mutex_unlock): Likewise.
70975         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70976         (__pthread_mutexattr_init): Likewise.
70977         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70978         (__pthread_mutexattr_destroy): Likewise.
70979         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70980         (__pthread_mutexattr_settype): Likewise.
70981         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70982         (__pthread_rwlock_init): Likewise.
70983         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70984         (__pthread_rwlock_destroy): Likewise.
70985         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70986         (__pthread_rwlock_rdlock): Likewise.
70987         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70988         (__pthread_rwlock_tryrdlock): Likewise.
70989         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70990         (__pthread_rwlock_wrlock): Likewise.
70991         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70992         (__pthread_rwlock_trywrlock): Likewise.
70993         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70994         (__pthread_rwlock_unlock): Likewise.
70995         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70996         (__pthread_key_create): Likewise.
70997         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70998         (__pthread_setspecific): Likewise.
70999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71000         (__pthread_getspecific): Likewise.
71001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71002         Likewise.
71003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71004         (_pthread_cleanup_push_defer): Likewise.
71005         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71006         (_pthread_cleanup_pop_restore): Likewise.
71007         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71008         (pthread_setcancelstate): Likewise.
71009         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71010         <bp-sym.h>.
71011         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71012         (memchr): Do not use BP_SYM in weak_alias.
71013         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71014         (fegetenv): Do not use BP_SYM in versioned symbols.
71015         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71016         (fesetenv): Do not use BP_SYM in versioned symbols.
71017         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71018         (feupdateenv): Do not use BP_SYM in versioned symbols.
71019         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71020         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71021         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71022         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71023         (open64): Do not use BP_SYM in weak_alias.
71024         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71025         (fegetenv): Do not use BP_SYM in versioned symbols.
71026         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71027         (fesetenv): Do not use BP_SYM in versioned symbols.
71028         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71029         (feupdateenv): Do not use BP_SYM in versioned symbols.
71030         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71031         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71032         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71033         (feraiseexcept): Do not use BP_SYM in versioned symbols.
71034         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71035         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71036         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71037         <bp-sym.h>.
71038         (__libc_start_main): Do not use BP_SYM.
71040 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71043         redundant return line.
71044         (norm): Likewise.
71045         (denorm): Likewise.
71046         (dbl_mp): Likewise.
71047         (sub_magnitudes): Likewise.
71048         (__add): Likewise.
71049         (__sub): Likewise.
71050         (__mul): Likewise.
71051         (__inv): Likewise.
71052         (__dvd): Likewise.
71053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71054         (norm): Likewise.
71055         (denorm): Likewise.
71056         (dbl_mp): Likewise.
71057         (sub_magnitudes): Likewise.
71058         (__add): Likewise.
71059         (__sub): Likewise.
71060         (__mul): Likewise.
71061         (__inv): Likewise.
71062         (__dvd): Likewise.
71064         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71065         instead of __mul.
71066         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71067         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71068         (cc32): Likewise.
71070         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71071         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71072         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71073         of __mul for squares.
71074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71075         function
71076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71077         Likewise.
71078         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71079         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71081 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
71083         [BZ #13550]
71084         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71085         code.
71086         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71087         prototype or function definition.  Rename ubp_* variables and
71088         parameters.  Remove argv definitions conditional on
71089         [__BOUNDED_POINTERS__].
71090         * debug/backtrace.c (__backtrace): Do not use __unbounded.
71091         * elf/dl-runtime.c (_dl_fixup): Likewise.
71092         * include/set-hooks.h (RUN_HOOK): Likewise.
71093         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71094         definition.
71095         * string/strcpy.c (strcpy): Do not use __unbounded.
71096         * sysdeps/generic/frame.h (struct layout): Likewise.
71097         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71098         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71099         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71100         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71101         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71102         (__backtrace): Likewise.
71103         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71104         use __ptrvalue.
71105         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71106         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71107         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71108         Likewise.
71109         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71110         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71111         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71112         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71113         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71114         Do not use __unbounded.
71115         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71116         Rename __unboundedrlimits parameter to rlimits in prototype.
71117         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71118         Do not use __unbounded.
71119         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71120         not use __ptrvalue.
71121         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71122         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71123         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71124         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71125         __ptrvalue or __unbounded.
71126         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71127         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71128         use __unbounded.
71129         (__new_msgctl): Do not use __ptrvalue.
71130         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71131         __unbounded.
71132         (__libc_msgrcv): Do not use __ptrvalue.
71133         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71134         startup_info): Do not use __unbounded.
71135         (__libc_start_main): Likewise.  Rename ubp_* variables and
71136         parameters.  Remove argv definitions conditional on
71137         [__BOUNDED_POINTERS__].
71138         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71139         __ptrvalue.
71140         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71141         use __unbounded.
71142         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71143         or __ptrvalue.
71144         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71145         use __unbounded.
71146         (__new_shmctl): Do not use __ptrvalue.
71147         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71148         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71149         Likewise.
71150         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71151         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71152         (__libc_sigaction): Likewise.
71153         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71154         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71155         Likewise.
71156         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71158 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
71160         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71162         * string/mempcpy.c: Implement by calling memcpy.
71164 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
71166         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71169         evaluation.
71171         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71172         values in the mantissa.
71174         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71175         minimize writes to Z.
71176         (sub_magnitudes): Simplify code a bit.
71178 2013-02-12  Roland McGrath  <roland@hack.frob.com>
71180         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71181         from the message.  The linker prefixes all warnings with that already.
71183 2013-02-12  Andreas Schwab  <schwab@suse.de>
71185         [BZ #15078]
71186         * posix/regexec.c (extend_buffers): Add parameter min_len.
71187         (check_matching): Pass minimum needed length.
71188         (clean_state_log_if_needed): Likewise.
71189         (get_subexp): Likewise.
71190         * posix/Makefile (tests): Add bug-regex34.
71191         (bug-regex34-ENV): Define.
71192         * posix/bug-regex34.c: New file.
71194         [BZ #11561]
71195         * posix/regcomp.c (parse_bracket_exp): When looking up collating
71196         elements compare against the byte sequence of it, not its name.
71197         * posix/Makefile (tests): Add bug-regex35.
71198         (bug-regex35-ENV): Define.
71199         * posix/bug-regex35.c: New file.
71201 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71203         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
71204         comment.
71205         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71206         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71207         (CHECK_EOL): Add undef.
71209 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
71211         * bits/stdlib-bsearch.h: New file.
71212         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71213         * stdlib/stdlib.h: Likewise.
71215 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71217         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71218         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71219         declaration.
71220         * manual/search.texi (Array Search Function): Add missing const in
71221         lfind prototype.
71222         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71223         declaration to use rlim_t.
71224         (Basic Scheduling Functions): Remove erroneous const from
71225         sched_getparam prototype.  Remove erroneous * from
71226         sched_get_priority_max and sched_get_priority_min prototypes.
71227         (Resource Usage): Fix summary @comment on vtimes to refer to
71228         sys/vtimes.h rather than vtimes.h.
71229         Add missing *s in vtimes prototype.
71230         (Limits on Resources): Fix ulimit prototype to return long int.
71231         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71232         prototypes to use long int rather than double.
71233         (BSD Random): Fix initstate and setstate to use char *, not void *.
71234         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71235         prototype to make second argument 'struct aiocb64 *const[]'.
71236         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71237         (Status of AIO Operations): Remove erroneous const in aio_return and
71238         aio_return64 prototypes.
71239         (Synchronizing I/O): Fix sync prototype to return void.
71240         * manual/startup.texi (Suboptions): Remove an erroneous const in
71241         getsubopt prototype.
71242         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71243         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71244         use size_t rather than int.
71245         (Scanning All Users): Likewise for getpwent_r.
71246         (Setting Groups): Add missing const to setgroups prototype.
71247         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71248         * manual/socket.texi (Host Names): Fix gethostbyaddr and
71249         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71250         'const void *' rather than 'const char *'.
71251         (Host Address Functions): Likewise for inet_ntop.
71252         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71253         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71254         ssize_t for return value.
71255         (Sending Data): Likewise for send, sendto, sendmsg.
71256         (Socket Option Functions): Add a missing const in setsockopt prototype.
71257         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71258         use wchar_t for the argument.
71259         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71260         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71261         take no arguments.
71262         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71263         double/float/long double for second argument.
71264         Fix return types of significand, significandf, significandl.
71265         * manual/filesys.texi (Setting Permissions): Use mode_t for second
71266         argument in fchmod prototype.
71267         (File Owner): Use uid_t and gid_t in fchown prototype.
71268         (File Times): Add const to utimes, futimes, and lutimes prototypes.
71269         (Making Special Files): Use mode_t and dev_t in mknod prototype.
71270         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71271         use 'const struct dirent **' as argument types to CMP function pointer
71272         argument.
71273         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71274         (File Times): Fix summary magic @comment for struct utimbuf and utime
71275         to refer to utime.h, not time.h.
71276         * manual/string.texi (Argz Functions): Add missing const in
71277         argz_extract and argz_next prototypes.
71278         (Finding Tokens in a String): Likewise for basename.
71279         (String/Array Comparison): Fix typo in wcscasecmp prototype.
71280         (Copying and Concatenation): Fix typo in wmemmove prototype.
71281         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71282         (Signal Stack): Remove erroneous const in sigstack prototype.
71283         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71284         prototype.
71285         (Simple Calendar Time): Likewise for stime.
71286         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71287         prototype.
71288         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71289         say sys/sysctl.h instead.
71290         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71291         and vsyslog prototypes.
71293 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71295         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71296         Remove.
71298 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71300         * misc/sys/mman.h: Fix typo in mremap comment.
71302 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71304         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71305         the '\0' terminator.
71307 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71309         [BZ #13550]
71310         * debug/segfault.c: Don't include <bp-checks.h>.
71311         * sysdeps/generic/bp-checks.h: Remove file.
71312         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71313         (__GETDENTS): Don't use CHECK_N.
71314         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71315         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71316         (__getgroups): Don't use CHECK_N.
71317         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71318         (setgroups): Don't use CHECK_N.
71319         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71320         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71321         (__libc_msgrcv): Don't use CHECK_N.
71322         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71323         (__libc_msgsnd): Don't use CHECK_N.
71324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71325         <bp-checks.h>.
71326         (__libc_pread): Don't use CHECK_N.
71327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71328         include <bp-checks.h>.
71329         (__libc_pread64): Don't use CHECK_N.
71330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71331         include <bp-checks.h>.
71332         (__libc_pwrite): Don't use CHECK_N.
71333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71334         include <bp-checks.h>.
71335         (__libc_pwrite64): Don't use CHECK_N.
71336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71337         <bp-checks.h>.
71338         (__libc_pread): Don't use CHECK_N.
71339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71340         include <bp-checks.h>.
71341         (__libc_pread64): Don't use CHECK_N.
71342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71343         include <bp-checks.h>.
71344         (__libc_pwrite): Don't use CHECK_N.
71345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71346         include <bp-checks.h>.
71347         (__libc_pwrite64): Don't use CHECK_N.
71348         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71349         (do_pread): Don't use CHECK_N.
71350         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71351         (do_pread64): Don't use CHECK_N.
71352         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71353         (do_pwrite): Don't use CHECK_N.
71354         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71355         (do_pwrite64): Don't use CHECK_N.
71356         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71357         (__libc_readv): Don't use CHECK_N.
71358         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71359         (semop): Don't use CHECK_N.
71360         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71361         <bp-checks.h>.
71362         (semtimedop): Don't use CHECK_N.
71363         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71364         (__libc_pread): Don't use CHECK_N.
71365         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71366         <bp-checks.h>.
71367         (__libc_pread64): Don't use CHECK_N.
71368         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71369         <bp-checks.h>.
71370         (__libc_pwrite): Don't use CHECK_N.
71371         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71372         <bp-checks.h>.
71373         (__libc_pwrite64): Don't use CHECK_N.
71374         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71375         <bp-checks.h>.
71376         (__libc_msgrcv): Don't use CHECK_N.
71377         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71378         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
71379         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71380         (__libc_writev): Don't use CHECK_N.
71382 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71384         * string/strcpy.c: Removed unused variable.
71386         * Makeconfig (+sysdep-includes): Define with := rather than =.
71387         Use an existing include/ subdir of each sysdeps dir before it.
71389 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71391         * nscd/connection.c (register_traced_file): Comment function.
71392         [HAVE_INOTIFY] (union __inev): Define.
71393         [HAVE_INOTIFY] (inotify_check_files): New function.
71394         [HAVE_INOTIFY] (clear_db_cache): Likewise.
71395         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71396         clear_db_cache.
71397         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71399 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71401         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71402         loaded if not already and that a failure is permanent.
71404 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71406         [BZ #15006]
71407         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71408         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71410 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71412         [BZ #13550]
71413         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71414         (CHECK_1_NULL_OK): Likewise.
71415         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71416         (__fxstat): Do not use CHECK_1.
71417         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71418         <bp-checks.h>.
71419         (___fxstat64): Do not use CHECK_1.
71420         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71421         <bp-checks.h>.
71422         (__fxstatat): Do not use CHECK_1.
71423         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71424         <bp-checks.h>.
71425         (__fxstatat64): Do not use CHECK_1.
71426         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71427         <bp-checks.h>.
71428         (__fxstat): Do not use CHECK_1.
71429         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71430         <bp-checks.h>.
71431         (__fxstatat): Do not use CHECK_1.
71432         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71433         <bp-checks.h>.
71434         (__getresgid): Do not use CHECK_1.
71435         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71436         <bp-checks.h>.
71437         (__getresuid): Do not use CHECK_1.
71438         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71439         <bp-checks.h>.
71440         (__lxstat): Do not use CHECK_1.
71441         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71442         <bp-checks.h>.
71443         (__old_msgctl): Do not use CHECK_1.
71444         (__new_msgctl): Likewise.
71445         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71446         <bp-checks.h>.
71447         (__new_setrlimit): Do not use CHECK_1.
71448         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71449         <bp-checks.h>.
71450         (__old_shmctl): Do not use CHECK_1.
71451         (__new_shmctl): Likewise.
71452         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71453         <bp-checks.h>.
71454         (__xstat): Do not use CHECK_1.
71455         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71456         (__lxstat): Do not use CHECK_1.
71457         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71458         <bp-checks.h>.
71459         (___lxstat64): Do not use CHECK_1.
71460         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71461         (__old_msgctl): Do not use CHECK_1.
71462         (__new_msgctl): Likewise.
71463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71464         <bp-checks.h>.
71465         (__gettimeofday): Do not use CHECK_1.
71466         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71467         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71468         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71469         <bp-checks.h>.
71470         (__gettimeofday): Do not use CHECK_1.
71471         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71472         (__old_shmctl): Do not use CHECK_1_NULL_OK.
71473         (__new_shmctl): Do not use CHECK_1.
71474         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71475         <bp-checks.h>.
71476         (do_sigtimedwait): Do not use CHECK_1.
71477         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71478         <bp-checks.h>.
71479         (do_sigwaitinfo): Do not use CHECK_1.
71480         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71481         <bp-checks.h>.
71482         (msgctl): Do not use CHECK_1.
71483         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71484         <bp-checks.h>.
71485         (shmctl): Do not use CHECK_1.
71486         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71487         (ustat): Do not use CHECK_1.
71488         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71489         <bp-checks.h>.
71490         (__fxstat): Do not use CHECK_1.
71491         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71492         <bp-checks.h>.
71493         (__fxstatat): Do not use CHECK_1.
71494         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71495         <bp-checks.h>.
71496         (__lxstat): Do not use CHECK_1.
71497         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71498         <bp-checks.h>.
71499         (__xstat): Do not use CHECK_1.
71500         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71501         (__xstat): Do not use CHECK_1.
71502         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71503         (___xstat64): Do not use CHECK_1.
71505         [BZ #13550]
71506         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71507         definitions.
71508         (CHECK_BOUNDS_HIGH): Likewise.
71509         * string/strcpy.c: Do not include <bp-checks.h>.
71510         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71512 2013-02-07  Roland McGrath  <roland@hack.frob.com>
71514         * nscd/nscd-client.h (__nscd_drop_map_ref):
71515         Add __attribute__ ((unused)).
71516         * nis/nss-nisplus.h (niserr2nss): Likewise.
71518         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71519         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71521         * csu/libc-tls.c (init_static_tls, init_slotinfo):
71522         Remove inline keyword.
71523         * include/rounding-mode.h (round_away): Likewise.
71524         * libio/wfileops.c (adjust_wide_data): Likewise.
71525         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71526         (__m128i_strloadu_tolower): Likewise.
71527         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71528         (__m128i_strloadu_tolower): Likewise.
71529         * time/mktime.c (ydhms_diff): Likewise.
71530         * locale/elem-hash.h (elem_hash): Likewise.
71531         * locale/setlocale.c (setdata): Likewise.
71532         * posix/regex_internal.h (re_string_char_size_at): Likewise.
71533         (re_string_wchar_at): Likewise.
71534         (bitset_not, bitset_merge, bitset_mask): Likewise.
71535         [!(__GNUC__ > 3)] (inline): Remove macro.
71536         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71537         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71538         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71539         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71540         * string/memcmp.c (memcmp_bytes): Likewise.
71541         * locale/programs/locarchive.c (compute_hashval): Likewise.
71542         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71543         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71544         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71545         * nss/getent.c (print_rpc, print_protocols): Likewise.
71546         (print_passwd, print_group, print_aliases): Likewise.
71547         * nis/nss-nisplus.h (niserr2nss): Likewise.
71548         * nscd/connections.c (restart_p): Likewise.
71549         Change return type to bool.
71551 2013-02-05  Roland McGrath  <roland@hack.frob.com>
71553         * Makeconfig (all-Depend-files): Add existing
71554         $(sorted-subdirs:=/Depend) files.
71555         (all-subdirs): Remove nss.
71556         * sysdeps/unix/inet/Subdirs: Add it here instead.
71557         * hesiod/Depend: New file.
71559         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71560         instead of calling alloca.
71562         * io/lseek.c (__lseek): Rename to __libc_lseek.
71563         Define __lseek as an alias.
71565         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71567 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71569         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71570         else clause and remove check for non-standard endianness.
71572 2013-02-04  David S. Miller  <davem@davemloft.net>
71574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71576 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71578         [BZ #13550]
71579         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71580         (__ubp_memchr): Remove prototype.
71581         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71582         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71583         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71584         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71585         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71586         Remove alias.
71587         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71588         (__ubp_memchr): Likewise.
71589         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71590         (__ubp_memchr): Likewise.
71591         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71592         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71593         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71594         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71595         CHECK_STRING.
71596         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71597         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71598         (__getcwd): Do not use CHECK_STRING.
71599         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71600         <bp-checks.h>.
71601         (__real_chown): Do not use CHECK_STRING.
71602         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71603         <bp-checks.h>.
71604         (fchownat): Do not use CHECK_STRING.
71605         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71606         CHECK_STRING.
71607         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71608         <bp-checks.h>.
71609         (__lchown): Do not use CHECK_STRING.
71610         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71611         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71612         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71613         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71615         include <bp-checks.h>.
71616         (truncate64): Do not use CHECK_STRING.
71617         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71618         <bp-checks.h>.
71619         (__real_chown): Do not use CHECK_STRING.
71620         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71621         <bp-checks.h>.
71622         (__lchown): Do not use CHECK_STRING.
71623         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71624         <bp-checks.h>.
71625         (__chown): Do not use CHECK_STRING.
71626         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71627         <bp-checks.h>.
71628         (truncate64): Do not use CHECK_STRING.
71629         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71630         Likewise.
71631         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71632         (__xmknod): Do not use CHECK_STRING.
71633         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71634         <bp-checks.h>.
71635         (__xmknodat): Do not use CHECK_STRING.
71636         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71637         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71639 2013-02-04  Andreas Schwab  <schwab@suse.de>
71641         [BZ #14142]
71642         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71643         * include/netdb.h: Likewise for h_errno.
71644         * elf/tst-stackguard1.c: Include <tls.h>.
71646 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
71648         * elf/link.h (struct link_map): Extend the l_addr comment.
71649         * include/link.h (struct link_map): Likewise.
71651 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
71653         [BZ #13550]
71654         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71655         (BOUNDED_1): Remove macro.
71656         * debug/backtrace.c: Don't include <bp-checks.h>.
71657         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71658         (__backtrace): Likewise.
71659         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71660         <bp-checks.h>.
71661         (__backtrace): Don't use BOUNDED_1.
71662         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71663         <bp-checks.h>.
71664         (__backtrace): Don't use BOUNDED_1.
71665         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71666         (__backtrace): Don't use BOUNDED_1.
71667         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71668         (shmat): Don't use BOUNDED_N.
71670 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
71672         [BZ #13550]
71673         * sysdeps/generic/bp-start.h: Remove file.
71674         * csu/libc-start.c: Don't include <bp-start.h>.
71675         (LIBC_START_MAIN): Set up __environ directly instead of using
71676         INIT_ARGV_and_ENVIRON.
71677         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71678         <bp-start.h>.
71680         [BZ #13550]
71681         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71682         definitions.
71683         (CHECK_FCNTL): Likewise.
71684         (CHECK_N_PAGES): Likewise.
71686         [BZ #13550]
71687         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71688         definitions.
71689         (CHECK_SIGSET_NULL_OK): Likewise.
71690         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71691         <bp-checks.h>.
71692         (sigpending): Don't use CHECK_SIGSET.
71693         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71694         <bp-checks.h>.
71695         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71696         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71697         <bp-checks.h>.
71698         (do_sigsuspend): Don't use CHECK_SIGSET.
71699         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71700         use CHECK_SIGSET.
71701         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71702         (do_sigwait): Don't use CHECK_SIGSET.
71703         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71704         use CHECK_SIGSET.
71705         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71706         include <bp-checks.h>.
71707         (sigpending): Don't use CHECK_SIGSET.
71708         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71709         include <bp-checks.h>.
71710         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71711         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71712         <bp-checks.h>.
71713         (sigpending): Don't use CHECK_SIGSET.
71714         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71715         <bp-checks.h>.
71716         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71718         [BZ #13550]
71719         * sysdeps/generic/bp-semctl.h: Remove file.
71720         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71721         <bp-checks.h> and <bp-semctl.h>.
71722         (__old_semctl): Don't use CHECK_SEMCTL.
71723         (__new_semctl): Likewise.
71724         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71725         and <bp-semctl.h>.
71726         (__old_semctl): Don't use CHECK_SEMCTL.
71727         (__new_semctl): Likewise.
71728         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71729         <bp-checks.h> and <bp-semctl.h>.
71730         (__old_semctl): Don't use CHECK_SEMCTL.
71731         (__new_semctl): Likewise.
71732         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71733         <bp-checks.h> and <bp-semctl.h>.
71734         (semctl): Don't use CHECK_SEMCTL.
71736         [BZ #13550]
71737         * Makerules (elide-bp-thunks): Remove variable.
71738         (elide-routines.oS): Don't use $(elide-bp-thunks).
71739         (elide-routines.os): Likewise.
71740         (elide-routines.o): Likewise.
71741         (elide-routines.op): Likewise.
71742         (elide-routines.og): Likewise.
71743         (objects): Don't use $(bp-thunks).
71744         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71745         include.
71746         (common-generated): Do not add s-proto-bp.d.
71747         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71748         (int): Likewise.
71749         (typ): Likewise.
71750         Do not generate makefile rules for bounded-pointer thunks.
71751         * sysdeps/generic/bp-thunks.h: Remove file.
71752         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71753         * sysdeps/unix/s-proto-bp.S: Likewise.
71755         [BZ #15062]
71756         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71757         parts of result separately when argument is not close to line from
71758         -i to i and one part of argument is small.
71759         * math/k_casinhf.c (__kernel_casinhf): Likewise.
71760         * math/k_casinhl.c (__kernel_casinhl): Likewise.
71761         * math/libm-test.inc (cacos_test): Add more tests.
71762         (casin_test): Likewise.
71763         (casinh_test): Likewise.
71764         * sysdeps/i386/fpu/libm-test-ulps: Update.
71765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71767 2013-01-31  David S. Miller  <davem@davemloft.net>
71769         * po/de.po: Update from translation team.
71771 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
71773         * time/tzfile.c: Include stdint.h for SIZE_MAX.
71775 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
71777         * configure.in (_AC_PROG_CC_C89): New definition.
71778         * configure: Regenerate.
71780         * configure.in (AC_PROG_CPP): New definition.
71781         * configure: Regenerate.
71783 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71785         * debug/tst-backtrace.h: New file.
71786         * debug/tst-backtrace2.c: Include tst-backtrace.h.
71787         (ret): Remove variable.
71788         (x): Likewise.
71789         (FAIL): Remove macro.
71790         (NO_INLINE): Likewise.
71791         (fn1): Use match function instead of strstr.
71792         * debug/tst-backtrace3.c: Include tst-backtrace.h.
71793         (ret): Remove variable.
71794         (x): Likewise.
71795         (FAIL): Remove macro.
71796         (NO_INLINE): Likewise.
71797         (fn): Use match function instead of strstr.
71798         * debug/tst-backtrace4.c: Include tst-backtrace.h.
71799         (ret): Remove variable.
71800         (x): Likewise.
71801         (FAIL): Remove macro.
71802         (NO_INLINE): Likewise.
71803         (handle_signal): Use match function instead of strstr.
71804         * debug/tst-backtrace5.c: Include tst-backtrace.h.
71805         (ret): Remove variable.
71806         (x): Likewise.
71807         (FAIL): Remove macro.
71808         (NO_INLINE): Likewise.
71809         (handle_signal): Use match function instead of strstr.
71811 2013-01-23  Roland McGrath  <roland@hack.frob.com>
71813         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71815 2013-01-23  David S. Miller  <davem@davemloft.net>
71817         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71818         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71819         argument of CAS if possible.
71820         * sysdeps/sparc/sparc64/bits/atomic.h
71821         (__arch_compare_and_exchange_val_32_acq): Likewise.
71822         (__arch_compare_and_exchange_val_64_acq): Likewise.
71824 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
71826         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71827         * sysdeps/posix/ulimit.c: ... this.
71828         Include <limits.h>.
71829         * sysdeps/unix/bsd/ulimit.c: Remove file.
71831 2013-01-23  Adam Conrad  <adconrad@0c3.net>
71833         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71834         (LDFLAGS-tst-array5): Likewise.
71836 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71838         [BZ #15036]
71839         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71840         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71841         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71842         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71844 2013-01-21  David S. Miller  <davem@davemloft.net>
71846         * sysdeps/sparc/backtrace.c: New file.
71847         * sysdeps/sparc/sparc32/backtrace.h: New file.
71848         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71849         * sysdeps/sparc/sparc64/backtrace.h: New file.
71850         * sysdeps/sparc/sparc64/backtrace.c: Delete.
71851         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71852         -funwind-tables.
71854 2013-01-21  Andreas Schwab  <schwab@suse.de>
71856         [BZ #15020]
71857         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71858         closed its stdout.
71860 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
71862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71863         "mpa2.h".
71864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71866 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
71867             Mark Mitchell  <mark@codesourcery.com>
71868             Tom de Vries  <tom@codesourcery.com>
71869             Paul Pluzhnikov  <ppluzhnikov@google.com>
71871         * debug/tst-backtrace2.c: New file.
71872         * debug/tst-backtrace3.c: Likewise.
71873         * debug/tst-backtrace4.c: Likewise.
71874         * debug/tst-backtrace5.c: Likewise.
71875         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71876         (CFLAGS-tst-backtrace3.c): Likewise.
71877         (CFLAGS-tst-backtrace4.c): Likewise.
71878         (CFLAGS-tst-backtrace5.c): Likewise.
71879         (LDFLAGS-tst-backtrace2): Likewise.
71880         (LDFLAGS-tst-backtrace3): Likewise.
71881         (LDFLAGS-tst-backtrace4): Likewise.
71882         (LDFLAGS-tst-backtrace5): Likewise.
71883         (tests): Add new tests tst-backtrace2, tst-backtrace3,
71884         tst-backtrace4 and tst-backtrace5.
71886 2013-01-18  Anton Blanchard  <anton@samba.org>
71887             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71889         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71890         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71891         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71892         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71894         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71895         "+r" and remove output regs list as redundant.  Add explicit inline
71896         asm to specify register of return val to work around compiler codegen
71897         bug.  Remove (int) cast on return value.  Add return type parameter to
71898         use in macro so that this macro does not truncate return value for
71899         64-bit values.
71900         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71901         pass to INTERNAL_VSYSCALL_NCS.
71902         (INLINE_VSYSCALL): Add 'long int' as return type to
71903         INTERNAL_VSYSCALL_NCS macro invocation.
71904         (INTERNAL_VSYSCALL): Add 'long int' as return type to
71905         INTERNAL_VSYSCALL_NCS macro invocation.
71906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71908 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71910         [BZ #14496]
71911         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71912         Fix application of SIMD FP exception mask.
71914         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71915         mp_no from a power of two.
71916         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71917         __mpexp_twomm1.  Use __pow_mp.
71919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71920         multiplication.
71922 2013-01-17  David S. Miller  <davem@davemloft.net>
71924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71926 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
71928         [BZ #15023]
71929         * include/complex.h: Condition contents on [!_COMPLEX_H].
71930         (__kernel_casinhf): New prototype.
71931         (__kernel_casinh): Likewise.
71932         (__kernel_casinhl): Likewise.
71933         * math/Makefile (libm_calls): Add k_casinh.
71934         * math/k_casinh.c: New file.
71935         * math/k_casinhf.c: Likewise.
71936         * math/k_casinhl.c: Likewise.
71937         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71938         finite nonzero arguments.
71939         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71940         finite nonzero arguments.
71941         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71942         finite nonzero arguments.
71943         * math/s_casinh.c: Do not include <float.h>.
71944         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71945         * math/s_casinhf.c: Do not include <float.h>.
71946         (__casinhf): Move code for finite nonzero arguments to
71947         k_casinhf.c.
71948         * math/s_casinhl.c: Do not include <float.h>.
71949         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71950         redefine.
71951         (__casinhl): Move code for finite nonzero arguments to
71952         k_casinhl.c.
71953         * math/libm-test.inc (cacos_test): Add more tests.
71954         * sysdeps/i386/fpu/libm-test-ulps: Update.
71955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71957 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
71959         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71960         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71961         [!HAVE_MREMAP]: Remove [defined linux] case.
71962         * malloc/arena.c: Do not include <malloc-sysdep.h>.
71964 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
71966         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71968 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
71970         * elf/elf.h (R_386_SIZE32): New relocation.
71971         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71972         R_386_SIZE32.
71973         (elf_machine_rela): Likewise.
71974         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71975         R_X86_64_SIZE64 and R_X86_64_SIZE32.
71977 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
71979         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71980         (FP_FAST_FMA): Do not define.
71981         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71982         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71983         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71984         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71985         !_SOFT_FLOAT]: Likewise.
71986         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71987         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71988         value.
71989         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71990         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71991         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71992         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71993         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71994         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71995         file.
71997 2013-01-16  Andreas Schwab  <schwab@suse.de>
71999         [BZ #14327]
72000         * include/stdlib.h (__mktemp): Add declaration.
72001         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72002         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72004 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72006         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72007         definitions.
72008         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72009         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72010         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72011         definitions here.
72012         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72013         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72014         definitions.
72015         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72016         and ONE.
72017         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72018         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72019         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72020         definitions.
72021         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72022         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72023         definitions.
72024         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72026         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72028 2013-01-15  David S. Miller  <davem@davemloft.net>
72030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72031         trunc{,f} to libm-sysdep_routes.
72032         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72034         file.
72035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72037         file.
72038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72039         file.
72040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72042         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72043         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72044         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72045         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72046         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72047         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72050         nearbyint{,f} to libm-sysdep_routes.
72051         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72053         New file.
72054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72055         file.
72056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72057         New file.
72058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72059         file.
72060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72062         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72063         file.
72064         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72065         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72066         file.
72067         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72068         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72069         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72071         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72072         libc_feholdexcept and libc_fesetenv.
72074 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
72076         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72078 2013-01-14  David S. Miller  <davem@davemloft.net>
72080         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72081         (SPARC_ASM_VIS2_IFUNC): Likewise.
72082         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72084         use of 'siam' instruction.
72085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72086         Likewise.
72087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72088         Likewise.
72089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72090         Likewise.
72091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72092         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72094         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72096         file.
72097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72098         file.
72099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72100         file.
72101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72102         file.
72103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72108         new VIS2 routines.
72109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72112         Likewise.
72113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72118         routines to libm-sysdep_routines.
72119         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72122         fdim/fdimf to libm-sysdep_routines.
72123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72124         file.
72125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72127         file.
72128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72131         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72132         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72133         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72134         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72136 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
72138         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72139         to optimize copies.
72141         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72142         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72146         local variable MPTWO.
72147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72148         Likewise.
72150 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72152         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72153         GLOB_NOESCAPE.
72155 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72157         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72159 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72161         * manual/pattern.texi (glob_t): Document gl_flags.
72162         (glob64_t): Likewise.
72164 2013-01-11  David S. Miller  <davem@davemloft.net>
72166         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72167         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72168         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
72169         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72170         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72171         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72172         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72173         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72174         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72175         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72176         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72177         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72178         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72180         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72181         sparc V9 rather than using V8 code.
72182         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72183         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72185         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72186         Move to...
72187         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72188         Here.
72190 2013-01-11  Roland McGrath  <roland@hack.frob.com>
72192         [BZ #14941]
72193         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72194         not in the main loop.
72195         * configure: Regenerated.
72197 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
72199         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72200         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72201         to just #else.
72202         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
72203         [!__GLIBC_HAVE_LONG_LONG] case.
72204         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72205         condition to just #else.
72206         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72207         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72208         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72209         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72210         unconditional.
72211         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72212         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72213         #elif condition to just #else.
72214         * sysdeps/unix/sysv/linux/sys/sysmacros.h
72215         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72216         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72217         #elif condition to just #else.
72219 2013-01-11  Steve Ellcey  <sellcey@mips.com>
72221         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72222         (EF_MIPS_ARCH_64): Fix value.
72223         (EF_MIPS_ARCH_32R2): New.
72224         (EF_MIPS_ARCH_64R2): New.
72226 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
72228         * Makeconfig (+link-pie-before-libc): New.
72229         (+link-pie-after-libc): Likewise.
72230         (+link-pie-tests): Likewise.
72231         (+link-pie): Rewritten.
72232         (link-before-libc): Remove $(config-LDFLAGS).
72233         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72234         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72235         (config-LDFLAGS): Renamed to ...
72236         (rtld-LDFLAGS): This.
72237         (rtld-tests-LDFLAGS): New macro.
72238         (link-libc-rpath-link): Likewise.
72239         (link-libc-tests-rpath-link): Likewise.
72240         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72241         (link-libc): Prepand $(link-libc-rpath-link).
72242         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72243         (test-program-prefix): New macro.
72244         (test-via-rtld-prefix): Likewise.
72245         (test-program-cmd): Likewise.
72246         (host-test-program-cmd): Likewise.
72247         * Makefile ($(common-objpfx)testrun.sh): Replace
72248         $(run-program-prefix) with $(test-program-prefix).
72249         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72250         $(rtld-LDFLAGS).
72251         ($(common-objpfx)shlib.lds): Likewise.
72252         (build-module-helper): Likewise.
72253         ($(common-objpfx)format.lds): Likewise.
72254         * Rules (binaries-pie-tests): New.
72255         (binaries-pie-notests): Likewise.
72256         (binaries-pie): Rewritten.
72257         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72258         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72259         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72260         (make-test-out): Replace $(host-built-program-cmd) with
72261         $(host-test-program-cmd).
72262         * config.make.in (build-hardcoded-path-in-tests): New variable.
72263         * configure.in (--enable-hardcoded-path-in-tests): New configure
72264         option.
72265         (hardcoded_path_in_tests): New AC_SUBST.
72266         * configure: Regenerated.
72267         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72268         $(built-program-cmd) with $(test-program-cmd).
72269         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72270         (test_program_cmd): This.
72271         * elf/Makefile ($(objpfx)order.out): Run test with
72272         $(test-program-prefix).
72273         ($(objpfx)order2.out): Likewise.
72274         ($(objpfx)tst-initorder.out): Likewise.
72275         ($(objpfx)tst-initorder2.out): Likewise.
72276         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72277         $(test-program-cmd).
72278         ($(objpfx)tst-array1-static.out): Likewise.
72279         ($(objpfx)tst-array2.out): Likewise.
72280         ($(objpfx)tst-array3.out): Likewise.
72281         ($(objpfx)tst-array4.out): Likewise.
72282         ($(objpfx)tst-array5.out): Likewise.
72283         ($(objpfx)tst-array5-static.out): Likewise.
72284         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72285         $(test-program-cmd).
72286         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72287         $(run-program-prefix) with $(test-program-prefix).
72288         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72289         (test_program_prefix): This.
72290         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72291         $(run-program-prefix) with $(test-program-prefix).
72292         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72293         (test_program_prefix): This.
72294         * iconvdata/tst-tables.sh: Likewise.
72295         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72296         $(run-program-prefix) with $(test-program-prefix).
72297         ($(objpfx)tst-translit.out): Likewise.
72298         ($(objpfx)tst-gettext2.out): Likewise.
72299         ($(objpfx)tst-gettext4.out): Likewise.
72300         ($(objpfx)tst-gettext6.out): Likewise.
72301         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72302         (test_program_prefix): This.
72303         * intl/tst-gettext2.sh: Likewise.
72304         * intl/tst-gettext4.sh  Likewise.
72305         * intl/tst-gettext6.sh: Likewise.
72306         * intl/tst-translit.sh: Likewise.
72307         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72308         with $(test-program-cmd).
72309         * libio/Makefile ($(objpfx)test-freopen.out): Replace
72310         $(run-program-prefix) with $(test-program-prefix).
72311         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72312         (test_program_prefix): This.
72313         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72314         $(run-program-prefix) with $(test-program-prefix).
72315         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72316         (test_program_prefix): This.
72317         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72318         * posix/Makefile ($(objpfx)globtest.out): Replace
72319         $(run-via-rtld-prefix) and $(test-wrapper) with
72320         $(test-program-prefix) and $(test-via-rtld-prefix).
72321         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72322         $(test-program-prefix).
72323         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72324         $(host-test-program-cmd).
72325         (tst-spawn-ARGS): Likewise.
72326         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72327         $(test-program-prefix).
72328         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72329         (test_via_rtld_prefix): This.
72330         (test_wrapper): Renamed to ...
72331         (test_program_prefix): This.
72332         (run_program_prefix): Replaced by test_program_prefix.
72333         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72334         (test_program_prefix): This.
72335         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72336         with $(host-test-program-cmd).
72337         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72338         $(run-program-prefix) with $(test-program-prefix).
72339         ($(objpfx)tst-printf.out): Likewise.
72340         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72341         $(test-program-cmd).
72342         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72343         (test_program_prefix): This.
72344         * stdio-common/tst-unbputc.sh: Likewise.
72345         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72346         $(run-program-prefix) with $(test-program-prefix).
72347         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72348         (test_program_prefix): This.
72349         * string/Makefile ($(objpfx)tst-svc.out):  Replace
72350         $(built-program-cmd) with $(test-program-cmd).
72352 2013-01-11  Andreas Jaeger  <aj@suse.de>
72354         [BZ #15003]
72355         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72356         value. Sync with Linux 3.7.
72358 2013-01-10  David S. Miller  <davem@davemloft.net>
72360         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72361         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72362         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72364 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72366         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72367         never set.
72368         * configure: Regenerated.
72370 2013-01-10  David S. Miller  <davem@davemloft.net>
72372         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72373         sparc V9 rather than using V8 code.
72374         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72375         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72377 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72379         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72380         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72381         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72382         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72383         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72384         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72385         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72386         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72387         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72388         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72389         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72390         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72391         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72392         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72393         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72394         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72395         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72396         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72397         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72398         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72399         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72400         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72401         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72402         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72403         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72404         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72405         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72407 2013-01-10  David S. Miller  <davem@davemloft.net>
72409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72411 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72413         * posix/Makefile (tests-static): New variable.
72414         (tests): Add $(tests-static).
72415         (tst-exec-static-ARGS): New variable.
72416         (tst-spawn-static-ARGS): Likewise.
72417         * posix/tst-exec-static.c: New file.
72418         * posix/tst-spawn-static.c: Likewise.
72419         * posix/tst-exec.c: Support run directly.
72420         * posix/tst-spawn.c: Likewise.
72422 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
72424         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72425         long.
72426         * math/bits/mathcalls.h (llrint): Likewise.
72427         (llround): Likewise.
72428         * stdlib/stdlib.h (struct drand48_data): Likewise.
72429         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72430         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72431         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72432         Likewise.
72433         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72434         Likewise.
72435         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72436         (elf_greg_t): Likewise.
72437         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72438         (__jmp_buf): Likewise.
72439         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72440         definitions.
72441         (llrint): Likewise, for all definitions.
72442         (llrintl): Likewise.
72444         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72445         Remove [__GNUC__] condition.
72446         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72447         condition to just [__USE_ISOC99].
72448         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72450 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72452         [BZ #14200]
72453         * sysdeps/unix/sysv/linux/x86/bits/environments.h
72454         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72455         defined.
72456         (_POSIX_V6_ILP32_OFF32): Likewise.
72457         (_XBS5_ILP32_OFF32): Likewise.
72458         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72459         (__ILP32_OFFBIG_LDFLAGS): Likewise.
72461 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72463         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72465         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72466         doubles __mpexp_twomm1.  Adjust usage.
72467         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72468         Remove.
72470 2013-01-10  Andreas Schwab  <schwab@suse.de>
72472         [BZ #14964]
72473         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72474         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72476 2013-01-09  David S. Miller  <davem@davemloft.net>
72478         [BZ #15003]
72479         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72480         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72481         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72482         (TCP_FASTOPEN): Define.
72483         (tcp_repair_opt): New structure.
72484         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72485         enum values.
72486         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72487         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72488         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72489         (tcp_cookie_transactions): New structure.
72491 2013-01-09  Anton Blanchard  <anton@samba.org>
72493         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72494         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72495         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72496         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72498 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
72500         * include/features.h (__USE_ANSI): Remove.
72502 2013-01-09  Roland McGrath  <roland@hack.frob.com>
72504         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72506         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72508 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
72510         * sysdeps/s390/fpu/libm-test-ulps: Update.
72512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72514         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72515         (__acr): Likewise.
72516         (__cpy): Likewise.
72517         (norm): Likewise.
72518         (denorm): Likewise.
72519         (__mp_dbl): Likewise.
72520         (__dbl_mp): Likewise.
72521         (add_magnitudes): Likewise.
72522         (sub_magnitudes): Likewise.
72523         (__add): Likewise.
72524         (__sub): Likewise.
72525         (__mul): Likewise.
72526         (__inv): Likewise.
72527         (__dvd): Likewise.
72528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72529         (__acr): Likewise.
72530         (__cpy): Likewise.
72531         (norm): Likewise.
72532         (denorm): Likewise.
72533         (__mp_dbl): Likewise.
72534         (__dbl_mp): Likewise.
72535         (add_magnitudes): Likewise.
72536         (sub_magnitudes): Likewise.
72537         (__add): Likewise.
72538         (__sub): Likewise.
72539         (__mul): Likewise.
72540         (__inv): Likewise.
72541         (__dvd): Likewise.
72542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72543         (__acr): Likewise.
72544         (__cpy): Likewise.
72545         (norm): Likewise.
72546         (denorm): Likewise.
72547         (__mp_dbl): Likewise.
72548         (__dbl_mp): Likewise.
72549         (add_magnitudes): Likewise.
72550         (sub_magnitudes): Likewise.
72551         (__add): Likewise.
72552         (__sub): Likewise.
72553         (__mul): Likewise.
72554         (__inv): Likewise.
72555         (__dvd): Likewise.
72557 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72559         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72560         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72561         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72562         2 && __USE_EXTERN_INLINES]: Likewise.
72564 2013-01-08  Andreas Jaeger  <aj@suse.de>
72566         [BZ #14985]
72567         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72568         Remove.
72569         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72570         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72572 2013-01-07  Anton Blanchard  <anton@samba.org>
72574         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72575         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72576         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72577         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72578         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72579         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72580         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72581         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72583         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72584         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72585         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72586         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72587         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72588         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72589         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72590         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72591         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72592         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72593         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72594         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72595         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72596         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72597         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72598         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72599         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72600         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72601         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72602         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72603         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72604         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72606         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72607         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72608         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72609         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72610         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72611         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72612         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72613         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72614         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72615         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72616         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72618 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72620         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72621         (__MALLOC_PMT): Likewise.
72622         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72623         [__GNUC__], only on [_LIBC].
72624         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72625         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72626         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72627         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72628         forward declaration.
72629         (realloc_hook_ini): Likewise.
72630         (memalign_hook_ini): Likewise.
72631         (__libc_memalign): Do not use __MALLOC_PMT in variable
72632         declaration.
72633         (__libc_valloc): Likewise.
72634         (__libc_pvalloc): Likewise.
72635         (__libc_calloc): Likewise.
72636         (__posix_memalign): Likewise.
72638         [BZ #14996]
72639         * math/s_casinh.c: Include <float.h>.
72640         (__casinh): Do not do computation with squaring and square root
72641         for large arguments.
72642         * math/s_casinhf.c: Include <float.h>.
72643         (__casinhf): Do not do computation with squaring and square root
72644         for large arguments.
72645         * math/s_casinhl.c: Include <float.h>.
72646         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72647         (__casinhl): Do not do computation with squaring and square root
72648         for large arguments.
72649         * math/libm-test.inc (casin_test): Add more tests.
72650         (casinh_test): Likewise.
72651         * sysdeps/i386/fpu/libm-test-ulps: Update.
72652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72654 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
72656         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72657         (__x86_64_raw_data_cache_size): Likewise.
72658         (__x86_64_data_cache_size_half): Likewise.
72659         (__x86_64_raw_data_cache_size_half): Likewise.
72660         (__x86_64_shared_cache_size): Likewise.
72661         (__x86_64_raw_shared_cache_size): Likewise.
72662         (__x86_64_shared_cache_size_half): Likewise.
72663         (__x86_64_raw_shared_cache_size_half): Likewise.
72664         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72665         to ...
72666         (__x86_data_cache_size): This.
72667         (__x86_64_raw_data_cache_size): Renamed to ...
72668         (__x86_raw_data_cache_size): This.
72669         (__x86_64_data_cache_size_half): Renamed to ...
72670         (__x86_data_cache_size_half): This.
72671         (__x86_64_raw_data_cache_size_half): Renamed to ...
72672         (__x86_raw_data_cache_size_half): This.
72673         (__x86_64_shared_cache_size): Renamed to ...
72674         (__x86_shared_cache_size): This.
72675         (__x86_64_raw_shared_cache_size): Renamed to ...
72676         (__x86_raw_shared_cache_size): This.
72677         (__x86_64_shared_cache_size_half): Renamed to ...
72678         (__x86_shared_cache_size_half): This.
72679         (__x86_64_raw_shared_cache_size_half): Renamed to ...
72680         (__x86_raw_shared_cache_size_half): This.
72681         * sysdeps/x86_64/memcpy.S: Updated.
72682         * sysdeps/x86_64/memset.S: Likewise.
72683         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72684         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72685         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72687 2013-01-04  David S. Miller  <davem@davemloft.net>
72689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72691 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
72693         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72694         1 to avoid redefinition warning.
72695         (__USE_GNU): Don't define.
72696         (init_signaling_nan): Protoize.
72698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72700 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72702         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72704         (__cpymn): Likewise.
72705         (norm): Remove commented code.
72706         (denorm): Likewise.
72707         (__mp_dbl): Likewise.
72708         (__inv): Likewise.
72709         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72710         (__cpymn): Likewise.
72711         (norm): Remove commented code.
72712         (denorm): Likewise.
72713         (__mp_dbl): Likewise.
72714         (__inv): Likewise.
72716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72717         mp_no value for 1.0 and 2.0.
72718         (norm): Use RADIXI instead of radixi.d.
72719         (denorm): Likewise.
72720         (__mul): Use 0.0 instead of zero.d.
72721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72722         mp_no value for 1.0 and 2.0.
72723         (norm): Use RADIXI instead of radixi.d.
72724         (denorm): Likewise.
72725         (__mul): Use 0.0 instead of zero.d.
72727 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
72729         [BZ #14994]
72730         * math/s_casinh.c (__casinh): Reduce finite argument to first
72731         quadrant then set signs of results at the end.
72732         * math/s_casinhf.c (__casinhf): Likewise.
72733         * math/s_casinhl.c (__casinhl): Likewise.
72734         * math/libm-test.inc (casin_test): Add more tests.
72735         (casinh_test): Likewise.
72736         * sysdeps/i386/fpu/libm-test-ulps: Update.
72737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72739 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72741         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72743         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72745         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72746         declarations.
72747         (denorm): Likewise.
72748         (__mp_dbl): Likewise.
72749         (__inv): Likewise.
72751         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72752         and adjust the header comment.
72754         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72755         variable name from declaration.
72757 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
72759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72760         Initialize COMMON_CPUID_INDEX_7 element.
72761         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72762         (CPUID_RTM): Likewise.
72763         (HAS_RTM): Likewise.
72764         (COMMON_CPUID_INDEX_7): New enum.
72766 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
72768         [BZ #14981]
72769         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72770         size is zero, record memory as freed.
72772 2013-01-03  Andreas Jaeger  <aj@suse.de>
72774         * po/ia.po: Add new Interlingua translation.
72776 2012-01-03  Allan McRae  <allan@archlinux.org>
72778         * locale/programs/localedef.c: Fix description of '--posix' flag.
72780 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
72782         * NEWS: Update dates in second copyright notice.
72783         * README: Update copyright dates in example.
72784         * manual/libc.texinfo: Update copyright dates.
72785         * scripts/test-installation.pl: Update copyright date in --version
72786         output.
72788         * hurd/ctty-input.c: Fix copyright notice formatting.
72789         * hurd/ctty-output.c: Likewise.
72790         * hurd/dtable.c: Likewise.
72791         * hurd/hurd-raise.c: Likewise.
72792         * hurd/hurdprio.c: Likewise.
72793         * hurd/msgportdemux.c: Likewise.
72794         * misc/sys/file.h: Likewise.
72795         * misc/sys/ioctl.h: Likewise.
72796         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72797         * sysdeps/mach/hurd/chdir.c: Likewise.
72798         * sysdeps/mach/hurd/fchdir.c: Likewise.
72799         * sysdeps/mach/hurd/rename.c: Likewise.
72800         * sysdeps/mach/hurd/rmdir.c: Likewise.
72801         * sysdeps/mach/hurd/seekdir.c: Likewise.
72802         * sysdeps/mach/hurd/setsid.c: Likewise.
72803         * sysdeps/posix/wait3.c: Likewise.
72805         * All files with FSF copyright notices: Update copyright dates
72806         using scripts/update-copyrights.
72807         * intl/plural.c: Regenerated.
72808         * locale/programs/charmap-kw.h: Likewise.
72809         * locale/programs/locfile-kw.h: Likewise.
72811 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
72813         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72814         four values.
72816         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72817         calculation loop and add branch prediction.
72819         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72820         check access beyond bounds of m1np.
72822         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72823         MPTWO.
72824         (__inv): Remove local variable MPTWO to use the global
72825         constant.
72826         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72827         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72828         variable MPTWO.
72829         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72830         MP3HALFS static const.
72832 2013-01-01  David S. Miller  <davem@davemloft.net>
72834         * po/ca.po: Update from translation team.
72836 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
72838         * scripts/update-copyrights: New file.
72839         * Makeconfig: Reformat copyright notice.
72840         * ctype/ctype.h: Likewise.
72841         * debug/swprintf_chk.c: Likewise.
72842         * elf/dl-cache.c: Likewise.
72843         * elf/dl-debug.c: Likewise.
72844         * elf/dl-object.c: Likewise.
72845         * grp/initgroups.c: Likewise.
72846         * hurd/Makefile: Likewise.
72847         * hurd/hurd/signal.h: Likewise.
72848         * hurd/hurdfault.c: Likewise.
72849         * hurd/hurdioctl.c: Likewise.
72850         * hurd/hurdlookup.c: Likewise.
72851         * hurd/intr-msg.c: Likewise.
72852         * iconv/gconv_open.c: Likewise.
72853         * libio/swprintf.c: Likewise.
72854         * locale/lc-ctype.c: Likewise.
72855         * locale/nl_langinfo.c: Likewise.
72856         * mach/Machrules: Likewise.
72857         * mach/Makefile: Likewise.
72858         * malloc/obstack.h: Likewise.
72859         * manual/Makefile: Likewise.
72860         * manual/tsort.awk: Likewise.
72861         * misc/bits/stab.def: Likewise.
72862         * nis/nis_print_group_entry.c: Likewise.
72863         * nis/nis_table.c: Likewise.
72864         * nis/nss_compat/compat-pwd.c: Likewise.
72865         * nis/nss_compat/compat-spwd.c: Likewise.
72866         * po/Makefile: Likewise.
72867         * posix/fnmatch.c: Likewise.
72868         * posix/regex.h: Likewise.
72869         * resolv/Makefile: Likewise.
72870         * resolv/nss_dns/dns-network.c: Likewise.
72871         * resolv/res_hconf.c: Likewise.
72872         * scripts/gen-sorted.awk: Likewise.
72873         * soft-fp/soft-fp.h: Likewise.
72874         * stdio-common/printf.h: Likewise.
72875         * stdlib/monetary.h: Likewise.
72876         * stdlib/random.c: Likewise.
72877         * stdlib/random_r.c: Likewise.
72878         * sysdeps/generic/Makefile: Likewise.
72879         * sysdeps/gnu/Makefile: Likewise.
72880         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72881         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72882         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72883         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72884         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72885         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72886         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72887         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72888         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72889         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72890         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72891         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72892         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72893         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72894         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72895         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72896         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72897         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72898         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72899         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72900         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72901         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72902         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72903         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72904         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72905         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72906         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72907         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72908         * sysdeps/mach/hurd/errnos.awk: Likewise.
72909         * sysdeps/mach/hurd/fork.c: Likewise.
72910         * sysdeps/mach/hurd/getcwd.c: Likewise.
72911         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72912         * sysdeps/mach/hurd/mmap.c: Likewise.
72913         * sysdeps/mach/hurd/utimes.c: Likewise.
72914         * sysdeps/mach/hurd/xmknod.c: Likewise.
72915         * sysdeps/posix/profil.c: Likewise.
72916         * sysdeps/posix/readdir_r.c: Likewise.
72917         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72918         * sysdeps/powerpc/bits/setjmp.h: Likewise.
72919         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72920         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72922         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72923         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72924         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72926         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72927         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72928         * sysdeps/pthread/lio_listio.c: Likewise.
72929         * sysdeps/sparc/dl-procinfo.h: Likewise.
72930         * sysdeps/unix/i386/sysdep.S: Likewise.
72931         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72932         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72933         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72934         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72936         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72937         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72938         * sysdeps/unix/sysv/linux/speed.c: Likewise.
72939         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72940         * sysdeps/wordsize-32/divdi3.c: Likewise.
72941         * time/sys/time.h: Likewise.
72942         * wcsmbs/Makefile: Likewise.
72944 2013-01-01  David S. Miller  <davem@davemloft.net>
72946         * po/fr.po: Update from translation team.
72948         * catgets/gencat.c: Update copyright year.
72949         * csu/version.c: Likewise.
72950         * debug/catchsegv.sh: Likewise.
72951         * debug/pcprofiledump.c: Likewise.
72952         * debug/xtrace.sh: Likewise.
72953         * elf/ldconfig.c: Likewise.
72954         * elf/ldd.bash.in: Likewise.
72955         * elf/pldd.c: Likewise.
72956         * elf/sotruss.ksh: Likewise.
72957         * elf/sprof.c: Likewise.
72958         * iconv/iconv_prog.c: Likewise.
72959         * iconv/iconvconfig.c: Likewise.
72960         * locale/programs/locale.c: Likewise.
72961         * locale/programs/localedef.c: Likewise.
72962         * login/programs/pt_chown.c: Likewise.
72963         * malloc/memusage.sh: Likewise.
72964         * malloc/memusagestat.c: Likewise.
72965         * malloc/mtrace.pl: Likewise.
72966         * nscd/nscd.c: Likewise.
72967         * nss/getent.c: Likewise.
72968         * nss/makedb.c: Likewise.
72969         * posix/getconf.c: Likewise.
72971 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72973         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72974         numbers.
72976 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
72978         * math/bits/mathcalls.h (modf): Use __nonnull.
72980 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72982         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72983         (split): Use macro CN instead of the bare value.
72984         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72985         could be used.
72986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72987         instead of the bare value.
72988         (power1): Likewise.
72990 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72992         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72993         __ATAN_TWOM.
72994         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72996         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72997         their values.
72998         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72999         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73000         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73001         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73003 2012-12-28  Andreas Jaeger  <aj@suse.de>
73005         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
73006         values are from Linux 3.7.
73008         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73009         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
73011 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73013         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73014         TRUE case.
73016         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73017         (norm): Likewise.
73018         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73019         variables with preprocessor constants.
73020         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73021         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73022         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73024 2012-12-27  Bruno Haible  <bruno@clisp.org>
73026         [BZ #14317]
73027         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73028         only if needed.
73030 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73032         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73033         and use variable directly.
73034         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73036         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73037         MPONE.
73038         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73039         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73040         variable MPONE.
73041         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73042         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73043         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73044         include directive.  Remove local variable MPONE.
73045         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73046         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73047         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73049 2012-12-25  David S. Miller  <davem@davemloft.net>
73051         * version.h (RELEASE): Set to "development".
73052         (VERSION): Set to "2.17.90".
73053         * NEWS: Add 2.18 section.
73055 2012-12-21  David S. Miller  <davem@davemloft.net>
73057         * po/hr.po: Update from translation team.
73059 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73061         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73063 2012-12-19  Steve Ellcey  <sellcey@mips.com>
73065         * NEWS:  Mention new memcpy for MIPS.
73067 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73069         * manual/contrib.texi (Contributors): Spelling correction.
73071 2012-12-15  David S. Miller  <davem@davemloft.net>
73073         * po/ru.po: Update from translation team.
73075 2012-12-13  David S. Miller  <davem@davemloft.net>
73077         * NEWS: Mention IFUNC testsuite enhancements.
73079         * po/pl.po: Update from translation team.
73080         * po/bg.po: Likewise.
73082         * manual/contrib.texi (Contributors): Update entries for Hongjiu
73083         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
73085 2012-12-11  David S. Miller  <davem@davemloft.net>
73087         * po/sv.po: Update from translation team.
73089         * po/vi.po: Update from translation team.
73091         * po/cs.po: Update from translation team.
73093         * po/de.po: Update from translation team.
73094         * po/eo.po: Likewise.
73095         * po/nl.po: Likewise.
73097 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
73099         [BZ #14246]
73100         * manual/argp.texi (Argp Helper Functions): Move node to follow
73101         Argp Parsing State.
73103         [BZ #14872]
73104         * manual/conf.texi (Limits on File System Capacity): Mention if
73105         terminating null is included in the max size.
73107 2012-12-10  Andreas Jaeger  <aj@suse.de>
73109         * po/cs.po: Update from translation team.
73111 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
73113         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73114         void pointer and cast to uintptr_t.
73115         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73116         path.
73117         * sysdeps/s390/s390-64/memcpy.S: Likewise.
73118         * sysdeps/s390/s390-64/memset.S: Likewise.
73120 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
73122         [BZ #14833]
73123         * menual/message.texi (Message Translation): Fix typos.
73124         (Helper programs for gettext): Likewise.
73126 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
73128         [BZ #14898]
73129         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73130         Change to -1.
73132 2012-12-07  David S. Miller  <davem@davemloft.net>
73134         * po/libc.pot: Update.
73136 2012-12-07  Richard Henderson  <rth@redhat.com>
73138         [BZ #10114]
73139         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73140         normal/normal case to before the switch.
73141         (_FP_DIV): Likewise.
73143 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
73144             Mike Frysinger  <vapier@gentoo.org>
73146         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73147         check for __NR_fadvise64_64.
73149 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
73151         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73152         0, not just to plain "0" as a statement.
73153         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73154         with cw.
73156 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
73158         * NEWS: Use sourceware.org in Bugzilla URL.
73160 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73163         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73165         * stdio-common/tst-put-error.c (do_test): Add newline to the
73166         padded test to ensure flush.
73168 2012-12-05  Jeff Law  <law@redhat.com>
73170         * sunrpc/etc.rpc (fedfs_admin): Add entry.
73172 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
73174         * README: Don't refer to ports add-on as distributed separately.
73175         Mention AArch64 in list of systems supported in the ports add-on.
73177         * LICENSES: Add more non-FSF copyright and license notices.
73179         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73180         ((unused)).
73182         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73184         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73185         10000 as width of padded output.
73187 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73189         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73191         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73192         variable LX with __attribute__ ((unused)).
73193         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73194         Likewise.
73195         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73196         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73198         with __attribute__ ((unused)).
73200 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
73202         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73204 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73206         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73207         (CFLAGS-nldbl-acos.c): New variable.
73208         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73209         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73210         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73211         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73212         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73213         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73214         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73215         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73216         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73217         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73218         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73219         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73220         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73221         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73222         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73223         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73224         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73225         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73226         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73227         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73228         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73229         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73230         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73231         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73232         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73233         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73234         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73235         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73236         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73237         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73238         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73239         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73240         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73241         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73242         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73243         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73244         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73245         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73246         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73247         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73248         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73249         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73250         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73251         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73252         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73253         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73254         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73255         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73256         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73257         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73258         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73259         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73260         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73261         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73262         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73263         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73264         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73265         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73266         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73267         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73268         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73269         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73270         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73271         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73272         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73273         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73274         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73275         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73276         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73277         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73278         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73279         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73280         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73281         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73282         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73283         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73284         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73285         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73286         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73287         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73288         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73289         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73290         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73291         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73292         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73293         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73294         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73295         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73296         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73297         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73298         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73299         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73300         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73301         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73302         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73303         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73304         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73307         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73309         [BZ #14914]
73310         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73311         whole low double instead of just low 47 bits when splitting values
73312         into two parts.
73314 2012-12-03  Allan McRae  <allan@archlinux.org>
73316         * manual/stdio.texi (Predefined Printf Handlers): Remove
73317         @hsep and @vsep usage.
73319 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
73321         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73322         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73324 2012-12-03  Jeff Law  <law@redhat.com>
73326         * time/sys/time.h (settimeofday): Do not mark TV argument
73327         as __nonnull.
73329 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
73331         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73332         when currently writing and seek to current position when not.
73333         * libio/Makefile (tests): Remove bug-fclose1.
73334         * libio/bug-fclose1.c: Delete.
73336 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
73338         * manual/arith.texi (feenableexcept): Fix typo.
73339         (fedisableexcept): Likewise.
73341 2012-11-30  Roland McGrath  <roland@hack.frob.com>
73343         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73344         second, differently-typed declaration, rather than a cast.
73346 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73348         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73349         * include/rpc/svc.h: ... here.
73351 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
73353         [BZ #13013]
73354         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73355         depending n and resplen2 to catch cases where answer
73356         equals answerp2.
73358 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
73360         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73361         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73363 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
73365         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73367 2012-11-29  Roland McGrath  <roland@hack.frob.com>
73369         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73371 2012-11-28  Jeff Law  <law@redhat.com>
73373         [BZ #13761]
73374         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73375         dataset_temporary.  Track alloca usage into alloca_used.
73376         If dataset is large allocate and release it via malloc/free.
73378 2012-06-04  Florian Weimer  <fweimer@redhat.com>
73380         [BZ #14197]
73381         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73383 2012-11-28  David S. Miller  <davem@davemloft.net>
73385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73387 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73389         [BZ #14803]
73390         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73391         of pi/2 rounded to nearest to 64 bits.
73392         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73393         nearest to 64 bits.
73394         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73395         bits.
73397 2012-11-28  Jeff Law <law@redhat.com>
73398             Martin Osvald <mosvald@redhat.com>
73400         [BZ #14889]
73401         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73402         * sunrpc/svc.c: Include time.h.
73403         (__svc_accept_failed): New function.
73404         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73405         any reason other than EINTR, call __svc_accept_failed.
73406         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73407         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73409 2012-11-28  Andreas Schwab  <schwab@suse.de>
73411         * scripts/abilist.awk: Also handle indirect functions in .opd
73412         section.
73414 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73416         [BZ #13881]
73417         * sysdeps/x86/fpu/powl_helper.c: New file.
73418         * sysdeps/x86/fpu/Makefile: Likewise.
73419         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73420         (p3): New object.
73421         (__ieee754_powl): Use __powl_helper for finite arguments except
73422         integer exponents below 8.
73423         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73424         (p3): New object.
73425         (__ieee754_powl): Use __powl_helper for finite arguments except
73426         integer exponents below 8.
73427         * math/libm-test.inc (pow_test): Add more tests and enable some
73428         previously disabled tests.
73429         * sysdeps/i386/fpu/libm-test-ulps: Update.
73430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73432 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73433             Carlos O'Donell  <carlos_odonell@mentor.com>
73435         * nss/makedb.c (is_prime): Assert that input is odd and greater
73436         than 4.  Note that fact in a comment too.
73437         (next_prime): Add 4 to input.
73439 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73441         [BZ #11741]
73442         * libio/Makefile (tests): Add test case tst-fwrite-error.
73443         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73444         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73445         * libio/tst-fwrite-error.c: New test case.
73447 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
73449         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73450         before casting to void *.
73451         * include/libc-internal.h (__pointer_type): New macro.
73452         (__integer_if_pointer_type_sub): Likewise.
73453         (__integer_if_pointer_type): Likewise.
73454         (cast_to_integer): Likewise.
73455         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73456         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73457         before casting to atomic64_t.
73458         (atomic_exchange_acq): Likewise.
73459         (__arch_exchange_and_add_body): Likewise.
73460         (__arch_add_body): Likewise.
73461         (atomic_add_negative): Likewise.
73462         (atomic_add_zero): Likewise.
73464 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
73466         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73467         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73468         (add_fdes): Likewise.
73469         (linear_search_fdes): Likewise.
73470         (binary_search_unencoded_fdes): Likewise.
73472 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
73474         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73476 2012-11-24  Adam Conrad  <adconrad@0c3.net>
73478         * configure.in: Autodetect C++ header directories.
73479         * configure: Regenerated.
73481 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
73483         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73485 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
73487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73489 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
73491         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73492         LDBL_MANT_DIG == 106]: Disable some tests.
73493         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73494         Likewise.
73495         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73496         Likewise.
73498         [BZ #14871]
73499         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73500         input for small inputs.  Return +/- pi/2 for large inputs.
73501         * math/libm-test.inc (atan_test): Add more tests.
73503         * sysdeps/generic/unwind-dw2-fde-glibc.c
73504         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73505         __attribute__ ((unused)).
73507         [BZ #14645]
73508         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73509         x * y if x and y are nonzero and z is zero.
73511         [BZ #14811]
73512         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73513         nonzero exponents with absolute value below 0x1p-117 to +/-
73514         0x1p-117.
73516         [BZ #14869]
73517         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73518         up arguments below 2**-450, not just those below 2**-500.
73519         * math/libm-test.inc (hypot_test): Add another test.
73521         [BZ #14868]
73522         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73523         Return a+b for ratio over 2**120, not 2**60.
73524         * math/libm-test.inc (hypot_test): Add another test.
73526         * math/libm-test.inc (clog_test): Use
73527         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73528         (clog10_test): Likewise.
73530         [BZ #6778]
73531         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73533 2012-11-22  Andreas Schwab  <schwab@suse.de>
73535         * sysdeps/i386/fpu/libm-test-ulps: Update.
73537 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
73539         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73540         printf output with newline.
73542 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
73544         [BZ #14865]
73545         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73546         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73547         -z nodlopen, -z initfirst and -z execstack support.
73548         * configure: Regenerated.
73550         * elf/elf.h (DF_1_NODIRECT): New macro.
73551         (DF_1_IGNMULDEF): Likewise.
73552         (DF_1_NOKSYMS): Likewise.
73553         (DF_1_NOHDR): Likewise.
73554         (DF_1_EDITED): Likewise.
73555         (DF_1_NORELOC): Likewise.
73556         (DF_1_SYMINTPOSE): Likewise.
73557         (DF_1_GLOBAUDIT): Likewise.
73558         (DF_1_SINGLETON): Likewise.
73559         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73560         DT_1_SUPPORTED_MASK bits.
73561         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73563 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73565         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73567 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73569         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73570         macro.
73572         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73573         (sendmmsg): Move declarations...
73574         * socket/sys/socket.h: ... here.
73575         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73576         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73577         include it from...
73578         * socket/recvmmsg.c: ... this new file.
73579         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73580         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73581         definition of __sendmmsg hidden.
73582         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73583         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73584         Move ENOSYS stub into and include it from...
73585         * socket/sendmmsg.c: ... this new file.
73586         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73587         (sysdep_routines): Move recvmmsg and sendmmsg...
73588         * socket/Makefile (routines): ... here.
73589         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73590         (GLIBC_PRIVATE): Add __sendmmsg.
73591         * include/sys/socket.h (__sendmmsg): Add declarations.
73592         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73593         sendmmsg.
73595 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73597         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73598         variable I1 with __attribute__ ((unused)).
73599         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73601 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73603         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73604         DUMMY variables with __attribute__ ((unused)).
73606         * bits/byteswap.h: Include <bits/types.h>.
73607         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73609 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73611         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73612         string_t.  Do not manually set errno.
73613         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73614         length with __strnlen.  Make sure to both set errno and return it on
73615         failure.
73617 2012-11-19  David S. Miller  <davem@davemloft.net>
73619         With help from Joseph Myers.
73620         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73621         very large arguments properly.
73622         * math/libm-test.inc (atan_test): New tests.
73623         (atan2_test): New tests.
73624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73627 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73629         [BZ #14856]
73630         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73631         Define to 3.
73633         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73634         [POSIX] (EADDRNOTAVAIL): Likewise.
73635         [POSIX] (EAFNOSUPPORT): Likewise.
73636         [POSIX] (EALREADY): Likewise.
73637         [POSIX] (ECONNABORTED): Likewise.
73638         [POSIX] (ECONNREFUSED): Likewise.
73639         [POSIX] (ECONNRESET): Likewise.
73640         [POSIX] (EDESTADDRREQ): Likewise.
73641         [POSIX] (EDQUOT): Likewise.
73642         [POSIX] (EHOSTUNREACH): Likewise.
73643         [POSIX] (EIDRM): Likewise.
73644         [POSIX] (EISCONN): Likewise.
73645         [POSIX] (ELOOP): Likewise.
73646         [POSIX] (EMULTIHOP): Likewise.
73647         [POSIX] (ENETDOWN): Likewise.
73648         [POSIX] (ENETUNREACH): Likewise.
73649         [POSIX] (ENOBUFS): Likewise.
73650         [POSIX] (ENODATA): Likewise.
73651         [POSIX] (ENOLINK): Likewise.
73652         [POSIX] (ENOMSG): Likewise.
73653         [POSIX] (ENOPROTOOPT): Likewise.
73654         [POSIX] (ENOSR): Likewise.
73655         [POSIX] (ENOSTR): Likewise.
73656         [POSIX] (ENOTCONN): Likewise.
73657         [POSIX] (ENOTSOCK): Likewise.
73658         [POSIX] (EOPNOTSUPP): Likewise.
73659         [POSIX] (EOVERFLOW): Likewise.
73660         [POSIX] (EPROTO): Likewise.
73661         [POSIX] (EPROTONOSUPPORT): Likewise.
73662         [POSIX] (EPROTOTYPE): Likewise.
73663         [POSIX] (ESTALE): Likewise.
73664         [POSIX] (ETIME): Likewise.
73665         [POSIX] (ETXTBSY): Likewise.
73666         [POSIX] (EWOULDBLOCK): Likewise.
73667         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73668         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73669         [POSIX] (SEEK_CUR): Likewise.
73670         [POSIX] (SEEK_END): Likewise.
73671         [POSIX || UNIX98] (mode_t): Do not require.
73672         [POSIX] (off_t): Likewise.
73673         [POSIX] (pid_t): Likewise.
73674         [POSIX] (sys/stat.h): Do not allow header.
73675         [POSIX] (unistd.h): Likewise.
73676         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73677         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73678         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73679         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73680         require.
73681         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73682         sigevent): Specify elements.
73683         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73684         entry.
73685         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73686         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73688         * conform/data/cpio.h-data [POSIX]: Disable whole file.
73689         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73690         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73691         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73692         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73693         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73694         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73695         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73696         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73697         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73698         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73699         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73700         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73701         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73702         Likewise.
73703         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73704         Likewise.
73705         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73706         Likewise.
73707         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73708         Likewise.
73709         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73710         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73711         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73712         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73713         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73714         Specify lower bound on value.
73715         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73716         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73717         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73718         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73719         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73720         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73721         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73722         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73723         value.
73724         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73725         as optional.
73726         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73727         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73728         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73729         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73730         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73731         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73732         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73733         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73734         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73735         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73736         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73737         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73738         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73739         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73740         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73741         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73742         entry.
73743         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73744         optional.
73745         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73746         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73747         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73748         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73749         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73750         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73751         Likewise.
73752         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73753         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73754         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73755         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73756         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
73757         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73758         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73759         as optional.
73760         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73761         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73762         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73763         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73764         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73765         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73766         specify as optional.
73767         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73768         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73769         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73770         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73771         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73772         [XPG3] (NL_LANGMAX): Likewise.
73773         [POSIX || XPG3] (NL_MSGMAX): Likewise.
73774         [POSIX || XPG3] (NL_NMAX): Likewise.
73775         [POSIX || XPG3] (NL_SETMAX): Likewise.
73776         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73777         [XPG3] (NZERO): Likewise.
73778         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73779         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73780         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73781         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73782         (REG_ERANGE): Expect.
73783         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73784         optional-constant.
73785         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73786         Use (void) in prototype.
73787         [POSIX] (*_t): Allow.
73788         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73789         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73790         (WRDE_BADVAL): Expect.
73792         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73793         expect.
73794         [XPG3 || XPG4] (O_RSYNC): Likewise.
73795         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73796         Likewise.
73797         [XPG3 || XPG4] (pthread_sigmask): Likewise.
73798         [XPG3 || XPG4] (sigqueue): Likewise.
73799         [XPG3 || XPG4] (sigtimedwait): Likewise.
73800         [XPG3 || XPG4] (sigwaitinfo): Likewise.
73801         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73802         [XPG3 || XPG4] (vsnprintf): Likewise.
73803         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73804         Likewise.
73805         [XPG3 || XPG4] (blksize_t): Likewise.
73806         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73807         Likewise.
73808         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73809         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73810         [XPG3 || XPG4] (struct itimerspec): Likewise.
73811         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73812         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73813         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73814         [XPG3 || XPG4] (clockid_t): Likewise.
73815         [XPG3 || XPG4] (timer_t): Likewise.
73816         [XPG3 || XPG4] (clock_getres): Likewise.
73817         [XPG3 || XPG4] (clock_gettime): Likewise.
73818         [XPG3 || XPG4] (clock_settime): Likewise.
73819         [XPG3 || XPG4] (nanosleep): Likewise.
73820         [XPG3 || XPG4] (timer_create): Likewise.
73821         [XPG3 || XPG4] (timer_delete): Likewise.
73822         [XPG3 || XPG4] (timer_gettime): Likewise.
73823         [XPG3 || XPG4] (timer_getoverrun): Likewise.
73824         [XPG3 || XPG4] (timer_settime): Likewise.
73825         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73826         [XPG3 || XPG4] (getlogin_r): Likewise.
73827         [XPG3 || XPG4] (pread): Likewise.
73828         [XPG3 || XPG4] (pthread_atfork): Likewise.
73829         [XPG3 || XPG4] (pwrite): Likewise.
73831         [BZ #14835]
73832         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73833         <bits/siginfo.h>.
73835 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73837         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73838         finalizing MALLSTREAM.
73840         * sysdeps/mach/hurd/syncfs.c: New file.
73842 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
73844         [BZ #14719]
73845         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73846         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73847         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73848         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73849         (_nss_dns_gethostbyname4_r): Likewise.
73850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73851         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73853 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
73855         [BZ #13763]
73856         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73858 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
73860         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73861         * elf/cache.c (print_entry): Print ",AArch64" for
73862         FLAG_AARCH64_LIB64
73864         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73865         * elf/cache.c (print_entry): Print ",hard-float" for
73866         FLAG_ARM_LIBHF.
73868 2012-11-18  David S. Miller  <davem@davemloft.net>
73870         With help from Joseph Myers.
73871         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73872         cutoff to 2**-13.
73873         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73874         cutoff to 2**-25.
73875         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73876         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73877         small.
73878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73879         * math/libm-test.inc (y0_test): New tests.
73880         (y1_test): New tests.
73881         * sysdeps/i386/fpu/libm-test-ulps: Update.
73882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73885 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
73887         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73888         64-bit targets.
73889         * configure: Regenerated.
73891 2012-11-17  David S. Miller  <davem@davemloft.net>
73893         [BZ #14811]
73894         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73895         nonzero exponents with absolute value below 0x1p-128 to +/-
73896         0x1p-128.
73898 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
73900         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73902         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73904         * posix/getconf-speclist.c: New file.
73905         * posix/posix-envs.def: Likewise.
73906         * posix/confstr.c (START_ENV_GROUP): New macro.
73907         (END_ENV_GROUP): Likewise.
73908         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73909         (KNOWN_PRESENT_ENV_STRING): Likewise.
73910         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73911         (UNKNOWN_ENVIRONMENT): Likewise.
73912         (confstr): Include posix-envs.def instead of handling
73913         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73914         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73915         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73916         (END_ENV_GROUP): Likewise.
73917         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73918         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73919         (UNKNOWN_ENVIRONMENT): Likewise.
73920         (__sysconf): Include posix-envs.def instead of handling associated
73921         cases directly here.
73922         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73923         preprocessing getconf-speclist.c rather than running getconf or
73924         generating empty file.
73926 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
73928         * scripts/check-local-headers.sh: Ignore 'mach' headers.
73930 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
73932         [BZ #14672]
73933         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73935 2012-11-16  David S. Miller  <davem@davemloft.net>
73937         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73938         smaller than LDBL_EPSILON/2.0L, just return xm1.
73940 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
73942         * elf/tst-array1.c (init): Set constructor priority to 1000.
73943         (fini): Set destructor priority to 1000.
73944         * elf/tst-array2dep.c: Likewise.
73946 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
73948         [BZ #11741]
73949         * libio/fileops.c (_IO_new_file_write): Correctly return error.
73950         (_IO_new_file_xsputn): Also return EOF if none of the input
73951         data was written when overflow failed.
73952         * libio/iopadn.c (_IO_padn): Likewise.
73953         * libio/iowpadn.c (_IO_wpadn): Likewise.
73954         * stdio-common/tst-put-error.c: Add copyright notice.
73955         (do_test): Add case for printing padded string.
73956         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73957         _IO_padn returned error.
73958         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73959         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73960         return EOF.
73962 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
73964         * libio/libioP.h: Add comment note that the references to C++
73965         bits are now obsolete.
73967 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73969         * math/libm-test.inc (check_complex): Use asprintf.
73971 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
73973         * debug/pcprofiledump.c (print_version): Update copyright year.
73974         * malloc/memusagestat.c (print_version): Likewise.
73976 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
73978         [BZ #14831]
73979         * elf/Makefile (tests): Add tst-audit8.
73980         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73981         ($(objpfx)tst-audit8.out): New target.
73982         (tst-audit8-ENV): New variable.
73983         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73984         audit if l_reloc_result is NULL.
73985         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73986         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73987         * elf/tst-audit8.c: New file.
73989 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73991         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73992         * misc/Makefile (CFLAGS-select.c): Define.
73993         * posix/Makefile (CFLAGS-pause.c): Define.
73995 2012-11-13  David S. Miller  <davem@davemloft.net>
73997         * crypt/Makefile: Move test targets after toplevel Rules
73998         inclusion.  Grab any necessary sysdep routines when linking.
73999         * crypt/md5.c (md5_process_block): Remove define, we will always
74000         name it __md5_process_block.
74001         (md5_finish_ctx): Update md5_process_block call.
74002         (md5_stream): Likewise.
74003         (md5_process_bytes): Likewise.
74004         (md5_process_block): Rename to __md5_process_block and move to ...
74005         * crypt/md5-block.c: ... here.
74006         * crypt/sha256.c (sha256_process_block): Move to ...
74007         * crypt/sha256-block.c: ... here.
74008         * crypt/sha512.c (sha512_process_block): Move to ...
74009         * crypt/sha512-block.c: ... here.
74010         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74011         path.
74012         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74013         * sysdeps/sparc/sparc64/multiarch/Makefile
74014         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74015         crypt subdir.
74016         (localedef-aux): Add md5 crypto assembler when in locale subdir.
74017         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74018         multiarch changes.
74019         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74020         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74021         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74022         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74023         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74024         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74025         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74026         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74027         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74028         file.
74029         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74030         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74031         file.
74032         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74034 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
74036         * timezone/tzselect.ksh: Update from tzcode git revision
74037         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74038         * timezone/zdump.c: Likewise.
74039         * timezone/zic.c: Likewise.
74040         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74041         in TZVERSION setting, not $(PKGVERSION).
74042         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
74043         REPORT_BUGS_TO settings.
74045         [BZ #14838]
74046         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74047         macro.
74049 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74051         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74052         detection to immediately after _FP_ROUND().
74053         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74054         bits are 0.
74056 2012-11-11  David S. Miller  <davem@davemloft.net>
74058         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74059         inttypes.h
74060         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74061         __close rather than their public counterparts.
74063 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
74065         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74066         file.
74067         [UNIX98] (sem_timedwait): Do not expect.
74068         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74069         [XPG4 || UNIX98] (sockatmark): Do not expect.
74070         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74071         (clock_getcpuclockid): Do not expect.
74072         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74073         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74074         Do not expect.
74075         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74076         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74077         [UNIX98] (vwscanf): Likewise.
74078         [UNIX98] (vswscanf): Likewise.
74080 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
74082         * timezone/version.h: Remove file.
74083         * timezone/README: Do not refer to version.h.
74084         * timezone/Makefile ($(objpfx)zic.o): New dependency on
74085         $(objpfx)version.h.
74086         ($(objpfx)zdump.o): Likewise.
74087         ($(objpfx)version.h): New target.
74089         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74090         2012i.
74091         * timezone/README: Don't mention modification to tzselect.ksh.
74092         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74093         work on unmodified tzselect.ksh.  Substitute version numbers in
74094         tzselect.ksh.
74096         * Makefile (format-me): Remove.
74097         (INSTALL): Adjust indentation.  Use commands directly instead of
74098         using $(format-me).
74100         * aclocal.m4 (ACX_PKGVERSION): New macro.
74101         (ACX_BUGURL): Likewise.
74102         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74103         (PKGVERSION): New AC_DEFINE_UNQUOTED.
74104         (REPORT_BUGS_TO): Likewise.
74105         * configure: Regenerated.
74106         * config.h.in (PKGVERSION): New macro.
74107         (REPORT_BUGS_TO): Likewise.
74108         * config.make.in (PKGVERSION): New variable.
74109         (PKGVERSION_TEXI): Likewise.
74110         (REPORT_BUGS_TO): Likewise.
74111         (REPORT_BUGS_TEXI): Likewise.
74112         * Makefile (format-me): Use -I$(common-objpfx)manual.
74113         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74114         ($(common-objpfx)manual/%): New target.
74115         (manual/%): Remove target.
74116         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74117         (print_version): Use PKGVERSION.
74118         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74119         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74120         and REPORT_BUGS_TO.
74121         ($(objpfx)xtrace): Likewise.
74122         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74123         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74124         (print_version): Use PKGVERSION.
74125         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74126         (do_version): Use PKGVERSION.
74127         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74128         REPORT_BUGS_TO.
74129         (common-ldd-rewrite): Likewise.
74130         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74131         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74132         (print_version): Use PKGVERSION.
74133         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74134         * elf/pldd.c (argp_program_bug_address): Remove variable.
74135         (more_help): New function.
74136         (argp): Use more_help.
74137         (print_version): Use PKGVERSION.
74138         * elf/sln.c (main): Use PKGVERSION.
74139         (usage): Use REPORT_BUGS_TO.
74140         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74141         (top level): Use PKGVERSION.
74142         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74143         (print_version): Use PKGVERSION.
74144         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74145         (print_version): Use PKGVERSION.
74146         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74147         (print_version): Use PKGVERSION.
74148         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74149         (print_version): Use PKGVERSION.
74150         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74151         (print_version): Use PKGVERSION.
74152         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74153         (print_version): Use PKGVERSION.
74154         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74155         and BUGURL.
74156         ($(objpfx)memusage): Likewise.
74157         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74158         (do_version): Use PKGVERSION.
74159         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74160         (print_version): Use PKGVERSION.
74161         * malloc/mtrace.pl ($PACKAGE): Remove variable.
74162         ($PKGVERSION): New variable.
74163         ($REPORT_BUGS_TO): Likewise.
74164         (usage): Use $REPORT_BUGS_TO.
74165         (top level): Use $PKGVERSION.
74166         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74167         ($(objpfx)pkgvers.texi): New rule.
74168         ($(objpfx)stamp-pkgvers): Likewise.
74169         * manual/install.texi: Include pkgvers.texi.
74170         (--with-pkgversion): Document new configure option.
74171         (--with-bugurl): Likewise.
74172         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74173         than necessarily for this particular distribution.  Use
74174         REPORT_BUGS_TO for where to report bugs.
74175         * INSTALL: Regenerated.
74176         * manual/libc.texinfo: Include pkgvers.texi.
74177         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74178         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74179         (print_version): Use PKGVERSION.
74180         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74181         (print_version): Use PKGVERSION.
74182         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74183         (print_version): Use PKGVERSION.
74184         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74185         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74186         macro.
74187         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74188         (print_version): Use PKGVERSION.
74189         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74190         (print_version): Use PKGVERSION.
74191         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74192         and PKGVERSION.
74194         * timezone/checktab.awk: Update from tzcode 2012i.
74195         * timezone/ialloc.c: Likewise.
74196         * timezone/private.h: Likewise.
74197         * timezone/scheck.c: Likewise.
74198         * timezone/tzfile.h: Likewise.
74199         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74200         (TZVERSION): Hardcode tzcode version number.
74201         * timezone/zdump.c: Update from tzcode 2012i.
74202         * timezone/zic.c: Likewise.
74203         * timezone/version.h: New file.
74204         * timezone/README: Describe version.h.  Update upstream location.
74206         [BZ #14824]
74207         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74208         (mktemp): Enable declaration.
74209         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74210         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74211         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74212         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74213         Likewise.
74214         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74215         Likewise.
74216         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74217         Likewise.
74218         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74219         Likewise.
74220         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74221         Likewise.
74222         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74223         Likewise.
74225         [BZ #14821]
74226         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74227         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
74228         for copies of such integer values.
74229         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74230         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74232 2012-11-09  Andreas Jaeger  <aj@suse.de>
74234         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74235         definitions and declarations that are provided by
74236         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74238 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74240         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74241         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74242         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74243         definition.
74245 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74247         * elf/elf.h: Update comment before AArch64 relocations.
74249 2012-11-07  David S. Miller  <davem@davemloft.net>
74251         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74252         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74253         (__start_context): Declare.
74254         (__makecontext_ret): Delete.
74255         (__makecontext): Hook up __start_context instead of
74256         __makecontext_ret.
74257         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74258         (sysdep_routines): Add __start_context when in stdlib.
74260 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74262         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74263         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74264         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
74265         hardcoded "nm".
74266         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
74267         (READELF): New variable.  Use it instead of hardcoded "readelf".
74269 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74271         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74272         * sysdeps/x86/Makefile: Here.
74273         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74274         * sysdeps/x86/tst-xmmymm.sh: This.
74276 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74278         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74279         expectations.
74280         [UNIX98] (pthread_barrier_t): Do not expect.
74281         [UNIX98] (pthread_barrierattr_t): Likewise.
74282         [UNIX98] (pthread_spinlock_t): Likewise.
74283         [UNIX98] (pthread_barrier_destroy): Likewise.
74284         [UNIX98] (pthread_barrier_init): Likewise.
74285         [UNIX98] (pthread_barrier_wait): Likewise.
74286         [UNIX98] (pthread_barrierattr_destroy): Likewise.
74287         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74288         [UNIX98] (pthread_barrierattr_init): Likewise.
74289         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74290         [UNIX98] (pthread_getcpuclockid): Likewise.
74291         [UNIX98] (pthread_mutex_timedlock): Likewise.
74292         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74293         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74294         [UNIX98] (pthread_sigmask): Likewise.
74295         [UNIX98] (pthread_spin_destroy): Likewise.
74296         [UNIX98] (pthread_spin_init): Likewise.
74297         [UNIX98] (pthread_spin_lock): Likewise.
74298         [UNIX98] (pthread_spin_trylock): Likewise.
74299         [UNIX98] (pthread_spin_unlock): Likewise.
74300         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74301         Do not expect.
74302         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74303         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74304         [XPG3 || XPG4] (pthread_cond_t): Likewise.
74305         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74306         [XPG3 || XPG4] (pthread_key_t): Likewise.
74307         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74308         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74309         [XPG3 || XPG4] (pthread_once_t): Likewise.
74310         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74311         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74312         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74313         [XPG3 || XPG4] (pthread_t): Likewise.
74315         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74316         not expect.
74317         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74319         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74320         Change function return type to int.
74322         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74323         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74324         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74325         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74326         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74327         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74328         [!POSIX] (posix_madvise): Likewise.
74329         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74330         && !UNIX98].
74331         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74332         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74333         (mode_t): Likewise.
74334         (posix_mem_offset): Likewise.
74335         (posix_typed_mem_get_info): Likewise.
74336         (posix_typed_mem_open): Likewise.
74338         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74339         Change condition to [XOPEN2K8].
74341         * conform/conformtest.pl: Preprocess allow-header data with -x c
74342         instead of from stdin.
74343         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74344         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74345         [C99-based standards] (cerfc): Likewise.
74346         [C99-based standards] (cexp2): Likewise.
74347         [C99-based standards] (cexpm1): Likewise.
74348         [C99-based standards] (clog10): Likewise.
74349         [C99-based standards] (clog1p): Likewise.
74350         [C99-based standards] (clog2): Likewise.
74351         [C99-based standards] (clgamma): Likewise.
74352         [C99-based standards] (ctgamma): Likewise.
74353         [C99-based standards] (cerff): Likewise.
74354         [C99-based standards] (cerfcf): Likewise.
74355         [C99-based standards] (cexp2f): Likewise.
74356         [C99-based standards] (cexpm1f): Likewise.
74357         [C99-based standards] (clog10f): Likewise.
74358         [C99-based standards] (clog1pf): Likewise.
74359         [C99-based standards] (clog2f): Likewise.
74360         [C99-based standards] (clgammaf): Likewise.
74361         [C99-based standards] (ctgammaf): Likewise.
74362         [C99-based standards] (cerfl): Likewise.
74363         [C99-based standards] (cerfcl): Likewise.
74364         [C99-based standards] (cexp2l): Likewise.
74365         [C99-based standards] (cexpm1l): Likewise.
74366         [C99-based standards] (clog10l): Likewise.
74367         [C99-based standards] (clog1pl): Likewise.
74368         [C99-based standards] (clog2l): Likewise.
74369         [C99-based standards] (clgammal): Likewise.
74370         [C99-based standards] (ctgammal): Likewise.
74371         * conform/data/inttypes.h-data [C99-based standards]: Include
74372         stdint.h-data.  Remove all expectations for stdint.h contents.
74373         [C99-based standards] (PRI*): Do not allow.
74374         [C99-based standards] (SCN*): Likewise.
74375         [C99-based standards] (*_t): Likewise.
74376         [C99-based-standards] (PRId8): Expect macro.
74377         [C99-based-standards] (PRIi8): Likewise.
74378         [C99-based-standards] (PRIo8): Likewise.
74379         [C99-based-standards] (PRIu8): Likewise.
74380         [C99-based-standards] (PRIx8): Likewise.
74381         [C99-based-standards] (PRIX8): Likewise.
74382         [C99-based-standards] (SCNd8): Likewise.
74383         [C99-based-standards] (SCNi8): Likewise.
74384         [C99-based-standards] (SCNo8): Likewise.
74385         [C99-based-standards] (SCNu8): Likewise.
74386         [C99-based-standards] (SCNx8): Likewise.
74387         [C99-based-standards] (PRIdLEAST8): Likewise.
74388         [C99-based-standards] (PRIiLEAST8): Likewise.
74389         [C99-based-standards] (PRIoLEAST8): Likewise.
74390         [C99-based-standards] (PRIuLEAST8): Likewise.
74391         [C99-based-standards] (PRIxLEAST8): Likewise.
74392         [C99-based-standards] (PRIXLEAST8): Likewise.
74393         [C99-based-standards] (SCNdLEAST8): Likewise.
74394         [C99-based-standards] (SCNiLEAST8): Likewise.
74395         [C99-based-standards] (SCNoLEAST8): Likewise.
74396         [C99-based-standards] (SCNuLEAST8): Likewise.
74397         [C99-based-standards] (SCNxLEAST8): Likewise.
74398         [C99-based-standards] (PRIdFAST8): Likewise.
74399         [C99-based-standards] (PRIiFAST8): Likewise.
74400         [C99-based-standards] (PRIoFAST8): Likewise.
74401         [C99-based-standards] (PRIuFAST8): Likewise.
74402         [C99-based-standards] (PRIxFAST8): Likewise.
74403         [C99-based-standards] (PRIXFAST8): Likewise.
74404         [C99-based-standards] (SCNdFAST8): Likewise.
74405         [C99-based-standards] (SCNiFAST8): Likewise.
74406         [C99-based-standards] (SCNoFAST8): Likewise.
74407         [C99-based-standards] (SCNuFAST8): Likewise.
74408         [C99-based-standards] (SCNxFAST8): Likewise.
74409         [C99-based-standards] (PRId16): Likewise.
74410         [C99-based-standards] (PRIi16): Likewise.
74411         [C99-based-standards] (PRIo16): Likewise.
74412         [C99-based-standards] (PRIu16): Likewise.
74413         [C99-based-standards] (PRIx16): Likewise.
74414         [C99-based-standards] (PRIX16): Likewise.
74415         [C99-based-standards] (SCNd16): Likewise.
74416         [C99-based-standards] (SCNi16): Likewise.
74417         [C99-based-standards] (SCNo16): Likewise.
74418         [C99-based-standards] (SCNu16): Likewise.
74419         [C99-based-standards] (SCNx16): Likewise.
74420         [C99-based-standards] (PRIdLEAST16): Likewise.
74421         [C99-based-standards] (PRIiLEAST16): Likewise.
74422         [C99-based-standards] (PRIoLEAST16): Likewise.
74423         [C99-based-standards] (PRIuLEAST16): Likewise.
74424         [C99-based-standards] (PRIxLEAST16): Likewise.
74425         [C99-based-standards] (PRIXLEAST16): Likewise.
74426         [C99-based-standards] (SCNdLEAST16): Likewise.
74427         [C99-based-standards] (SCNiLEAST16): Likewise.
74428         [C99-based-standards] (SCNoLEAST16): Likewise.
74429         [C99-based-standards] (SCNuLEAST16): Likewise.
74430         [C99-based-standards] (SCNxLEAST16): Likewise.
74431         [C99-based-standards] (PRIdFAST16): Likewise.
74432         [C99-based-standards] (PRIiFAST16): Likewise.
74433         [C99-based-standards] (PRIoFAST16): Likewise.
74434         [C99-based-standards] (PRIuFAST16): Likewise.
74435         [C99-based-standards] (PRIxFAST16): Likewise.
74436         [C99-based-standards] (PRIXFAST16): Likewise.
74437         [C99-based-standards] (SCNdFAST16): Likewise.
74438         [C99-based-standards] (SCNiFAST16): Likewise.
74439         [C99-based-standards] (SCNoFAST16): Likewise.
74440         [C99-based-standards] (SCNuFAST16): Likewise.
74441         [C99-based-standards] (SCNxFAST16): Likewise.
74442         [C99-based-standards] (PRId32): Likewise.
74443         [C99-based-standards] (PRIi32): Likewise.
74444         [C99-based-standards] (PRIo32): Likewise.
74445         [C99-based-standards] (PRIu32): Likewise.
74446         [C99-based-standards] (PRIx32): Likewise.
74447         [C99-based-standards] (PRIX32): Likewise.
74448         [C99-based-standards] (SCNd32): Likewise.
74449         [C99-based-standards] (SCNi32): Likewise.
74450         [C99-based-standards] (SCNo32): Likewise.
74451         [C99-based-standards] (SCNu32): Likewise.
74452         [C99-based-standards] (SCNx32): Likewise.
74453         [C99-based-standards] (PRIdLEAST32): Likewise.
74454         [C99-based-standards] (PRIiLEAST32): Likewise.
74455         [C99-based-standards] (PRIoLEAST32): Likewise.
74456         [C99-based-standards] (PRIuLEAST32): Likewise.
74457         [C99-based-standards] (PRIxLEAST32): Likewise.
74458         [C99-based-standards] (PRIXLEAST32): Likewise.
74459         [C99-based-standards] (SCNdLEAST32): Likewise.
74460         [C99-based-standards] (SCNiLEAST32): Likewise.
74461         [C99-based-standards] (SCNoLEAST32): Likewise.
74462         [C99-based-standards] (SCNuLEAST32): Likewise.
74463         [C99-based-standards] (SCNxLEAST32): Likewise.
74464         [C99-based-standards] (PRIdFAST32): Likewise.
74465         [C99-based-standards] (PRIiFAST32): Likewise.
74466         [C99-based-standards] (PRIoFAST32): Likewise.
74467         [C99-based-standards] (PRIuFAST32): Likewise.
74468         [C99-based-standards] (PRIxFAST32): Likewise.
74469         [C99-based-standards] (PRIXFAST32): Likewise.
74470         [C99-based-standards] (SCNdFAST32): Likewise.
74471         [C99-based-standards] (SCNiFAST32): Likewise.
74472         [C99-based-standards] (SCNoFAST32): Likewise.
74473         [C99-based-standards] (SCNuFAST32): Likewise.
74474         [C99-based-standards] (SCNxFAST32): Likewise.
74475         [C99-based-standards] (PRId64): Likewise.
74476         [C99-based-standards] (PRIi64): Likewise.
74477         [C99-based-standards] (PRIo64): Likewise.
74478         [C99-based-standards] (PRIu64): Likewise.
74479         [C99-based-standards] (PRIx64): Likewise.
74480         [C99-based-standards] (PRIX64): Likewise.
74481         [C99-based-standards] (SCNd64): Likewise.
74482         [C99-based-standards] (SCNi64): Likewise.
74483         [C99-based-standards] (SCNo64): Likewise.
74484         [C99-based-standards] (SCNu64): Likewise.
74485         [C99-based-standards] (SCNx64): Likewise.
74486         [C99-based-standards] (PRIdLEAST64): Likewise.
74487         [C99-based-standards] (PRIiLEAST64): Likewise.
74488         [C99-based-standards] (PRIoLEAST64): Likewise.
74489         [C99-based-standards] (PRIuLEAST64): Likewise.
74490         [C99-based-standards] (PRIxLEAST64): Likewise.
74491         [C99-based-standards] (PRIXLEAST64): Likewise.
74492         [C99-based-standards] (SCNdLEAST64): Likewise.
74493         [C99-based-standards] (SCNiLEAST64): Likewise.
74494         [C99-based-standards] (SCNoLEAST64): Likewise.
74495         [C99-based-standards] (SCNuLEAST64): Likewise.
74496         [C99-based-standards] (SCNxLEAST64): Likewise.
74497         [C99-based-standards] (PRIdFAST64): Likewise.
74498         [C99-based-standards] (PRIiFAST64): Likewise.
74499         [C99-based-standards] (PRIoFAST64): Likewise.
74500         [C99-based-standards] (PRIuFAST64): Likewise.
74501         [C99-based-standards] (PRIxFAST64): Likewise.
74502         [C99-based-standards] (PRIXFAST64): Likewise.
74503         [C99-based-standards] (SCNdFAST64): Likewise.
74504         [C99-based-standards] (SCNiFAST64): Likewise.
74505         [C99-based-standards] (SCNoFAST64): Likewise.
74506         [C99-based-standards] (SCNuFAST64): Likewise.
74507         [C99-based-standards] (SCNxFAST64): Likewise.
74508         [C99-based-standards] (PRIdMAX): Likewise.
74509         [C99-based-standards] (PRIiMAX): Likewise.
74510         [C99-based-standards] (PRIoMAX): Likewise.
74511         [C99-based-standards] (PRIuMAX): Likewise.
74512         [C99-based-standards] (PRIxMAX): Likewise.
74513         [C99-based-standards] (PRIXMAX): Likewise.
74514         [C99-based-standards] (SCNdMAX): Likewise.
74515         [C99-based-standards] (SCNiMAX): Likewise.
74516         [C99-based-standards] (SCNoMAX): Likewise.
74517         [C99-based-standards] (SCNuMAX): Likewise.
74518         [C99-based-standards] (SCNxMAX): Likewise.
74519         [C99-based-standards] (PRIdPTR): Likewise.
74520         [C99-based-standards] (PRIiPTR): Likewise.
74521         [C99-based-standards] (PRIoPTR): Likewise.
74522         [C99-based-standards] (PRIuPTR): Likewise.
74523         [C99-based-standards] (PRIxPTR): Likewise.
74524         [C99-based-standards] (PRIXPTR): Likewise.
74525         [C99-based-standards] (SCNdPTR): Likewise.
74526         [C99-based-standards] (SCNiPTR): Likewise.
74527         [C99-based-standards] (SCNoPTR): Likewise.
74528         [C99-based-standards] (SCNuPTR): Likewise.
74529         [C99-based-standards] (SCNxPTR): Likewise.
74530         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74531         allow.
74532         * conform/data/stdint.h-data: Update comments to clarify
74533         requirements.
74534         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
74535         type.
74536         [C99-based standards] (INT8_MAX): Likewise.
74537         [C99-based standards] (INT16_MIN): Likewise.
74538         [C99-based standards] (INT16_MAX): Likewise.
74539         [C99-based standards] (INT32_MIN): Likewise.
74540         [C99-based standards] (INT32_MAX): Likewise.
74541         [C99-based standards] (INT64_MIN): Likewise.
74542         [C99-based standards] (INT64_MAX): Likewise.
74543         [C99-based standards] (UINT8_MAX): Likewise.
74544         [C99-based standards] (UINT16_MAX): Likewise.
74545         [C99-based standards] (UINT32_MAX): Likewise.
74546         [C99-based standards] (UINT64_MAX): Likewise.
74547         [C99-based standards] (INT_LEAST8_MIN): Likewise.
74548         [C99-based standards] (INT_LEAST8_MAX): Likewise.
74549         [C99-based standards] (INT_LEAST16_MIN): Likewise.
74550         [C99-based standards] (INT_LEAST16_MAX): Likewise.
74551         [C99-based standards] (INT_LEAST32_MIN): Likewise.
74552         [C99-based standards] (INT_LEAST32_MAX): Likewise.
74553         [C99-based standards] (INT_LEAST64_MIN): Likewise.
74554         [C99-based standards] (INT_LEAST64_MAX): Likewise.
74555         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74556         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74557         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74558         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74559         [C99-based standards] (INT_FAST8_MIN): Likewise.
74560         [C99-based standards] (INT_FAST8_MAX): Likewise.
74561         [C99-based standards] (INT_FAST16_MIN): Likewise.
74562         [C99-based standards] (INT_FAST16_MAX): Likewise.
74563         [C99-based standards] (INT_FAST32_MIN): Likewise.
74564         [C99-based standards] (INT_FAST32_MAX): Likewise.
74565         [C99-based standards] (INT_FAST64_MIN): Likewise.
74566         [C99-based standards] (INT_FAST64_MAX): Likewise.
74567         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74568         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74569         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74570         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74571         [C99-based standards] (INTPTR_MIN): Likewise.
74572         [C99-based standards] (INTPTR_MAX): Likewise.
74573         [C99-based standards] (UINTPTR_MAX): Likewise.
74574         [C99-based standards] (INTMAX_MIN): Likewise.
74575         [C99-based standards] (INTMAX_MAX): Likewise.
74576         [C99-based standards] (UINTMAX_MAX): Likewise.
74577         [C99-based standards] (PTRDIFF_MIN): Likewise.
74578         [C99-based standards] (PTRDIFF_MAX): Likewise.
74579         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74580         [C99-based standards] (SIZE_MAX): Likewise.
74581         [C99-based standards] (WCHAR_MAX): Likewise.
74582         [C99-based standards] (WINT_MAX): Likewise.
74583         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74584         constraint on value.
74585         [C99-based standards] (WCHAR_MIN): Likewise.
74586         [C99-based standards] (WINT_MIN): Likewise.
74587         [C99-based standards] (*_t): Allow.
74588         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74589         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74590         Include math.h-data and complex.h-data.  Remove all expectations
74591         of math.h and complex.h contents.
74592         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74593         at end of line.
74594         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74595         (struct tm): Expect tag.
74596         [C99-based-standards] (wcstof): Expect function.
74597         [C99-based-standards] (wcstold): Likewise.
74598         [C99-based-standards] (wcstoll): Likewise.
74599         [C99-based-standards] (wcstoull): Likewise.
74600         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74601         macro-int-constant.  Specify type.
74602         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74603         constraint on value.
74604         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74605         Specify type.
74606         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74607         Specify value.
74608         [ISO C standards]: Do not allow headers.
74609         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74610         wcs[abcdefghijklmnopqrstuvwxyz]*.
74611         [ISO C standards] (*_t): Do not allow.
74612         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74613         Expect function.
74614         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74615         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74616         Specify type.
74617         [ISO C standards]: Do not allow headers.
74618         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74619         is[abcdefghijklmnopqrstuvwxyz]*.
74620         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74621         to[abcdefghijklmnopqrstuvwxyz]*.
74622         [ISO C standards] (*_t): Do not allow.
74623         * conform/data/stdalign.h-data: New file.
74624         * conform/data/stdbool.h-data: Likewise.
74625         * conform/data/stdnoreturn.h-data: Likewise.
74627 2012-11-07  Roland McGrath  <roland@hack.frob.com>
74629         [BZ #14815]
74630         * manual/filesys.texi (Directory Entries): Typo fix.
74631         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74633 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74635         * elf/elf.h (EM_AARCH64): New macro.
74636         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74637         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74638         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74639         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74640         (R_AARCH64_TLSDESC): Likewise.
74641         (NT_ARM_TLS): Likewise.
74642         (NT_ARM_HW_BREAK): Likewise.
74643         (NT_ARM_HW_WATCH): Likewise.
74645 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74647         [BZ #14811]
74648         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74649         (__ieee754_powl): Saturate nonzero exponents with absolute value
74650         below 0x1p-79 to +/- 0x1p-79.
74651         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74652         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74653         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74654         nonzero exponents with absolute value below 0x1p-32 to +/-
74655         0x1p-32.
74656         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74657         (__ieee754_powl): Saturate nonzero exponents with absolute value
74658         below 0x1p-79 to +/- 0x1p-79.
74659         * math/libm-test.inc (pow_test): Add more tests.
74661 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74663         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74664         _dl_s390_cap_flags with kernel. Increase string length.
74665         (_dl_s390_platforms): Add z196 and zEC12.
74667 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74669         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74670         Change XOPEN21K to XOPEN2K.
74672 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
74674         * string/memmove.c: Use memcpy when possible.
74676 2012-11-06  Andreas Jaeger  <aj@suse.de>
74678         * po/eo.po: Update from translation team.
74680 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
74682         [BZ #14793]
74683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74684         exponent and small x and y exponents, scale x or y up.  Increase
74685         by 2 the exponent used in scaling up.
74686         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74687         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74688         * math/libm-test.inc (fma_test): Add more tests.
74689         (fma_test_towardzero): Likewise.
74690         (fma_test_downward): Likewise.
74691         (fma_test_upward): Likewise.
74693 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
74695         [BZ #14805]
74696         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74697         fenv_t *.
74699         [BZ #14801]
74700         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74701         namespace for names of struct fields.
74702         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74703         fenv_t fields.
74704         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74705         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74707 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74709         [BZ #3665]
74710         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74712 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74714         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74715         PTR_DEMANGLE.
74717         [BZ #5246]
74718         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74719         PTR_DEMANGLE.
74721 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
74723         [BZ #14797]
74724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74725         definitely overflow as x * y not x * y + z.
74726         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74727         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74728         * math/libm-test.inc (fma_test): Add more tests.
74729         (fma_test_towardzero): Likewise.
74730         (fma_test_downward): Likewise.
74731         (fma_test_upward): Likewise.
74733 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74735         [BZ #157]
74737         * include/stub-tag.h: Remove file.
74738         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74739         '#include' of it.
74740         * manual/maint.texi (Porting): Don't reference it.
74741         * Makerules ($(objpfx)stubs): Likewise.
74742         * dirent/closedir.c: Don't include <stub-tag.h>.
74743         * dirent/dirfd.c: Likewise.
74744         * dirent/fdopendir.c: Likewise.
74745         * dirent/getdents.c: Likewise.
74746         * dirent/getdents64.c: Likewise.
74747         * dirent/opendir.c: Likewise.
74748         * dirent/readdir.c: Likewise.
74749         * dirent/readdir64.c: Likewise.
74750         * dirent/readdir64_r.c: Likewise.
74751         * dirent/readdir_r.c: Likewise.
74752         * dirent/rewinddir.c: Likewise.
74753         * dirent/seekdir.c: Likewise.
74754         * dirent/telldir.c: Likewise.
74755         * gmon/profil.c: Likewise.
74756         * grp/setgroups.c: Likewise.
74757         * inet/if_index.c: Likewise.
74758         * io/access.c: Likewise.
74759         * io/chdir.c: Likewise.
74760         * io/chmod.c: Likewise.
74761         * io/chown.c: Likewise.
74762         * io/close.c: Likewise.
74763         * io/dup.c: Likewise.
74764         * io/dup2.c: Likewise.
74765         * io/dup3.c: Likewise.
74766         * io/euidaccess.c: Likewise.
74767         * io/faccessat.c: Likewise.
74768         * io/fchdir.c: Likewise.
74769         * io/fchmod.c: Likewise.
74770         * io/fchmodat.c: Likewise.
74771         * io/fchown.c: Likewise.
74772         * io/fchownat.c: Likewise.
74773         * io/fcntl.c: Likewise.
74774         * io/flock.c: Likewise.
74775         * io/fstatfs.c: Likewise.
74776         * io/fstatfs64.c: Likewise.
74777         * io/fstatvfs.c: Likewise.
74778         * io/fstatvfs64.c: Likewise.
74779         * io/futimens.c: Likewise.
74780         * io/fxstat.c: Likewise.
74781         * io/fxstat64.c: Likewise.
74782         * io/fxstatat.c: Likewise.
74783         * io/fxstatat64.c: Likewise.
74784         * io/getcwd.c: Likewise.
74785         * io/isatty.c: Likewise.
74786         * io/lchmod.c: Likewise.
74787         * io/lchown.c: Likewise.
74788         * io/link.c: Likewise.
74789         * io/linkat.c: Likewise.
74790         * io/lseek.c: Likewise.
74791         * io/lseek64.c: Likewise.
74792         * io/lxstat64.c: Likewise.
74793         * io/mkdir.c: Likewise.
74794         * io/mkdirat.c: Likewise.
74795         * io/mkfifo.c: Likewise.
74796         * io/mkfifoat.c: Likewise.
74797         * io/open.c: Likewise.
74798         * io/open64.c: Likewise.
74799         * io/openat.c: Likewise.
74800         * io/openat64.c: Likewise.
74801         * io/pipe.c: Likewise.
74802         * io/pipe2.c: Likewise.
74803         * io/poll.c: Likewise.
74804         * io/posix_fadvise.c: Likewise.
74805         * io/posix_fadvise64.c: Likewise.
74806         * io/posix_fallocate.c: Likewise.
74807         * io/posix_fallocate64.c: Likewise.
74808         * io/read.c: Likewise.
74809         * io/readlink.c: Likewise.
74810         * io/readlinkat.c: Likewise.
74811         * io/rmdir.c: Likewise.
74812         * io/sendfile.c: Likewise.
74813         * io/sendfile64.c: Likewise.
74814         * io/statfs.c: Likewise.
74815         * io/statfs64.c: Likewise.
74816         * io/statvfs.c: Likewise.
74817         * io/statvfs64.c: Likewise.
74818         * io/symlink.c: Likewise.
74819         * io/symlinkat.c: Likewise.
74820         * io/ttyname.c: Likewise.
74821         * io/ttyname_r.c: Likewise.
74822         * io/umask.c: Likewise.
74823         * io/unlink.c: Likewise.
74824         * io/unlinkat.c: Likewise.
74825         * io/utime.c: Likewise.
74826         * io/utimensat.c: Likewise.
74827         * io/write.c: Likewise.
74828         * io/xmknod.c: Likewise.
74829         * io/xmknodat.c: Likewise.
74830         * io/xstat.c: Likewise.
74831         * io/xstat64.c: Likewise.
74832         * login/getpt.c: Likewise.
74833         * login/grantpt.c: Likewise.
74834         * login/unlockpt.c: Likewise.
74835         * math/e_acoshl.c: Likewise.
74836         * math/e_acosl.c: Likewise.
74837         * math/e_asinl.c: Likewise.
74838         * math/e_atan2l.c: Likewise.
74839         * math/e_atanhl.c: Likewise.
74840         * math/e_coshl.c: Likewise.
74841         * math/e_expl.c: Likewise.
74842         * math/e_fmodl.c: Likewise.
74843         * math/e_gammal_r.c: Likewise.
74844         * math/e_hypotl.c: Likewise.
74845         * math/e_j0l.c: Likewise.
74846         * math/e_j1l.c: Likewise.
74847         * math/e_jnl.c: Likewise.
74848         * math/e_lgammal_r.c: Likewise.
74849         * math/e_log10l.c: Likewise.
74850         * math/e_log2l.c: Likewise.
74851         * math/e_logl.c: Likewise.
74852         * math/e_powl.c: Likewise.
74853         * math/e_rem_pio2l.c: Likewise.
74854         * math/e_sinhl.c: Likewise.
74855         * math/e_sqrtl.c: Likewise.
74856         * math/fclrexcpt.c: Likewise.
74857         * math/fedisblxcpt.c: Likewise.
74858         * math/feenablxcpt.c: Likewise.
74859         * math/fegetenv.c: Likewise.
74860         * math/fegetexcept.c: Likewise.
74861         * math/fegetround.c: Likewise.
74862         * math/feholdexcpt.c: Likewise.
74863         * math/fesetenv.c: Likewise.
74864         * math/fesetround.c: Likewise.
74865         * math/feupdateenv.c: Likewise.
74866         * math/fgetexcptflg.c: Likewise.
74867         * math/fraiseexcpt.c: Likewise.
74868         * math/fsetexcptflg.c: Likewise.
74869         * math/ftestexcept.c: Likewise.
74870         * math/k_cosl.c: Likewise.
74871         * math/k_rem_pio2l.c: Likewise.
74872         * math/k_sinl.c: Likewise.
74873         * math/k_tanl.c: Likewise.
74874         * math/s_asinhl.c: Likewise.
74875         * math/s_atanl.c: Likewise.
74876         * math/s_cbrtl.c: Likewise.
74877         * math/s_erfl.c: Likewise.
74878         * math/s_expm1l.c: Likewise.
74879         * math/s_log1pl.c: Likewise.
74880         * math/s_tanhl.c: Likewise.
74881         * misc/acct.c: Likewise.
74882         * misc/brk.c: Likewise.
74883         * misc/chflags.c: Likewise.
74884         * misc/chroot.c: Likewise.
74885         * misc/fchflags.c: Likewise.
74886         * misc/fgetxattr.c: Likewise.
74887         * misc/flistxattr.c: Likewise.
74888         * misc/fremovexattr.c: Likewise.
74889         * misc/fsetxattr.c: Likewise.
74890         * misc/fsync.c: Likewise.
74891         * misc/ftruncate.c: Likewise.
74892         * misc/futimes.c: Likewise.
74893         * misc/futimesat.c: Likewise.
74894         * misc/getdomain.c: Likewise.
74895         * misc/getdtsz.c: Likewise.
74896         * misc/gethostid.c: Likewise.
74897         * misc/gethostname.c: Likewise.
74898         * misc/getloadavg.c: Likewise.
74899         * misc/getpagesize.c: Likewise.
74900         * misc/getsysstats.c: Likewise.
74901         * misc/getxattr.c: Likewise.
74902         * misc/gtty.c: Likewise.
74903         * misc/ioctl.c: Likewise.
74904         * misc/lgetxattr.c: Likewise.
74905         * misc/listxattr.c: Likewise.
74906         * misc/llistxattr.c: Likewise.
74907         * misc/lremovexattr.c: Likewise.
74908         * misc/lsetxattr.c: Likewise.
74909         * misc/lutimes.c: Likewise.
74910         * misc/madvise.c: Likewise.
74911         * misc/mincore.c: Likewise.
74912         * misc/mlock.c: Likewise.
74913         * misc/mlockall.c: Likewise.
74914         * misc/mmap.c: Likewise.
74915         * misc/mprotect.c: Likewise.
74916         * misc/msync.c: Likewise.
74917         * misc/munlock.c: Likewise.
74918         * misc/munlockall.c: Likewise.
74919         * misc/munmap.c: Likewise.
74920         * misc/preadv.c: Likewise.
74921         * misc/preadv64.c: Likewise.
74922         * misc/ptrace.c: Likewise.
74923         * misc/pwritev.c: Likewise.
74924         * misc/pwritev64.c: Likewise.
74925         * misc/readv.c: Likewise.
74926         * misc/reboot.c: Likewise.
74927         * misc/remap_file_pages.c: Likewise.
74928         * misc/removexattr.c: Likewise.
74929         * misc/revoke.c: Likewise.
74930         * misc/select.c: Likewise.
74931         * misc/setdomain.c: Likewise.
74932         * misc/setegid.c: Likewise.
74933         * misc/seteuid.c: Likewise.
74934         * misc/sethostid.c: Likewise.
74935         * misc/sethostname.c: Likewise.
74936         * misc/setregid.c: Likewise.
74937         * misc/setreuid.c: Likewise.
74938         * misc/setxattr.c: Likewise.
74939         * misc/sstk.c: Likewise.
74940         * misc/stty.c: Likewise.
74941         * misc/swapoff.c: Likewise.
74942         * misc/swapon.c: Likewise.
74943         * misc/sync.c: Likewise.
74944         * misc/syncfs.c: Likewise.
74945         * misc/syscall.c: Likewise.
74946         * misc/truncate.c: Likewise.
74947         * misc/ualarm.c: Likewise.
74948         * misc/usleep.c: Likewise.
74949         * misc/ustat.c: Likewise.
74950         * misc/utimes.c: Likewise.
74951         * misc/vhangup.c: Likewise.
74952         * misc/writev.c: Likewise.
74953         * posix/_exit.c: Likewise.
74954         * posix/alarm.c: Likewise.
74955         * posix/execve.c: Likewise.
74956         * posix/fexecve.c: Likewise.
74957         * posix/fork.c: Likewise.
74958         * posix/fpathconf.c: Likewise.
74959         * posix/getaddrinfo.c: Likewise.
74960         * posix/getegid.c: Likewise.
74961         * posix/geteuid.c: Likewise.
74962         * posix/getgid.c: Likewise.
74963         * posix/getgroups.c: Likewise.
74964         * posix/getlogin.c: Likewise.
74965         * posix/getlogin_r.c: Likewise.
74966         * posix/getpgid.c: Likewise.
74967         * posix/getpid.c: Likewise.
74968         * posix/getppid.c: Likewise.
74969         * posix/getresgid.c: Likewise.
74970         * posix/getresuid.c: Likewise.
74971         * posix/getsid.c: Likewise.
74972         * posix/getuid.c: Likewise.
74973         * posix/glob64.c: Likewise.
74974         * posix/nanosleep.c: Likewise.
74975         * posix/pathconf.c: Likewise.
74976         * posix/pause.c: Likewise.
74977         * posix/posix_madvise.c: Likewise.
74978         * posix/pread.c: Likewise.
74979         * posix/pread64.c: Likewise.
74980         * posix/pwrite.c: Likewise.
74981         * posix/pwrite64.c: Likewise.
74982         * posix/sched_getaffinity.c: Likewise.
74983         * posix/sched_getp.c: Likewise.
74984         * posix/sched_gets.c: Likewise.
74985         * posix/sched_primax.c: Likewise.
74986         * posix/sched_primin.c: Likewise.
74987         * posix/sched_rr_gi.c: Likewise.
74988         * posix/sched_setaffinity.c: Likewise.
74989         * posix/sched_setp.c: Likewise.
74990         * posix/sched_sets.c: Likewise.
74991         * posix/sched_yield.c: Likewise.
74992         * posix/setgid.c: Likewise.
74993         * posix/setlogin.c: Likewise.
74994         * posix/setpgid.c: Likewise.
74995         * posix/setresgid.c: Likewise.
74996         * posix/setresuid.c: Likewise.
74997         * posix/setsid.c: Likewise.
74998         * posix/setuid.c: Likewise.
74999         * posix/sleep.c: Likewise.
75000         * posix/spawni.c: Likewise.
75001         * posix/sysconf.c: Likewise.
75002         * posix/times.c: Likewise.
75003         * posix/wait.c: Likewise.
75004         * posix/wait3.c: Likewise.
75005         * posix/wait4.c: Likewise.
75006         * posix/waitpid.c: Likewise.
75007         * resolv/gai_sigqueue.c: Likewise.
75008         * resource/getpriority.c: Likewise.
75009         * resource/getrlimit.c: Likewise.
75010         * resource/getrusage.c: Likewise.
75011         * resource/nice.c: Likewise.
75012         * resource/setpriority.c: Likewise.
75013         * resource/setrlimit.c: Likewise.
75014         * resource/ulimit.c: Likewise.
75015         * rt/aio_cancel.c: Likewise.
75016         * rt/aio_fsync.c: Likewise.
75017         * rt/aio_read.c: Likewise.
75018         * rt/aio_sigqueue.c: Likewise.
75019         * rt/aio_suspend.c: Likewise.
75020         * rt/aio_write.c: Likewise.
75021         * rt/clock_getres.c: Likewise.
75022         * rt/clock_gettime.c: Likewise.
75023         * rt/clock_nanosleep.c: Likewise.
75024         * rt/clock_settime.c: Likewise.
75025         * rt/lio_listio.c: Likewise.
75026         * rt/mq_close.c: Likewise.
75027         * rt/mq_getattr.c: Likewise.
75028         * rt/mq_notify.c: Likewise.
75029         * rt/mq_open.c: Likewise.
75030         * rt/mq_receive.c: Likewise.
75031         * rt/mq_send.c: Likewise.
75032         * rt/mq_setattr.c: Likewise.
75033         * rt/mq_timedreceive.c: Likewise.
75034         * rt/mq_timedsend.c: Likewise.
75035         * rt/mq_unlink.c: Likewise.
75036         * rt/shm_open.c: Likewise.
75037         * rt/shm_unlink.c: Likewise.
75038         * rt/timer_create.c: Likewise.
75039         * rt/timer_delete.c: Likewise.
75040         * rt/timer_getoverr.c: Likewise.
75041         * rt/timer_gettime.c: Likewise.
75042         * rt/timer_settime.c: Likewise.
75043         * setjmp/__longjmp.c: Likewise.
75044         * setjmp/setjmp.c: Likewise.
75045         * signal/kill.c: Likewise.
75046         * signal/killpg.c: Likewise.
75047         * signal/raise.c: Likewise.
75048         * signal/sigaction.c: Likewise.
75049         * signal/sigaltstack.c: Likewise.
75050         * signal/sigblock.c: Likewise.
75051         * signal/sigignore.c: Likewise.
75052         * signal/sigintr.c: Likewise.
75053         * signal/signal.c: Likewise.
75054         * signal/sigpause.c: Likewise.
75055         * signal/sigpending.c: Likewise.
75056         * signal/sigqueue.c: Likewise.
75057         * signal/sigreturn.c: Likewise.
75058         * signal/sigset.c: Likewise.
75059         * signal/sigsetmask.c: Likewise.
75060         * signal/sigstack.c: Likewise.
75061         * signal/sigsuspend.c: Likewise.
75062         * signal/sigtimedwait.c: Likewise.
75063         * signal/sigvec.c: Likewise.
75064         * signal/sigwait.c: Likewise.
75065         * signal/sigwaitinfo.c: Likewise.
75066         * signal/sysv_signal.c: Likewise.
75067         * socket/accept.c: Likewise.
75068         * socket/accept4.c: Likewise.
75069         * socket/bind.c: Likewise.
75070         * socket/connect.c: Likewise.
75071         * socket/getpeername.c: Likewise.
75072         * socket/getsockname.c: Likewise.
75073         * socket/getsockopt.c: Likewise.
75074         * socket/isfdtype.c: Likewise.
75075         * socket/listen.c: Likewise.
75076         * socket/recv.c: Likewise.
75077         * socket/recvfrom.c: Likewise.
75078         * socket/recvmsg.c: Likewise.
75079         * socket/send.c: Likewise.
75080         * socket/sendmsg.c: Likewise.
75081         * socket/sendto.c: Likewise.
75082         * socket/setsockopt.c: Likewise.
75083         * socket/shutdown.c: Likewise.
75084         * socket/sockatmark.c: Likewise.
75085         * socket/socket.c: Likewise.
75086         * socket/socketpair.c: Likewise.
75087         * stdio-common/ctermid.c: Likewise.
75088         * stdio-common/cuserid.c: Likewise.
75089         * stdio-common/remove.c: Likewise.
75090         * stdio-common/rename.c: Likewise.
75091         * stdio-common/renameat.c: Likewise.
75092         * stdio-common/tempname.c: Likewise.
75093         * stdlib/getcontext.c: Likewise.
75094         * stdlib/makecontext.c: Likewise.
75095         * stdlib/setcontext.c: Likewise.
75096         * stdlib/swapcontext.c: Likewise.
75097         * stdlib/system.c: Likewise.
75098         * streams/fattach.c: Likewise.
75099         * streams/fdetach.c: Likewise.
75100         * streams/getmsg.c: Likewise.
75101         * streams/getpmsg.c: Likewise.
75102         * streams/putmsg.c: Likewise.
75103         * streams/putpmsg.c: Likewise.
75104         * sysdeps/unix/bsd/getpt.c: Likewise.
75105         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75106         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75107         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75109         Likewise.
75110         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75111         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75112         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75113         * sysvipc/msgctl.c: Likewise.
75114         * sysvipc/msgget.c: Likewise.
75115         * sysvipc/msgrcv.c: Likewise.
75116         * sysvipc/msgsnd.c: Likewise.
75117         * sysvipc/semctl.c: Likewise.
75118         * sysvipc/semget.c: Likewise.
75119         * sysvipc/semop.c: Likewise.
75120         * sysvipc/semtimedop.c: Likewise.
75121         * sysvipc/shmat.c: Likewise.
75122         * sysvipc/shmctl.c: Likewise.
75123         * sysvipc/shmdt.c: Likewise.
75124         * sysvipc/shmget.c: Likewise.
75125         * termios/tcdrain.c: Likewise.
75126         * termios/tcflow.c: Likewise.
75127         * termios/tcflush.c: Likewise.
75128         * termios/tcgetattr.c: Likewise.
75129         * termios/tcgetpgrp.c: Likewise.
75130         * termios/tcsendbrk.c: Likewise.
75131         * termios/tcsetattr.c: Likewise.
75132         * termios/tcsetpgrp.c: Likewise.
75133         * time/adjtime.c: Likewise.
75134         * time/clock.c: Likewise.
75135         * time/getitimer.c: Likewise.
75136         * time/gettimeofday.c: Likewise.
75137         * time/setitimer.c: Likewise.
75138         * time/settimeofday.c: Likewise.
75139         * time/stime.c: Likewise.
75140         * time/time.c: Likewise.
75142 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
75144         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75145         /usr/old/bin.
75147         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75148         instead of spaces.
75149         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75151 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
75153         [BZ #14796]
75154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75155         FE_TONEAREST before applying Dekker multiplication and Knuth
75156         addition.  Clear inexact exceptions and check for exact zero
75157         results afterwards.
75158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75159         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75161         * math/libm-test.inc (fma_test): Add more tests.
75162         (fma_test_towardzero): Likewise.
75163         (fma_test_downward): Likewise.
75164         (fma_test_upward): Likewise.
75165         * sysdeps/generic/math_private.h (default_libc_fesetround): New
75166         function.
75167         (libc_fesetround): New macro.
75168         (libc_fesetroundf): Likewise.
75169         (libc_fesetroundl): Likewise.
75170         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75171         function.
75172         (libc_fesetround_387): Likewise.
75173         (libc_fesetroundf): New macro.
75174         (libc_fesetround): Likewise.
75175         (libc_fesetroundl): Likewise.
75176         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75177         function.
75178         (libc_fesetroundf): New macro.
75179         (libc_fesetround): Likewise.
75180         (libc_fesetroundl): Likewise.
75181         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75182         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75183         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75184         libm_hidden_ver.
75185         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75186         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75187         libm_hidden_def.
75188         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75189         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75190         libm_hidden_ver.
75191         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75192         libm_hidden_def.
75194         [BZ #3439]
75195         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75196         integer constant usable in #if and use that to give value to enum
75197         constant.
75198         (FE_DIVBYZERO): Likewise.
75199         (FE_UNDERFLOW): Likewise.
75200         (FE_OVERFLOW): Likewise.
75201         (FE_INVALID): Likewise.
75202         (FE_INVALID_SNAN): Likewise.
75203         (FE_INVALID_ISI): Likewise.
75204         (FE_INVALID_IDI): Likewise.
75205         (FE_INVALID_ZDZ): Likewise.
75206         (FE_INVALID_IMZ): Likewise.
75207         (FE_INVALID_COMPARE): Likewise.
75208         (FE_INVALID_SOFTWARE): Likewise.
75209         (FE_INVALID_SQRT): Likewise.
75210         (FE_INVALID_INTEGER_CONVERSION): Likewise.
75211         (FE_TONEAREST): Likewise.
75212         (FE_TOWARDZERO): Likewise.
75213         (FE_UPWARD): Likewise.
75214         (FE_DOWNWARD): Likewise.
75215         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75216         (FE_DIVBYZERO): Likewise.
75217         (FE_OVERFLOW): Likewise.
75218         (FE_UNDERFLOW): Likewise.
75219         (FE_INEXACT): Likewise.
75220         (FE_TONEAREST): Likewise.
75221         (FE_DOWNWARD): Likewise.
75222         (FE_UPWARD): Likewise.
75223         (FE_TOWARDZERO): Likewise.
75224         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75225         (FE_UNDERFLOW): Likewise.
75226         (FE_OVERFLOW): Likewise.
75227         (FE_DIVBYZERO): Likewise.
75228         (FE_INVALID): Likewise.
75229         (FE_TONEAREST): Likewise.
75230         (FE_TOWARDZERO): Likewise.
75231         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75232         (FE_OVERFLOW): Likewise.
75233         (FE_UNDERFLOW): Likewise.
75234         (FE_DIVBYZERO): Likewise.
75235         (FE_INEXACT): Likewise.
75236         (FE_TONEAREST): Likewise.
75237         (FE_TOWARDZERO): Likewise.
75238         (FE_UPWARD): Likewise.
75239         (FE_DOWNWARD): Likewise.
75240         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75241         (FE_DIVBYZERO): Likewise.
75242         (FE_OVERFLOW): Likewise.
75243         (FE_UNDERFLOW): Likewise.
75244         (FE_INEXACT): Likewise.
75245         (FE_TONEAREST): Likewise.
75246         (FE_DOWNWARD): Likewise.
75247         (FE_UPWARD): Likewise.
75248         (FE_TOWARDZERO): Likewise.
75250 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
75252         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75254 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
75256         * scripts/cross-test-ssh.sh (command): Use newlines to separate
75257         commands.  Quote $PWD.
75258         (blacklist_exports): Don't use remove_newlines.  Replace "declare
75259         -x" by "export".
75260         (remove_newlines): Remove.
75262 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
75264         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75265         * stdlib/stdlib.h (atof): Moved to ...
75266         * include/bits/stdlib-float.h: Here.  New file.
75267         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75268         * stdlib/bits/stdlib-float.h: New file.
75269         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75270         -mno-sse -mno-mmx.
75271         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75272         <xmmintrin.h>.
75274 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75276         * conform/conformtest.pl (@headers): Add fenv.h.
75277         * conform/data/fenv.h-data: New file.
75278         * include/fenv.h [_ISOMAC]: Disable all contents of file except
75279         include of <math/fenv.h>.
75281         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75282         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75283         && !UNIX98].  Enables tests for XOPEN2K8.
75284         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75285         POSIX2008]: Likewise.
75287         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75288         (struct rusage): Do not expect type or its members.
75290         [BZ #3439]
75291         * math/math.h (FP_NAN): Define macro to integer constant usable in
75292         #if and use that to give value to enum constant.
75293         (FP_INFINITE): Likewise.
75294         (FP_ZERO): Likewise.
75295         (FP_SUBNORMAL): Likewise.
75296         (FP_NORMAL): Likewise.
75298 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
75300         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75301         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75302         arguments.
75304 2012-11-02  Roland McGrath  <roland@hack.frob.com>
75306         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75307         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75308         autoconf-time if not.
75309         * configure.in: Remove AC_PREREQ.
75311 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75313         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75314         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75315         of the internal implementation.
75317 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75319         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75320         except include of <misc/sys/syslog.h>.
75322 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75325         function returns with a NULL context exit with zero.
75327 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75329         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75331 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
75333         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75334         (run_program_cmd): This.
75335         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75336         (tst_langinfo): New variable.  Use it.
75338 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
75340         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75341         floating point opcodes.
75343 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75345         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75346         variable.
75348         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75350         * sysdeps/mach/hurd/powerpc: Remove directory.
75351         * sysdeps/mach/powerpc: Likewise.
75353 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75355         * scripts/check-local-headers.sh: Ignore c++ headers.
75357 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75359         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75360         __libc_cleanup_region_start argument.
75362 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
75364         [BZ #14784]
75365         [BZ #14785]
75366         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75367         x * y using scaling, not as x * y + z.
75368         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75369         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75370         * math/libm-test.inc (fma_test): Add more tests.
75371         (fma_test_towardzero): Likewise.
75372         (fma_test_downward): Likewise.
75373         (fma_test_upward): Likewise.
75375 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75377         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75379 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75381         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75382         New variable.
75384 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
75386         * rt/tst-shm.c (worker): Correct checking for mmap failure.
75388 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75391         Fix sort order.
75392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75393         Likewise.
75395 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75398         Fix the order of the list for glibc 2.17.
75399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75400         Likewise.
75402 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75406 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75408         [BZ #14610]
75409         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75410         for low part of x being zero before using __atanl (y).
75411         * math/libm-test.inc (atan2_test): Add another test.
75413         * manual/install.texi (Configuring and compiling): Document
75414         general use of test-wrapper and test-wrapper-env.
75415         * INSTALL: Regenerated.
75417         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75418         (__fma): Do not extract and scale down low bits on after-rounding
75419         systems when result rounded to normal precision would have normal
75420         exponent.
75421         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75422         (__fmal): Do not extract and scale down low bits on after-rounding
75423         systems when result rounded to normal precision would have normal
75424         exponent.
75425         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75426         (__fmal): Do not extract and scale down low bits on after-rounding
75427         systems when result rounded to normal precision would have normal
75428         exponent.
75429         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75430         macro.
75431         (fma_test): Add more tests.
75432         (fma_test_towardzero): Likewise.
75433         (fma_test_downward): Likewise.
75434         (fma_test_upward): Likewise.
75436 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
75438         * sysdeps/i386/tininess.h: Renamed to ...
75439         * sysdeps/x86/tininess.h: This.
75440         * sysdeps/x86_64/tininess.h: Removed.
75442 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75444         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75445         input.  Use $(build-program-cmd).
75446         ($(objpfx)tst-array1-static.out): Likewise.
75447         ($(objpfx)tst-array2.out): Likewise.
75448         ($(objpfx)tst-array3.out): Likewise.
75449         ($(objpfx)tst-array4.out): Likewise.
75450         ($(objpfx)tst-array5.out): Likewise.
75451         ($(objpfx)tst-array5-static.out): Likewise.
75453 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
75455         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75456         if defined.
75458         * nss/nsswitch.h (nss_interface_function): Provide new
75459         macro for use with NSS functions.
75460         * grp/initgroups.c: Use new macro.
75461         * nss/getXXbyYY.c: Likewise.
75462         * nss/getXXbyYY_r.c: Likewise.
75463         * nss/getXXent.c: Likewise.
75464         * nss/getXXent_r.c: Likewise.
75465         * sysdeps/posix/getaddrinfo.c: Likewise.
75467 2012-10-30  Andreas Jaeger  <aj@suse.de>
75469         * po/ru.po: Update Russion translation from translation project.
75471 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75473         [BZ #14152]
75474         [BZ #14783]
75475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75476         result and shift together with sticky bit instead of replicating
75477         round-to-nearest rounding.
75478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75480         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
75481         missing underflow exceptions.
75482         (fma_test_towardzero): Add more tests.
75483         (fma_test_downward): Likewise.
75484         (fma_test_upward): Likewise.
75486         [BZ #14047]
75487         * sysdeps/generic/tininess.h: New file.
75488         * sysdeps/i386/tininess.h: Likewise.
75489         * sysdeps/sh/tininess.h: Likewise.
75490         * sysdeps/x86_64/tininess.h: Likewise.
75491         * stdlib/tst-strtod-underflow.c: Likewise.
75492         * stdlib/tst-tininess.c: Likewise.
75493         * stdlib/strtod_l.c: Include <tininess.h>.
75494         (round_and_return): Do not set errno for exact underflow cases.
75495         Force an underflow exception when setting errno for underflow.
75496         Determine underflow based on rounding to normal precision if
75497         TININESS_AFTER_ROUNDING.
75498         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75499         ERANGE for exact underflow cases.
75500         * stdlib/Makefile (tests): Add tst-tininess and
75501         tst-strtod-underflow.
75502         ($(objpfx)tst-tininess): Use $(link-libm).
75503         ($(objpfx)tst-strtod-underflow): Likewise.
75505 2012-10-30  Andreas Jaeger  <aj@suse.de>
75507         [BZ #14767]
75508         * elf/Makefile (tests): Remove conditional for have-initfini-array
75509         since this is now always required and the variable does not exist
75510         anymore.
75511         (tests-static): Likewise.
75512         (modules-names): Likewise.
75514         * po/eo.po: Add Esperanto translation from translation project.
75516         * elf/tst-array1.c (fini_array): Make writeable so that it can be
75517         merged with constructor/destructor.
75518         (init_array): Likewise.
75519         * elf/tst-array2dep.c (fini_array): Likewise.
75520         (init_array): Likewise.
75522 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
75524         * manual/message.texi: Delete @cartouche tags.
75526 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
75528         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75529         EOPNOTSUPP.
75530         * sysdeps/mach/hurd/fsync.c: Likewise.
75532         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75533         [_POSIX_REALTIME_SIGNALS]: Change condition to
75534         [_POSIX_REALTIME_SIGNALS > 0].
75536 2012-10-27  Andreas Jaeger  <aj@suse.de>
75538         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75539         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75540         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75541         [__WORDSIZE != 64]: Likewise.
75543 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
75545         *  iconvdata/tst-table.sh: Remove ${SHELL}.
75546         *  iconvdata/tst-tables.sh: Likewise.
75548 2012-10-25  David S. Miller  <davem@davemloft.net>
75550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75551         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75552         of strtoull.
75554         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75555         ifunc-impl-list.c
75556         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75557         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75558         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75559         file.
75561 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75563         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75564         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75565         __getdirentries.
75567 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75568             Jim Blandy  <jimb@codesourcery.com>
75570         * scripts/cross-test-ssh.sh: New file.
75571         * manual/install.texi (Configuring and compiling): Document use of
75572         cross-test-ssh.sh.
75573         * INSTALL: Regenerated.
75575 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75577         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75578         EOPNOTSUPP.
75580 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75582         * Makeconfig (run-program-prefix): Fix comment.
75584 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75585             Jim Blandy  <jimb@codesourcery.com>
75587         * Makeconfig (test-wrapper): New variable,
75588         (test-wrapper-env): Likewise.
75589         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75590         (run-built-tests): Define to yes.
75591         (run-program-prefix): Use $(test-wrapper).
75592         (built-program-cmd): Likewise.
75593         * Rules (make-test-out): Use $(test-wrapper-env) and
75594         $(host-built-program-cmd).
75595         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75596         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75597         tst-pathopt.sh.
75598         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75599         $(test-wrapper-env) to tst-rtld-load-self.sh.
75600         ($(objpfx)order2.out): Use $(test-wrapper).
75601         ($(objpfx)tst-initorder.out): Likewise.
75602         ($(objpfx)tst-initorder2.out): Likewise.
75603         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75604         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75605         (test_wrapper_env): New variable.  Use it to run ld.so.
75606         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75607         Use it to run ld.so.
75608         (test_wrapper_env): Likewise.
75609         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75610         $(test-wrapper) to run-iconv-test.sh.
75611         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75612         (ICONV): Use $test_wrapper.
75613         * posix/Makefile ($(objpfx)globtest.out): Pass
75614         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75615         globtest.sh, not $(run-program-prefix).
75616         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75617         (test_wrapper): Likewise.
75618         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75619         set together with run_via_rtld_prefix.
75620         (run_program_prefix): Define in terms of test_wrapper and
75621         run_via_rtld_prefix.
75623 2012-10-24  Roland McGrath  <roland@hack.frob.com>
75625         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75626         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75627         Targets removed.
75629         [BZ #14743]
75630         * include/time.h: Remove librt_hidden_proto (clock_gettime).
75631         Declare __clock_getres, __clock_gettime, __clock_settime,
75632         __clock_nanosleep, and __clock_getcpuclockid.
75633         * rt/clock_gettime.c: Define __clock_gettime as an alias.
75634         Remove librt_hidden_def (clock_gettime).
75635         * sysdeps/unix/clock_gettime.c: Likewise.
75636         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75637         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75638         * rt/clock_getres.c: Define __clock_getres as an alias.
75639         * sysdeps/posix/clock_getres.c: Likewise.
75640         * rt/clock_settime.c: Define __clock_settime as an alias.
75641         * sysdeps/unix/clock_settime.c: Likewise.
75642         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75643         * sysdeps/unix/clock_nanosleep.c: Likewise.
75644         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75645         * rt/clock-compat.c: New file.
75646         * rt/Makefile (librt-routines): Add clock-compat and move
75647         $(clock-routines) to ...
75648         (routines): ... here, new variable.
75649         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75650         Don't add get_clockfreq here.
75651         * rt/Versions (libc: GLIBC_2.17): New version set.
75652         Add clock_* symbols here.
75653         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
75654         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75655         (GLIBC_2.17): Add clock_* symbols.
75656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75658         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75660         Likewise.
75661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75662         Likewise.
75663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75667         * NEWS: Mention the move.
75669         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75670         Use __open, __read, __close rather than their public counterparts.
75671         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75672         (__get_clockfreq_via_cpuinfo): Likewise.
75673         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75674         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75676         * config.h.in (HAVE_IFUNC): New #undef.
75677         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75678         was successful.
75679         * configure: Regenerated.
75681 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75683         * configure.in: Move READELF check to start of file.
75684         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75685         libc_cv_asm_gnu_indirect_function in the process.
75686         * configure: Regenerated.
75688 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75690         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75691         send the output to /dev/null.
75692         (libc_cv_cc_with_libunwind): Likewise.
75693         (libc_cv_as_noexecstack): Likewise.
75694         * configure: Regenerate.
75696 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75698         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75700         * posix/globtest.sh (TMPDIR): Do not set.
75701         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75702         (testout): Likewise.
75704 2012-10-24  Andreas Jaeger  <aj@suse.de>
75706         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75707         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75708         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75709         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75710         posix_fadvise64, posix_fallocate64.
75712         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75713         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75714         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75715         Likewise.
75716         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75717         Likewise.
75718         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75721         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75722         <bits/fcntl-linux.h>.
75723         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75725         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75726         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75727         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75728         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75729         [__WORDSIZE != 64]: Likewise.
75731 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75733         * Makeconfig (run-built-tests): New variable.
75734         * Rules [$(cross-compiling) = yes]: Change condition to
75735         [$(run-built-tests) = no].
75736         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75737         to [$(run-built-tests) = yes].
75738         * elf/Makefile [$(cross-compiling) = no]: Likewise.
75739         * grp/Makefile [$(cross-compiling) = no]: Likewise.
75740         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75741         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75742         * intl/Makefile [$(cross-compiling) = no]: Likewise.
75743         * io/Makefile [$(cross-compiling) = no]: Likewise.
75744         * libio/Makefile [$(cross-compiling) = no]: Likewise.
75745         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75746         * misc/Makefile [$(cross-compiling) = no]: Likewise.
75747         * posix/Makefile [$(cross-compiling) = no]: Likewise.
75748         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75749         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75750         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75751         * string/Makefile [$(cross-compiling) = no]: Likewise.
75753         * posix/Makefile ($(objpfx)globtest.out): Pass
75754         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75755         $(rtld-installed-name).
75756         * posix/globtest.sh (elf_objpfx): Remove variable.
75757         (rtld_installed_name): Likewise.
75758         (library_path): Likewise.
75759         (run_program_prefix): New variable.  Use for running globtest
75760         binary.
75762 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
75763             Joseph Myers  <joseph@codesourcery.com>
75765         * Makeconfig (host-built-program-cmd): New variable.
75766         * elf/Makefile (tst-stackguard1-ARGS): Use
75767         $(host-built-program-cmd).
75768         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75769         (tst-spawn-ARGS): Likewise.
75770         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75772 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75773             Jim Blandy  <jimb@codesourcery.com>
75775         * Makeconfig (run-via-rtld-prefix): New variable.
75776         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75777         (built-program-cmd): Likewise.
75779 2012-10-22  Andreas Jaeger  <aj@suse.de>
75781         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75782         __O_RSYNC if it exists, otherwise to O_SYNC.
75784 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
75785             Joseph Myers  <joseph@codesourcery.com>
75787         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75788         /dev/null.
75789         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75790         from /dev/null
75791         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75792         /dev/null.
75794 2012-10-22  Andreas Jaeger  <aj@suse.de>
75796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75797         Define always.
75798         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75800         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75801         bits/fcntl-linux.h.
75803         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75804         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75806         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75807         to __O_LARGEFILE.
75808         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75809         to __O_LARGEFILE.
75811 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
75812             Joseph Myers  <joseph@codesourcery.com>
75814         * config.make.in (NM): New variable.
75816 2012-10-21  Andreas Jaeger  <aj@suse.de>
75818         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75819         definitions and declarations that are provided by
75820         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75822 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75824         [BZ #14683]
75825         * elf/Makefile (tests-static): Add tst-leaks1-static.
75826         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75827         ($(objpfx)tst-leaks1-static): New rule.
75828         ($(objpfx)tst-leaks1-static-mem): Likewise.
75829         (tst-leaks1-static-ENV): New macro.
75830         * elf/dl-open.c (dl_open_worker): Check the main application
75831         only if SHARED is defined.
75832         * elf/tst-leaks1-static.c: New file.
75834 2012-10-20  Andreas Jaeger  <aj@suse.de>
75836         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75837         generic values for Linux.
75838         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75839         and declarations that are provided by <bits/fcntl-linux.h> and
75840         include <bits/fcntl-linux.h>.
75841         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75842         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75844 2012-10-20  Roland McGrath  <roland@hack.frob.com>
75846         * io/fcntl.h: Move include of <bits/types.h> to the top and
75847         include it unconditionally.
75849 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75851         * wcsmbs/Makefile (tests-ifunc): New variable.
75852         (tests): Add $(tests-ifunc).
75853         * wcsmbs/test-wcschr-ifunc.c: New file.
75854         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75855         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75856         * wcsmbs/test-wcslen-ifunc.c: Likewise.
75857         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75858         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75860         * string/Makefile (tests-ifunc): New variable.
75861         (tests): Add $(tests-ifunc).
75862         * string/test-memccpy.c (TEST_NAME): New macro.
75863         * string/test-memchr.c (TEST_NAME): Likewise.
75864         * string/test-memcmp.c (TEST_NAME): Likewise.
75865         * string/test-memcpy.c (TEST_NAME): Likewise.
75866         * string/test-memmem.c (TEST_NAME): Likewise.
75867         * string/test-memmove.c (TEST_NAME): Likewise.
75868         * string/test-memset.c (TEST_NAME): Likewise.
75869         * string/test-rawmemchr.c (TEST_NAME): Likewise.
75870         * string/test-stpcpy.c (TEST_NAME): Likewise.
75871         * string/test-stpncpy.c (TEST_NAME): Likewise.
75872         * string/test-strcasecmp.c (TEST_NAME): Likewise.
75873         * string/test-strcasestr.c (TEST_NAME): Likewise.
75874         * string/test-strcat.c (TEST_NAME): Likewise.
75875         * string/test-strchr.c (TEST_NAME): Likewise.
75876         * string/test-strcmp.c(TEST_NAME): Likewise.
75877         * string/test-strcpy.c (TEST_NAME): Likewise.
75878         * string/test-strcspn.c (TEST_NAME): Likewise.
75879         * string/test-strlen.c (TEST_NAME): Likewise.
75880         * string/test-strncasecmp.c (TEST_NAME): Likewise.
75881         * string/test-strncmp.c (TEST_NAME): Likewise.
75882         * string/test-strncpy.c (TEST_NAME): Likewise.
75883         * string/test-strnlen.c (TEST_NAME): Likewise.
75884         * string/test-strpbrk.c (TEST_NAME): Likewise.
75885         * string/test-strrchr.c (TEST_NAME): Likewise.
75886         * string/test-strspn.c (TEST_NAME): Likewise.
75887         * string/test-strstr.c (TEST_NAME): Likewise.
75888         * string/test-bcopy-ifunc.c: New file.
75889         * string/test-bzero-ifunc.c: Likewise.
75890         * string/test-memccpy-ifunc.c: Likewise.
75891         * string/test-memchr-ifunc.c: Likewise.
75892         * string/test-memcmp-ifunc.c: Likewise.
75893         * string/test-memcpy-ifunc.c: Likewise.
75894         * string/test-memmem-ifunc.c: Likewise.
75895         * string/test-memmove-ifunc.c: Likewise.
75896         * string/test-mempcpy-ifunc.c: Likewise.
75897         * string/test-memset-ifunc.c: Likewise.
75898         * string/test-rawmemchr-ifunc.c: Likewise.
75899         * string/test-stpcpy-ifunc.c: Likewise.
75900         * string/test-stpncpy-ifunc.c: Likewise.
75901         * string/test-strcasecmp-ifunc.c: Likewise.
75902         * string/test-strcasestr-ifunc.c: Likewise.
75903         * string/test-strcat-ifunc.c: Likewise.
75904         * string/test-strchr-ifunc.c: Likewise.
75905         * string/test-strchrnul-ifunc.c: Likewise.
75906         * string/test-strcmp-ifunc.c: Likewise.
75907         * string/test-strcpy-ifunc.c: Likewise.
75908         * string/test-strcspn-ifunc.c: Likewise.
75909         * string/test-strlen-ifunc.c: Likewise.
75910         * string/test-strncasecmp-ifunc.c: Likewise.
75911         * string/test-strncat-ifunc.c: Likewise.
75912         * string/test-strncmp-ifunc.c: Likewise.
75913         * string/test-strncpy-ifunc.c: Likewise.
75914         * string/test-strnlen-ifunc.c: Likewise.
75915         * string/test-strpbrk-ifunc.c: Likewise.
75916         * string/test-strrchr-ifunc.c: Likewise.
75917         * string/test-strspn-ifunc.c: Likewise.
75918         * string/test-strstr-ifunc.c: Likewise.
75920         * debug/Makefile (tests-ifunc): New variable.
75921         (tests): Add $(tests-ifunc).
75922         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75923         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75924         * debug/test-stpcpy_chk-ifunc.c: New file.
75925         * debug/test-strcpy_chk-ifunc.c: Likewise.
75927 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
75929         [BZ #13601]
75930         * elf/dl-load.c (open_verify): Retry read if the entire ELF
75931         header is not read in.
75933 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
75935         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
75936         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
75937         directly.  Pass built executable to script as
75938         $(built-program-cmd).
75939         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
75940         $testprogram without using LD_LIBRARY_PATH and $ldso.
75942         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75943         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75944         $(rtld-installed-name).
75945         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75946         (rtld_installed_name): Likewise.
75947         (library_path): Likewise.
75948         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
75949         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75950         $(run-program-prefix) to tst-tables.sh.
75951         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
75952         it to run tst-table-from and tst-table-to.
75953         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75954         Pass it to tst-table.sh.
75955         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75956         $(run-program-prefix) to tst-gettext.sh.
75957         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75958         tst-translit.sh.
75959         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75960         tst-gettext2.sh.
75961         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
75962         to run tst-gettext.
75963         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
75964         to run tst-gettext2.
75965         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
75966         to run tst-translit.
75967         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75968         $(run-program-prefix) to tst-mtrace.sh.
75969         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
75970         to run tst-mtrace.
75971         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75972         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75973         $(rtld-installed-name).
75974         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75975         (rtld_installed_name): Likewise.
75976         (run_program_prefix): New variable.  Use it to run wordexp-test.
75978         * Makeconfig (ARCH): Remove all definitions.
75979         (machine): Likewise.
75980         [ARCH]: Remove conditional code.
75981         [!objdir]: Give error.
75982         [!objdir] (objpfx): Remove.
75983         [!objdir] (common-objpfx): Likewise.
75984         [!objdir] (common-objdir): Likewise.
75985         * configure.in (config_makefile): Remove.  Hardcode Makefile in
75986         AC_CONFIG_FILES call.
75987         * configure: Regenerated.
75989         [BZ #13888]
75990         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75991         or TMPDIR.
75992         (testout): Likewise.
75994         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75995         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75996         $(rtld-installed-name).
75997         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75998         (rtld_installed_name): Likewise.
75999         (runit): Remove function.
76000         (run_getconf): New variable,  Use it for running getconf binary.
76002 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
76004         [BZ #14716]
76005         * string/test-memmem.c (check_result): New function.
76006         (do_one_test): Use it.
76007         (check1): New function.
76008         (test_main): Use it.
76010 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
76012         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76014 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
76016         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76017         (_G_LSEEK64): Likewise.
76018         (_G_MMAP64): Likewise.
76019         (_G_FSTAT64): Likewise.
76020         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76021         (_G_LSEEK64): Likewise.
76022         (_G_MMAP64): Likewise.
76023         (_G_FSTAT64): Likewise.
76024         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76025         unconditional.  Call __mmap64 directly.
76026         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76027         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
76028         __lseek64 directly.
76029         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76030         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
76031         __mmap64 directly.
76032         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76033         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76034         __lseek64 directly.
76035         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76036         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76037         __lseek64 directly.
76038         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76039         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
76040         __lseek64 directly.
76041         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76042         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
76043         __fxstat64 directly.
76044         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76045         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76046         unconditional.
76047         (freopen64) [!_G_OPEN64]: Remove conditional code.
76048         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76049         unconditional.
76050         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76051         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76052         unconditional.
76053         (ftello64) [!_G_LSEEK64]: Remove conditional code.
76054         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76055         unconditional.
76056         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76057         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76058         unconditional.
76059         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76060         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76061         unconditional.
76062         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76063         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76064         unconditional.
76065         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76066         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76067         unconditional.
76068         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76070 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
76072         [BZ #12140]
76073         * manual/memory.texi (Malloc Tunable Parameters): Add note
76074         about free list pointers overwriting some perturb bytes.
76075         Wording suggested by Roland McGrath.
76077 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
76079         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76080         (lgamma_test): Likewise.
76081         (tgamma_test): Likewise.
76083 2012-10-16  Florian Weimer  <fweimer@redhat.com>
76085         [BZ #14700]
76086         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76087         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76089 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
76091         * NEWS: Mention BZ #14716.
76092         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76093         when removing AVAILABLE1_USES_J macro.
76095 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
76097         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76098         (__bswap_64): __uint64_t for unsigned 64-bit int.
76100 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
76102         * include/string.h (memmem): Declare libc hidden alias.
76103         * string/memmem.c (memmem): Define libc hidden alias.
76104         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76105         __read, __close instead of open, read, close.
76107 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
76109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76110         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76111         global and hidden.
76112         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76113         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76114         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76115         Likewise.
76116         (__rawmemchr_sse2): Likewise.
76117         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76118         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76119         (__strchr_sse2): Likewise.
76120         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76121         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76122         (__strcasecmp_sse2): Likewise.
76123         (__strncasecmp_sse2): Likewise.
76124         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76125         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76126         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76127         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76128         (__strrchr_sse2): Likewise.
76129         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76130         ifunc-impl-list.c.
76131         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76132         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76133         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76134         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76135         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76136         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76137         * sysdeps/x86_64/multiarch/memset.S: Likewise.
76138         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76139         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76140         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76141         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76142         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76143         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76144         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76145         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76146         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76147         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76148         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76149         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76150         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76151         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76152         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76153         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76154         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76155         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76156         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76157         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76158         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76159         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76160         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76162         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76163         global and hidden.
76164         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76165         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76166         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76167         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76168         Likewise.
76169         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76170         Likewise.
76171         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76172         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76173         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76174         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76175         ifunc-impl-list.c.
76176         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76177         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76178         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76179         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76180         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76181         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76182         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76183         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76184         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76185         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76186         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76187         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76188         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76189         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76190         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76191         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76192         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76193         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76194         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76195         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76196         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76197         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76198         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76199         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76200         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76201         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76202         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76203         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76204         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76205         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76206         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76207         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76208         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76209         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76210         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76211         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76212         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76213         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76214         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76215         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76216         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76218         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76219         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76220         * include/ifunc-impl-list.h: New file.
76221         * misc/ifunc-impl-list.c: Likewise.
76222         * misc/Makefile (routines): Add ifunc-impl-list.
76223         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76224         * string/test-string.h: Include <ifunc-impl-list.h>.
76225         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76226         TEST_NAME]: New variables.
76227         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76228         are defined.
76229         (test_init): Call __libc_ifunc_impl_list to initialize
76230         func_list if TEST_IFUNC and TEST_NAME are defined.
76232         * string/Makefile (strop-tests): Add bcopy and bzero.
76233         * string/test-bcopy.c: New file.
76234         * string/test-bzero.c: Likewise.
76235         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76236         defined.
76237         * string/test-memset.c: Support bzero test if TEST_BZERO is
76238         defined.
76239         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76240         __libc_memmove.
76241         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76242         __libc_memset.
76243         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76244         of memset.
76246 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
76248         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76249         * configure: Regenerated.
76251         * Makeconfig (+link-static-before-libc): Don't include
76252         $(link-static-libc).
76254         * libio/libio.h (_IO_pos_t): Remove.
76256 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76258         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
76259         McGrath.
76261 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76263         * crypt/crypt-entry.c: Include fips-private.h.
76264         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76265         * crypt/md5c-test.c (main): Tolerate disabled MD5.
76266         * sysdeps/unix/sysv/linux/fips-private.h: New file.
76267         * sysdeps/generic/fips-private.h: New file, dummy fallback.
76269 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76271         * crypt/crypt-private.h: Include stdbool.h.
76272         (_ufc_setup_salt_r): Return bool.
76273         * crypt/crypt-entry.c: Include errno.h.
76274         (__crypt_r): Return NULL with EINVAL for bad salt.
76275         * crypt/crypt_util.c (bad_for_salt): New.
76276         (_ufc_setup_salt_r): Check that salt is long enough and within
76277         the specified alphabet.
76278         * crypt/badsalttest.c: New file.
76279         * crypt/Makefile (tests): Add it.
76280         ($(objpfx)badsalttest): New.
76282 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
76284         * NEWS: Add entry for BZ #14602.
76286 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76288         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76289         type-generic.
76290         * math/libm-test.inc: Update comment listing what functions and
76291         macros are tested.
76292         (isgreater_test): New function.
76293         (isgreaterequal_test): Likewise.
76294         (isless_test): Likewise.
76295         (islessequal_test): Likewise.
76296         (islessgreater_test): Likewise.
76297         (isunordered_test): Likewise.
76298         (main): Call the new functions.
76300 2012-10-09  Roland McGrath  <roland@hack.frob.com>
76302         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76303         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76304         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76305         * sysdeps/i386/configure: Regenerated.
76306         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76307         * sysdeps/mach/configure: Regenerated.
76308         * sysdeps/mach/hurd/configure: Regenerated.
76309         * sysdeps/powerpc/configure: Regenerated.
76310         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76311         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76312         * sysdeps/s390/s390-32/configure: Regenerated.
76313         * sysdeps/s390/s390-64/configure: Regenerated.
76314         * sysdeps/sh/configure: Regenerated.
76315         * sysdeps/sparc/configure: Regenerated.
76316         * sysdeps/unix/sysv/linux/configure: Regenerated.
76317         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76318         * sysdeps/x86_64/configure: Regenerated.
76320         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76321         defined.  Don't check if MAP is NULL.
76323 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76325         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76326         (_G_stat64): Likewise.
76327         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76328         (_G_stat64): Likewise.
76329         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76330         instead of struct _G_stat64.
76331         * libio/fileops.c (mmap_remap_check): Likewise.
76332         (decide_maybe_mmap): Likewise.
76333         (_IO_new_file_seekoff): Likewise.
76334         (_IO_file_stat): Likewise.
76335         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76336         _G_off64_t.
76337         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76338         instead of struct _G_stat64.
76339         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76341 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
76343         [BZ #14602]
76344         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76345         Replace with ...
76346         (CHECK_EOL): New macro.
76347         (two_way_short_needle): Check beginning of haystack for EOL.  Use
76348         CHECK_EOL.
76349         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76350         Replace with CHECK_EOL.
76351         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76352         Replace with CHECK_EOL.
76354 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
76356         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76357         type-generic.
76358         * math/libm-test.inc: Update comment listing what functions and
76359         macros are tested.
76360         (finite_test): New function.
76361         (isinf_test): Likewise.
76362         (isnan_test): Likewise.
76363         (fpclassify_test): Test subnormal input.
76364         (isfinite_test): Likewise.
76365         (isnormal_test): Likewise.
76366         (main): Call the new functions.
76368 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
76370         [BZ #14660]
76371         * Makerules (%.dynsym): Force C locale when running
76372         $(OBJDUMP) --dynamic-syms.
76374 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
76376         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76377         <stdint.h>.
76379 2012-10-06  David S. Miller  <davem@davemloft.net>
76381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76382         upper 32-bits of the length value in %o2 since we use branch-on-register
76383         tests which consider the entire 64-bit register.
76385 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
76387         * string/test-strstr.c (check2): Add a test for page boundary.
76389 2012-10-05  David S. Miller  <davem@davemloft.net>
76391         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76392         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76393         file.
76394         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76395         sysdep_routines.
76396         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76397         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76398         and bzero when HWCAP_SPARC_CRYPTO is present.
76400 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
76402         [BZ #14602]
76403         * string/test-strstr.c (check2): New function.
76404         (test_main): Call check2.
76406         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76407         and bug-strchr1.
76408         * string/bug-strcasestr1.c (do_test): Moved to ...
76409         * string/test-strcasestr.c (check1): Here.  New function.
76410         (do_one_test): Break out result checking code into ...
76411         (check_result): This.  New function.
76412         (do_one_test): Call check_result.
76413         (test_main): Call check1.
76414         * string/bug-strchr1.c (do_test): Moved to ...
76415         * string/test-strchr.c (check1): Here.  New function.
76416         (do_one_test): Break out result checking code into ...
76417         (check_result): This.  New function.
76418         (do_one_test): Call check_result.
76419         (test_main): Call check1.
76420         * string/bug-strstr1.c (main): Moved to ...
76421         * string/test-strstr.c (check1): Here.  New function.
76422         (do_one_test): Break out result checking code into ...
76423         (check_result): This.  New function.
76424         (do_one_test): Call check_result.
76425         (test_main): Call check1.
76426         * string/bug-strcasestr1.c: Removed.
76427         * string/bug-strchr1.c: Likewise.
76428         * string/bug-strstr1.c: Likewise.
76430         * elf/Makefile (dl-routines): Add hwcaps.
76431         * elf/dl-support.c (_dl_important_hwcaps): Removed.
76432         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76433         (_dl_important_hwcaps): Moved to ...
76434         * elf/dl-hwcaps.c: Here.  New file.
76435         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76437         [BZ #14557]
76438         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76439         if IS_IN_rtld isn't defined.
76441         * elf/dl-support.c (_dl_sysinfo_map): New.
76442         Include "get-dynamic-info.h" and "setup-vdso.h".
76443         (_dl_non_dynamic_init): Call setup_vdso.
76444         * elf/dynamic-link.h: Don't include <assert.h>.
76445         (elf_get_dynamic_info): Moved to ...
76446         * elf/get-dynamic-info.h: Here.  New file.
76447         * elf/dynamic-link.h: Include "get-dynamic-info.h".
76448         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76449         * elf/setup-vdso.h: Here.  New file.
76450         * elf/rtld.c: Include "setup-vdso.h".
76451         (dl_main): Call setup_vdso.
76453 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
76455         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76456         creal in comment listing functions tested.  List finite, isinf,
76457         isnan, isless, islessequal, isgreater, isgreaterequal,
76458         islessgreater, isunordered, lgamma_r and pow10 as functions and
76459         macros not tested.  Mention which functions not tested are aliases
76460         for other functions.  Fix typo.  Note that signs of NaNs are not
76461         tested.
76463         * scripts/config.guess: Update from config.git.
76464         * scripts/config.sub: Likewise.
76466 2012-10-04  Roland McGrath  <roland@hack.frob.com>
76468         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76469         * misc/madvise.c (madvise): Renamed to __madvise.
76470         Make madvise a weak alias.
76471         * include/sys/mman.h: Declare __madvise.
76472         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76473         * sysdeps/unix/syscalls.list
76474         (madvise): Make __madvise the strong name, and madvise a weak alias.
76475         * sysdeps/unix/sysv/linux/syscalls.list
76476         (madvise, mmap): Remove redundant entries.
76477         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76478         * malloc/malloc.c (mtrim): Likewise.
76479         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76481 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76483         * sysdeps/mach/hurd/dl-cache.c: File removed.
76484         * config.h.in (USE_LDCONFIG): New #undef.
76485         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76486         * configure: Regenerated.
76487         * elf/Makefile (dl-routines): Add dl-cache only under
76488         [$(use-ldconfig) = yes].
76489         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76490         cache on [USE_LDCONFIG].
76491         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76492         [USE_LDCONFIG].
76493         * elf/rtld.c (dl_main): Likewise.
76495 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
76497         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76498         _SC_LEVEL4_CACHE_LINESIZE.
76500 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76502         * sysdeps/unix/bsd/confstr.h: File removed.
76504 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
76506         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76507         sys/sdt-config.h.
76509 2012-10-02  Roland McGrath  <roland@hack.frob.com>
76511         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76512         Make 'mapoff' field ElfW(Off) rather than off_t.
76514 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
76516         * nscd/Makefile: Remove nscd-cflags and all its users.
76517         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76518         (CFLAGS-nonlib): Add compiler flags for nscd modules.
76520         [BZ #10631]
76521         * malloc.c (malloc_printerr): Clarify error message.
76523 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
76525         [BZ #14648]
76526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76527         Set bit_FMA_Usable if FMA is supported.
76528         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76529         macro.
76530         (bit_FMA4_Usable): Updated.
76531         (index_FMA_Usable): New macro.
76532         (CPUID_FMA): Likewise.
76533         (HAS_FMA): Defined with bit_FMA_Usable.
76535 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76537         * bits/types.h (__swblk_t): Type removed.
76538         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76539         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76540         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76541         (__SWBLK_T_TYPE): Likewise.
76542         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76543         (__SWBLK_T_TYPE): Likewise.
76544         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76545         (__SWBLK_T_TYPE): Likewise.
76546         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76547         (__SWBLK_T_TYPE): Likewise.
76549 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
76550             Honza Horak <hhorak@redhat.com>
76552         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76553         (xdr_mapname): Use YPMAXMAP as maxsize.
76554         (xdr_peername): Use YPMAXPEER as maxsize.
76555         (xdr_keydat): Use YPAXRECORD as maxsize.
76556         (xdr_valdat): Use YPMAXRECORD as maxsize.
76558 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76560         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76562         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76563         * csu/init-first.c: ... here.
76564         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76565         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76566         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76567         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76568         * sysdeps/i386/init-first.c: File removed.
76569         * sysdeps/sh/init-first.c: File removed.
76571 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76573         [BZ #14645]
76574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76575         if x * y might underflow to zero and z is zero.
76576         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76577         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76578         * math/libm-test.inc (min_subnorm_value): New variable.
76579         (fma_test): Add more tests.
76580         (fma_test_towardzero): Likewise.
76581         (fma_test_downward): Likewise.
76582         (fma_test_upward): Likewise.
76583         (initialize): Set min_subnorm_value.
76585 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76587         [BZ #14638]
76588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76589         0 + 0.
76590         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76591         mode for addition resulting in exact zero.
76592         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76593         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76594         exact 0 + 0.
76595         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76596         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76597         * math/libm-test.inc (fma_test): Add more tests.
76598         (fma_test_towardzero): New function.
76599         (fma_test_downward): Likewise.
76600         (fma_test_upward): Likewise.
76601         (main): Call the new functions.
76603 2012-09-28  David S. Miller  <davem@davemloft.net>
76605         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76607 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76609         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76610         instead of SIGALRM.
76612         * sysdeps/gnu/_G_config.h: Moved to ...
76613         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76614         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76615         * sysdeps/generic/_G_config.h: ... here.
76617         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76619         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76621         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76622         Conditionalize target on [libnss_test1.so-version].
76624         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76626         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76627         (elfobjdir): Move out of conditionals.
76629         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76630         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76631         (__nss_lookup_function): Conditionalize label remove_from_tree on
76632         [!DO_STATIC_NSS || SHARED], matching its only use.
76634 2012-09-28  David S. Miller  <davem@davemloft.net>
76636         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76637         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76638         file.
76639         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76640         sysdep_routines.
76641         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76642         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76643         when HWCAP_SPARC_CRYPTO is present.
76645 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76647         * io/tst-mknodat.c: Create a FIFO instead of a socket.
76649 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
76651         [BZ #6530]
76652         * stdio-common/vfprintf.c (process_string_arg): Revert
76653         2000-07-22 change.
76655 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
76657         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76658         for testcase.
76659         * stdio-common/tst-sprintf.c: Include <locale.h>
76660         (main): Test sprintf's handling of incomplete multibyte
76661         characters.
76663 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
76665         * elf/dl-runtime.c (VERSYMIDX): Removed.
76666         * elf/dl-version.c (VERSYMIDX): Likewise.
76667         * elf/do-rel.h (VERSYMIDX): Likewise.
76668         (VALIDX): Likewise.
76669         * elf/dynamic-link.h (VERSYMIDX): Likewise.
76670         * elf/rtld.c (VALIDX): Likewise.
76671         (ADDRIDX): Likewise.
76672         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76673         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76674         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76675         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76676         (VALIDX): Likewise.
76677         (ADDRIDX): Likewise.
76679 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76681         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76683 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
76685         [BZ #11438]
76686         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76687         to global scope.
76688         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76689         addresses are in the same scope as 192.0.2/24.
76690         * posix/gai.conf: Document new scope table defaults.
76692 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76694         [BZ #5298]
76695         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76696         for ftell.  Compute offsets from write pointers instead.
76697         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76699 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76701         [BZ #14543]
76702         * libio/Makefile (tests): New test case tst-fseek.
76703         * libio/tst-fseek.c: New test case to verify that fseek/ftell
76704         combination works in wide mode.
76705         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76706         state when the external buffer state changes.
76708 2012-09-27  David S. Miller  <davem@davemloft.net>
76710         [BZ #14376]
76711         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76712         pass reloc->r_addend in as the 'high' argument to
76713         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76717 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76719         * rt/tst-aio2.c: Include <pthread.h>.
76720         * rt/tst-aio3.c: Likewise.
76722 2012-09-27  Steve Ellcey  <sellcey@mips.com>
76724         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76726 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
76728         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76729         contents on [SHARED].
76731 2012-09-26  Marek Polacek  <polacek@redhat.com>
76733         [BZ #14530]
76734         [BZ #13741]
76735         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76736         for C++ and GCC <4.3 as well as for non GCC compilers.
76738 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
76740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76742 2012-09-25  Roland McGrath  <roland@hack.frob.com>
76744         * Makefile.in (all, install): Declare with .PHONY.
76745         Reported by Michael Hope <michael.hope@linaro.org>.
76747 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76749         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76750         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76751         system header.
76752         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76753         Likewise.
76754         (sydep_routines): Add the new and the internal functions.
76755         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76756         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76758         (GLIBC_2.17): Add the new function.
76759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76760         (GLIBC_2.17): Likewise.
76761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76762         (GLIBC_2.17): Likewise.
76763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76764         (GLIBC_2.17): Likewise.
76765         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76767 2012-09-25  Alan Modra  <amodra@gmail.com>
76769         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76770         Add release barrier before setting once_control to say
76771         initialisation is done.  Add hints on lwarx.  Use macro in
76772         place of isync.
76773         (clear_once_control): Add release barrier.
76775 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76777         [BZ #13629]
76778         * math/s_clog.c (__clog): Handle more values close to |z| = 1
76779         specially.
76780         * math/s_clog10.c (__clog10): Likewise.
76781         * math/s_clog10f.c (__clog10f): Likewise.
76782         * math/s_clog10l.c (__clog10l): Likewise.
76783         * math/s_clogf.c (__clogf): Likewise.
76784         * math/s_clogl.c (__clogl): Likewise.
76785         * math/Makefile (libm-calls): Add x2y2m1.
76786         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76787         (__x2y2m1): Likewise.
76788         (__x2y2m1l): Likewise.
76789         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76790         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76791         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76792         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76793         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76794         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76795         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76796         * sysdeps/i386/fpu/libm-test-ulps: Update.
76797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76799         [BZ #14621]
76800         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76801         int as type of variable DEPTH.
76802         (glob): Use size_t instead of int as type of variables NEWCOUNT
76803         and OLD_PATHC.
76805 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76807         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76808         Add s_sincosf-sse2.
76809         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76810         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76811         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76812         macros for using routine as __sincosf_ia32.
76813         Use macro for function declaration and weak_alias.
76814         * sysdeps/i386/fpu/libm-test-ulps: Update.
76816         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76819         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76820         subnormal argument.
76821         * math/s_cexpf.c (__cexpf): Likewise.
76822         * math/s_csinf.c (__csinf): Likewise.
76823         * math/s_csinhf.c (__csinhf): Likewise.
76824         * math/s_ctanf.c (__ctanf): Likewise.
76825         * math/s_ctanhf.c (__ctanhf): Likewise.
76826         * math/s_ccosh.c (__ccoshf): Likewise.
76827         * math/s_cexp.c (__cexpl): Likewise.
76828         * math/s_csin.c (__csin): Likewise.
76829         * math/s_csinh.c (__csinh): Likewise.
76830         * math/s_ctan.c (__ctan): Likewise.
76831         * math/s_ctanh.c (ctanh): Likewise.
76832         * math/s_ccoshl.c (__ccoshl): Likewise.
76833         * math/s_cexpl.c (__cexpl): Likewise.
76834         * math/s_csinl.c (__csinl): Likewise.
76835         * math/s_csinhl.c (__csinhl): Likewise.
76836         * math/s_ctanl.c (__ctanl): Likewise.
76837         * math/s_ctanhl.c (__ctanhl): Likewise.
76839 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76841         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76842         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76843         (_IO_off_t): Define to __off_t, not _G_off_t.
76844         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76845         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76846         (_IO_wint_t): Define to wint_t, not _G_wint_t.
76847         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76848         type of __dummy and __dummy2 fields.
76849         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76850         (_G_ssize_t): Likewise.
76851         (_G_off_t): Likewise.
76852         (_G_pid_t): Likewise.
76853         (_G_uid_t): Likewise.
76854         (_G_wchar_t): Likewise.
76855         (_G_wint_t): Likewise.
76856         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76857         (_G_ssize_t): Likewise.
76858         (_G_off_t): Likewise.
76859         (_G_pid_t): Likewise.
76860         (_G_uid_t): Likewise.
76861         (_G_wchar_t): Likewise.
76862         (_G_wint_t): Likewise.
76863         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76864         (_G_ssize_t): Likewise.
76865         (_G_off_t): Likewise.
76866         (_G_pid_t): Likewise.
76867         (_G_uid_t): Likewise.
76868         (_G_wchar_t): Likewise.
76869         (_G_wint_t): Likewise.
76871 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76873         * malloc/arena.c: Include malloc-sysdep.h.
76874         (shrink_heap): Use check_may_shrink_heap to decide if madvise
76875         is sufficient to shrink the heap or an unmap is needed.
76876         * sysdeps/generic/malloc-sysdep.h: New file.  Define
76877         new function check_may_shrink_heap.
76878         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
76879         new function check_may_shrink_heap.
76881 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76883         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76884         comments.
76886 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
76888         * catgets/test-gencat.sh: Add "set -e".
76889         * elf/tst-pathopt.sh: Likewise.
76890         * grp/tst_fgetgrent.sh: Likewise.
76891         * iconvdata/run-iconv-test.sh: Likewise.
76892         * intl/tst-gettext.sh: Likewise.
76893         * intl/tst-gettext2.sh: Likewise.
76894         * intl/tst-gettext4.sh: Likewise.
76895         * intl/tst-gettext6.sh: Likewise.
76896         * intl/tst-translit.sh: Likewise.
76897         * io/ftwtest-sh: Likewise.
76898         * libio/test-freopen.sh: Likewise.
76899         * malloc/tst-mtrace.sh: Likewise.
76900         * posix/globtest.sh: Likewise.
76901         * posix/tst-getconf.sh: Likewise.
76902         * posix/wordexp-tst.sh: Likewise.
76903         * stdio-common/tst-printf.sh: Likewise.
76904         * stdio-common/tst-unbputc.sh: Likewise.
76905         * stdlib/tst-fmtmsg.sh: Likewise.
76906         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76907         * catgets/Makefile: Do not specify -e option when running
76908         testsuite shell scripts.
76909         * elf/Makefile: Likewise.
76910         * grp/Makefile: Likewise.
76911         * iconvdata/Makefile: Likewise.
76912         * intl/Makefile: Likewise.
76913         * io/Makefile: Likewise.
76914         * libio/Makefile: Likewise.
76915         * malloc/Makefile: Likewise.
76916         * posix/Makefile: Likewise.
76917         * stdio-common/Makefile: Likewise.
76918         * stdlib/Makefile: Likewise.
76919         * sysdeps/x86_64/Makefile: Likewise.
76921         * io/ftwtest-sh: Add copyright header.
76922         * posix/globtest.sh: Likewise.
76923         * posix/tst-getconf.sh: Likewise.
76924         * posix/wordexp-tst.sh: Likewise.
76925         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76927 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
76929         [BZ #13679]
76930         * Makeconfig (+link): Defined as $(+link-static) if
76931         $(build-shared) isn't yes.
76932         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76933         isn't yes.
76934         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76936         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76938         [BZ #14562]
76939         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76940         new chunk size with MALLOC_ALIGN_MASK.
76942 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
76944         [BZ #5044]
76945         * stdio-common/printf_fphex.c: Include <stdbool.h> and
76946         <rounding-mode.h>.
76947         (__printf_fphex): Determine rounding using get_rounding_mode and
76948         round_away.
76949         * stdio-common/tst-printf-round.c (struct hex_test): New
76950         structure.
76951         (hex_tests): New variable.
76952         (test_hex_in_one_mode): New function.
76953         (do_test): Also run tests for hex float output.
76955 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
76957         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76958         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76959         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76960         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76961         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76962         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76963         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76964         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76966 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
76968         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76969         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76970         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76971         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76973 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
76975         [BZ #14579]
76976         * elf/rtld.c (dl_main): Limit the check for self loading to normal
76977         mode only.
76978         * elf/tst-rtld-load-self.sh: New test.
76979         * elf/Makefile: Run it.
76981 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
76983         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76984         (tst-writev-ENV): Remove.
76985         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76987 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
76989         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76991 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
76993         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76994         unconditional.
76995         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76996         Likewise.
76997         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76998         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76999         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77000         Likewise.
77002 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
77004         [BZ #14587]
77005         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77006         * config.make.in (have-cpp-asm-debuginfo): Removed.
77007         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77008         * configure: Regenerated.
77010 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
77012         [BZ #5044]
77013         * stdio-common/printf_fp.c: Include <stdbool.h> and
77014         <rounding-mode.h>.
77015         (___printf_fp): Determine rounding using get_rounding_mode and
77016         round_away.
77017         * stdio-common/tst-printf-round.c: New file.
77018         * stdio-common/Makefile (tests): Add tst-printf-round.
77019         (link-libm): New variable.
77020         ($(objpfx)tst-printf-round): Depend in $(link-libm).
77022 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
77024         [BZ #14576]
77025         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77026         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77027         Likewise.
77028         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77029         Likewise.
77031 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
77033         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77034         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77035         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77036         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77038 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
77040         [BZ #14518]
77041         * include/rounding-mode.h: New file.
77042         * sysdeps/generic/get-rounding-mode.h: Likewise.
77043         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77044         * stdlib/strtod_l.c: Include <rounding-mode.h>.
77045         (MAX_VALUE): New macro.
77046         (MIN_VALUE): Likewise.
77047         (overflow_value): New function.
77048         (underflow_value): Likewise.
77049         (round_and_return): Use overflow_value and underflow_value to
77050         determine return values in overflow and underflow cases.  Use
77051         round_away to determine rounding depending on rounding mode.
77052         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77053         determine return values in overflow and underflow cases.
77054         * stdlib/tst-strtod-round.c: Include <fenv.h>.
77055         (struct test_results): New structure.
77056         (struct test): Use struct test_results to store expected results
77057         for all rounding modes.
77058         (TEST): Include expected results for all rounding modes.
77059         (test_in_one_mode): New function.
77060         (do_test): Use test_in_one_mode to compute and check results.
77061         Check results for all rounding modes.
77062         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77063         $(link-libm).
77065 2012-12-09  Allan McRae  <allan@archlinux.org>
77067         * sysdeps/i386/fpu/libm-test-ulps: Update
77069 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
77071         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77072         (_G_int32_t): Likewise.
77073         (_G_uint16_t): Likewise.
77074         (_G_uint32_t): Likewise.
77075         (_G_HAVE_BOOL): Likewise.
77076         (_G_HAVE_ATEXIT): Likewise.
77077         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77078         (_G_HAVE_IO_FILE_OPEN): Likewise.
77079         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77080         (_G_int32_t): Likewise.
77081         (_G_uint16_t): Likewise.
77082         (_G_uint32_t): Likewise.
77083         (_G_HAVE_BOOL): Likewise.
77084         (_G_HAVE_ATEXIT): Likewise.
77085         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77086         (_G_HAVE_IO_FILE_OPEN): Likewise.
77087         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77088         (_G_int32_t): Likewise.
77089         (_G_uint16_t): Likewise.
77090         (_G_uint32_t): Likewise.
77091         (_G_HAVE_BOOL): Likewise.
77092         (_G_HAVE_ATEXIT): Likewise.
77093         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77094         (_G_HAVE_IO_FILE_OPEN): Likewise.
77096 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
77098         * csu/libc-tls.c: Update copyright years.
77100 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
77102         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77103         [!_G_USING_THUNKS]: Remove conditional code.
77104         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77105         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77107         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77108         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77109         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77110         (_G_VTABLE_LABEL_PREFIX): Likewise.
77111         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77112         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77113         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77114         (_G_VTABLE_LABEL_PREFIX): Likewise.
77115         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77116         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77117         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77118         (_G_VTABLE_LABEL_PREFIX): Likewise.
77119         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77121 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
77123         * libio/Makefile: Include ../Makeconfig before tests.
77124         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77125         only if $(build-shared) is yes.
77127         * iconv/gconv_db.c: Update copyright years.
77129 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77131         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77132         unwind info if defined PIC. Fix special cases description.
77133         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77135         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77136         DP_HI_MASK entry.
77137         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77139 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
77141         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77143         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77144         is NULL.
77146         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77147         (LDLIBS-tst-chk4): This.
77148         (LDFLAGS-tst-chk5): Renamed to ...
77149         (LDLIBS-tst-chk5): This.
77150         (LDFLAGS-tst-chk6): Renamed to ...
77151         (LDLIBS-tst-chk6): This.
77152         (LDFLAGS-tst-lfschk4): Renamed to ...
77153         (LDLIBS-tst-lfschk4): This.
77154         (LDFLAGS-tst-lfschk5): Renamed to ...
77155         (LDLIBS-tst-lfschk5): This.
77156         (LDFLAGS-tst-lfschk6): Renamed to ...
77157         (LDLIBS-tst-lfschk6): This.
77159         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77160         on $(common-objpfx)soversions.mk.
77162 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
77164         [BZ #10014]
77165         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77166         example host name.
77168 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
77170         * malloc/arena.c (arena_get_retry): New function that gets
77171         another arena for the caller to try its request on.
77172         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77173         current arena cannot fulfill the request.
77174         (__libc_memalign): Likewise.
77175         (__libc_memalign): Likewise.
77176         (__libc_pvalloc): Likewise.
77177         (__libc_calloc): Likewise.
77179 2012-09-05  John Tobey  <john.tobey@gmail.com>
77181         [BZ #13542]
77182         * manual/arith.texi (Operations on Complex): Fix description
77183         of carg branch cut.
77185 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77187         [BZ #10014]
77188         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77189         host name.
77191         [BZ #10038]
77192         * manual/memory.texi (Memory): Make order of menu items match
77193         order of sections.
77195 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77197         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77198         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
77199         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77201 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77203         * csu/libc-tls.c (static_dtv): Renamed to ...
77204         (_dl_static_dtv): This.  Make it global.
77205         (_dl_initial_dtv): Removed.
77206         (__libc_setup_tls): Updated.
77207         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77208         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77209         DL_INITIAL_DTV.
77211 2012-09-06  Petr Machata  <pmachata@redhat.com>
77213         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77214         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77215         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77216         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77218 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77220         [BZ #14545]
77221         * csu/libc-tls.c (_dl_initial_dtv): New variable.
77222         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77223         freeing dtv[-1].
77225 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77227         [BZ #14544]
77228         * Makeconfig (link-static-before-libc): Replace $(+prector)
77229         with $(+prectorT).
77230         (link-static-after-libc): Replace $(+postctor) with
77231         $(+postctorT).
77232         (link-bounded): Replace $(+prector)/$(+postctor) with
77233         $(+prectorT)/$(+postctorT).
77234         (+prectorT): New macro.
77235         (+postctorT): Likewise.
77237 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77239         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77240         (round_str): Handle values above the maximum for IBM long double
77241         as inexact.
77242         * stdlib/tst-strtod-round.c (tests): Regenerated.
77244 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77246         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77247         assembler flag.
77248         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77249         zarch_nohighgprs around the zarch optimized routines.
77250         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77251         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77252         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77253         for zarch.
77255 2012-09-05  David S. Miller  <davem@davemloft.net>
77257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77259         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77260         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77261         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77262         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77263         entries.
77265 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77267         * malloc/arena.c: Fold copyright years.
77268         * malloc/mcheck.c, malloc/memusage.c: Likewise.
77270 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77272         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77274 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77276         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
77278 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77280         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77281         change internal state upon failure.
77283 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77285         * malloc/mcheck.c (mcheck_check_all): Fix typo.
77286         * malloc/memusage.c (mmap): Likewise.
77287         (mmap64, mremap): Likewise.  Adjust name in comment.
77289 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77291         * libio/fileops.c: Fix typos in comments.
77292         * libio/oldfileops.c: Likewise.
77293         * libio/wfileops.c: Likewise.
77295 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77297         [BZ #1349]
77298         * malloc/Makefile (tests): Add tst-malloc-usable test case.
77299         (tst-malloc-usable-ENV): Set environment for test case.
77300         * malloc/hooks.c (malloc_check_get_size): New function to get
77301         requested size.
77302         * malloc/malloc.c (musable): Use malloc_check_get_size.
77303         * malloc/tst-malloc-usable.c: New test case.
77305 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77307         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77309 2012-09-05  Allan McRae  <allan@archlinux.org>
77311         [BZ #13966]
77312         * configure.in (CXX_SYSINCLUDES): Use compiler output to
77313         determine header location.
77314         * configure: Regenerated.
77316 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77318         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77319         float format.
77320         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77321         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77322         format.
77323         (test): Regenerate.
77325 2012-09-04  David S. Miller  <davem@davemloft.net>
77327         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77328         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77329         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77331 2012-09-04  Florian Weimer  <fweimer@redhat.com>
77333         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77334         failures.
77336         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77338 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
77340         [BZ #9914]
77341         * libio/iogetdelim.c: Include <limits.h>.
77342         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77343         + len + 1 would overflow.
77345 2012-09-03  Andreas Jaeger  <aj@suse.de>
77347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77348         * sysdeps/i386/fpu/libm-test-ulps: Update.
77350 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77352         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77353         Add s_sinf-sse2, s_conf-sse2.
77355         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77356         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77357         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77358         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77360         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77361         for using routine as __sinf_ia32.
77362         Use macro for function declaration and weak_alias.
77363         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77364         for using routine as __cosf_ia32.
77365         Use macro for function declaration and weak_alias.
77367         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77368         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77370         * sysdeps/x86_64/fpu/s_sinf.S: New file.
77371         * sysdeps/x86_64/fpu/s_cosf.S: New file.
77372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77374         * math/libm-test.inc (cos_test): Add more test cases.
77375         (sin_test): Likewise.
77376         (sincos_test): Likewise.
77378 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77380         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77381         (IFUNC_RESOLVE): Make pointers to the specialized implementations
77382         hidden.
77383         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77385 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
77387         [BZ #14538]
77388         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77389         first element of the GOT.
77390         (elf_machine_load_address): Return the difference between
77391         the runtime address of _DYNAMIC and elf_machine_dynamic ().
77393 2012-09-01  Allan McRae  <allan@archlinux.org>
77395         [BZ #13412]
77396         * configure.in (AWK): Require gawk version 3.0 or later.
77397         * configure: Regenerated.
77399 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
77401         * sysdeps/unix/sysv/linux/kernel-features.h
77402         (__ASSUME_POSIX_CPU_TIMERS): Remove.
77403         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77404         [__NR_clock_getres]: Make code unconditional.
77405         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77406         (clock_getcpuclockid): Remove code left unreachable by removal of
77407         conditionals.
77408         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77409         code unconditional.
77410         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77411         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77412         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77413         Make code unconditional.
77414         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77415         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77416         * sysdeps/unix/sysv/linux/clock_settime.c
77417         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77418         conditional code.
77419         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77420         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77422 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
77424         [BZ #14476]
77425         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77426         scripts/test-installation.pl.
77428         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77429         and $ld_so_version if it is set.
77431 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
77433         [BZ #14516]
77434         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77435         failure if reading from procfs failed.
77436         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77438 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77440         * sysdeps/unix/sysv/linux/kernel-features.h
77441         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77442         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77443         Remove conditional code.
77444         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77445         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77446         Remove conditional code.
77447         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77448         * sysdeps/unix/sysv/linux/i386/fxstat.c
77449         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77450         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77451         * sysdeps/unix/sysv/linux/i386/fxstatat.c
77452         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77453         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77454         * sysdeps/unix/sysv/linux/i386/lxstat.c
77455         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77456         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77457         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77458         Remove conditional code.
77459         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77460         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77461         Remove conditional code.
77462         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77463         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77464         <kernel-features.h>.
77465         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77466         Remove.
77467         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77468         Remove conditional code.
77469         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77470         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77471         Remove conditional.
77473 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
77475         [BZ #5400]
77476         * NEWS: Add fixed bug number.
77478 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77480         [BZ #14519]
77481         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77482         underflowing exponent in case of negative sign.
77483         * stdlib/tst-strtod-round-data: Add more tests.
77484         * stdlib/tst-strtod-round.c (tests): Regenerated.
77486         [BZ #3479]
77487         * stdlib/strtod_l.c (NDIG): Remove.
77488         (HEXNDIG): Likewise.
77489         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77490         smallest representable value.
77491         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77492         lie within an exact representation of 1/2 ulp of the result.
77493         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77494         unconditionally.
77495         (TENS_P9_IDX): Define unconditionally.
77496         (TENS_P9_SIZE): Likewise.
77497         (TENS_P10_IDX): Likewise.
77498         (TENS_P10_SIZE): Likewise.
77499         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77500         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77501         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77502         entries for 10^2^13 and 10^2^14.
77503         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77504         (TENS_P13_IDX): Define.
77505         (TENS_P13_SIZE): Likewise.
77506         (TENS_P14_IDX): Likewise.
77507         (TENS_P14_SIZE): Likewise.
77508         (_fpioconst_pow10): Change array size to
77509         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
77510         unconditional.
77511         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77512         1024]: Add entries for 10^2^13 and 10^2^14.
77513         [LAST_POW10 > _LAST_POW10]: Remove #error.
77514         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77515         (_fpioconst_pow10): Change array size to
77516         FPIOCONST_POW10_ARRAY_SIZE.
77517         * stdlib/gen-fpioconst.c: New file.
77518         * stdlib/gen-tst-strtod-round.c: Likewise.
77519         * stdlib/tst-strtod-round-data: Likewise.
77520         * stdlib/tst-strtod-round.c: Likewise.
77521         * stdlib/Makefile (tests): Add tst-strtod-round.
77523         [BZ #14459]
77524         * stdlib/strtod_l.c: Include <stdint.h>.
77525         (NDEBUG): Do not define.
77526         (round_and_return): Change EXPONENT parameter to type intmax_t.
77527         Rearrange calculations to avoid internal overflow possibilities.
77528         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77529         Rearrange calculations to avoid internal overflow possibilities.
77530         Assert that number fits inside MPNSIZE limbs.
77531         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77532         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
77533         calculations and add assertions to avoid internal overflow
77534         possibilities.  Add casts to avoid signed/unsigned operations.
77535         * stdlib/tst-strtod-overflow.c: New file.
77536         * stdlib/Makefile (tests): Add tst-strtod-overflow.
77538 2012-08-25  Marek Polacek  <polacek@redhat.com>
77540         * time/time.h: Fix some typos in comments.
77542 2012-08-23  Roland McGrath  <roland@hack.frob.com>
77544         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77545         * posix/tst-rfc3484-2.c: Likewise.
77546         * posix/tst-rfc3484-3.c: Likewise.
77548 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
77550         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77551         (EF_ARM_ABI_FLOAT_HARD): Likewise.
77553 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
77555         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77556         #include of fxstatat64.c.
77558 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77560         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77561         * shadow/getspent_r.c: Likewise.
77562         * shadow/getspnam.c: Likewise.
77563         * shadow/getspnam_r.c: Likewise.
77564         * gshadow/getsgent.c: Likewise.
77565         * gshadow/getsgent_r.c: Likewise.
77566         * gshadow/getsgnam.c: Likewise.
77567         * gshadow/getsgnam_r.c: Likewise.
77568         * inet/getnetbyad.c: Likewise.
77569         * inet/getnetbyad_r.c: Likewise.
77570         * inet/getnetbynm.c: Likewise.
77571         * inet/getnetbynm_r.c: Likewise.
77572         * inet/getnetent.c: Likewise.
77573         * inet/getnetent_r.c: Likewise.
77574         * inet/getproto.c: Likewise.
77575         * inet/getproto_r.c: Likewise.
77576         * inet/getprtent.c: Likewise.
77577         * inet/getprtent_r.c: Likewise.
77578         * inet/getprtname.c: Likewise.
77579         * inet/getprtname_r.c: Likewise.
77580         * inet/getrpcbyname.c: Likewise.
77581         * inet/getrpcbyname_r.c: Likewise.
77582         * inet/getrpcbynumber.c: Likewise.
77583         * inet/getrpcbynumber_r.c: Likewise.
77584         * inet/getrpcent.c: Likewise.
77585         * inet/getrpcent_r.c: Likewise.
77586         * inet/getaliasent.c: Likewise.
77587         * inet/getaliasent_r.c: Likewise.
77588         * inet/getaliasname.c: Likewise.
77589         * inet/getaliasname_r.c: Likewise.
77590         * nscd/getgrgid_r.c: Likewise.
77591         * nscd/getgrnam_r.c: Likewise.
77592         * nscd/gethstbyad_r.c: Likewise.
77593         * nscd/gethstbynm3_r.c: Likewise.
77594         * nscd/getpwnam_r.c: Likewise.
77595         * nscd/getpwuid_r.c: Likewise.
77596         * nscd/getsrvbynm_r.c: Likewise.
77597         * nscd/getsrvbypt_r.c: Likewise.
77598         * nscd/gai.c: Likewise.
77600         * configure.in (build_nscd): New substituted variable, set
77601         by --disable-build-nscd and defaults to $use_nscd.
77602         * configure: Regenerated.
77603         * config.make.in (build-nscd): New substituted variable.
77604         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77605         Change conditional to require [$(build-nscd) = yes] as well.
77606         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77608         [BZ #13696]
77609         * configure.in (use_nscd): New substituted variable, set by
77610         --disable-nscd.  If enabled, define USE_NSCD.
77611         * configure: Regenerated.
77612         * config.h.in: Add USE_NSCD.
77613         * config.make.in (use-nscd): New substituted variable.
77614         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77615         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77616         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77617         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77618         (CFLAGS-getgrnam_r.c): Likewise.
77619         (CFLAGS-initgroups.c): Likewise.
77620         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77621         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77622         Variables removed.
77623         * inet/getnetgrent_r.c
77624         (nscd_setnetgrent): New function, broken out of ...
77625         (setnetgrent): ... here.  Call it.
77626         (innetgr): Conditionalize nscd bits on [USE_NSCD].
77627         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77628         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77629         * nscd/Makefile (routines, aux): Move definitions after include of
77630         Makeconfig.  Conditionalize on [$(use-nscd) != no].
77631         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77632         Conditionalize on [USE_NSCD].
77633         (is_nscd, nscd_init_cb): Likewise.
77634         (nss_load_library): Conditionalize init callback on [USE_NSCD].
77635         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77636         * nss/nss_db/db-init.c: Likewise.
77637         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77638         [USE_NSCD].
77639         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77640         (make_request): Use it.
77641         (cache_valid_p): New function.
77642         (__check_pf): Use it.
77643         * NEWS: Add item for --disable-nscd.
77645 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
77647         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77648         to support sed >= 4.2.1-20-ga9bf076.
77649         * configure: Regenerated.
77651 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77653         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77654         Conditionalize whole body on [IREL].
77656 2012-08-22  Jeff Law <law@redhat.com>
77658         [BZ #14505]
77659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77660         if the family is PF_UNSPEC.
77662 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
77664         * Makerules (lib-version): Rename from V.
77665         (install-lib-nosubdir): Change V to lib-version.
77667 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
77669         [BZ #14252]
77670         * powerpc32/power6/wcschr.c: New file.
77671         * powerpc32/power6/wcscpy.c: New file.
77672         * powerpc32/power6/wcsrchr.c: New file.
77673         * powerpc64/power6/wcschr.c: New file.
77674         * powerpc64/power6/wcscpy.c: New file.
77675         * powerpc64/power6/wcsrchr.c: New file.
77677 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77679         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77680         (two_way_short_needle): Use it.
77681         * string/strstr.c (AVAILABLE1_USES_J): Define.
77682         * string/strcasestr.c: Likewise.
77684         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77685         array references.
77686         * string/strcasestr.c (TOLOWER): Make side-effect safe.
77688         [BZ #11607]
77689         * NEWS: Add an entry.
77690         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77691         define their defaults.
77692         (two_way_short_needle): Detect end-of-string on-the-fly.
77693         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77694         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77695         * string/bug-strcasestr1.c: New test.
77696         * string/Makefile: Run it.
77698 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77700         [BZ #11607]
77701         * string/str-two-way.h (two_way_short_needle): Optimize matching of
77702         the first character.
77704 2012-08-21  Roland McGrath  <roland@hack.frob.com>
77706         * csu/elf-init.c (__libc_csu_irel): Function removed.
77707         * csu/libc-start.c (apply_irel): New function.
77708         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77710 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
77712         * sysdeps/unix/sysv/linux/kernel-features.h
77713         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77714         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77715         <kernel-features.h>.
77716         [__NR_fadvise64_64]: Make code unconditional.
77717         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77718         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77719         !__NR_fadvise64_64)]: Likewise.
77720         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77721         !__NR_fadvise64_64))]: Likewise.
77722         [__NR_fadvise64]: Make code unconditional.
77723         [!__NR_fadvise64]: Remove conditional code.
77724         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77725         <kernel-features.h>.
77726         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77727         unconditional.
77728         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77729         conditional code.
77730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77731         not include <kernel-features.h>.
77732         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77733         unconditional.
77734         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77735         conditional code.
77736         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77737         include <kernel-features.h>.
77738         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77739         unconditional.
77740         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77741         conditional code.
77743 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77745         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77746         slight instruction rearrangements per scrollpipe analysis.
77747         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77749 2012-08-20  Roland McGrath  <roland@hack.frob.com>
77751         * manual/syslog.texi (syslog; vsyslog, closelog):
77752         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77753         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77755         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77756         DSOCAPS to match condition on defining it.
77758 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
77760         * sysdeps/unix/sysv/linux/kernel-features.h
77761         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77763         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77764         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77766         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77767         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77769         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77770         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77772         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77773         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77775         * sysdeps/unix/sysv/linux/kernel-features.h
77776         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77777         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77778         unconditional.
77779         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77780         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77781         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77782         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77783         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77784         Make code unconditional.
77785         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77786         (__mmap64) [!__NR_mmap2]: Likewise.
77787         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77788         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77789         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77790         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77791         [__NR_mmap2]: Make code unconditional.
77792         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77793         (__mmap64) [!__NR_mmap2]: Likewise.
77795 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77797         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77799 2012-08-18  Andreas Jaeger  <aj@suse.de>
77801         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77803 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77805         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77806         * include/unistd.h (__have_sock_cloexec): Likewise.
77807         (__have_pipe2): Likewise.
77808         (__have_dup3): Likewise.
77810 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77812         [BZ #9685]
77813         * include/unistd.h (__have_pipe2): Change define into an extern int.
77814         (__have_dup3): Likewise.
77815         * socket/have_sock_cloexec.c: Include fcntl.h.
77816         (__have_pipe2): New variable.
77817         (__have_dup3): Likewise.
77819 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
77821         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77823 2012-08-17  Marek Polacek  <polacek@redhat.com>
77825         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77826         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77828 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77830         * configure.in: Add AC_SUBST for sysheaders.
77831         * configure: Regenerated.
77832         * config.make.in (sysheaders): New substituted variable.
77834         * sysdeps/unix/mkfifo.c: Moved ...
77835         * sysdeps/posix/mkfifo.c: ... here.
77836         * sysdeps/unix/mkfifoat.c: Moved ...
77837         * sysdeps/posix/mkfifoat.c: ... here.
77839         * sysdeps/unix/utime.c: Moved ...
77840         * sysdeps/posix/utime.c: ... here.
77842         * sysdeps/unix/time.c: Moved ...
77843         * sysdeps/posix/time.c: ... here.
77844         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77845         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77847         * sysdeps/unix/nice.c: Moved ...
77848         * sysdeps/posix/nice.c: ... here.
77850         * sysdeps/unix/alarm.c: Moved ...
77851         * sysdeps/posix/alarm.c: ... here.
77853         * intl/Makefile ($(codeset_mo)): Depend on the input file.
77855 2012-08-17  Jeff Law <law@redhat.com>
77857         * intl/Makefile (codeset_mo): New variable.
77858         ($(codeset_mo)): New target.
77859         (tst-codeset.out): Depend on that.  Remove explicit rule.
77860         (tst-gettext3.out, tst-gettext5.out): Likewise.
77861         (LOCPATH-ENV, tst-codeset-ENV): New variables.
77862         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77863         * intl/tst-codeset.sh: Remove.
77864         * intl/tst-gettext3.sh: Likewise.
77865         * intl/tst-gettext5.sh: Likewise.
77867 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77869         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
77870         * sysdeps/unix/syscalls.list: ... here.
77872         * sysdeps/posix/getaddrinfo.c
77873         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77874         (gaiconf_init, gaiconf_reload): Use them.
77875         [!_STATBUF_ST_NSEC]
77876         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77877         Define using time_t rather than struct timespec.
77879         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77880         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77881         Macros removed.
77882         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77883         [!NO_THREADS].
77884         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77885         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77886         Likewise.
77888         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77889         __libc_cleanup_push argument.
77891         * bits/param.h: New file.
77892         * misc/sys/param.h: New file.
77893         * include/sys/param.h: New file.
77894         * misc/Makefile (headers): Add bits/param.h.
77895         * sysdeps/generic/sys/param.h: File removed.
77896         * sysdeps/unix/sysv/linux/bits/param.h: New file.
77897         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77898         * sysdeps/mach/hurd/bits/param.h: New file.
77899         * sysdeps/mach/hurd/sys/param.h: File removed.
77901         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77902         last change.
77904         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77905         [_IO_MTSAFE_IO].
77906         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77907         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77908         New macros.
77910         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77911         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77912         rather than -D_IO_MTSAFE_IO conditionally.
77913         * stdio-common/Makefile (CPPFLAGS): Likewise.
77914         * wcsmbs/Makefile (CPPFLAGS): Likewise.
77915         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77916         Use $(libio-mtsafe).
77917         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77918         of -D_IO_MTSAFE_IO.
77919         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77920         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77921         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77922         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77923         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77924         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77925         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77926         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77927         (CFLAGS-fread_u_chk.c): Likewise.
77928         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77929         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77930         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77931         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77932         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77933         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77934         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77935         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77936         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77938         * libio/Makefile: Test [$(libc-reentrant) = yes]
77939         instead of [$(filter %REENTRANT, $(defines)) nonempty].
77941         * Makeconfig
77942         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77943         * sysdeps/pthread/configure: File removed.
77944         * sysdeps/pthread/Makeconfig: New file.
77945         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77946         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77948 2012-08-16  Gary Benson  <gbenson@redhat.com>
77950         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77951         unmapping the first object in a namespace.
77953 2012-08-16  Roland McGrath  <roland@hack.frob.com>
77955         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77956         (__internal_setnetgrent): ... this.  Add internal_function to
77957         definition.  Add libc_hidden_def.
77958         (setnetgrent): Update caller.
77959         (internal_endnetgrent): Renamed to ...
77960         (__internal_endnetgrent): ... this.  Add internal_function to
77961         definition.  Add libc_hidden_def.
77962         (endnetgrent): Update caller.
77963         (internal_getnetgrent_r): Renamed to ...
77964         (__internal_getnetgrent_r): ... this.  Add internal_function to
77965         definition.  Add libc_hidden_def.
77966         (__getnetgrent_r): Update caller.
77967         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
77969 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
77971         * stdlib/longlong.h: Update from GCC.
77973 2012-08-16  Roland McGrath  <roland@hack.frob.com>
77975         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77976         on _QL, which is set by umul_ppmm but never used.
77977         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77978         variables, which are set by GMP macros but never used.
77979         * stdio-common/_itowa.c (_itowa): Likewise.
77980         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77981         * stdlib/mod_1.c (mpn_mod_1): Likewise.
77983 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
77985         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77986         struct La_sh_regs is not constant.
77987         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77988         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77989         and struct La_sparc64_regs are not constant.
77991 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
77993         * sysdeps/unix/sysv/linux/kernel-features.h
77994         (__ASSUME_POSIX_TIMERS): Remove.
77995         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77996         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77997         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77998         Make code unconditional.
77999         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78000         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78001         Make code unconditional.
78002         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78003         * sysdeps/unix/sysv/linux/clock_nanosleep.c
78004         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78005         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78006         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78007         Make code unconditional.
78008         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78009         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78010         (__libc_missing_posix_timers): Remove.
78012 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78014         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78015         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78017         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78019         * elf/dl-sym.c: Include <stdlib.h>.
78021         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78022         constants, which avoids warnings in 32-bit builds.
78024         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78025         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78027         * misc/lseek.c: File moved to ...
78028         * io/lseek.c: ... here.
78030         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78032         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78033         shifting LEN more than 31 bits at once.
78035 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78037         [BZ #14195]
78038         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78039         segmentation fault for a case of two empty input strings.
78040         * string/test-strncasecmp.c (check1): Renamed to...
78041         (bz12205): ...this.
78042         (bz14195): Add new testcase for two empty input strings and N > 0.
78043         (test_main): Call new testcase, adapt for renamed function.
78045 2012-08-15  Andreas Jaeger  <aj@suse.de>
78047         [BZ #14090]
78048         * crypt/md5test2.c: New test, based on test supplied by Serge
78049         Belyshev <belyshev@depni.sinp.msu.ru>.
78050         * crypt/Makefile (xtests): Add md5test-giant..
78051         * crypt/Makefile ($(objpfx)md5test-giant): Add.
78053 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
78055         [BZ #14090]
78056         * crypt/md5.c (md5_process_block): Don't assume the buffer
78057         length is less than 2**32.
78058         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78059         length is less than 2**64.
78061 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78063         * string/str-two-way.h: Include <sys/param.h>.
78064         (MAX): Macro removed.
78066         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78067         Move #define and #undef of memmove to just before and after
78068         including <string.h>.
78070         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78071         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78072         and after including <string.h>.  Move declarations of
78073         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78074         to before #include "string/memmove.c".
78076         * include/dirent.h: Declare __getdirentries.
78078         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78079         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78081 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
78083         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78084         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78085         * sysdeps/i386/configure: Regenerated.
78086         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78087         STABS_CURRENT_FILE, and STABS_FUN.
78088         (END): Remove call to STABS_FUN_END.
78089         (STABS_CURRENT_FILE1): Delete.
78090         (STABS_CURRENT_FILE): Likewise.
78091         (STABS_FUN): Likewise.
78092         (STABS_FUN_END): Likewise.
78093         (STABS_FUN2): Likewise.
78094         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78095         * sysdeps/x86_64/configure: Regenerated.
78097 2012-08-14  Roland McGrath  <roland@hack.frob.com>
78099         * elf/dl-open.c: Include <atomic.h>.
78100         * elf/dl-lookup.c: Likewise.
78102 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
78104         * sysdeps/unix/sysv/linux/kernel-features.h
78105         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78106         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78107         unconditionally.
78108         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78109         unconditionally.
78110         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78111         condition on __ASSUME_CLONE_THREAD_FLAGS.
78113 2012-08-14  Andreas Jaeger  <aj@suse.de>
78115         * sysdeps/i386/fpu/libm-test-ulps: Update.
78117 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
78119         * include/atomic.h (atomic_exchange_and_add): Split into ...
78120         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78121         New atomic macros.
78123 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
78125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78127 2012-08-13  Jeff Law <law@redhat.com>
78129         * manual/stdio.texi (snprintf): Clarify handling of the trailing
78130         null byte in the output string.
78132 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
78134         * sysdeps/unix/sysv/linux/kernel-features.h
78135         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78136         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78137         (__ASSUME_ARG_MAX_STACK_BASED): Define.
78138         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78139         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78140         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
78141         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78143 2012-08-09  Jeff Law <law@redhat.com>
78145         [BZ #13939]
78146         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78147         When avoid_arena is set, don't retry in the that arena.  Pick the
78148         next one, whatever it might be.
78149         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78150         (arena_lock): Pass in new parameter to arena_get2.
78151         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78152         arena_get2.
78153         (__libc_malloc): Unify retrying after main arena failure with
78154         __libc_memalign version.
78155         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78157 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
78159         [BZ #14166]
78160         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78161         to __redirect_strstr.
78162         (__strstr_sse42): Use typeof __redirect_strstr.
78163         (__strstr_ia32): Likewise.
78164         (__libc_strstr): New prototype.
78165         (strstr): Renamed to ...
78166         (__libc_strstr): This.
78167         (strstr): New strong alias of __libc_strstr.
78168         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78169         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78170         __redirect_time.
78171         Include <time.h>.
78172         (__libc_time): New prototype.
78173         (time_ifunc): Replace time with __libc_time.
78174         (time): New strong alias and hidden definition of __libc_time.
78175         (__GI_time): Remove strong alias.
78176         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78177         Include <stddef.h>.
78178         (memmove): Redefined to __redirect_memmove.
78179         (__memmove_sse2): Use typeof __redirect_memmove.
78180         (__memmove_ssse3): Likewise.
78181         (__memmove_ssse3_back): Likewise.
78182         (__libc_memmove): New prototype.
78183         (memmove): Renamed to ...
78184         (__libc_memmove): This.
78185         (memmove): New strong alias of __libc_memmove.
78187 2012-08-08  Mark Salter  <msalter@redhat.com>
78189         * elf/elf.h
78190         (R_MN10300_TLS_GD): Define.
78191         (R_MN10300_TLS_LD): Likewise.
78192         (R_MN10300_TLS_LDO): Likewise.
78193         (R_MN10300_TLS_GOTIE): Likewise.
78194         (R_MN10300_TLS_IE): Likewise.
78195         (R_MN10300_TLS_LE): Likewise.
78196         (R_MN10300_TLS_DTPMOD): Likewise.
78197         (R_MN10300_TLS_DTPOFF): Likewise.
78198         (R_MN10300_TLS_TPOFF): Likewise.
78199         (R_MN10300_SYM_DIFF): Likewise.
78200         (R_MN10300_ALIGN): Likewise.
78201         (R_MN10300_NUM): Update.
78203 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
78205         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78206         Remove.
78208 2012-08-08  Roland McGrath  <roland@hack.frob.com>
78210         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78212         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78213         sysdeps/unix -> sysdeps/posix move.
78214         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78216 2012-08-07      Allan McRae     <allan@archlinux.org>
78218         [BZ #14303]
78219         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78220         (SUNOS_CPP): Likewise.
78221         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78222         not found.
78223         (open_input): Call CPP using execvp.
78225 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78227         * sysdeps/unix/sysv/linux/kernel-features.h
78228         (__ASSUME_PROT_GROWSUPDOWN): Remove.
78229         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78230         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78231         (__ASSUME_WAITID_SYSCALL): Likewise.
78232         * sysdeps/unix/sysv/linux/dl-execstack.c
78233         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78234         code unconditional.
78235         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78236         conditional code.
78237         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78238         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78239         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78240         code.
78241         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78242         unconditional.
78243         [__ASSUME_WAITID_SYSCALL]: Likewise.
78244         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78246 2012-08-07  Roland McGrath  <roland@hack.frob.com>
78248         * sysdeps/unix/closedir.c: Renamed to ...
78249         * sysdeps/posix/closedir.c: ... here.
78250         * sysdeps/unix/dirfd.c: Renamed to ...
78251         * sysdeps/posix/dirfd.c: ... here.
78252         * sysdeps/unix/dirstream.h: Renamed to ...
78253         * sysdeps/posix/dirstream.h: ... here.
78254         * sysdeps/unix/fdopendir.c: Renamed to ...
78255         * sysdeps/posix/fdopendir.c: ... here.
78256         * sysdeps/unix/opendir.c: Renamed to ...
78257         * sysdeps/posix/opendir.c: ... here.
78258         * sysdeps/unix/readdir.c: Renamed to ...
78259         * sysdeps/posix/readdir.c: ... here.
78260         * sysdeps/unix/readdir_r.c: Renamed to ...
78261         * sysdeps/posix/readdir_r.c: ... here.
78262         * sysdeps/unix/rewinddir.c: Renamed to ...
78263         * sysdeps/posix/rewinddir.c: ... here.
78264         * sysdeps/unix/seekdir.c: Renamed to ...
78265         * sysdeps/posix/seekdir.c: ... here.
78266         * sysdeps/unix/telldir.c: Renamed to ...
78267         * sysdeps/posix/telldir.c: ... here.
78268         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78269         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78270         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78271         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78273         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78274         * bits/fcntl.h: ... here.
78276         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78277         not 0.
78278         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78279         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78280         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78281         (struct flock): Move l_start, l_len to the beginning.
78282         Use __pid_t for l_pid.
78283         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78284         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78285         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78286         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78287         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78288         [__USE_LARGEFILE64] (struct flock64): New type.
78289         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78291         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78292         * bits/dirent.h: ... here.
78294         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78295         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78297 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78299         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78300         Change from 2.6.0 to 2.6.16.
78301         * sysdeps/unix/sysv/linux/configure: Regenerated.
78302         * sysdeps/unix/sysv/linux/kernel-features.h
78303         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78304         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78305         version.
78306         (__ASSUME_UTIMES): Likewise.
78307         (__ASSUME_CLONE_STOPPED): Remove.
78308         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78309         architectures, not kernel version.
78310         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78311         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78312         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78313         (__ASSUME_WAITID_SYSCALL): Likewise.
78314         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78315         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78316         * README: State 2.6.16 as minimum Linux kernel version.  Do not
78317         refer to older versions.
78319 2012-08-06  Roland McGrath  <roland@hack.frob.com>
78321         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78322         Define alphasort64 as an alias.
78323         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78324         Define versionsort64 as an alias.
78325         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78326         Define scandir64 as an alias.
78327         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78328         Define scandirat64 as an alias.
78329         * dirent/alphasort64.c (alphasort64):
78330         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78331         * dirent/versionsort64.c: Likewise.
78332         * dirent/scandir64.c: Likewise.
78333         * dirent/scandirat64.c: Likewise.
78334         * sysdeps/wordsize-64/alphasort.c: File removed.
78335         * sysdeps/wordsize-64/alphasort64.c: File removed.
78336         * sysdeps/wordsize-64/scandir.c: File removed.
78337         * sysdeps/wordsize-64/scandir64.c: File removed.
78338         * sysdeps/wordsize-64/scandirat.c: File removed.
78339         * sysdeps/wordsize-64/scandirat64.c: File removed.
78340         * sysdeps/wordsize-64/versionsort.c: File removed.
78341         * sysdeps/wordsize-64/versionsort64.c: File removed.
78342         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78343         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78344         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78345         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78346         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78347         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78348         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78349         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78351         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78352         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78353         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78354         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78355         [defined __arch64__ || defined __sparcv9]
78356         (__INO_T_MATCHES_INO64_T): New macro.
78357         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78358         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78359         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78360         * sysdeps/unix/sysv/linux/bits/dirent.h
78361         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78362         (_DIRENT_MATCHES_DIRENT64): New macro.
78364         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78365         Define lockf64 as an alias.
78366         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78367         Define fseeko64 as an alias.
78368         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78369         Define ftello64 as an alias.
78370         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78371         Define _IO_fgetpos64 and fgetpos64 as aliases.
78372         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78373         Define _IO_fsetpos64 and fsetpos64 as aliases.
78374         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78375         Conditionalize body on this.
78376         * libio/fseeko64.c: Likewise.
78377         * libio/ftello64.c: Likewise.
78378         * libio/iofgetpos64.c: Likewise.
78379         * libio/iofsetpos64.c: Likewise.
78380         * sysdeps/wordsize-64/lockf.c: File removed.
78381         * sysdeps/wordsize-64/lockf64.c: File removed.
78382         * sysdeps/wordsize-64/fseeko.c: File removed.
78383         * sysdeps/wordsize-64/fseeko64.c: File removed.
78384         * sysdeps/wordsize-64/ftello.c: File removed.
78385         * sysdeps/wordsize-64/ftello64.c: File removed.
78386         * sysdeps/wordsize-64/iofgetpos.c: File removed.
78387         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78388         * sysdeps/wordsize-64/iofsetpos.c: File removed.
78389         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78390         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78391         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78392         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78393         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78394         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78395         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78396         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78397         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78398         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78399         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78401         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78402         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78403         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78404         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78405         [defined __arch64__ || defined __sparcv9]
78406         (__OFF_T_MATCHES_OFF64_T): New macro.
78407         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78408         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78409         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78410         (__OFF_T_MATCHES_OFF64_T): New macro.
78412 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78414         * stdlib/secure-getenv.c (__secure_getenv): Replace
78415         GLIBC_2_16 with GLIBC_2_17.
78417 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78419         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78420         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78422 2012-08-03  David S. Miller  <davem@davemloft.net>
78424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78426 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78428         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78429         Remove.
78430         (__ASSUME_CORRECT_SI_PID): Likewise.
78431         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78432         (__ASSUME_TMPFS_NAME): Likewise.
78433         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78434         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78435         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78436         (HAVE_AUX_SECURE): Make definition unconditional.
78437         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78438         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78440 2012-08-03  Roland McGrath  <roland@hack.frob.com>
78442         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78443         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78444         * sysdeps/mach/hurd/eloop-threshold.h: New file.
78445         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78446         __eloop_threshold instead of SYMLOOP_MAX.
78448         * sysdeps/generic/eloop-threshold.h: New file.
78449         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78450         of MAXSYMLINKS.
78451         * elf/chroot_canon.c (chroot_canon): Likewise.
78453 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78455         [BZ #13717]
78456         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78457         Change to 2.6.0 everywhere.
78458         * sysdeps/unix/sysv/linux/configure: Regenerated.
78459         * sysdeps/unix/sysv/linux/kernel-features.h
78460         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78461         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78462         kernel versions.
78463         (__ASSUME_POSIX_TIMERS): Define unconditionally.
78464         (__ASSUME_FUTEX_REQUEUE): Remove.
78465         (__ASSUME_STATFS64): Define unconditionally.
78466         (__ASSUME_AT_SECURE): Likewise.
78467         (__ASSUME_CORRECT_SI_PID): Likewise.
78468         (__ASSUME_TGKILL): Define without depending on kernel version for
78469         i386.
78470         (__ASSUME_UTIMES): Likewise.
78471         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78472         kernel version.
78473         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78474         (__ASSUME_TMPFS_NAME): Likewise.
78475         * README: Update reference to Linux kernel versions.
78477 2012-08-02  Marek Polacek  <polacek@redhat.com>
78479         [BZ #14150]
78480         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
78481         libc_cv_asm_type_prefix with %.
78482         * configure: Regenerated.
78483         * include/libc-symbols.h: Remove comment about
78484         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78485         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78486         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78487         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78488         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78489         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78490         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78491         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78492         * elf/tst-unique2mod1.c: Likewise.
78493         * elf/tst-unique1mod2.c: Likewise.
78494         * elf/tst-unique1mod1.c: Likewise.
78495         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78496         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78497         Replace ASM_TYPE_DIRECTIVE with .type.
78498         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78499         * sysdeps/i386/sysdep.h: Likewise.
78500         * sysdeps/x86_64/sysdep.h: Likewise.
78501         * sysdeps/sh/sysdep.h: Likewise.
78502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78503         Do not define ASM_TYPE_DIRECTIVE.
78504         * sysdeps/powerpc/sysdep.h: Likewise.
78505         * sysdeps/powerpc/powerpc32/sysdep.h:
78506         Replace ASM_TYPE_DIRECTIVE with .type.
78507         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78508         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78509         * sysdeps/i386/fpu/e_powf.S: Likewise.
78510         * sysdeps/i386/fpu/e_expl.S: Likewise.
78511         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78512         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78513         * sysdeps/i386/fpu/e_pow.S: Likewise.
78514         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78515         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78516         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78517         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78518         * sysdeps/i386/fpu/e_log2.S: Likewise.
78519         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78520         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78521         * sysdeps/i386/fpu/e_powl.S: Likewise.
78522         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78523         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78524         * sysdeps/i386/fpu/e_logl.S: Likewise.
78525         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78526         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78527         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78528         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78529         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78530         * sysdeps/i386/fpu/e_log.S: Likewise.
78531         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78532         * sysdeps/i386/fpu/e_logf.S: Likewise.
78533         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78534         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78535         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78536         * sysdeps/i386/fpu/e_log10.S: Likewise.
78537         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78538         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78539         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78540         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78541         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78542         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78543         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78544         * sysdeps/i386/i686/strtok.S: Likewise.
78545         * sysdeps/i386/i386-mcount.S: Likewise.
78546         * sysdeps/i386/strtok.S: Likewise.
78547         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78548         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78549         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78550         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78551         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78552         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78553         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78554         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78555         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78556         * sysdeps/x86_64/_mcount.S: Likewise.
78557         * sysdeps/x86_64/strtok.S: Likewise.
78558         * sysdeps/sh/_mcount.S: Likewise.
78560 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78562         * libio/iofopen.c: Include <fcntl.h>.
78563         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78564         (_IO_fopen64, fopen64): Define as aliases.
78565         * libio/iofopen64.c: Include <fcntl.h>.
78566         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78567         Conditionalize body on this.
78568         * sysdeps/wordsize-64/iofopen.c: File removed.
78569         * sysdeps/wordsize-64/iofopen64.c: File removed.
78571 2012-08-01  Marek Polacek  <polacek@redhat.com>
78573         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78574         Use dlfcn directly instead of a variable.
78575         (binfmt-subdir): Do not define.
78576         (dlfcn): Likewise.
78578 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78580         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78581         Remove all definitions.
78582         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78583         <kernel-features.h>.
78584         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78585         (miss_F_GETOWN_EX): Remove all definitions.
78586         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78587         macro definition.
78588         [!__ASSUME_FCNTL64]: Remove conditional code.
78589         [__ASSUME_FCNTL64]: Make code unconditional.
78590         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78591         <kernel-features.h>.
78592         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78593         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78594         (lockf64) [__NR_fcntl64]: Make code unconditional.
78595         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78597         * sysdeps/unix/sysv/linux/kernel-features.h
78598         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78599         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78600         Make code unconditional.
78601         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78602         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78604         [__NR_vfork]: Make code unconditional.
78605         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78606         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78608         [__NR_vfork]: Make code unconditional.
78609         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78610         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78612 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78614         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78615         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78617         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78618         Define mkstemp64 as an alias.
78619         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78620         Define mkstemps64 as an alias.
78621         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78622         Define mkostemp64 as an alias.
78623         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78624         Define mkostemps64 as an alias.
78625         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78626         Conditionalize body on this.
78627         * misc/mkostemp64.c: Likewise.
78628         * misc/mkostemps64.c: Likewise.
78629         * misc/mkstemps64.c: Likewise.
78630         * sysdeps/wordsize-64/mkstemp64.c: File removed.
78631         * sysdeps/wordsize-64/mkostemp64.c: File removed.
78632         * sysdeps/wordsize-64/mkostemp.c: File removed.
78633         * sysdeps/wordsize-64/mkstemp.c: File removed.
78634         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78635         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78636         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78637         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78639         [BZ #14138]
78640         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78641         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78642         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78643         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78645         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78646         compat_symbol macros from <shlib-compat.h> rather than the underlying
78647         default_symbol_version and symbol_version macros, so that DEFAULT
78648         lines in shlib-versions are respected.
78649         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78651 2012-08-01  Florian Weimer  <fweimer@redhat.com>
78653         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78654         Declare with warn_unused_result.
78655         (setgid, setregid, setegid, setresgid): Likewise.
78656         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78657         Likewise.
78658         * WUR-REPORT: Remove set*id functions.
78660 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
78662         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78664 2012-07-31  Roland McGrath  <roland@hack.frob.com>
78666         [BZ #10191]
78667         * include/sys/socket.h (__libc_accept, __libc_accept4):
78668         Add attribute_hidden.
78669         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78671         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78672         use of PTR_MANGLE.
78673         * inet/getnetgrent_r.c (setup): Likewise.
78675         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78677 2012-07-31  David S. Miller  <davem@davemloft.net>
78679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78681 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
78683         [BZ #13629]
78684         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78685         value between 1.0 and 2.0 and smaller part has absolute value less
78686         than 1.0.
78687         * math/s_clog10.c (__clog10): Likewise.
78688         * math/s_clog10f.c (__clog10f): Likewise.
78689         * math/s_clog10l.c (__clog10l): Likewise.
78690         * math/s_clogf.c (__clogf): Likewise.
78691         * math/s_clogl.c (__clogl): Likewise.
78692         * math/libm-test.inc (clog_test): Add more tests.
78693         (clog10_test): Likewise.
78694         * sysdeps/i386/fpu/libm-test-ulps: Update.
78695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78697 2012-07-31  Florian Weimer  <fweimer@redhat.com>
78699         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78700         Exit with zero in case no suitable GID is found, and write a
78701         message to standard error.
78703 2012-07-30  Roland McGrath  <roland@hack.frob.com>
78705         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78706         rather than to 1.
78707         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78708         (MAXPATHLEN): Removed.
78709         (NOGROUP, NODEV): New macros.
78710         (setbit, clrbit, isset, isclr): New macros.
78711         (howmany, roundup, powerof2): New macros.
78712         (DEV_BSIZE): New macro.
78714         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78715         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78717         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78718         definition on [!__NO_LONG_DOUBLE_MATH].
78720         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78721         PTR_MANGLE and PTR_DEMANGLE.
78723         * socket/accept4.c (accept4): Rename to __libc_accept4.
78724         Define accept4 as a weak alias.
78726         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78727         on [_DIRENT_HAVE_D_TYPE].
78728         * io/ftw.c (ftw_dir): Likewise.
78730         * io/xmknod.c (__xmknod): Don't check PATH for being null.
78732         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78734         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78735         Use the BSD numbers rather than the arbitrary ones we had.
78736         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78737         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78738         (SIGXCPU, SIGXFSZ): New macros.
78739         (_NSIG): Now 32.
78741         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78742         initializer on [_LIBC_REENTRANT].
78744         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78745         definitions inside [_POSIX_MAPPED_FILES].
78747         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78749         * dirent/opendir.c: Include <fcntl.h>.
78751         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78752         (__libc_getspecific): Likewise.
78753         (__libc_key_create): Likewise.
78755         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78756         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78757         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78758         (tmpfile64): Define as alias.
78759         * sysdeps/wordsize-64/tmpfile.c: File removed.
78760         * sysdeps/wordsize-64/tmpfile64.c: File removed.
78761         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78762         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78764         * stdio-common/vfscanf.c: Include <stdbool.h>.
78765         * nss/makedb.c: Likewise.
78766         * stdio-common/_i18n_number.h: Likewise.
78767         * argp/argp-help.c: Likewise.
78768         * posix/wordexp.c: Likewise.
78769         * sysdeps/posix/spawni.c: Likewise.
78770         * nss/nss_files/files-initgroups.c: Likewise.
78771         * stdio-common/reg-modifier.c: Include <stdlib.h>.
78772         * nss/nss_files/files-initgroups.c: Likewise.
78773         * nss/nss_db/db-netgrp.c: Likewise.
78774         * nss/nss_db/db-initgroups.c: Likewise.
78775         * io/fchmodat.c: Include <sys/stat.h>.
78777         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78778         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78780         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78781         [HAVE_MMAP].
78783         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78784         Add multiple inclusion protection.
78786 2012-07-27  David S. Miller  <davem@davemloft.net>
78788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78790 2012-07-27  Gary Benson  <gbenson@redhat.com>
78792         [BZ #14298]
78793         * elf/rtld.c: Include <stap-probe.h>.
78794         (dl_main): Added static probes "init_start" and "init_complete".
78795         * elf/dl-load.c: Include <stap-probe.h>.
78796         (lose): Take new parameter "nsid".
78797         Added static probe "map_failed".
78798         (_dl_map_object_from_fd): Pass namespace id to lose.
78799         Added static probe "map_start".
78800         (open_verify): Pass namespace id to lose.
78801         * elf/dl-open.c: Include <stap-probe.h>.
78802         (dl_open_worker) Added static probes "map_complete", "reloc_start"
78803         and "reloc_complete".
78804         * elf/dl-close.c: Include <stap-probe.h>.
78805         (_dl_close_worker): Added static probes "unmap_start" and
78806         "unmap_complete".
78807         * elf/rtld-debugger-interface.txt: New file documenting the above.
78809 2012-07-26  Roland McGrath  <roland@hack.frob.com>
78811         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78812         rather than a string variable.
78813         * sunrpc/rpc_main.c (h_output): Likewise.
78814         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78816 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
78818         * inet/check_native.c: New file.
78820 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
78822         [BZ #13629]
78823         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78824         if larger part has absolute value 1.0.
78825         * math/s_clog10.c (__clog10): Likewise.
78826         * math/s_clog10f.c (__clog10f): Likewise.
78827         * math/s_clog10l.c (__clog10l): Likewise.
78828         * math/s_clogf.c (__clogf): Likewise.
78829         * math/s_clogl.c (__clogl): Likewise.
78830         * math/libm-test.inc (clog_test): Add more tests.
78831         (clog10_test): Likewise.
78832         * sysdeps/i386/fpu/libm-test-ulps: Update.
78833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78835         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78836         (pltexit): Likewise.
78837         (La_regs): Likewise.
78838         (La_retval): Likewise.
78839         (int_retval): Likewise.
78840         Update #error for removed macros to refer only to definitions in
78841         tst-audit.h.
78842         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78843         macro.
78844         (pltexit): Likewise.
78845         (La_regs): Likewise.
78846         (La_retval): Likewise.
78847         (int_retval): Likewise.
78848         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78849         macro.
78850         (pltexit): Likewise.
78851         (La_regs): Likewise.
78852         (La_retval): Likewise.
78853         (int_retval): Likewise.
78854         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78855         macro.
78856         (pltexit): Likewise.
78857         (La_regs): Likewise.
78858         (La_retval): Likewise.
78859         (int_retval): Likewise.
78860         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78861         macro.
78862         (pltexit): Likewise.
78863         (La_regs): Likewise.
78864         (La_retval): Likewise.
78865         (int_retval): Likewise.
78866         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78867         macro.
78868         (pltexit): Likewise.
78869         (La_regs): Likewise.
78870         (La_retval): Likewise.
78871         (int_retval): Likewise.
78872         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78873         macro.
78874         (pltexit): Likewise.
78875         (La_regs): Likewise.
78876         (La_retval): Likewise.
78877         (int_retval): Likewise.
78878         * sysdeps/generic/tst-audit.h: Update comment to refer only to
78879         macro definitions in tst-audit.h.
78880         * sysdeps/i386/tst-audit.h: New file.
78881         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78882         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78883         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78884         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78885         * sysdeps/sh/tst-audit.h: Likewise.
78886         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78887         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78888         * sysdeps/x86_64/tst-audit.h: Likewise.
78890 2012-07-26  Andreas Jaeger  <aj@suse.de>
78892         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78893         ptrace.
78895         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78896         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78897         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78898         PTRACE_O_MASK.
78899         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78900         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78901         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78903         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78904         value.
78906         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78907         _sigsys.
78908         (si_call_addr, si_syscall, si_arch): Define new macro.
78909         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78910         _sigsys.
78911         (si_call_addr, si_syscall, si_arch): Define new marcro.
78912         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78913         _sigsys.
78914         (si_call_addr, si_syscall, si_arch): Define new macro.
78915         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78916         _sigsys.
78917         (si_call_addr, si_syscall, si_arch): Define new macro.
78919 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
78921         [BZ #13717]
78922         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78923         Change to 2.4.21 where previously 2.4.1.
78924         * sysdeps/unix/sysv/linux/configure: Regenerated.
78925         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78926         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78927         Linux kernel version.
78928         (__ASSUME_STD_AUXV): Remove.
78929         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78930         kernel version.
78931         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78932         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78933         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78934         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78935         (__ASSUME_NETLINK_SUPPORT): Likewise.
78936         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78937         (__no_netlink_support): Remove conditional definition.
78938         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78939         Remove.
78940         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78941         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78942         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78943         (if_nameindex_ioctl): Remove.
78944         (if_nameindex_netlink): Do not handle __no_netlink_support.
78945         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78946         code.
78947         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78948         Remove conditional code.
78949         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78950         code.
78951         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78952         unconditional.
78953         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78954         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78955         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78956         Remove.
78957         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78958         [!__ASSUME_STD_AUXV]: Remove conditional code.
78959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78960         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78961         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78963         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78964         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78965         code.
78966         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78968         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78969         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78970         conditional code.
78971         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78973         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78974         code.
78975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78976         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78977         conditional code.
78978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78979         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78980         code unconditional.
78981         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78982         conditional code.
78983         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78984         unconditional.
78985         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78986         conditional code.
78987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78988         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78989         unconditional.
78990         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78991         conditional code.
78992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78993         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78994         code unconditional.
78995         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78996         conditional code.
78997         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78998         unconditional.
78999         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79000         conditional code.
79001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79002         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79003         code unconditional.
79004         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79005         conditional code.
79006         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79007         unconditional.
79008         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79009         conditional code.
79011 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
79013         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79014         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79015         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79016         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79017         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79018         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79019         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79020         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79021         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79022         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79023         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79024         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79025         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79026         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79027         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79028         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79029         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79030         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79031         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79033         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79034         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79035         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79037 2012-07-25  Florian Weimer  <fweimer@redhat.com>
79039         * Versions.def: Add GLIBC_2.17.
79040         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79041         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79042         Introduce __libc_secure_getenv.
79043         * stdlib/Versions (2.17): Add secure_getenv
79044         (GLIBC_PRIVATE): Add __libc_secure_getenv.
79045         * stdlib/secure-getenv.c: Rename __secure_getenv to
79046         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
79047         symbol __secure_getenv for GLIBC_2.0.
79048         * stdlib/tst-secure-getenv.c: New.
79049         * stdlib/Makefile (tests): Add testcase.
79050         * manual/startup.texi (Environment Access): Document
79051         secure_getenv.
79052         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79053         __libc_secure_getenv.
79054         * inet/ruserpass.c (ruserpass): Likewise.
79055         * malloc/mtrace.c (mtrace): Likewise.
79056         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79057         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79058         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79059         * sysdeps/posix/tempname.c: Likewise.  Evaluate
79060         HAVE_SECURE_GETENV.
79061         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79062         __secure_getenv to __libc_secure_getenv.
79063         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79065         Likewise.
79066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79067         Likewise.
79068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79070         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79076 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79078         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79079         (struct La_i86_retval): Likewise.
79080         (struct La_x86_64_regs): Likewise.
79081         (struct La_x86_64_retval): Likewise.
79082         (struct La_x32_regs): Likewise.
79083         (struct La_x32_retval): Likewise.
79084         (struct La_ppc32_regs): Likewise.
79085         (struct La_ppc32_retval): Likewise.
79086         (struct La_ppc64_regs): Likewise.
79087         (struct La_ppc64_retval): Likewise.
79088         (struct La_sh_regs): Likewise.
79089         (struct La_sh_retval): Likewise.
79090         (struct La_s390_32_regs): Likewise.
79091         (struct La_s390_32_retval): Likewise.
79092         (struct La_s390_64_regs): Likewise.
79093         (struct La_s390_64_retval): Likewise.
79094         (struct La_sparc32_regs): Likewise.
79095         (struct La_sparc32_retval): Likewise.
79096         (struct La_sparc64_regs): Likewise.
79097         (struct La_sparc64_retval): Likewise.
79098         (struct audit_ifaces): Remove architecture-specific pltenter and
79099         pltexit members.
79100         * sysdeps/i386/ldsodefs.h: New file.
79101         * sysdeps/powerpc/ldsodefs.h: Likewise.
79102         * sysdeps/s390/ldsodefs.h: Likewise.
79103         * sysdeps/sh/ldsodefs.h: Likewise.
79104         * sysdeps/sparc/ldsodefs.h: Likewise.
79105         * sysdeps/x86_64/ldsodefs.h: Likewise.
79107 2012-07-25  Marek Polacek  <polacek@redhat.com>
79109         [BZ #6808]
79110         * math/libm-test.inc (yn_test): Add another test.
79111         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79112         to ERANGE when the result is +-Inf.
79113         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79114         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79115         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79116         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79118 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
79120         * conform/data/time.h-data (NULL): Use macro-constant.  Require
79121         equal to 0.
79122         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
79123         clock_t.
79124         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
79126 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
79128         * configure.in <sysdeps resolving>: Correct printing
79129         Implies_before.
79130         * configure: Regenerate.
79132 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
79134         * math/w_ilogb.c: Include <limits.h>.
79135         * math/w_ilogbl.c: Likewise.
79137 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79139         * manual/lang.texi (__va_copy): Document primarily as ISO C99
79140         va_copy.  Document allowing for unavailable va_copy only as
79141         pre-C99 compatibility.
79142         * manual/string.texi (Copying and Concatenation): Use va_copy
79143         instead of __va_copy in concat example.
79145 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
79147         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79148         (__sendto): Use create_address_port.  Initialize APORT and deallocate
79149         it if not null.
79151         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79152         with O_NOLINK passed to __file_name_lookup.
79154         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79155         with O_NOLINK passed to __file_name_lookup.
79157         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79158         negative N or less than NGIDS.
79160         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79161         type to string_t.  Set ERANGE as errno and return it if NAME is not big
79162         enough.  Use memcpy instead of strncpy.
79164 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79166         * elf/Makefile (check-data): Remove.
79167         (localplt.data): New vpath directive.
79168         ($(objpfx)check-localplt.out): Use localplt.data from vpath
79169         instead of $(check-data).
79170         * scripts/data/localplt-generic.data: Move to ...
79171         * sysdeps/generic/localplt.data: ... here.
79172         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79173         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79174         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79176         ... here.
79177         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79179         ... here.
79180         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79182         ... here.
79183         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79185         ... here.
79186         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79188         ... here.
79189         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79191         ... here.
79193 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79195         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79196         PPC32 and PPC64 files.
79197         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79198         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79200 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79202         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79203         __makecontext_ret to ...
79204         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79205         ... here and call exit if uc_link is NULL.  New file.
79206         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79207         __makecontext_ret.S.
79208         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79209         __makecontext_ret to ...
79210         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79211         ... here and call exit if uc_link is NULL.  New file.
79212         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79213         __makecontext_ret.S.
79215 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79217         * elf/elf.h (R_390_IRELATIVE): New definition.
79218         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79219         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
79220         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79221         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79222         (elf_machine_lazy_rel): Likewise.
79223         * sysdeps/s390/dl-irel.h: New file.
79224         * sysdeps/s390/s390-64/memcpy.S: New asm code.
79225         * sysdeps/s390/s390-64/memset.S: New asm code.
79226         * sysdeps/s390/s390-64/memcmp.S: New asm code.
79227         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79228         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79229         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79230         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79231         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79232         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79233         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79234         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79235         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79236         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79237         * sysdeps/s390/s390-32/memcpy.S: New asm code.
79238         * sysdeps/s390/s390-32/memset.S: New asm code.
79239         * sysdeps/s390/s390-32/memcmp.S: New asm code.
79241 2012-07-17  Marek Polacek  <polacek@redhat.com>
79243         [BZ #14349]
79244         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79245         * sysdeps/s390/s390-64/configure.in: Likewise.
79246         * sysdeps/sparc/configure.in: Likewise.
79247         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79248         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79249         * sysdeps/i386/configure.in: Likewise.
79250         * sysdeps/x86_64/configure.in: Likewise.
79251         * sysdeps/sh/configure.in: Likewise.
79252         * sysdeps/s390/s390-32/configure: Regenerated.
79253         * sysdeps/s390/s390-64/configure: Likewise.
79254         * sysdeps/x86_64/configure: Likewise.
79255         * sysdeps/sh/configure: Likewise.
79256         * sysdeps/powerpc/powerpc64/configure: Likewise.
79257         * sysdeps/powerpc/powerpc32/configure: Likewise.
79258         * sysdeps/sparc/configure: Likewise.
79259         * sysdeps/i386/configure: Likewise.
79261         * elf/dl-open.c: Comment fixes.
79263 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
79265         * Makefile [CXX] (check-data): Remove.
79266         [CXX] (c++-types.data): New vpath directive.
79267         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79268         vpath.  Do not allow for C++ type data being missing.
79269         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79270         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79271         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79272         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79273         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79274         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79275         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79277         ... here.
79278         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79280         ... here.
79281         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79283         ... here.
79284         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79286         ... here.
79287         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79289         ... here.
79290         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79292         ... here.
79293         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79295         ... here.
79296         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79299         * elf/tls-macros.h (TLS_LE): Move architecture-specific
79300         definitions to architecture-specific files.
79301         (TLS_IE): Likewise.
79302         (TLS_LD): Likewise.
79303         (TLS_GD): Likewise.
79304         * sysdeps/i386/tls-macros.h: New file.
79305         * sysdeps/powerpc/tls-macros.h: Likewise.
79306         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79307         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79308         * sysdeps/sh/tls-macros.h: Likewise.
79309         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79310         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79311         * sysdeps/x86_64/tls-macros.h: Likewise.
79313 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79315         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79316         zero value for regular exit case.
79318         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79319         (__start_context): Preserve zero value for regular exit case.
79321 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79322             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79324         * manual/setjmp.texi (setcontext): Clarify normal process
79325         termination when uc_link is the null pointer.
79326         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79327         exit call.
79329 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
79331         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79332         preprocessor.  Test for each exception mask separately.
79334 2012-07-16  Andreas Jaeger  <aj@suse.de>
79336         * po/ru.po: Update from translation team.
79338 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
79340         * conform/data/string.h-data (NULL): Use macro-constant.  Require
79341         equal to 0.
79342         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79343         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79344         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79345         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79346         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79348 2012-07-13  Andreas Jaeger  <aj@suse.de>
79350         * po/fr.po: Update from translation team.
79352 2012-07-12  Marek Polacek  <polacek@redhat.com>
79354         [BZ #14173]
79355         * math/libm-test.inc (yn_test): Add test for BZ #14173.
79356         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79357         loop condition.
79359 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
79361         [BZ #13717]
79362         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79363         Change to 2.4.1 where previously 2.4.0.
79364         * sysdeps/unix/sysv/linux/configure: Regenerated.
79365         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79366         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79367         version.
79368         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79369         (__ASSUME_AT_CLKTCK): Remove.
79370         (__ASSUME_AT_PAGESIZE): Likewise.
79371         (__ASSUME_AT_XID): Likewise.
79372         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79373         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79374         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79375         unconditionally.
79376         (HAVE_AUX_PAGESIZE): Likewise.
79377         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79378         [__ASSUME_AT_CLKTCK]: Make code unconditional.
79379         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79381 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
79383         [BZ #14307]
79384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79385         the temporary buffer used to invoke __gethostbyname2_r,
79386         __gethostbyaddr_r and gethostbyname4_r to make room for struct
79387         host_data / struct gaih_addrtuple.
79388         * resolv/nss_dns/dns-host.c (global scope): Move definition of
79389         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79390         header file nss/nsswitch.h.
79391         * nss/nsswitch.h (global scope): Add definition of implementation
79392         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79393         resolv/nss_dns/dns-host.c).
79395 2012-07-11  Andreas Jaeger  <aj@suse.de>
79397         * po/fr.po: Update from translation team.
79399         * po/sv.po: Update from translation team
79400         * po/fr.po: Another update from translation team.
79402 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79404         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79405         for subnormals or multiply small sinh result by itself.
79406         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79409 2012-07-11  David S. Miller  <davem@davemloft.net>
79411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79413 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
79415         [BZ #14347]
79416         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79417         (INTERNAL_MARK): Shift it here.
79419 2012-07-10  Marek Polacek  <polacek@redhat.com>
79421         [BZ #14151]
79422         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
79423         libc_cv_asm_global_directive with .globl.
79424         * configure: Regenerated.
79425         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79426         with .globl.
79427         * sysdeps/i386/configure: Regenerated.
79428         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79429         with .globl.
79430         * sysdeps/x86_64/configure: Regenerated.
79431         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79432         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79433         * elf/tst-unique2mod2.c: Likewise.
79434         * elf/tst-unique2mod1.c: Likewise.
79435         * elf/tst-unique1mod2.c: Likewise.
79436         * elf/tst-unique1mod1.c: Likewise.
79437         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79438         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79439         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79440         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79441         * sysdeps/mach/sysdep.h: Likewise.
79442         * sysdeps/i386/sysdep.h: Likewise.
79443         * sysdeps/i386/i386-mcount.S: Likewise.
79444         * sysdeps/x86_64/_mcount.S: Likewise.
79445         * sysdeps/x86_64/sysdep.h: Likewise.
79446         * sysdeps/sh/_mcount.S: Likewise.
79447         * sysdeps/sh/sysdep.h: Likewise.
79448         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79449         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79450         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79451         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79452         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79453         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79454         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79455         * locale/localeinfo.h: Likewise.
79456         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79457         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79459 2012-07-09  Roland McGrath  <roland@hack.frob.com>
79461         [BZ #14336]
79462         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79463         system".
79464         * manual/message.texi (The Uniforum approach): Likewise.
79465         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79466         (glibc iconv Implementation): Likewise.
79468 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
79470         [BZ #14337]
79471         * math/s_clog.c (__clog): Avoid scaling a value down where that
79472         could result in underflow.
79473         * math/s_clog10.c (__clog10): Likewise.
79474         * math/s_clog10f.c (__clog10f): Likewise.
79475         * math/s_clog10l.c (__clog10l): Likewise.
79476         * math/s_clogf.c (__clogf): Likewise.
79477         * math/s_clogl.c (__clogl): Likewise.
79478         * math/libm-test.inc (clog_test): Add more tests.
79479         (clog10_test): Likewise.
79480         * sysdeps/i386/fpu/libm-test-ulps: Update.
79481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79483 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
79485         [BZ #14283]
79486         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79487         by 7 not 8 to examine high bit of fractional part.
79489         [BZ #14042]
79490         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79491         for call to __mcount_internal.
79492         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79493         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79494         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79496 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79498         [BZ #14154]
79499         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79500         approximation for values within 0x1p-13f of an odd multiple of
79501         pi/4.
79502         * math/libm-test.inc (tan_test): Do not allow spurious underflow
79503         exception.  Add more tests.
79504         * sysdeps/i386/fpu/libm-test-ulps: Update.
79506         [BZ #6778]
79507         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79508         inputs and return -1 for them.  Do not check for +Inf in case not
79509         reachable for +Inf.
79510         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79511         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79512         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79513         and return -1 for them.  Do not check for +Inf in case not
79514         reachable for +Inf.
79515         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79516         define.
79517         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79518         and return -1 for them.  Do not check for +Inf in case not
79519         reachable for +Inf.
79520         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
79521         spurious underflow.
79522         * sysdeps/i386/fpu/libm-test-ulps: Update.
79523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79525 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
79527         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79529 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
79531         [BZ #14157]
79532         [BZ #14331]
79533         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79534         could result in spurious underflow.  Scale down values above
79535         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79536         * math/s_csqrtf.c (__csqrtf): Likewise.
79537         * math/s_csqrtl.c (__csqrtl): Likewise.
79538         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
79539         spurious underflow.
79540         * sysdeps/i386/fpu/libm-test-ulps: Update.
79541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79543 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
79545         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79546         xopen-msg.sed.
79547         * catgets/xopen-msg.awk: New file.
79548         * catgets/xopen-msg.sed: Removed.
79550         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79551         po2text.sed.
79552         * intl/po2test.awk: New file.
79553         * intl/po2test.sed: Removed.
79555 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79557         [BZ #14328]
79558         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79559         or multiply small sinh result by itself.
79560         * math/s_ctanf.c (__ctanf): Likewise.
79561         * math/s_ctanh.c (__ctanh): Likewise.
79562         * math/s_ctanhf.c (__ctanhf): Likewise.
79563         * math/s_ctanhl.c (__ctanhl): Likewise.
79564         * math/s_ctanl.c (__ctanl): Likewise.
79565         * math/libm-test.inc (ctan_test_tonearest): New function.
79566         (ctan_test_towardzero): Likewise.
79567         (ctan_test_downward): Likewise.
79568         (ctan_test_upward): Likewise.
79569         (ctanh_test_tonearest): Likewise.
79570         (ctanh_test_towardzero): Likewise.
79571         (ctanh_test_downward): Likewise.
79572         (ctanh_test_upward): Likewise.
79573         (main): Call these new functions.
79574         * sysdeps/i386/fpu/libm-test-ulps: Update.
79575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79577 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79579         * .gitignore: Delete /ports entry.
79581 2012-07-03  Andreas Jaeger  <aj@suse.de>
79583         * po/bg.po: Update from translation team.
79584         * po/cs.po: Likewise.
79585         * po/de.po: Likewise.
79586         * po/hr.po: Likewise.
79587         * po/nl.pl: Likewise.
79588         * po/pl.po: Likewise.
79589         * po/vi.po: Likewise.
79591 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79593         * Makeconfig [!+link] (+link-before-libc): New variable.
79594         [!+link] (+link-after-libc): Likewise.
79595         [!+link] (+link-tests): Likewise.
79596         [!+link] (+link): Define in terms of $(+link-before-libc) and
79597         $(+link-after-libc).
79598         [!+link-static] (+link-static-before-libc): New variable.
79599         [!+link-static] (+link-static-after-libc): Likewise.
79600         [!+link-static] (+link-static-tests): Likewise.
79601         [!+link-static] (+link-static): Define in terms of
79602         $(+link-static-before-libc) and $(+link-static-after-libc).
79603         [build-shared] (link-libc-before-gnulib): New variable.
79604         [build-shared] (link-libc-tests): Likewise.
79605         [build-shared] (link-libc): Define in terms of
79606         $(link-libc-before-gnulib).
79607         [!build-shared] (link-libc-tests): New variable.
79608         (link-libc-static-tests): New variable.
79609         [!gnulib] (gnulib-arch): New variable.
79610         [!gnulib] (gnulib-tests): Likewise.
79611         [!gnulib] (static-gnulib-arch): Likewise.
79612         [!gnulib] (static-gnulib-tests): Likewise.
79613         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79614         Define with "=" instead of ":=".
79615         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79616         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79617         * Rules (binaries-all-notests): New variable.
79618         (binaries-all-tests): Likewise.
79619         (binaries-static-notests): Likewise.
79620         (binaries-static-tests): Likewise.
79621         (binaries-all): Define using $(binaries-all-notests) and
79622         $(binaries-all-tests).
79623         (binaries-static): Define using $(binaries-static-notests) and
79624         $(binaries-static-tests).
79625         (binaries-shared-tests): New variable.
79626         (binaries-shared-notests): Likewise.
79627         (binaries-shared): Remove variable.
79628         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79629         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79630         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79631         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79632         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79633         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79634         * elf/Makefile (sln-modules): New variable.
79635         (extra-objs): Add $(sln-modules:=.o).
79636         (ldconfig-modules): Add static-stubs.
79637         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79638         * elf/static-stubs.c: New file.
79640         [BZ #14283]
79641         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79642         by 7 not 8 to examine high bit of fractional part.  Use volatile
79643         variables when splitting into final array of floats if
79644         __FLT_EVAL_METHOD__ != 0.
79645         * math/libm-test.inc (cos_test): Add another test.
79646         (sin_test): Likewise.
79647         * sysdeps/i386/fpu/libm-test-ulps: Update.
79649         [BZ #14273]
79650         * math/libm-test.inc (cosh_test): Add more tests.
79652         * version.h (RELEASE): Set to "development".
79653         (VERSION): Set to "2.16.90".
79655 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
79657         * NEWS: Update copyright. Remove last-updated date.
79658         Mention math library bug fixes and timezone data changes.
79659         * README: Mention GNU/Hurd, x32, and HPPA support status.
79661 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
79663         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79665 2012-06-27  Andreas Jaeger  <aj@suse.de>
79667         * manual/contrib.texi (Contributors): Add Samuel Thibault.
79669 2012-06-25  Andreas Jaeger  <aj@suse.de>
79671         * sysdeps/s390/fpu/libm-test-ulps: Update.
79673 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
79674             Thomas Schwinge  <thomas@codesourcery.com>
79676         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79677         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79678         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79679         fanotify_mark.
79681 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
79683         * sysdeps/mach/start.c: Remove file.
79684         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79685         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79686         * sysdeps/sh/init-first.c: Likewise.
79688         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79689         registers for frame unwinding purposes, add CFI directives.
79690         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79691         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79692         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79693         Likewise.
79695         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79696         __fortify_fail returning.
79697         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79699         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79700         sysdeps/sh/____longjmp_chk.S.
79701         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79702         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79703         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79704         (gen-as-const-headers): Append sigaltstack-offsets.sym.
79706         * sysdeps/sh/abort-instr.h: New file.
79707         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79708         process in case exit returns.
79710         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79711         initialize the GOT register before use.
79713         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79714         calculation of ARGC > 4.
79716         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79717         meaningful names to some local labels.
79719 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79720             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79722         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79723         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79724         (__arch_compare_and_exchange_val_16_acq): Likewise.
79725         (__arch_compare_and_exchange_val_32_acq): Likewise.
79726         (atomic_exchange_and_add): Fix gUSA sequence.
79727         (atomic_add): Likewise.
79728         (atomic_add_negative): Likewise.
79729         (atomic_add_zero): Likewise.
79730         (atomic_bit_test_set): Likewise.
79732 2012-06-22  Andreas Schwab  <schwab@redhat.com>
79734         [BZ #13579]
79735         * include/link.h (struct link_map): Add l_free_initfini.
79736         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79737         l_initfini.
79738         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79739         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79740         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79741         set.
79743 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
79745         * configure.in: Use AC_LANG_SOURCE.
79746         * configure: Regenerate.
79748 2012-06-22  Roland McGrath  <roland@hack.frob.com>
79750         * configure.in (libc_cv_localstatedir): New substituted variable.
79751         * configure: Regenerated.
79752         * config.make.in (localstatedir): New variable, substituted from
79753         libc_cv_localstatedir.
79754         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79755         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79756         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79757         * sysdeps/gnu/configure: Regenerated.
79759 2012-06-21  Jeff Law  <law@redhat.com>
79761         [BZ #14277]
79762         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79763         free.  Simplify list management for _LIBC case.
79765 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
79767         [BZ #14273]
79768         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79769         Clear sign bit of 64-bit integer value before comparing against
79770         overflow value.
79772         * sysdeps/mach/configure: Regenerated.
79774 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
79776         [BZ #14278]
79777         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79779 2012-06-21  Jeff Law  <law@redhat.com>
79781         [BZ #13882]
79782         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
79783         uint16_t for elements in the "seen" array to avoid char overflows.
79784         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79785         * elf/dl-open.c (dl_open_worker): Likewise.
79787 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
79789         * scripts/list-sources.sh: Scan PORTS for translations.
79790         * po/libc.pot: Regenerated.
79792 2012-06-21  Andreas Jaeger  <aj@suse.de>
79794         [BZ #12194]
79795         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79796         warning.
79797         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79798         * bits/byteswap-16.h (__bswap_16): Likewise.
79799         * bits/byteswap.h (__bswap_constant_16): Likewise.
79801 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
79803         [BZ #14117]
79804         * sysdeps/i386/fpu_control.h: Removed.
79805         * sysdeps/x86_64/fpu_control.h: Moved to ...
79806         * sysdeps/x86/fpu_control.h: Here.
79808         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79809         (_FPU_SETCW): Likewise.
79811 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
79813         [BZ #14117]
79814         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79815         * sysdeps/x86/fpu/bits/mathinline.h: This.
79816         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79818         [BZ #14050]
79819         [BZ #14117]
79820         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79821         functions if __x86_64__ is defined.
79823 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
79825         * string/endian.h: Add !__ASSEMBLER__ condition for including
79826         conversion interfaces.
79828 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
79830         [BZ #14241]
79831         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79832         of ABS(x) in calculating zero to negative powers other than odd
79833         integers.
79834         * math/libm-test.inc (pow_test): Add more tests.
79836 2012-06-15  Andreas Jaeger  <aj@suse.de>
79838         * manual/contrib.texi (Contributors): Update entry of Liubov
79839         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79840         Machado Filho.
79842 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
79844         * string/string.h: Add __wur to GNU version of strerror_r.
79846 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
79848         [BZ #14229]
79849         * string/Makefile (tests): Add tst-strtok_r.
79850         * string/tst-strtok_r.c: New file.
79851         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79852         RAX_LP/RDX_LP on SAVE_PTR.
79854 2012-06-14  Roland McGrath  <roland@hack.frob.com>
79856         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79858 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
79860         * libm_test.inc (csqrt_test): Allow more spurious underflow
79861         exceptions.
79862         (j0_test): Likewise.
79863         (j1_test): Likewise.
79864         (y0_test): Likewise.
79865         (y1_test): Likewise.
79867 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
79869         * po/Makefile (libc.pot): Use UTF-8 charset.
79871 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
79873         [BZ #14210]
79874         Suppress sign-conversion warning from FD_SET.
79875         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79876         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79877         not unsigned long int.
79878         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79880 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
79882         [BZ #14050]
79883         [BZ #14117]
79884         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79885         __extern_always_inline instead of __extern_inline.
79886         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79887         (__signbit): Likewise.
79888         (__signbitl): Support C++ namespace.
79889         (lrintf): New inline function.
79890         (lrint): Likewise.
79891         (llrintf): Likewise.
79892         (llrint): Likewise.
79893         (fmaxf): Likewise.
79894         (fmax): Likewise.
79895         (fminf): Likewise.
79896         (fmin): Likewise.
79897         (rint): Likewise.
79898         (rintf): Likewise.
79899         (ceil): Likewise.
79900         (ceilf): Likewise.
79901         (floor): Likewise.
79902         (floorf): Likewise.
79903         (nearbyint): Likewise.
79904         (nearbyintf): Likewise.
79906 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
79908         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79909         non-default versions.
79911 2012-06-11  Roland McGrath  <roland@hack.frob.com>
79913         [BZ #14218]
79914         * manual/argp.texi (Argp): Reword argp_parse description slightly.
79916 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
79918         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79919         (FE_UPWARD, FE_DOWNWARD): Don't define.
79920         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79921         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79923         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79924         reading it.
79925         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79926         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79928 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79930         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79931         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79932         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79933         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79935 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
79937         [BZ #14117]
79938         * sysdeps/i386/fpu/bits/fenv.h: Removed.
79939         * sysdeps/i386/fpu/Implies: New file.
79940         * sysdeps/x86_64/fpu/Implies: Likewise.
79941         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79942         * sysdeps/x86/fpu/bits/fenv.h: This.
79944         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79945         __SSE_MATH__.
79947 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
79949         [BZ #14134]
79950         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79951         character 0xffff that matches the last element of the
79952         conversion table.
79954 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79956         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79957         fmodl commit.
79959 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79961         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79962         values higher than 25.6283.
79964 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79966         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79967         subnormal exponent extraction and add some __builtin_expect.
79968         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79969         Fix for subnormal mantissa calculation.
79971 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
79973         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79974         cpu2 is -1 and errno is not ENOSYS.
79976 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
79978         [BZ #14117]
79979         * sysdeps/i386/i486/bits/string.h: Renamed to ...
79980         * sysdeps/x86/bits/string.h: This.
79981         * sysdeps/x86_64/bits/string.h: Removed.
79983         * sysdeps/i386/i486/bits/string.h: Define inline functions only
79984         if not compiling for x86-64, but compiling for >= i486.
79986         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79987         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79989         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79990         New macro from Linux kernel 3.4.0.
79991         (FP_XSTATE_MAGIC2): Likewise.
79992         (FP_XSTATE_MAGIC2_SIZE): Likewise.
79993         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79994         (struct _fpx_sw_bytes): New struct.
79995         (struct _xsave_hdr): Likewise.
79996         (struct _ymmh_state): Likewise.
79997         (struct _xstate): Likewise.
79999         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80000         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80001         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80002         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80003         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80004         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80006         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80007         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80008         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80009         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80010         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80011         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80013 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80015         [BZ #13743]
80016         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80017         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80018         (sysdep_headers): Include sys/platform/ppc.h.
80019         * sysdeps/powerpc/test-gettimebase.c: Test for
80020         __ppc_get_timebase() to catch future ISA opcode/insn changes.
80021         * manual/Makefile (appendices): Include platform.texi.
80022         * manual/contrib.texi (Contributors): Update @node pointers.
80023         * manual/maint.texi (Maintenance): Likewise.
80024         (Platform): New node.
80025         * manual/platform.texi: New file.  Document the new features.
80027 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
80028             Jakub Jelinek  <jakub@redhat.com>
80030         [BZ #14188]
80031         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80032         where __builtin_expect is unavailable.
80034 2012-06-03  David S. Miller  <davem@davemloft.net>
80036         * stdlib/longlong.h: Updated from GCC.
80038 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
80040         [BZ #14042]
80041         * sysdeps/powerpc/powerpc32/mcount.c: New file.
80042         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80043         __mcount_internal.
80044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80045         (GLIBC_2.16): Likewise.
80047 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80049         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80051 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80054         (default-abi): New variable.
80055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80056         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80057         variable.
80058         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80059         Likewise.
80060         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80061         Likewise.
80062         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80063         Likewise.
80065         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80066         definition.  Document in comment.
80068 2012-06-01  David S. Miller  <davem@davemloft.net>
80070         * stdlib/longlong.h: Updated from GCC.
80072 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80074         [BZ #14117]
80075         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80076         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80077         sys/debugreg.h sys/io.h here.
80078         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80079         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80080         sys/io.h.
80081         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80082         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80083         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80084         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80085         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80086         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80088         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80089         Define only if __x86_64__ is defined.
80091 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80093         [BZ #14048]
80094         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80095         Use int64_t for variable i.
80096         * math/libm-test.inc (fmod_test): Add more tests.
80098         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80099         z computation is not scheduled after fetestexcept.
80100         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80101         Use math_force_eval instead of asm to ensure calculation scheduled
80102         before exception test.
80103         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80104         Ensure a1 + u.d computation is not scheduled after fetestexcept.
80106 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
80108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80109         computation is not scheduled after fetestexcept.
80111 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80113         [BZ #14117]
80114         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80115         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80117 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80119         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80120         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80122 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80124         [BZ #14117]
80125         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80126         <bits/wordsize.h>.
80127         (__WCHAR_MIN): Support __WORDSIZE == 64.
80128         (__WCHAR_MAX): Likewise.
80130         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80131         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80133         [BZ #14183]
80134         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80135         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80137         [BZ #14117]
80138         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80139         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80141         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80142         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80144         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80145         Defined to 1 if __x86_64__ isn't defined.
80146         (_STAT_VER_LINUX_OLD): New.
80147         (st_atime): Remove duplicate.
80148         (st_mtime): Likewise.
80149         (st_ctime): Likewise.
80151 2012-05-31  David S. Miller  <davem@davemloft.net>
80153         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80154         entries.
80156 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
80158         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80159         gen-libm-test.pl.
80161         [BZ #14132]
80162         * elf/dl-reloc.c: Include <_itoa.h>.
80163         (_dl_reloc_bad_type): Remove use of INTUSE.
80164         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80165         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80166         * stdio-common/psiginfo.c (psiginfo): Likewise.
80167         * stdio-common/psignal.c (psignal): Likewise.
80168         * string/strsignal.c (strsignal): Likewise.
80169         * include/signal.h (_sys_siglist): Declare hidden proto.
80170         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
80171         INTVARDEF with libc_hidden_data_def.
80172         * stdio-common/itoa-udigits.c: Likewise.
80173         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80174         (_itoa_lower_digits_internal): Remove declaration.
80175         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80176         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80177         (_sys_sigabbrev_internal): Remove aliases.
80178         (_sys_siglist): Define hidden alias.
80180 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
80182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80183         bits/sysctl.h.
80185 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80187         [BZ #14117]
80188         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80189         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80191         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80192         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80193         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80194         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80195         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80196         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80198         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80199         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80200         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80202         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80203         with __addr.
80204         (insw): Likewise.
80205         (insl): Likewise.
80206         (outsb): Likewise.
80207         (outsw): Likewise.
80208         (outsl): Likewise.
80210         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80211         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80212         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80214         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80215         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80216         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80217         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80218         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80219         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80221         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80222         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80224         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80225         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80227         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80228         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80229         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80231         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80232         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80233         to ...
80234         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80236         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80237         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80238         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80240         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80241         for x86-64.
80242         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80244 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
80246         * math/math.h (M_El): Use two more decimal places.
80247         (M_LOG2El): Likewise.
80248         (M_LOG10El): Likewise.
80249         (M_LN2l): Likewise.
80250         (M_LN10l): Likewise.
80251         (M_PIl): Likewise.
80252         (M_PI_2l): Likewise.
80253         (M_PI_4l): Likewise.
80254         (M_1_PIl): Likewise.
80255         (M_2_PIl): Likewise.
80256         (M_2_SQRTPIl): Likewise.
80257         (M_SQRT2l): Likewise.
80258         (M_SQRT1_2l): Likewise.
80260 2012-05-31  David S. Miller  <davem@davemloft.net>
80262         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80263         values between float registers.
80264         * sysdeps/sparc/sparc64/memset.S: Likewise.
80265         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80267 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
80269         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80270         -D_FORTIFY_SOURCE=1.
80271         (CPPFLAGS-tst-longjmp_chk.c): Define.
80272         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80273         (CPPFLAGS-tst-longjmp_chk2.c): Define.
80274         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80275         CFLAGS-tst-wchar-h.c.
80277 2012-05-31  Marek Polacek  <polacek@redhat.com>
80279         [BZ #14132]
80280         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80281         __endmntent_internal): Remove declaration.
80282         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80283         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80284         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80286 2012-05-30  David S. Miller  <davem@davemloft.net>
80288         * sysdeps/sparc/sparc32/soft-fp/q_util.c
80289         (___Q_simulate_exceptions): Use real FP ops rather than writing
80290         into the %fsr.
80291         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80292         Likewise.
80294 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80296         [BZ #14117]
80297         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80298         * sysdeps/x86/bits/xtitypes.h: This.
80300         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80301         * sysdeps/x86/bits/wordsize.h: This.
80303         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80304         * sysdeps/x86/bits/huge_vall.h: This.
80306         * sysdeps/i386/bits/select.h: Removed.
80307         * sysdeps/x86_64/bits/select.h: Renamed to ...
80308         * sysdeps/x86/bits/select.h: This.
80310         * sysdeps/i386/bits/setjmp.h: Removed.
80311         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80312         * sysdeps/x86/bits/setjmp.h: This.
80314         * sysdeps/i386/bits/mathdef.h: Removed.
80315         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80316         * sysdeps/x86/bits/mathdef.h: This.
80318 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
80320         [BZ #14132]
80321         * include/sys/socket.h (__connect_internal)
80322         (__libc_sa_len_internal): Remove declaration.
80323         (__connect, __libc_sa_len): Declare hidden_proto.
80324         (SA_LEN): Remove use of INTUSE.
80325         * socket/connect.c: Add libc_hidden_def.
80326         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80327         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80328         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80329         alias.
80330         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80331         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80332         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80333         of adding _internal alias.
80335 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80337         [BZ #14117]
80338         * sysdeps/i386/bits/link.h: Removed.
80339         * sysdeps/i386/bits/linkmap.h: Likewise.
80340         * sysdeps/x86_64/bits/link.h: Renamed to ...
80341         * sysdeps/x86/bits/link.h: This.
80342         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80343         * sysdeps/x86/bits/linkmap.h: This.
80345         * sysdeps/i386/bits/endian.h: Removed.
80346         * sysdeps/x86_64/bits/endian.h: Renamed to ...
80347         * sysdeps/x86/bits/endian.h: This.
80349         * sysdeps/i386/bits/byteswap.h: Removed.
80350         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80351         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80352         * sysdeps/x86/bits/byteswap.h: This.
80353         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80354         * sysdeps/x86/bits/byteswap-16.h: This.
80355         * sysdeps/i386/Implies: Add x86.
80356         * sysdeps/x86_64/Implies: Likewise.
80358 2012-05-30  David S. Miller  <davem@davemloft.net>
80360         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80361         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80362         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80363         (FP_TRAPPING_EXCEPTIONS): Define.
80364         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80365         (FP_TRAPPING_EXCEPTIONS): Define.
80366         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80367         subnormals only when inexact has been signalled or underflow
80368         exceptions are enabled.
80369         (_FP_PACK_CANONICAL): Likewise.
80371 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80373         [BZ #14183]
80374         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80375         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80377 2012-05-30  Richard Henderson  <rth@twiddle.net>
80379         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80380         with #ifndef NOT_IN_libc.
80382         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
80383         marked to avoid plt entry.
80385 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80387         [BZ #14112]
80388         * Makeconfig (default-abi): New macro.
80389         (abi-includes): Likewise.
80390         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
80391         $(abi-$(default-abi)-lib-soname) for soname if defined.
80392         ($(common-objpfx)gnu/lib-names.stmp): Generate from
80393         abi-variants.
80394         * Makefile (installed-stubs): Likewise.
80395         * include/stubs-biarch.h: Removed.
80396         * scripts/lib-names.awk: Only handle one library at a time.
80397         * scripts/soversions.awk: Remove WORDSIZE support.
80398         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80399         entries.
80400         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80401         Removed.
80402         (syscall-list-default-condition): Likewise.
80403         (syscall-list-default-condition): Likewise.
80404         (syscall-list-includes): Likewise.
80405         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80406         syscall-list-* with abi-*.  Handle undefined abi-variants.
80407         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80408         * sysdeps/unix/sysv/linux/i386/Implies: New file.
80409         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80410         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80411         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80412         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80413         Removed.
80414         (syscall-list-32-options): Likewise.
80415         (syscall-list-32-condition): Likewise.
80416         (syscall-list-64-options): Likewise.
80417         (syscall-list-64-condition): Likewise.
80418         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80419         macro.
80420         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80421         Renamed to ...
80422         (abi-*): This.
80423         (abi-64-ld-soname): New macro.
80424         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80425         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80426         Renamed to ...
80427         (abi-*): This.
80428         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80429         * sysdeps/x86_64/x32/shlib-versions: Likewise.
80431 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
80433         * sysdeps/unix/sysv/linux/kernel-features.h
80434         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80435         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80436         include <kernel-features.h>.
80437         [!__NR_ftruncate64]: Remove conditional code.
80438         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80439         [__NR_ftruncate64]: Make code unconditional.
80440         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80441         * sysdeps/unix/sysv/linux/truncate64.c: Do not
80442         include <kernel-features.h>.
80443         [!__NR_ftruncate64]: Remove conditional code.
80444         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80445         [__NR_ftruncate64]: Make code unconditional.
80446         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80448         include <kernel-features.h>.
80449         [!__NR_ftruncate64]: Remove conditional code.
80450         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80451         [__NR_ftruncate64]: Make code unconditional.
80452         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80454         include <kernel-features.h>.
80455         [!__NR_ftruncate64]: Remove conditional code.
80456         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80457         [__NR_ftruncate64]: Make code unconditional.
80458         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80460         * configure.in (libc_cv_fpie): Weaken to a compile test using
80461         LIBC_TRY_CC_OPTION.
80462         * configure: Regenerated.
80464 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80470         Refreshed.
80471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80477         Refreshed.
80479 2012-05-27  David S. Miller  <davem@davemloft.net>
80481         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80482         (___Q_zero): New.
80483         (__Q_simulate_exceptions): Return void.  Change to simulate
80484         exceptions by writing into the %fsr.
80485         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80486         (__Qp_handle_exceptions): Likewise.
80487         (numbers): Delete.
80488         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80489         __Qp_handle_exceptions.
80490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80491         __Qp_handle_exceptions.
80492         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80493         as unused and give dummy FP_RND_NEAREST initializer.
80494         (FP_INHIBIT_RESULTS): Define.
80495         (___Q_simulate_exceptions): Update declaration.
80496         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80497         formatting.
80498         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80499         as unused and give dummy FP_RND_NEAREST initializer.
80500         (__Qp_handle_exceptions): Update declaration.
80501         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80502         formatting.
80504 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
80506         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80507         the temporary FPU control word.
80508         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80509         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80510         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80511         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80512         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80513         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80514         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80515         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80516         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80517         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80518         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80520 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80522         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80523         fields.
80525 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
80527         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80528         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80529         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80530         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80531         Likewise.
80532         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80533         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80534         Likewise.
80536 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
80538         * po/h.po: Update from translation team.
80540 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
80542         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80544         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80545         handling of denormals.
80546         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80547         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80548         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80549         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80551         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80553         Likewise.
80555 2012-05-26  Marek Polacek  <polacek@redhat.com>
80557         [BZ #14152]
80558         * math/libm-test.inc (fma_test): Don't always expect underflow
80559         exception.
80561 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80563         [BZ #12416]
80564         * elf/tst-execstack.c: Include stackinfo.h.
80565         (do_test): Adjust test case to ensure that pthread_getattr_np
80566         behaviour remains the same after marking stack executable.
80568 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80570         * sysdeps/unix/sysv/linux/kernel-features.h
80571         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80572         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80573         kernel-features.h.
80574         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80575         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80576         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80577         kernel-features.h.
80578         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80579         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80581 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80583         * configure.in: Define the default includes to being none.
80584         * configure: Regenerated.
80586 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80588         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80589         * sysdeps/x86_64/setjmp.S: Likewise.
80590         * sysdeps/i386/bsd-setjmp.S: Likewise.
80591         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80592         * sysdeps/i386/setjmp.S: Likewise.
80593         * sysdeps/i386/__longjmp.S: Likewise.
80594         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80595         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80597         * include/stap-probe.h: New file.
80598         * configure.in: Handle --enable-systemtap.
80599         * configure: Regenerated.
80600         * config.h.in (USE_STAP_PROBE): New #undef.
80601         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80602         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80603         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80605 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80607         [BZ #13717]
80608         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80609         to 2.4.0 where earlier.
80610         * sysdeps/unix/sysv/linux/configure: Regenerated.
80611         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80612         <kernel-features.h>.
80613         [__ASSUME_32BITUIDS]: Make code unconditional.
80614         [!__ASSUME_32BITUIDS]: Remove conditional code.
80615         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80616         <kernel-features.h>.
80617         [__ASSUME_32BITUIDS]: Make code unconditional.
80618         [!__ASSUME_32BITUIDS]: Remove conditional code.
80619         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80620         [__ASSUME_32BITUIDS]: Make code unconditional.
80621         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80622         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80623         <kernel-features.h>.
80624         [__ASSUME_32BITUIDS]: Make code unconditional.
80625         [!__ASSUME_32BITUIDS]: Remove conditional code.
80626         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80627         <kernel-features.h>.
80628         [__ASSUME_32BITUIDS]: Make code unconditional.
80629         [!__ASSUME_32BITUIDS]: Remove conditional code.
80630         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80631         <kernel-features.h>.
80632         [__ASSUME_32BITUIDS]: Make code unconditional.
80633         [!__ASSUME_32BITUIDS]: Remove conditional code.
80634         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80635         <kernel-features.h>.
80636         [__ASSUME_32BITUIDS]: Make code unconditional.
80637         [!__ASSUME_32BITUIDS]: Remove conditional code.
80638         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80639         <kernel-features.h>.
80640         [__ASSUME_32BITUIDS]: Make code unconditional.
80641         [!__ASSUME_32BITUIDS]: Remove conditional code.
80642         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80643         <kernel-features.h>.
80644         [__ASSUME_32BITUIDS]: Make code unconditional.
80645         [!__ASSUME_32BITUIDS]: Remove conditional code.
80646         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80647         <kernel-features.h>.
80648         [__ASSUME_32BITUIDS]: Make code unconditional.
80649         [!__ASSUME_32BITUIDS]: Remove conditional code.
80650         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80651         <kernel-features.h>.
80652         [__ASSUME_32BITUIDS]: Make code unconditional.
80653         [!__ASSUME_32BITUIDS]: Remove conditional code.
80654         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80655         <kernel-features.h>.
80656         [__ASSUME_32BITUIDS]: Make code unconditional.
80657         [!__ASSUME_32BITUIDS]: Remove conditional code.
80658         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80659         <kernel-features.h>.
80660         [__ASSUME_32BITUIDS]: Make code unconditional.
80661         [!__ASSUME_32BITUIDS]: Remove conditional code.
80662         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80663         <kernel-features.h>.
80664         [__NR_setresgid] (__setresgid): Do not declare.
80665         [__ASSUME_32BITUIDS]: Make code unconditional.
80666         [!__ASSUME_32BITUIDS]: Remove conditional code.
80667         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80668         <kernel-features.h>.
80669         [__NR_setresuid] (__setresuid): Do not declare.
80670         [__ASSUME_32BITUIDS]: Make code unconditional.
80671         [!__ASSUME_32BITUIDS]: Remove conditional code.
80672         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80673         <kernel-features.h>.
80674         [__ASSUME_32BITUIDS]: Make code unconditional.
80675         [!__ASSUME_32BITUIDS]: Remove conditional code.
80676         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80677         <kernel-features.h>.
80678         [__ASSUME_32BITUIDS]: Make code unconditional.
80679         [!__ASSUME_32BITUIDS]: Remove conditional code.
80680         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80681         <kernel-features.h>.
80682         [__ASSUME_32BITUIDS]: Make code unconditional.
80683         [!__ASSUME_32BITUIDS]: Remove conditional code.
80684         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80685         <kernel-features.h>.
80686         [__ASSUME_32BITUIDS]: Make code unconditional.
80687         [!__ASSUME_32BITUIDS]: Remove conditional code.
80688         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80689         <kernel-features.h>.
80690         [__ASSUME_32BITUIDS]: Make code unconditional.
80691         [!__ASSUME_32BITUIDS]: Remove conditional code.
80692         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80693         <kernel-features.h>.
80694         [__ASSUME_32BITUIDS]: Make code unconditional.
80695         [!__ASSUME_32BITUIDS]: Remove conditional code.
80696         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80697         <kernel-features.h>.
80698         [__ASSUME_32BITUIDS]: Make code unconditional.
80699         [!__ASSUME_32BITUIDS]: Remove conditional code.
80700         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80701         <kernel-features.h>.
80702         [__ASSUME_32BITUIDS]: Make code unconditional.
80703         [!__ASSUME_32BITUIDS]: Remove conditional code.
80704         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80705         <kernel-features.h>.
80706         [__ASSUME_32BITUIDS]: Make code unconditional.
80707         [!__ASSUME_32BITUIDS]: Remove conditional code.
80708         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80709         <kernel-features.h>.
80710         [__ASSUME_32BITUIDS]: Make code unconditional.
80711         [!__ASSUME_32BITUIDS]: Remove conditional code.
80712         * sysdeps/unix/sysv/linux/kernel-features.h
80713         (__ASSUME_SETRESUID_SYSCALL): Remove.
80714         (__ASSUME_SETRESGID_SYSCALL): Likewise.
80715         (__ASSUME_32BITUIDS): Likewise.
80716         (__ASSUME_LDT_WORKS): Likewise.
80717         (__ASSUME_O_DIRECTORY): Likewise.
80718         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80719         architecture but not kernel version.
80720         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80721         (__ASSUME_MMAP2_SYSCALL): Likewise.
80722         (__ASSUME_STAT64_SYSCALL): Likewise.
80723         (__ASSUME_IPC64): Likewise.
80724         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80725         <kernel-features.h>.
80726         [__ASSUME_32BITUIDS]: Make code unconditional.
80727         [!__ASSUME_32BITUIDS]: Remove conditional code.
80728         * sysdeps/unix/sysv/linux/opendir.c: Do not include
80729         <kernel-features.h>.
80730         [__ASSUME_O_DIRECTORY]: Make code unconditional.
80731         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80732         132096]: Remove conditional code.
80733         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80734         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80735         <kernel-features.h>.
80736         [__ASSUME_32BITUIDS]: Make code unconditional.
80737         [!__ASSUME_32BITUIDS]: Remove conditional code.
80738         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80739         <kernel-features.h>.
80740         [__ASSUME_32BITUIDS]: Make code unconditional.
80741         [!__ASSUME_32BITUIDS]: Remove conditional code.
80742         * sysdeps/unix/sysv/linux/setegid.c: Do not include
80743         <kernel-features.h>.
80744         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80745         unconditional.
80746         (__setresgid): Do not declare.
80747         [__ASSUME_32BITUIDS]: Make code unconditional.
80748         [!__ASSUME_32BITUIDS]: Remove conditional code.
80749         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80750         <kernel-features.h>.
80751         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80752         unconditional.
80753         (__setresuid): Do not declare.
80754         [__ASSUME_32BITUIDS]: Make code unconditional.
80755         [!__ASSUME_32BITUIDS]: Remove conditional code.
80756         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80757         <kernel-features.h>.
80758         [__ASSUME_32BITUIDS]: Make code unconditional.
80759         [!__ASSUME_32BITUIDS]: Remove conditional code.
80760         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80761         <kernel-features.h>.
80762         [__ASSUME_32BITUIDS]: Make code unconditional.
80763         [!__ASSUME_32BITUIDS]: Remove conditional code.
80765 2012-05-25  Richard Henderson  <rth@twiddle.net>
80767         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80768         dl_hwcap to ifunc resolver.
80769         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80770         elf_ifunc_invoke.
80771         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80772         dl_hwcap to ifunc resolver.
80773         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80775 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80777         [BZ #14153]
80778         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80779         for |x| <= 2**-26, not 2**-57.
80780         * math/libm-test.inc (acos_test): Do not allow spurious underflow
80781         exception.
80783 2012-05-24  Jeff Law  <law@redhat.com>
80785         * stdio-common/Makefile (tests): Add bug25.
80786         * stdio-common/bug25.c: New test.
80788 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80790         [BZ #13576]
80791         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80792         multiple of MALLOC_ALIGNMENT in size.
80793         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80795 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80797         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80798         Require >= 256.
80799         (FILENAME_MAX): Use macro-int-constant.
80800         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
80801         (_IOFBF): Use macro-int-constant.
80802         (_IOLBF): Likewise.
80803         (_IONBF): Likewise.
80804         (SEEK_CUR): Likewise.
80805         (SEEK_END): Likewise.
80806         (SEEK_SET): Likewise.
80807         (TMP_MAX): Likewise.
80808         (EOF): Use macro-int-constant.  Require < 0.
80809         (NULL): Use macro-constant.  Require == 0.
80810         (stdin): Require type to be FILE *.
80811         (stdout): Likewise.
80812         (stderr): Likewise.
80813         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80814         macro-int-constant.
80815         (EXIT_SUCCESS): Likewise.
80816         (NULL): Use macro-constant.  Require == 0.
80817         (RAND_MAX): Use macro-int-constant.
80818         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80819         [C99-based standards] (strtof): Require function.
80820         [C99-based standards] (strtold): Likewise.
80821         [C99-based standards] (strtoll): Likewise.
80822         [C99-based standards] (strtoull): Likewise.
80823         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80824         [ISO || ISO99 || ISO11] (limits.h): Likewise.
80825         [ISO || ISO99 || ISO11] (math.h): Likewise.
80826         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80827         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80828         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80830 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
80832         [BZ #14132]
80833         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80834         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80835         * intl/dgettext.c (DCGETTEXT): Likewise.
80836         * intl/gettext.c (DCGETTEXT): Likewise.
80837         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80838         * posix/regex_internal.h (gettext): Likewise.
80839         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80840         Remove declaration.
80841         * include/argz.h (__argz_count_internal)
80842         (__argz_stringify_internal): Remove declaration.
80843         (__argz_count, __argz_stringify): Declare hidden proto.
80844         * intl/dcgettext.c: Remove use of INTDEF.
80845         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80846         * string/argz-stringify.c: Likewise.
80847         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80848         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80849         Declare hidden proto.
80850         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80851         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80852         Declare hidden proto.
80853         * include/stdio.h (__asprintf_internal): Don't declare.
80854         (__asprintf): Don't define as macro.  Declare hidden proto.
80855         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80856         (__fsetlocking): Declare hidden proto.
80857         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80858         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80859         hidden proto.
80860         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80861         (_IO_setlinebuf): Remove use of INTUSE.
80862         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80863         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80864         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80865         Remove declaration.
80866         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80867         (_IO_do_flush): Remove use of INTUSE.
80868         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80869         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80870         (_IO_adjust_column, _IO_least_wmarker)
80871         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80872         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80873         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80874         (_IO_default_doallocate, _IO_wdefault_doallocate)
80875         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80876         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80877         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80878         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80879         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80880         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80881         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80882         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80883         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80884         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80885         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80886         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80887         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80888         proto.
80889         (_IO_flush_all_internal, _IO_adjust_column_internal)
80890         (_IO_default_uflow_internal, _IO_default_finish_internal)
80891         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80892         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80893         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80894         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80895         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80896         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80897         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80898         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80899         (_IO_file_close_internal, _IO_file_close_it_internal)
80900         (_IO_file_underflow_internal, _IO_file_overflow_internal)
80901         (_IO_file_init_internal, _IO_file_attach_internal)
80902         (_IO_file_fopen_internal, _IO_file_read_internal)
80903         (_IO_file_sync_internal, _IO_file_seek_internal)
80904         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80905         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80906         (_IO_str_underflow_internal, _IO_str_overflow_internal)
80907         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80908         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80909         (_IO_list_all_internal, _IO_link_in_internal)
80910         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80911         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80912         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80913         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80914         (_IO_do_write_internal, _IO_padn_internal)
80915         (_IO_getline_info_internal, _IO_getline_internal)
80916         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80917         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80918         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80919         (_IO_vfscanf_internal, _IO_vfprintf_internal)
80920         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80921         (_IO_init_internal, _IO_un_link_internal): Don't declare.
80922         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80923         with libc_hidden_ver, remove use of INTUSE.
80924         * libio/genops.c: Likewise.
80925         * libio/freopen.c: Likewise.
80926         * libio/freopen64.c: Likewise.
80927         * libio/iofclose.c: Likewise.
80928         * libio/iofdopen.c: Likewise.
80929         * libio/iofflush.c: Likewise.
80930         * libio/iofflush_u.c: Likewise.
80931         * libio/iofgets.c: Likewise.
80932         * libio/iofgets_u.c: Likewise.
80933         * libio/iofopen.c: Likewise.
80934         * libio/iofopncook.c: Likewise.
80935         * libio/iofread.c: Likewise.
80936         * libio/iofread_u.c: Likewise.
80937         * libio/ioftell.c: Likewise.
80938         * libio/iofwrite.c: Likewise.
80939         * libio/iogetline.c: Likewise.
80940         * libio/iogets.c: Likewise.
80941         * libio/iogetwline.c: Likewise.
80942         * libio/iopadn.c: Likewise.
80943         * libio/iopopen.c: Likewise.
80944         * libio/ioseekoff.c: Likewise.
80945         * libio/ioseekpos.c: Likewise.
80946         * libio/iosetbuffer.c: Likewise.
80947         * libio/iosetvbuf.c: Likewise.
80948         * libio/ioungetc.c: Likewise.
80949         * libio/ioungetwc.c: Likewise.
80950         * libio/iovdprintf.c: Likewise.
80951         * libio/iovsprintf.c: Likewise.
80952         * libio/iovsscanf.c: Likewise.
80953         * libio/memstream.c: Likewise.
80954         * libio/obprintf.c: Likewise.
80955         * libio/oldfileops.c: Likewise.
80956         * libio/oldiofclose.c: Likewise.
80957         * libio/oldiofdopen.c: Likewise.
80958         * libio/oldiofopen.c: Likewise.
80959         * libio/oldiopopen.c: Likewise.
80960         * libio/oldstdfiles.c: Likewise.
80961         * libio/putc.c: Likewise.
80962         * libio/setbuf.c: Likewise.
80963         * libio/setlinebuf.c: Likewise.
80964         * libio/stdfiles.c: Likewise.
80965         * libio/strops.c: Likewise.
80966         * libio/vasprintf.c: Likewise.
80967         * libio/vscanf.c: Likewise.
80968         * libio/vsnprintf.c: Likewise.
80969         * libio/vswprintf.c: Likewise.
80970         * libio/wfiledoalloc.c: Likewise.
80971         * libio/wfileops.c: Likewise.
80972         * libio/wgenops.c: Likewise.
80973         * libio/wmemstream.c: Likewise.
80974         * libio/wstrops.c: Likewise.
80975         * libio/__fpurge.c: Likewise.
80976         * libio/__fsetlocking.c: Likewise.
80977         * assert/assert.c: Likewise.
80978         * debug/fgets_chk.c: Likewise.
80979         * debug/fgets_u_chk.c: Likewise.
80980         * debug/fread_chk.c: Likewise.
80981         * debug/fread_u_chk.c: Likewise.
80982         * debug/gets_chk.c: Likewise.
80983         * debug/obprintf_chk.c: Likewise.
80984         * debug/vasprintf_chk.c: Likewise.
80985         * debug/vdprintf_chk.c: Likewise.
80986         * debug/vsnprintf_chk.c: Likewise.
80987         * debug/vsprintf_chk.c: Likewise.
80988         * malloc/mtrace.c: Likewise.
80989         * misc/error.c: Likewise.
80990         * misc/syslog.c: Likewise.
80991         * stdio-common/asprintf.c: Likewise.
80992         * stdio-common/fxprintf.c: Likewise.
80993         * stdio-common/getw.c: Likewise.
80994         * stdio-common/isoc99_fscanf.c: Likewise.
80995         * stdio-common/isoc99_scanf.c: Likewise.
80996         * stdio-common/isoc99_vfscanf.c: Likewise.
80997         * stdio-common/isoc99_vscanf.c: Likewise.
80998         * stdio-common/isoc99_vsscanf.c: Likewise.
80999         * stdio-common/printf-prs.c: Likewise.
81000         * stdio-common/printf_fp.c: Likewise.
81001         * stdio-common/printf_fphex.c: Likewise.
81002         * stdio-common/printf_size.c: Likewise.
81003         * stdio-common/putw.c: Likewise.
81004         * stdio-common/scanf.c: Likewise.
81005         * stdio-common/sprintf.c: Likewise.
81006         * stdio-common/tmpfile.c: Likewise.
81007         * stdio-common/vfprintf.c: Likewise.
81008         * stdio-common/vfscanf.c: Likewise.
81009         * stdlib/strfmon_l.c: Likewise.
81010         * sunrpc/openchild.c: Likewise.
81011         * sunrpc/xdr_stdio.c: Likewise.
81012         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81013         * sysdeps/mach/hurd/tmpfile.c: Likewise.
81015 2012-05-24  Roland McGrath  <roland@hack.frob.com>
81017         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81019         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81020         in the third column, to generate for the shared library an IFUNC
81021         that uses _dl_vdso_vsym.
81022         * Makerules (COMPILE.c, compile-stdin.c): New variables.
81023         * Makeconfig (object-suffixes-noshared): New variable.
81025         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81026         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81027         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81028         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81030         [BZ #14132]
81031         * include/sys/time.h (__gettimeofday): Remove macro.
81032         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81033         * time/gettimeofday.c (__gettimeofday): Remove #undef.
81034         Remove INTDEF.
81035         (__gettimeofday): Add libc_hidden_def.
81036         (gettimeofday): Add libc_hidden_weak.
81037         * sysdeps/mach/gettimeofday.c: Likewise.
81038         * sysdeps/posix/gettimeofday.c: Likewise.
81039         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81040         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81041         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81042         (__gettimeofday_internal): Remove strong_alias.
81043         (__gettimeofday): Add libc_hidden_def.
81044         (gettimeofday): Add libc_hidden_weak.
81045         * sysdeps/unix/syscalls.list (gettimeofday):
81046         Remove __gettimeofday_internal alias.
81048 2012-05-24  Daniel Jacobowitz  <drow@false.org>
81049             H.J. Lu  <hongjiu.lu@intel.com>
81051         [BZ #12495]
81052         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81053         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81054         (largebin_index_32_big): New.
81055         (largebin_index): Use it for 16-byte alignment.
81056         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
81057         correction with front_misalign.
81059 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81063         Likewise.
81064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81065         Likewise.
81066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81067         Likewise.
81068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81069         Likewise.
81070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81071         Likewise.
81072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81073         Likewise.
81074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81075         Likewise.
81076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81077         Likewise.
81078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81079         Likewise.
81080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81081         Likewise.
81082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81083         Likewise.
81084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81085         Likewise.
81087         * scripts/data/c++-types-x32-linux-gnu.data: New file.
81088         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81090 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81092         [BZ #10846]
81093         [BZ #14036]
81094         * math/libm-test.inc (exp_test): Add test from bug 14036.
81095         (pow_test): Add test from bug 10846.
81097         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81098         and other flags.
81099         (special_function): Do not include flags in test name.
81100         (parse_args): Likewise.
81101         * sysdeps/i386/fpu/libm-test-ulps: Update.
81102         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81103         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81104         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81107         * math/gen-libm-test.pl (%beautify): Add entries for underflow
81108         exceptions.
81109         * math/libm-test.inc ("Philosophy"): Update comment about
81110         exception testing.
81111         (UNDERFLOW_EXCEPTION): New macro.
81112         (UNDERFLOW_EXCEPTION_OK): Likewise.
81113         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81114         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81115         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81116         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81117         (INVALID_EXCEPTION_OK): Update value.
81118         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81119         (OVERFLOW_EXCEPTION_OK): Likewise.
81120         (IGNORE_ZERO_INF_SIGN): Likewise.
81121         (test_exceptions): Handle underflow exceptions.
81122         (acos_test): Update for underflow exception expectations.
81123         (cexp_test): Likewise.
81124         (clog_test): Likewise.
81125         (clog10_test): Likewise.
81126         (csqrt_test): Likewise.
81127         (ctan_test): Likewise.
81128         (ctanh_test): Likewise.
81129         (exp_test): Likewise.
81130         (exp10_test): Likewise.
81131         (exp2_test): Likewise.
81132         (expm1_test): Likewise.
81133         (fma_test): Likewise.
81134         (j0_test): Likewise.
81135         (jn_test): Likewise.
81136         (nexttoward_test): Likewise.
81137         (pow_test): Likewise.
81138         (scalbn_test): Likewise.
81139         (scalbln_test): Likewise.
81140         (tan_test): Likewise.
81141         (y1_test): Likewise.
81142         * sysdeps/i386/fpu/libm-test-ulps: Update.
81143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81145 2012-05-23  David S. Miller  <davem@davemloft.net>
81147         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81148         (__libc_sigaction): Remove unused local variables.
81150 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81152         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81154 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
81156         mktime: avoid signed integer overflow
81157         * time/mktime.c (__mktime_internal): Do not mishandle the case
81158         where diff == INT_MIN.
81160         mktime: simplify computation of average
81161         * time/mktime.c (ranged_convert): Use new time_t_avg function
81162         instead of rolling our own (probably-slower) code.
81164         mktime: do not assume signed right shift propagates sign bit
81165         * time/mktime.c (isdst_differ): New static function.
81166         (__mktime_internal): No need to normalize tm_isdst now.
81167         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81168         tm_isdst values.
81170         mktime: merge another wrapv change from gnulib
81171         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81172         from some compilers.
81174         mktime: remove incorrect attempt at unusual arithmetics
81175         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81176         The code didn't really work on such machines anyway.
81177         (TYPE_MINIMUM): Assume two's complement.
81178         (twos_complement_arithmetic): Verify that long_int and time_t
81179         are two's complement (or unsigned, in the latter case).
81181         mktime: check signed shifts on long_int and time_t, too
81182         * time/mktime.c (SHR): Check that shifts work as desired
81183         on the types long_int and time_t too, as SHR is used on
81184         such types.
81186         mktime: do not assume 'long' is wide enough
81187         * time/mktime.c (verify): Move decl up.
81188         (long_int): New type.
81189         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81190         to remove assumption in the code that 'long' is wide enough to
81191         store year values.  This assumption is not true on x32 and on
81192         some non-glibc platforms.
81194         mktime: merge wrapv change from gnulib
81195         * time/mktime.c (WRAPV): New macro.
81196         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81197         (guess_time_tm, __mktime_internal): Do not assume that signed
81198         integer overflow wraps around; modern compilers generate code
81199         where this assumption is no longer valid.
81201 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81203         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81204         Replace "jmp L(pseudo_end)" with "ret".
81205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81206         Likewise.
81208 2012-05-23  Andreas Jaeger  <aj@suse.de>
81210         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81211         * sysdeps/unix/sysv/linux/poll.c: Remove file.
81213 2012-05-23  Andreas Jaeger  <aj@suse.de>
81214             Maximilian Attems  <max@stro.at>
81216         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81217         New macros.
81219 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81221         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81222         code so that pseudo_end is just ret and the stack pointer is
81223         correct also for static library in error case.
81225 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
81227         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81228         move to syscalls.list.
81229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81234         * manual/install.texi (Running make install): Do not mention Linux
81235         kernel version for which pt_chown is not needed.
81236         (Linux): Do not mention problems with nscd with 2.0 kernels.
81237         * INSTALL: Regenerated.
81239 2012-05-23  Andreas Jaeger  <aj@suse.de>
81241         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81242         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81243         macro.
81244         * sysdeps/unix/sysv/linux/s390/bits/mman.h
81245         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81246         * sysdeps/unix/sysv/linux/sh/bits/mman.h
81247         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81248         * sysdeps/unix/sysv/linux/i386/bits/mman.h
81249         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81250         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81251         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81252         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81253         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81254         * sysdeps/unix/sysv/linux/bits/in.h
81255         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81257 2012-05-22  Roland McGrath  <roland@hack.frob.com>
81259         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81260         (PREPARE_VERSION): Just use assert instead, it will be elided
81261         under [NDEBUG] anyway.
81263 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81265         * sysdeps/unix/sysv/linux/Makefile: Include
81266         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81267         (sysdep_routines): Remove sysctl.
81268         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81269         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81270         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81271         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81272         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81274 2012-05-22  Andreas Jaeger  <aj@suse.de>
81276         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81277         that pseudo_end is just ret and the stack pointer is correct also
81278         for static library in error case.
81280 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
81282         [BZ #14122]
81283         * nss/nsswitch.c (defconfig_entries): New variable.
81284         (__nss_database_lookup): Don't leak defconfig entries.
81285         (nss_parse_service_list): Don't leak on error paths.
81286         (free_database_entries): New function.
81287         (free_defconfig): New function.
81288         (free_mem): Move common code to free_database_entries.
81290 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81292         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81293         Add arch_prctl.
81294         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81296         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81297         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81299         New macro.
81300         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81301         (INTERNAL_SYSCALL_TYPES): Likewise.
81302         (LOAD_ARGS_TYPES_[1-6]): Likewise.
81303         (LOAD_REGS_TYPES_[1-6]): Likewise.
81304         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81305         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81307 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81309         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81310         copysignl for GLIBC_2_0.
81311         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81312         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81313         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81314         logbl for GLIBC_2_0.
81315         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81316         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81318 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81320         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81321         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81323         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81324         Use "neg %eax".
81326         * time/mktime.c: Update copyright years.
81328 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
81330         mktime: merge comment-quoting-style change from gnulib
81331         * time/mktime.c: Quote 'like this' in comments.
81332         The GNU coding standards suggest that we no longer quote `like this',
81333         as "`" and "'" are typically rendered asymmetrically nowadays.
81334         The typical gnulib style is to quote 'like this' when quoting
81335         code, and "like this" when quoting English.
81337         * time/mktime.c (compile-command): Add "-I.".
81339         mktime: merge mktime-internal.h change from gnulib
81340         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81342         mktime: merge time_r change from gnulib
81343         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81345         mktime: merge DEBUG change from gnulib
81346         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81347         case system <time.h> has a #define.
81349         mktime: merge <sys/types.h> change from gnulib
81350         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81351         since <time.t> is now guaranteed to define time_t.
81353         mktime: merge HAVE_CONFIG_H change from gnulib
81354         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81356 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81359         Use "neg %eax".
81361         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81362         __rlim_t cast.
81363         (struct rusage): Use anonymous union to pad each field to
81364         __syscall_slong_t.
81366 2012-05-21  David S. Miller  <davem@davemloft.net>
81368         * Makefules (o-iterator): Remove .s cases.
81369         (compile-command.s): Delete.
81370         (COMPILE.s): Delete.
81371         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81373 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
81375         * configure.in (libc_cv_predef_stack_protector): Only consider
81376         "foobar" and "__stack_chk_fail" lines in libc_undefs.
81377         * configure: Regenerated.
81379 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81381         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81382         New macro.  Use R*LP on int and pointer.
81383         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81384         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81385         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81386         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81388         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81389         [__WORDSIZE_TIME64_COMPAT32] instead of
81390         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81391         (struct utmp): Likewise.
81392         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81393         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81394         Renamed to ...
81395         (__WORDSIZE_TIME64_COMPAT32): This.
81396         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81397         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81398         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81399         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81400         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81401         (__WORDSIZE_TIME64_COMPAT32): New macro.
81403 2012-05-21  Andreas Jaeger  <aj@suse.de>
81405         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81406         only if [SHARED]. Add prototype for __wcschr_ia32.
81408 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81410         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81411         of %rbp unmolested in the jmp_buf while mangling the low bits.
81412         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81413         unmolested high bits of %rbp while demangling the low bits.
81414         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81416 2012-05-21  Andreas Jaeger  <aj@suse.de>
81418         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81419         * sunrpc/svc_simple.c: Use it for registerrpc.
81420         * sunrpc/xcrypt.c: Use it for passwd2des.
81422         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81424 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81426         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81427         Don't define if [__SYSCALL_WORDSIZE != 32].
81428         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81429         New macro.
81431 2012-05-21  Bruno Haible  <bruno@clisp.org>
81432             Andreas Jaeger  <aj@suse.de>
81434         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81435         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81436         inptr and inend for must_buffer_ch.
81437         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81438         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81439         * stdio-common/Makefile (tests): Remove bug15.
81440         (bug15-ENV): Remove macro.
81441         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81442         anymore.
81444 2012-05-19  Andreas Jaeger  <aj@suse.de>
81445             Roland McGrath  <roland@hack.frob.com>
81447         * manual/contrib.texi: Completely rewritten. It contains now an
81448         alphabetical list of contributors and their contributions.
81450 2012-05-21  Richard Henderson  <rth@twiddle.net>
81452         * misc/getauxval.c (__getauxval): Use unsigned long int.
81453         * misc/sys/auxv.h: Include <sys/cdefs.h>.
81454         (getauxval): Use unsigned long int.
81456 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81458         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81460 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81462         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81463         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81464         __alignof__ (long double).
81466 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81470 2012-05-20  Richard Henderson  <rth@twiddle.net>
81472         * misc/getauxval.c: New file.
81473         * misc/sys/auxv.h: New file.
81474         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81475         (routines): Add getauxval.
81476         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81477         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81478         * elf/dl-sysdep.c (_dl_auxv): Remove.
81479         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81480         * elf/dl-support.c (_dl_auxv): New variable.
81481         (_dl_aux_init): Initialize it.
81482         * manual/startup.texi (Auxiliary Vector): New node.
81483         * sysdeps/generic/bits/hwcap.h: New file.
81484         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81485         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
81486         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81487         * sysdeps/sparc/sysdep.h: ... here.  Include it.
81488         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81489         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81491         Update.
81492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81495         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81501 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81505 2012-05-19  David S. Miller  <davem@davemloft.net>
81507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81509 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81511         [BZ #14123]
81512         * math/s_ccosh.c: Include <float.h>
81513         (__ccosh): Avoid internal overflow calculating sinh and cosh
81514         values before multiplying by sin and cos values.
81515         * math/s_ccoshf.c: Likewise.
81516         * math/s_ccoshl.c: Likewise.
81517         * math/s_csin.c: Likewise.
81518         * math/s_csinf.c: Likewise.
81519         * math/s_csinl.c: Likewise.
81520         * math/s_csinh.c: Likewise.
81521         * math/s_csinhf.c: Likewise.
81522         * math/s_csinhl.c: Likewise.
81523         * math/libm-test.inc (ccos_test): Add more tests.
81524         (ccosh_test): Likewise.
81525         (csin_test): Likewise.
81526         (csinh_test): Likewise.
81527         * sysdeps/i386/fpu/libm-test-ulps: Update.
81528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81530 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
81532         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81533         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81535         * sysdeps/x86_64/x32/_itoa.h: Add comment.
81537 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81539         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81540         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81541         * sysdeps/powerpc/soft-fp/Versions: Likewise.
81542         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81543         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81544         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81545         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81546         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81547         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81548         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81549         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81550         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81551         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81552         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81553         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81554         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81555         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81556         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81557         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81558         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81559         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81560         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81561         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81562         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81563         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81564         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81565         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81566         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81567         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81568         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81569         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81571 2012-05-18  Andreas Jaeger  <aj@suse.de>
81573         * csu/.gitignore: Delete.
81575 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81577         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81578         (timex): Use __syscall_slong_t.
81580 2012-05-18  Andreas Jaeger  <aj@suse.de>
81581             Carlos O'Donell  <carlos_odonell@mentor.com>
81583         * manual/install.texi (Configuring and compiling): Update
81584         description about files modified in the source directory.
81585         * INSTALL: Regenerated.
81587 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81589         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81590         value.  Use "or" to set return value to -1.
81591         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81592         negate return value.
81594 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81596         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81597         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81598         failure if the compiler has Graphite support disabled.
81599         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81600         Likewise.
81601         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81602         (CFLAGS-memmove.c): Likewise.
81603         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81604         Likewise.
81606 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81608         * sysdeps/x86_64/x32/_itoa.h: New file.
81610         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81611         getdents system call only if kernel and user dirents have the
81612         same d_ino and d_off.
81614         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81615         LLONG_MAX != LONG_MAX.
81616         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81617         (_fitoa_word): Likewise.
81619         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81620         years.
81621         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81622         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81623         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81625         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81626         include <bits/wordsize.h>.  Check __x86_64__ instead of
81627         __WORDSIZE.
81628         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81629         if __x86_64__ is defined.  Use anonymous union on fpstate.
81631         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81632         anonymous union.
81634 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
81636         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81637         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81638         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81639         Refer to _rtld_local_ro instead of _rtld_global_ro.
81640         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81641         Likewise.
81642         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81643         Likewise.
81644         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81645         Likewise.
81646         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81647         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81648         of _rtld_global, and rtld_progname instead of _dl_argv[0].
81650         [BZ #10882]
81651         * sysdeps/powerpc/powerpc32/dl-machine.c
81652         (__elf_machine_runtime_setup) [PROF]: Don't reference
81653         _dl_prof_resolve.
81655 2012-05-18  Andreas Jaeger  <aj@suse.de>
81657         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81658         function only available for GCCs before 3.4 since GCC 3.4
81659         introduced a builtin.
81660         (lrint): Likewise.
81661         (llrintf): Likewise.
81662         (llrint): Likewise.
81663         (fmaxf): Likewise.
81664         (fmax): Likewise.
81665         (fminf): Likewise.
81666         (fmin): Likewise.
81667         (rint): Likewise.
81668         (rintf): Likewise.
81669         (nearbyint): Likewise.
81670         (nearbyintf): Likewise.
81671         (ceil): Likewise.
81672         (ceilf): Likewise.
81673         (floor): Likewise.
81674         (floorf): Likewise.
81676 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81678         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81679         on both fields and cast pointer to __syscall_ulong_t.
81681         * bits/types.h (__fsword_t): New type.
81682         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81683         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81684         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81685         (__FSWORD_T_TYPE): Likewise.
81686         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81687         (__FSWORD_T_TYPE): Likewise.
81688         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81689         (__FSWORD_T_TYPE): Likewise.
81690         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81691         (__FSWORD_T_TYPE): Likewise.
81692         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81693         __SWORD_TYPE with __fsword_t.
81694         (statfs64): Likewise.
81696 2012-05-17  David S. Miller  <davem@davemloft.net>
81698         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81700 2012-05-17  Andreas Jaeger  <aj@suse.de>
81702         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81703         warning.
81705 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81707         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81709 2012-05-17  Andreas Jaeger  <aj@suse.de>
81711         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81712         when it is used.
81714 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81716         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81718 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81720         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81721         * sysdeps/x86_64/tst-mallocalign1.c: New file.
81723 2012-05-17  Andreas Jaeger  <aj@suse.de>
81724             Carlos O'Donell  <carlos_odonell@mentor.com>
81726         [BZ #14059]
81727         * sysdeps/x86_64/multiarch/init-arch.h
81728         (bit_YMM_Usable): Rename to...
81729         (bit_AVX_Usable): ... this.
81730         (bit_FMA4_Usable): New macro.
81731         (bit_XMM_state): New macro.
81732         (bit_YMM_state): New macro.
81733         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81734         [__ASSEMBLER__] (index_AVX_Usable): ... this.
81735         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81736         (CPUID_OSXSAVE): New macro.
81737         (CPUID_AVX): New macro.
81738         (CPUID_FMA4): New macro.
81739         (index_YMM_Usable): Rename to...
81740         (index_AVX_Usable): ... this.
81741         (HAS_AVX): Use HAS_ARCH_FEATURE.
81742         (HAS_FMA4): Likewise.
81743         (HAS_YMM_USABLE): Remove.
81744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81745         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81746         are present.
81747         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81748         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81749         * sysdeps/x86_64/multiarch/Makefile: Likewise.
81750         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81751         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81753 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81755         * math/libm-test.c: Support platforms without multiple rounding modes.
81756         * math/bug-nextafter.c: Support platforms without FP exceptions.
81757         * math/bug-nexttoward.c: Likewise.
81758         * math/test-fenv.c: Likewise.
81759         * math/test-misc.c: Likewise.
81760         * stdlib/bug-getcontext.c: Likewise.
81762 2012-05-17  Andreas Jaeger  <aj@suse.de>
81764         * manual/examples/search.c (critter_cmp): Change signature to
81765         avoid warnings.
81766         * manual/string.texi (Collation Functions): Likewise.
81768 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81770         * bits/types.h: Fold copyright years.
81771         * bits/typesizes.h: Likewise.
81772         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81775         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81776         * time/time.h: Likewise.
81778 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
81780         [BZ #208]
81781         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81782         in instead of returning them.  Return void.
81783         (__libc_mallinfo): Accumulate over all arenas.
81784         (__malloc_stats): Adjust for change in int_mallinfo interface.
81786 2012-05-16  Roland McGrath  <roland@hack.frob.com>
81788         [BZ #10375]
81789         * configure.in (NM): Add AC_CHECK_TOOL for it.
81790         (libc_extra_cflags): New substituted variable.
81791         Check for -fstack-protector being used implicitly.
81792         * configure: Regenerated.
81793         * config.make.in (config-extra-cflags): New variable,
81794         gets @libc_extra_cflags@.
81795         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81797         [BZ #10375]
81798         * configure.in: Check for _FORTIFY_SOURCE being predefined.
81799         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81800         * configure: Regenerated.
81801         * config.make.in (CPPUNDEFS): New substituted variable.
81802         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81803         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81804         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81806 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81808         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81809         (mq_attr): Use __syscall_slong_t.
81811 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81813         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81814         Check __x86_64__ instead of __WORDSIZE.
81815         (_STAT_VER_LINUX): Likewise.
81816         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
81817         __syscall_ulong_t and __syscall_slong_t.
81818         (stat64): Likewise.
81820 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81822         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81824 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81826         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81828 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81830         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81831         __syscall_ulong_t.
81833         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81834         include <bits/wordsize.h>.  Check __x86_64__ instead of
81835         __WORDSIZE.
81836         (greg_t): Use "__extension__ long long int" if __x86_64__ is
81837         defined.
81838         (mcontext_t): Replace "unsigned long" with "unsigned long long".
81840         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81841         include <bits/wordsize.h>.  Check __x86_64__ instead of
81842         __WORDSIZE.
81843         (user_regs_struct): Use "__extension__ unsigned long long"
81844         instead of "unsigned long" if __x86_64__ is defined.
81845         (user): Likewise.  Pad after pointer field if __ILP32__ is
81846         defined.
81848 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
81850         * configure.in (makeinfo): Require version 4.5 or later.  Allow
81851         versions 5 to 9.
81852         * configure: Regenerated.
81853         * manual/install.texi (texinfo): Increase version requirement to
81854         4.5 or later.
81855         * INSTALL: Regenerated.
81857         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81859 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81861         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81863         * sysdeps/x86_64/x32/ffs.c: New file.
81865         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81866         __syscall_ulong_t.
81867         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81868         defined.  Use __syscall_ulong_t.
81869         (shminfo): Use __syscall_ulong_t.
81870         (shm_info): Likewise.
81872         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81873         __syscall_ulong_t.
81875         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81876         <bits/wordsize.h>.
81877         (msgqnum_t): Use __syscall_ulong_t.
81878         (msglen_t): Likewise.
81879         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
81880         __syscall_ulong_t.
81882         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81883         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81885         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81887         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81888         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81890         * sysvipc/sys/msg.h (msgbuf): Replace long int with
81891         __syscall_slong_t.
81893         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81894         include <bits/wordsize.h>.  Check __x86_64__ instead of
81895         __WORDSIZE.
81897         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81898         "unsigned long long int" if __x86_64__ is defined.
81899         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81901         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81902         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81903         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81905         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81906         <stdint.h>.
81907         (GET_PC): Cast to uintptr_t first.
81908         (GET_FRAME): Likewise.
81909         (GET_STACK): Likewise.
81911         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81912         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81913         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81914         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81915         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81916         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81917         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81918         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81919         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81920         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81921         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81922         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81923         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81924         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81925         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81926         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81927         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81928         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81929         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81930         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81931         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81932         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81933         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81934         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81935         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81936         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81937         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81938         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81939         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81941 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
81943         * Makerules (+depfiles): Also collect depfiles from .oS in
81944         $(extra-objs).
81945         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81946         .oS, $(libnldbl-routines)).
81948         * Makerules (native-compile-mkdep-flags): Define.
81949         * sunrpc/Makefile (extra-objs): Add $(addprefix
81950         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81951         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81952         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
81953         calling $(make-target-directory).
81955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81957         * bits/types.h (__snseconds_t): Removed.
81958         * time/time.h (struct timespec): Replace __snseconds_t with
81959         __syscall_slong_t.
81960         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81961         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81962         Likewise.
81963         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81964         (__SNSECONDS_T_TYPE): Likewise.
81965         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81966         (__SNSECONDS_T_TYPE): Likewise.
81967         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81968         (__SNSECONDS_T_TYPE): Likewise.
81970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81972         * sysdeps/mach/hurd/bits/typesizes.h
81973         (__SYSCALL_SLONG_TYPE): New macro.
81974         (__SYSCALL_ULONG_TYPE): Likewise.
81976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81978         * bits/types.h (__syscall_slong_t): New type.
81979         (__syscall_ulong_t): Likewise.
81981         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81982         (__SYSCALL_ULONG_TYPE): Likewise.
81983         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81984         (__SYSCALL_SLONG_TYPE): Likewise.
81985         (__SYSCALL_ULONG_TYPE): Likewise.
81986         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81987         (__SYSCALL_SLONG_TYPE): Likewise.
81988         (__SYSCALL_ULONG_TYPE): Likewise.
81989         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81990         (__SYSCALL_SLONG_TYPE): Likewise.
81991         (__SYSCALL_ULONG_TYPE): Likewise.
81993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81995         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81996         Add sigaltstack-offsets.sym.
81997         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81998         <sigaltstack-offsets.h>.
81999         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
82000         longjmp_msg pointer.
82001         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
82002         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82003         signal stack.
82004         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82006 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82008         * elf/stackguard-macros.h: Remove file.
82009         * sysdeps/generic/stackguard-macros.h: New file.
82010         * sysdeps/i386/stackguard-macros.h: Likewise.
82011         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82012         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82013         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82014         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82015         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82016         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82017         * sysdeps/x86_64/stackguard-macros.h: Likewise.
82018         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82019         <elf/stackguard-macros.h>.
82021         [BZ #14109]
82022         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82023         __aligned__ in attribute.
82024         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82025         (gregset_t): Likewise.
82027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82029         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82030         * sysdeps/x86_64/64/Implies-after: Here.  New file.
82031         * sysdeps/x86_64/x32/Implies-after: New file.
82033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82035         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82036         and access return value for _dl_profile_fixup.  Use R10_LP to
82037         load frame size.
82039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82041         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82045         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82046         * sysdeps/x86_64/x32/sysdep.h: New file.
82048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82050         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82051         * sysdeps/x86_64/setjmp.S: Likewise.
82053 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82055         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82056         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82057         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82058         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82059         remove unused global constant.
82061 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
82063         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82064         include of <not-cancel.h>.
82066 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82068         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82070 2012-05-15  Jeff Law  <law@redhat.com>
82071             Andreas Jaeger  <aj@suse.de>
82073         [BZ #13594]
82074         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82075         out from...
82076         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82077         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82078         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82079         code changing __hst_map_handle.map.
82081 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82083         * configure.in (sysnames): Look for Implies-before and Implies-after
82084         files.
82085         * configure: Regenerated.
82087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82089         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82090         8-byte data alignment with LP_SIZE alignment.
82092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82094         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82095         into R10_LP.
82097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82099         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82103         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82104         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82105         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82106         Likewise.
82107         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82111         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82112         (stackinfo_sub_sp): Likewise.
82114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82116         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82117         RAX_LP.
82119 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82121         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82122         into R*_LP.
82124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82126         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82127         sizes into R*_LP.
82129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82131         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82135         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82136         into R11_LP and load __x86_64_shared_cache_size_half into
82137         R8_LP.
82139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82141         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82142         R8_LP.
82144 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82146         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82147         logb for POWER7.
82148         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82149         logbf for POWER7.
82150         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82151         logbl for POWER7.
82152         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82153         powerpc32/power7/fpu/s_logb.c via #include.
82154         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82155         powerpc32/power7/fpu/s_logbf.c via #include.
82156         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82157         powerpc32/power7/fpu/s_logbl.c via #include.
82159 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82161         * README.libm: Remove file.
82163 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82165         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82166         count for x32.  Use R*_LP and omit operand-size suffix.
82168 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82170         * shlib-versions: Move x86_64-.*-linux.* entries to ...
82171         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
82172         * sysdeps/x86_64/x32/shlib-versions: New file.
82174 2012-05-14  Roland McGrath  <roland@hack.frob.com>
82176         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82177         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82178         Use _dl_fatal_printf instead.
82180 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82182         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82183         set if not set by the user.  Do not allow for being unset.
82184         * sysdeps/unix/sysv/linux/configure: Regenerated.
82186 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82188         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82189         the `q' suffix from lea and replace .quad with ASM_ADDR.
82191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82193         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82194         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
82195         instead of $17.
82196         (PTR_DEMANGLE): Likewise.
82198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82200         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82201         (LP_OP): Likewise.
82202         (ASM_ADDR): Likewise.
82203         (RAX_LP): Likewise.
82204         (RBP_LP): Likewise.
82205         (RBX_LP): Likewise.
82206         (RCX_LP): Likewise.
82207         (RDI_LP): Likewise.
82208         (RSI_LP): Likewise.
82209         (RSP_LP): Likewise.
82210         (R8_LP): Likewise.
82211         (R9_LP): Likewise.
82212         (R10_LP): Likewise.
82213         (R10_LP): Likewise.
82214         (R11_LP): Likewise.
82215         (R12_LP): Likewise.
82216         (R13_LP): Likewise.
82217         (R14_LP): Likewise.
82218         (R15_LP): Likewise.
82220 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82222         * sysdeps/x86_64/x32/dl-machine.h: New file.
82224 2012-05-14  Andreas Jaeger  <aj@suse.de>
82226         * manual/Makefile (subdir): Remove export of subdir.
82227         (all): Remove target.
82228         (.PHONY): Remove all from list.
82229         (mkinstalldirs): Remove.
82230         (.PHONY): Remove installdirs from list.
82231         ($(inst_infodir)/libc.info): Use make-target-directory.
82232         (installdirs): Remove.
82233         (subdir_%): Remove.
82234         (glibc-targets): Remove.
82235         (lib): Remove.
82236         (stubs): Remove.
82237         ($(objpfx)stubs ../po/manual.pot): Remove.
82238         ($(objpfx)stamp%): Remove.
82239         (make-target-directory): Remove.
82240         (subdir_install): Remove.
82241         (routines): Remove.
82242         (aux): Remove.
82243         (sources): Remove.
82244         (objects): Remove.
82245         (headers): Remove.
82247         [BZ #13750]
82248         * manual/.gitignore: Remove, it's not needed anymore.
82249         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82250         all files in it.
82251         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82252         directory.
82253         (texis): Renamed to $(objpfx)texis.
82254         (texis-path): New, contains path to generated files.
82255         (chapters.%): Use texis-path for complete path, add extra argument
82256         libc-texinfo.sh.
82257         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82258         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82259         (summary,texi, stamp-summary): Use complete path of
82260         files. Generate files in build dir.
82261         (dir-add.texi): Build in build dir.
82262         (libm-err.texi,stamp-libm-err): Likewise.
82263         (version.texi, stamp-version): Likewise.
82264         (.%c.texi): Likewise.
82265         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82266         (mostlyclean): Remove target.
82267         (realclean): Remove target.
82268         (generated): Add new variable with contents from mostlyclean and
82269         realclean, remove entries duplicated in common-mostlyclean, add
82270         stamp-libm-err and stamp-version.
82271         (generated-dirs): Add libc directory.
82272         ($(inst_infodir)/libc.info): Install files from build dir.
82274         * manual/install.texi (Configuring and compiling): Adjust since
82275         the info files are not part of the tar ball anymore.
82277 2012-05-14  Andreas Jaeger  <aj@suse.de>
82279         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82280         variable.
82282 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82284         [BZ #13717]
82285         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82286         to 2.2.0 where earlier.
82287         * sysdeps/unix/sysv/linux/configure: Regenerated.
82288         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82289         Remove conditional code.
82290         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82291         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82292         Remove conditional code.
82293         [!__NR_lchown]: Likewise.
82294         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82295         [__NR_lchown]: Likewise.
82296         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82297         comment referencing __ASSUME_LCHOWN_SYSCALL.
82298         * sysdeps/unix/sysv/linux/i386/sigaction.c
82299         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82300         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82301         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82302         Remove conditional code.
82303         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82304         (__protocol_available): Remove #if 0 code.
82305         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82306         conditional code.
82307         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82308         * sysdeps/unix/sysv/linux/kernel-features.h
82309         (__ASSUME_GETCWD_SYSCALL): Don't define.
82310         (__ASSUME_REALTIME_SIGNALS): Likewise.
82311         (__ASSUME_PREAD_SYSCALL): Likewise.
82312         (__ASSUME_PWRITE_SYSCALL): Likewise.
82313         (__ASSUME_POLL_SYSCALL): Likewise.
82314         (__ASSUME_LCHOWN_SYSCALL): Likewise.
82315         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82316         non-SPARC.
82317         (__ASSUME_SIOCGIFNAME): Don't define.
82318         (__ASSUME_MSG_NOSIGNAL): Likewise.
82319         (__ASSUME_SENDFILE): Define unconditionally.
82320         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82321         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82322         conditional code.
82323         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82324         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82325         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82326         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82327         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82328         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82329         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82331         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82332         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82334         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82335         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82337         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82338         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82340         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82341         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82343         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82344         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82346         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82347         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82349         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82350         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82352         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82353         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82354         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82355         Remove conditional code.
82356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82357         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82358         Remove conditional code.
82359         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82360         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82361         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82362         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82363         Remove conditional code.
82364         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82365         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82366         Remove conditional code.
82367         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82368         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82369         Remove conditional code.
82370         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82371         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82372         Remove conditional code.
82373         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82374         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82375         Remove conditional code.
82376         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82377         * sysdeps/unix/sysv/linux/sh/pwrite64.c
82378         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82379         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82380         * sysdeps/unix/sysv/linux/sigaction.c
82381         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82382         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82383         * sysdeps/unix/sysv/linux/sigpending.c
82384         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82385         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82386         * sysdeps/unix/sysv/linux/sigprocmask.c
82387         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82388         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82389         * sysdeps/unix/sysv/linux/sigsuspend.c
82390         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82391         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82392         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82393         (__libc_missing_rt_sigs): Remove.
82394         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82395         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82396         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82397         Remove conditional code.
82398         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82399         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82400         return 1.
82401         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82402         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82403         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82404         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82406 2012-05-14  Andreas Jaeger  <aj@suse.de>
82408         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82409         it's not used in glibc.
82410         (__coshm1): Likewise.
82411         (__acosh1p): Likewise.
82412         (__sgn): Likewise.
82414         * manual/string.texi (Copying and Concatenation): Add missing
82415         variable in concat example.
82416         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82418 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82420         [BZ #14103]
82421         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82422         __builtin_clzl with __builtin_clzll.
82424 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82426         [BZ #14104]
82427         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82428         libc_freeres_ptr.
82430 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82432         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82433         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82434         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82435         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82437 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
82439         * NEWS: Update ia64 info.
82441 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
82443         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82444         used as bcopy.
82446 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
82448         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82449         * sysdeps/unix/syscalls.list (dup3): Likewise.
82450         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82451         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82453 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82455         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82456         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82458 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82460         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82461         thread pointer.
82462         (TLS_IE): Use mov/add instead of movq/addq to load thread
82463         pointer.
82464         (TLS_GD_PREFIX): New.
82465         (TLS_GD): Use it.
82467 2012-05-11  David S. Miller  <davem@davemloft.net>
82469         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82470         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82471         (_FPU_SETCW): Likewise.
82473 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82475         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82476         is 32-byte aligned.
82478 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
82480         [BZ #11837]
82481         * iconvdata/gb18030.c: Update tables.
82482         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
82483         characters specially.
82484         (BODY for TO_LOOP): Add encoding of missing ranges.
82486 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
82488         [BZ #13673]
82489         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82490         * sysdeps/mach/hurd/dup3.c: Likewise.
82491         * sysdeps/mach/hurd/readlinkat.c: Likewise.
82492         * sysdeps/powerpc/memmove.c:: Likewise.
82494 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82496         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82497         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82499 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82501         * elf/elf.h (R_X86_64_RELATIVE64): New.
82502         (R_X86_64_NUM): Updated.
82503         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82504         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
82505         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82506         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82507         tst-quad1pie tst-quad2pie
82508         (modules-names): Add tst-quadmod1 tst-quadmod2.
82509         ($(objpfx)tst-quad1): New dependency.
82510         ($(objpfx)tst-quad2): Likewise.
82511         ($(objpfx)tst-quad1pie): Likewise.
82512         ($(objpfx)tst-quad2pie): Likewise.
82513         * sysdeps/x86_64/tst-quad1.c: New file.
82514         * sysdeps/x86_64/tst-quad1pie.c: New file.
82515         * sysdeps/x86_64/tst-quad2.c: Likewise.
82516         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82517         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82518         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82519         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82520         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82522 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82524         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82525         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82526         * streams/stropts.h (t_scalar_t): Define type.
82528         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82529         (_PATH_PRESERVE): Set to "/var/lib".
82530         (_PATH_RWHODIR): Set to "/var/spool/rwho".
82532         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82533         instead of int.
82535         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82536         if __dir_mkfile succeeded.
82538         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82539         checking for _hurd_dtablesize.  Unlock it right after having
82540         finished _hurd_dtable allocation.
82542 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82544         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82545         * sysdeps/mach/hurd/configure: Regenerated.
82546         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82547         special-casing to...
82548         * sysdeps/gnu/configure.in: ... this new file.
82549         * sysdeps/unix/sysv/linux/configure: Regenerated.
82550         * sysdeps/gnu/configure: New generated file.
82552         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82553         for Linux: use nsec instead of usec, as well as:
82554         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82555         members of type struct timespec.
82556         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82557         New macros.
82558         (struct stat64): Likewise.
82559         (_STATBUF_ST_NSEC): New macro.
82560         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82562         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82563         __strtoul_internal rather than strtoul.
82565 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82567         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82568         and reject them.
82570 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82572         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82573         which preserves existing values.
82574         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82576 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82578         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82579         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82580         greater than FD_SETSIZE.
82582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82584         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82585         allocated, call __vm_protect to finish enabling the existing space, and
82586         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82587         allocate the remainder.
82589 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82591         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82592         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82596         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82597         sysdeps/mach/hurd/readlink.c.
82599         * posix/tst-sysconf.c (posix_options): Only use
82600         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82601         _POSIX_SYNCHRONIZED_IO when they are defined
82602         * sysdeps/mach/hurd/bits/posix_opt.h:
82603         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82604         (_XOPEN_REALTIME): Undefine macro.
82605         (_XOPEN_REALTIME_THREADS): Undefine macro.
82606         (_XOPEN_SHM): Undefine macro.
82607         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82608         macro to -1.
82609         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82610         macro to -1.
82611         (_POSIX_ASYNC_IO): Undefine macro.
82612         (_POSIX_PRIORITIZED_IO): Undefine macro.
82613         (_POSIX_SPIN_LOCKS): Define macro to -1.
82615         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82616         SA_NODEFER, SA_RESETHAND.
82617         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82618         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82619         F_DUPFD_CLOEXEC.
82621 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82623         * elf/Makefile (pldd-modules): Define unconditionally.
82625 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82627         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82631         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82632         Return ENOENT when name is empty.
82633         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82635 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82637         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82639         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82643         Fix mlock in all cases except non-readable pages.
82644         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82645         instead of VM_PROT_ALL as parameter to __vm_wire function.
82647         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82648         (__mkdir): When path is `/', just fail with EEXIST.
82649         * sysdeps/mach/hurd/mkdirat.c: Likewise.
82651 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82653         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82654         <sys/uio.h> (for writev).
82655         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82656         and <sys/param.h> (for MIN).
82658 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82660         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82661         REQUESTED_TIME.  Properly set the remaining time and return EINTR
82662         if interrupted.
82664 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82666         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82667         Depend on against $(link-rpcuserlibs).
82669 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82671         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82672         (__libc_stack_end): Do not use attribute_relro.
82673         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82674         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82675         to libthread-provided value.
82676         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82677         attribute_relro.
82679 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82681         [BZ #3748]
82682         * bits/libc-lock.h (__libc_once_get): New macro.
82683         * sysdeps/mach/bits/libc-lock.h: Likewise.
82684         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82685         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82686         instead of using implementation details.
82688         * libio/fileops.c: Unconditionally include <kernel-features.h>.
82689         * libio/freopen.c: Likewise.
82690         * libio/freopen64.c: Likewise.
82691         * misc/syslog.c: Likewise.
82692         * nscd/connections.c: Likewise.
82693         * nscd/netgroupcache.c: Likewise.
82694         * sysdeps/posix/getcwd.c: Likewise.
82696 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82698         * math/w_ilogbf.c: Add #include <limits.h>.
82700 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82702         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82703         path instead of returning without unlocking.
82705         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82706         immediate-write ioctls.
82707         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82709 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82711         * sysdeps/mach/hurd/i386/init-first.c (init): Use
82712         __builtin_frame_address instead of making assumptions about the
82713         location of the return address relative to DATA.  Force early load of
82714         the return address.
82715         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82716         __builtin_frame_address.
82718         dup3 for GNU Hurd.
82719         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82720         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
82721         implement dup3 and do some further code clean-ups.
82722         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82723         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82725 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82727         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82729         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82730         HURD_CRITICAL_END around holding _hurd_dtable_lock.
82731         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82732         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82733         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82734         d->port.lock.
82736         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82737         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
82738         when handler == SIG_ERR, not when handler != SIG_ERR.
82740 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82742         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82743         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82744         definitions.
82746         accept4 for GNU Hurd.
82747         * include/sys/socket.h (__libc_accept4): New prototype.
82748         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
82749         to implement __libc_accept4.
82750         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82751         __libc_accept4.
82752         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82754         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82755         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82756         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82757         signal-defines.sym.
82759 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82761         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82765         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82766         assertion on O_CLOEXEC flag.
82767         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82768         * hurd/intern-fd.c: Likewise.
82769         * hurd/port2fd.c: Likewise.
82771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82773         [BZ #3906]
82774         * bits/in.h (IPV6_PKTINFO): Define new macro.
82775         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82777 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82779         [BZ #13954]
82780         [BZ #13955]
82781         [BZ #13956]
82782         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82783         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82784         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82785         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82786         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82787         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82788         * math/libm-test.inc (logb_test) : Additional logb tests.
82790 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
82791             Andreas Jaeger  <aj@suse.de>
82793         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82794         * configure: Regenerated.
82795         * config.h.in (LINK_OBSOLETE_RPC): New macro.
82796         * config.make.in (link-obsolete-rpc): New substituted variable.
82797         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82798         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82799         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82800         (shared-only-routines): Don't set it under [link-obsolete-rpc],
82801         so that libc.a contains the symbols.
82802         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82803         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82804         * sunrpc/auth_none.c: Likewise.
82805         * sunrpc/auth_unix.c: Likewise.
82806         * sunrpc/authdes_prot.c: Likewise.
82807         * sunrpc/authuxprot.c: Likewise.
82808         * sunrpc/clnt_gen.c: Likewise.
82809         * sunrpc/clnt_perr.c: Likewise.
82810         * sunrpc/clnt_raw.c: Likewise.
82811         * sunrpc/clnt_simp.c: Likewise.
82812         * sunrpc/clnt_tcp.c: Likewise.
82813         * sunrpc/clnt_udp.c: Likewise.
82814         * sunrpc/clnt_unix.c: Likewise.
82815         * sunrpc/des_crypt.c: Likewise.
82816         * sunrpc/des_soft.c: Likewise.
82817         * sunrpc/get_myaddr.c: Likewise.
82818         * sunrpc/key_call.c: Likewise.
82819         * sunrpc/key_prot.c: Likewise.
82820         * sunrpc/netname.c: Likewise.
82821         * sunrpc/pm_getmaps.c: Likewise.
82822         * sunrpc/pm_getport.c: Likewise.
82823         * sunrpc/pmap_clnt.c: Likewise.
82824         * sunrpc/pmap_prot.c: Likewise.
82825         * sunrpc/pmap_prot2.c: Likewise.
82826         * sunrpc/pmap_rmt.c: Likewise.
82827         * sunrpc/publickey.c: Likewise.
82828         * sunrpc/rpc_cmsg.c: Likewise.
82829         * sunrpc/rpc_common.c: Likewise.
82830         * sunrpc/rpc_dtable.c: Likewise.
82831         * sunrpc/rpc_prot.c: Likewise.
82832         * sunrpc/rpc_thread.c: Likewise.
82833         * sunrpc/rtime.c: Likewise.
82834         * sunrpc/svc.c: Likewise.
82835         * sunrpc/svc_auth.c: Likewise.
82836         * sunrpc/svc_raw.c: Likewise.
82837         * sunrpc/svc_run.c: Likewise.
82838         * sunrpc/svc_tcp.c: Likewise.
82839         * sunrpc/svc_udp.c: Likewise.
82840         * sunrpc/svc_unix.c: Likewise.
82841         * sunrpc/svcauth_des.c: Likewise.
82842         * sunrpc/xcrypt.c: Likewise.
82843         * sunrpc/xdr.c: Likewise.
82844         * sunrpc/xdr_array.c: Likewise.
82845         * sunrpc/xdr_float.c: Likewise.
82846         * sunrpc/xdr_intXX_t.c: Likewise.
82847         * sunrpc/xdr_mem.c: Likewise.
82848         * sunrpc/xdr_rec.c: Likewise.
82849         * sunrpc/xdr_ref.c: Likewise.
82850         * sunrpc/xdr_sizeof.c: Likewise.
82851         * sunrpc/xdr_stdio.c: Likewise.
82853 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82855         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82856         change.  Update copyright years.
82858 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82860         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82862 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
82863             Joseph Myers  <joseph@codesourcery.com>
82864             Paul Pluzhnikov  <ppluzhnikov@google.com>
82866         [BZ #14012]
82867         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82868         requiring rpcgen.
82869         [cross-compiling] (extra-libs): Likewise.
82870         [cross-compiling] (extra-libs-others): Likewise.
82871         [cross-compiling] (librpcsvc-routines): Likewise.
82872         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82873         [cross-compiling] (omit-deps): Likewise.
82874         (sunrpc-CPPFLAGS): New variable.
82875         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82876         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82877         (cross-rpcgen-objs): New variable.
82878         (extra-objs): Append $(cross-rpcgen-objs).
82879         ($(cross-rpcgen-objs)): New rule.
82880         ($(objpfx)cross-rpcgen): Likewise.
82881         (rpcgen-cmd): Define to use $(built-program-file).  Expand
82882         comment.
82883         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82884         ($(objpfx)x%.stmp): Likewise.
82885         * sunrpc/proto.h [IS_IN_build] (_): Define.
82886         [IS_IN_build] (_libc_intl_domainname): Likewise.
82888 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82890         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82891         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82892         and R_X86_64_TPOFF64.
82894 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82896         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82897         sysdeps/unix/sysv/syscalls.list.
82898         (stime): Likewise.
82899         (utime): Likewise.
82900         * sysdeps/unix/sysv/syscalls.list: Remove file.
82902 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
82904         [BZ #3440]
82905         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82906         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82907         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82908         (__LC_IDENTIFICATION): Make these macros useful in #if
82909         expressions, as required by C99.
82911 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
82913         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82914         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
82915         after this.
82917 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
82919         * stdlib/longlong.h: Updated from GCC.
82921 2012-05-09  Andreas Jaeger  <aj@suse.de>
82923         * nscd/nscd.c (run_modes): Make named enum, reorder so that
82924         default is first entry.
82925         (run_mode): Set type.
82926         (main): Remove informal message about syslog.
82927         (options): Fix typo.
82929         [BZ #14053]
82930         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82931         to asm.
82932         (lrint): Likewise.
82933         (llrintf): Likewise.
82934         (llrint): Likewise.
82935         (rint): Likewise.
82936         (rintf): Likewise.
82937         (nearbyint): Likewise.
82938         (nearbyintf): Likewise.
82940 2012-05-09  Andreas Jaeger  <aj@suse.de>
82941             Pedro Alves  <palves@redhat.com>
82943         * nscd/nscd.c (run_mode): Use enum.
82944         (main): Cleanup coding style issue.
82946 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
82947             Andreas Jaeger  <aj@suse.de>
82949         * nscd/nscd.c (go_background): Replaced with...
82950         (run_mode): ... this.
82951         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82952         (options): Add -F --foreground.
82953         (main): Implement it.
82954         (parse_opt): Parse it.
82956 2012-05-09  Andreas Jaeger  <aj@suse.de>
82958         [BZ #14083]
82959         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82960         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82961         -Wconversion warning.
82962         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82963         Likewise.
82965 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
82967         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
82968         == 0.
82969         (LC_ALL): Use macro-int-constant.
82970         (LC_COLLATE): Likewise.
82971         (LC_CTYPE): Likewise.
82972         (LC_MESSAGES): Likewise.
82973         (LC_MONETARY): Likewise.
82974         (LC_NUMERIC): Likewise.
82975         (LC_TIME): Likewise.
82976         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82977         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82978         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82979         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82980         Specify type.
82981         [C99-based standards] (float_t): Expect type.
82982         [C99-based standards] (double_t): Expect type.
82983         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
82984         type.
82985         [C99-based standards] (HUGE_VALL): Likewise.
82986         [C99-based standards] (INFINITY): Likewise.
82987         [C99-based standards] (NAN): Likewise.
82988         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82989         [C99-based standards] (FP_NAN): Likewise.
82990         [C99-based standards] (FP_NORMAL): Likewise.
82991         [C99-based standards] (FP_SUBNORMAL): Likewise.
82992         [C99-based standards] (FP_ZERO): Likewise.
82993         [C99-based standards] (FP_FAST_FMA): Use
82994         optional-macro-int-constant.  Specify type.  Require == 1.
82995         [C99-based standards] (FP_FAST_FMAF): Likewise.
82996         [C99-based standards] (FP_FAST_FMAL): Likewise.
82997         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82998         [C99-based standards] (FP_ILOGBNAN): Likewise.
82999         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83000         Specify type.
83001         [C99-based standards] (MATH_ERREXCEPT): Likewise.
83002         [C99-based standards] (math_errhandling): Specify type.
83003         [ISO99 || ISO11] (signgam): Do not allow.
83004         [non-C99-based standards] (copysignf): Do not allow.
83005         [non-C99-based standards] (exp2f): Likewise.
83006         [non-C99-based standards] (log2f): Likewise.
83007         [non-C99-based standards] (modff): Allow.
83008         [non-C99-based standards] (erff): Do not allow.
83009         [non-C99-based standards] (erfcf): Likewise.
83010         [non-C99-based standards] (gammaf): Likewise.
83011         [non-C99-based standards] (hypotf): Likewise.
83012         [non-C99-based standards] (j0f): Likewise.
83013         [non-C99-based standards] (j1f): Likewise.
83014         [non-C99-based standards] (jnf): Likewise.
83015         [non-C99-based standards] (lgammaf): Likewise.
83016         [non-C99-based standards] (tgammaf): Likewise.
83017         [non-C99-based standards] (y0f): Likewise.
83018         [non-C99-based standards] (y1f): Likewise.
83019         [non-C99-based standards] (ynf): Likewise.
83020         [non-C99-based standards] (isnanf): Likewise.
83021         [non-C99-based standards] (acoshf): Likewise.
83022         [non-C99-based standards] (asinhf): Likewise.
83023         [non-C99-based standards] (atanhf): Likewise.
83024         [non-C99-based standards] (cbrtf): Likewise.
83025         [non-C99-based standards] (expm1f): Likewise.
83026         [non-C99-based standards] (ilogbf): Likewise.
83027         [non-C99-based standards] (log1pf): Likewise.
83028         [non-C99-based standards] (logbf): Likewise.
83029         [non-C99-based standards] (nextafterf): Likewise.
83030         [non-C99-based standards] (remainderf): Likewise.
83031         [non-C99-based standards] (rintf): Likewise.
83032         [non-C99-based standards] (scalbf): Likewise.
83033         [non-C99-based standards] (copysignl): Likewise.
83034         [non-C99-based standards] (exp2l): Likewise.
83035         [non-C99-based standards] (log2l): Likewise.
83036         [non-C99-based standards] (modfl): Allow.
83037         [non-C99-based standards] (erfl): Do not allow.
83038         [non-C99-based standards] (erfcl): Likewise.
83039         [non-C99-based standards] (gammal): Likewise.
83040         [non-C99-based standards] (hypotl): Likewise.
83041         [non-C99-based standards] (j0l): Likewise.
83042         [non-C99-based standards] (j1l): Likewise.
83043         [non-C99-based standards] (jnl): Likewise.
83044         [non-C99-based standards] (lgammal): Likewise.
83045         [non-C99-based standards] (tgammal): Likewise.
83046         [non-C99-based standards] (y0l): Likewise.
83047         [non-C99-based standards] (y1l): Likewise.
83048         [non-C99-based standards] (ynl): Likewise.
83049         [non-C99-based standards] (isnanl): Likewise.
83050         [non-C99-based standards] (acoshl): Likewise.
83051         [non-C99-based standards] (asinhl): Likewise.
83052         [non-C99-based standards] (atanhl): Likewise.
83053         [non-C99-based standards] (cbrtl): Likewise.
83054         [non-C99-based standards] (expm1l): Likewise.
83055         [non-C99-based standards] (ilogbl): Likewise.
83056         [non-C99-based standards] (log1pl): Likewise.
83057         [non-C99-based standards] (logbl): Likewise.
83058         [non-C99-based standards] (nextafterl): Likewise.
83059         [non-C99-based standards] (remainderl): Likewise.
83060         [non-C99-based standards] (rintl): Likewise.
83061         [non-C99-based standards] (scalbl): Likewise.
83062         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83063         [non-C99-based standards] (FP_*): Do not allow.
83064         [C99-based standards] (FP_*): Change to
83065         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83066         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83067         allow.
83068         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83069         (SIG_ERR): Likewise.
83070         [X/Open-based standards] (SIG_HOLD): Likewise.
83071         (SIG_IGN): Likewise.
83072         (SIGABRT): Use macro-int-constant.  Specify type.  Require
83073         positive value.
83074         (SIGFPE): Likewise.
83075         (SIGILL): Likewise.
83076         (SIGINT): Likewise.
83077         (SIGSEGV): Likewise.
83078         (SIGTER): Likewise.
83079         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83080         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83081         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83082         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83083         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83084         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83085         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83086         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83087         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83088         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83089         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83090         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83091         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83092         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83093         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83094         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83095         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83096         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83097         [X/Open-based standards] (SIGTRAP): Likewise.
83098         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83099         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83100         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83101         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83102         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83103         allow.
83105 2012-05-08  Ian Wienand  <ianw@vmware.com>
83107         [BZ #14080]
83108         * time/tzset.c (__tzset_parse_tz): Update default rules for
83109         daylight time changes in the Energy Policy Act of 2005.
83111 2012-05-09  Andreas Jaeger  <aj@suse.de>
83113         [BZ #13983]
83114         * elf/ldconfig.c (parse_conf): Change string to make clear that
83115         ldconfig only issued a warning if ld.so.conf does not exist.
83117 2012-05-08  David S. Miller  <davem@davemloft.net>
83119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83120         movxtod instead of popping the value on the stack.
83122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83124 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
83126         * config.h.in: Add HAVE_ARM_PCS_VFP.
83128 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
83130         [BZ #13979]
83131         * include/features.h: Warn if user requests __FORTIFY_SOURCE
83132         checking but the checks are disabled for any reason.
83134 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
83136         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83137         and ELF64_R_TYPE with ELFW(R_TYPE).
83139 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
83141         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83142         (ulimit): Likewise.
83144         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83145         (settimeofday): Likewise.
83147 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
83149         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
83150         a struct th_u2 inside the union, and move tu_block/tu_code into
83151         a new th_u3 union of tu_block/tu_code inside of that.  Move
83152         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
83153         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
83154         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83155         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83156         (th_stuff): Change to th_u1.tu_stuff.
83157         (th_data): Define.
83158         (th_msg): Change to th_u1.th_u2.tu_data.
83160 2012-05-07  David S. Miller  <davem@davemloft.net>
83162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83164         [BZ #14074]
83165         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83166         (SETUP_PIC_REG): Use it.
83167         (SETUP_PIC_REG_LEAF): Use it.
83169 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
83171         [BZ #13885]
83172         [BZ #13923]
83173         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83174         USE_AS_EXPM1L.
83175         (EXPL_FINITE): Likewise.
83176         (FLDLOG): Likewise.
83177         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83178         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83179         e_expl.S.
83180         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83181         USE_AS_EXPM1L.
83182         (EXPL_FINITE): Likewise.
83183         (FLDLOG): Likewise.
83184         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83185         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83186         e_expl.S.
83187         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
83188         test of -max_value argument for long double.
83189         * sysdeps/i386/fpu/libm-test-ulps: Update.
83190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83192 2012-05-06  David S. Miller  <davem@davemloft.net>
83194         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83195         quad soft-float symbols whose references which are compiler
83196         generated.
83197         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83199 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
83201         [BZ #13884]
83202         [BZ #13914]
83203         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83204         USE_AS_EXP10L.
83205         (EXPL_FINITE): Likewise.
83206         (FLDLOG): Likewise.
83207         (c0): Likewise.
83208         (c1): Likewise.
83209         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83210         Adjust comments for base varying.
83211         (__expl_finite): Change alias to EXPL_FINITE.
83212         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83213         e_expl.S.
83214         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83215         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83216         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83217         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83218         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83219         USE_AS_EXP10L.
83220         (EXPL_FINITE): Likewise.
83221         (FLDLOG): Likewise.
83222         (c0): Likewise.
83223         (c1): Likewise.
83224         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83225         Adjust comments for base varying.
83226         (__expl_finite): Change alias to EXPL_FINITE.
83227         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
83228         tests for bugs.
83229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83231         [BZ #14064]
83232         * math/libm-test.inc (check_float_internal): Correct ulp
83233         calculation for subnormal expected results.
83235 2012-05-06  Andreas Jaeger  <aj@suse.de>
83237         * Makeconfig (+math-flags): New, set to -frounding-math.
83238         (+cflags): Add +math-flags so that all of glibc gets compiled with
83239         it.
83241         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83243 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
83245         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83246         Disable one test.
83248         [BZ #13787]
83249         [BZ #13922]
83250         [BZ #14036]
83251         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83252         (__ieee754_expl): Allow for and saturate large arguments.
83253         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83254         (u_threshold): Likewise.
83255         (__exp): Call __ieee754_exp before checking for overflow and
83256         underflow.
83257         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83258         (u_threshold): Likewise.
83259         (__expf): Call __ieee754_expf before checking for overflow and
83260         underflow.
83261         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83262         (u_threshold): Likewise.
83263         (__expl): Call __ieee754_expl before checking for overflow and
83264         underflow.
83265         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83266         (__ieee754_expl): Allow for and saturate large arguments.
83267         * math/libm-test.inc (exp_test): Add another test.  Do not allow
83268         missing overflow exception on overflow.
83269         (expm1_test): Do not allow missing overflow exception on overflow.
83271         * sysdeps/i386/fpu/e_expl.c: Move to ...
83272         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
83273         rather than using inline asm.
83274         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83275         * sysdeps/x86_64/fpu/e_expl.S: Copy from
83276         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83278         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83279         (nice): Likewise.
83280         (poll): Likewise.
83281         (signal): Likewise.
83282         (time): Likewise.
83283         (times): Likewise.
83285 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83287         * sysdeps/unix/syscalls.list (adjtime): Add entry from
83288         sysdeps/unix/common/syscalls.list.
83289         (fchmod): Likewise.
83290         (fchown): Likewise.
83291         (ftruncate): Likewise.
83292         (getrusage): Likewise.
83293         (gettimeofday): Likewise.
83294         (setpgid): Likewise.
83295         (setregid): Likewise.
83296         (setreuid): Likewise.
83297         (sigaction): Likewise.
83298         (truncate): Likewise.
83299         (vhangup): Likewise.
83300         * sysdeps/unix/common/syscalls.list: Remove file.
83301         * sysdeps/unix/bsd/Implies: Don't include unix/common.
83302         * sysdeps/unix/sysv/linux/Implies: Likewise.
83304 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
83306         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83308         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83309         Moved to ...
83310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83311         Here.
83312         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83313         to ...
83314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83315         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83316         to ...
83317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83318         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83319         to ...
83320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83321         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83322         to ...
83323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83324         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83325         to ...
83326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83327         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83328         to ...
83329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83330         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83331         to ...
83332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83333         Here.
83334         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83335         to ...
83336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83337         Here.
83338         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83339         to ...
83340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83341         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83342         Moved to ...
83343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83344         Here.
83345         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83346         to ...
83347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83349 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83351         * sysdeps/unix/common/bits/dirent.h: Remove file.
83352         * sysdeps/unix/common/bits/fcntl.h: Likewise.
83354         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83355         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83356         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83357         * sysdeps/unix/bsd/isatty.c: Likewise.
83358         * sysdeps/unix/bsd/tcdrain.c: Likewise.
83359         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83360         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83362 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83364         [BZ #13563]
83365         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83366         long double comparison inaccuracies.
83367         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83370 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
83372         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83373         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83375 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83377         [BZ #14049]
83378         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83379         nonzero digits before rounding a hex value.
83380         * stdlib/tst-strtod.c (tests): Add another test.
83382 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83384         * sysdeps/s390/fpu/libm-test-ulps: Update.
83386 2012-05-03  Andreas Jaeger  <aj@suse.de>
83388         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83389         does not get optimized out.
83390         (malloc_opt_barrier): New.
83392 2012-05-03  Andreas Jaeger  <aj@suse.de>
83393             Roland McGrath  <roland@hack.frob.com>
83395         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83396         intermediate file deletion.
83397         (generated): Add .symlist files.
83399 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
83401         [BZ #13775]
83402         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83403         Redirect under this condition.
83404         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83405         [__USE_GNU] (__dprintf_chk): Not under this condition.
83406         [__USE_GNU] (__vdprintf_chk): Likewise.
83407         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83408         under this condition.
83409         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83410         [__USE_XOPEN2K8] (dprintf): Define under this condition.
83411         [__USE_XOPEN2K8] (vdprintf): Likewise.
83412         [__USE_GNU] (__dprintf_chk): Not under this condition.
83413         [__USE_GNU] (__vdprintf_chk): Likewise.
83414         [__USE_GNU] (dprintf): Likewise.
83415         [__USE_GNU] (vdprintf): Likewise.
83417 2012-05-03  Roland McGrath  <roland@hack.frob.com>
83419         * elf/Makefile (common-generated): Set this instead of generated for
83420         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
83421         $(all-built-dso)-derived lists.
83423 2012-05-03  Andreas Jaeger  <aj@suse.de>
83425         * sysdeps/i386/fpu/libm-test-ulps: Update.
83427         * FAQ: Removed.
83428         * FAQ.in: Likewise.
83429         * scripts/gen-FAQ.pl: Likewise.
83430         * manual/install.texi (Installation): Point to online location of
83431         FAQ.
83432         * Makefile (files-for-dist): Remove FAQ.
83433         (FAQ): Remove.
83435 2012-05-02  Allan McRae  <allan@archlinux.org>
83437         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83438         (LDFLAGS-reldepmod5.so): Likewise.
83439         (LDFLAGS-reldep6mod1.so): Likewise.
83440         (LDFLAGS-reldep6mod4.so): Likewise.
83441         (LDFLAGS-reldep8mod3.so): Likewise.
83442         (LDFLAGS-unload4mod1.so): Likewise.
83443         (LDFLAGS-unload4mod2.so): Likewise.
83444         (LDFLAGS-tst-initorder): Likewise.
83445         (LDFLAGS-tst-initordera2.so): Likewise.
83446         (LDFLAGS-tst-initordera3.so): Likewise.
83447         (LDFLAGS-tst-initordera4.so): Likewise.
83448         (LDFLAGS-tst-initorderb2.so): Likewise.
83449         (LDFLAGS-noload): Likewise.
83450         (LDFLAGS-next): Likewise.
83451         (LDFLAGS-order2mod1.so): Likewise.
83452         (LDFLAGS-order2mod2.so): Likewise.
83453         (LDFLAGS-tst-initorder2): Likewise.
83454         (LDFLAGS-tst-initorder2a.so): Likewise.
83455         (LDFLAGS-tst-initorder2b.so): Likewise.
83456         (LDFLAGS-tst-initorder2c.so): Likewise.
83457         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83459 2012-05-02  David S. Miller  <davem@davemloft.net>
83461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83463 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
83465         [BZ #14055]
83466         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83468 2012-05-02  Andreas Jaeger  <aj@suse.de>
83470         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83471         since we manipulate rounding mode.
83472         (CPPFLAGS-test-idouble.c): Likewise.
83473         (CPPFLAGS-test-ifloat.c): Likewise.
83474         (CFLAGS-test-ldouble.c): Likewise.
83475         (CFLAGS-test-double.c): Likewise.
83476         (CFLAGS-test-float.c): Likewise.
83477         (CFLAGS-test-misc.c): Likewise.
83478         (CFLAGS-test-test-fenv.c): Likewise.
83480 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83482         [BZ #2550]
83483         [BZ #2570]
83484         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83485         comparisons to determine direction to adjust input.
83487 2012-05-01  Roland McGrath  <roland@hack.frob.com>
83489         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83490         output to the target.
83492         * scripts/localplt.awk: New file.
83493         * elf/Makefile ($(objpfx)check-localplt): Target removed.
83494         (check-localplt-CFLAGS): Variable removed.
83495         ($(all-built-dso:=.jmprel)): New static pattern rule.
83496         (generated): Add those targets.
83497         (localplt-built-dso): New variable.
83498         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83500         * elf/check-localplt.c: File removed.
83502         * scripts/check-execstack.awk: New file.
83503         * elf/Makefile ($(objpfx)check-execstack): Target removed.
83504         (check-execstack-CFLAGS): Variable removed.
83505         ($(objpfx)check-execstack.h): Target removed.
83506         ($(objpfx)execstack-default): New target.
83507         (generated): Add that instead of check-execstack.h.
83508         ($(all-built-dso:=.phdr)): New static pattern rule.
83509         (generated): Add those targets.
83510         * elf/check-execstack.c: File removed.
83512         * scripts/check-textrel.awk: New file.
83513         * elf/Makefile ($(objpfx)check-textrel): Target removed.
83514         (check-textrel-CFLAGS): Variable removed.
83515         (all-built-dso): Use := to define.o
83516         ($(all-built-dso:=.dyn)): New static pattern rule.
83517         (generated): Add those targets.
83518         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83519         * config.make.in (READELF): New substituted variable.
83520         * elf/check-textrel.c: File removed.
83522 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83524         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83525         allow.
83526         * conform/data/ctype.h-data [C99-based standards] (isblank):
83527         Expect function.
83528         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83529         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83530         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83531         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83532         Specify type.  Require positive value.
83533         (EILSEQ): Likewise.
83534         (ERANGE): Likewise.
83535         [ISO || POSIX] (EILSEQ): Do not expect.
83536         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83537         Specify type.  Require positive value.
83538         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83539         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83540         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83541         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83542         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83543         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83544         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83545         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83546         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83547         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83548         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83549         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83550         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83551         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83552         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83553         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83554         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83555         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83556         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83557         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83558         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83559         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83560         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83561         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83562         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83563         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83564         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83565         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83566         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83567         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83568         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83569         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83570         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83571         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83572         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83573         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83574         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83575         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83576         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83577         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83578         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83579         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83580         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83581         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83582         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83583         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83584         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83585         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83586         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83587         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83588         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83589         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83590         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83591         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83592         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83593         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83594         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83595         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83596         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83597         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83598         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83599         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83600         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83601         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83602         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83603         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83604         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83605         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83606         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83607         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83608         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83609         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83610         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83611         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83612         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83613         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83614         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83615         Require >= 2.
83616         (FLT_ROUNDS): Expect as macro, not constant.
83617         (FLT_MANT_DIG): Use macro-int-constant.
83618         (DBL_MANT_DIG): Likewise.
83619         (LDBL_MANT_DIG): Likewise.
83620         (FLT_DIG): Likewise.
83621         (DBL_DIG): Likewise.
83622         (LDBL_DIG): Likewise.
83623         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83624         (DBL_MIN_EXP): Likewise.
83625         (LDBL_MIN_EXP): Likewise.
83626         (FLT_MAX_EXP): Use macro-int-constant.
83627         (DBL_MAX_EXP): Likewise.
83628         (LDBL_MAX_EXP): Likewise.
83629         (FLT_MAX_10_EXP): Likewise.
83630         (DBL_MAX_10_EXP): Likewise.
83631         (LDBL_MAX_10_EXP): Likewise.
83632         (FLT_MAX): Use macro-constant.
83633         (DBL_MAX): Likewise.
83634         (LDBL_MAX): Likewise.
83635         (FLT_EPSILON): Use macro-constant.  Give upper bound.
83636         (DBL_EPSILON): Likewise.
83637         (LDBL_EPSILON): Likewise.
83638         (FLT_MIN): Likewise.
83639         (DBL_MIN): Likewise.
83640         (LDBL_MIN): Likewise.
83641         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83642         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83643         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83644         [ISO11] (FLT_HAS_SUBNORM): Likewise.
83645         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83646         [ISO11] (DBL_DECIMAL_DIG): Likewise.
83647         [ISO11] (FLT_DECIMAL_DIG): Likewise.
83648         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83649         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83650         [ISO11] (FLT_TRUE_MIN): Likewise.
83651         [ISO11] (LDBL_TRUE_MIN): Likewise.
83652         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83653         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83654         (SCHAR_MIN): Use macro-int-constant.  Specify type.
83655         (SCHAR_MAX): Likewise.
83656         (UCHAR_MAX): Likewise.
83657         (CHAR_MIN): Likewise.
83658         (CHAR_MAX): Likewise.
83659         (MB_LEN_MAX): Use macro-int-constant.
83660         (SHRT_MIN): Use macro-int-constant.  Specify type.
83661         (SHRT_MAX): Likewise.
83662         (USHRT_MAX): Likewise.
83663         (INT_MAX): Likewise.
83664         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
83665         bound negative.
83666         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83667         bound with "U".
83668         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83669         bound with "L".
83670         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
83671         bound negative.  Suffix upper bound with "L".
83672         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83673         bound with "UL".
83674         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83675         Specify type.
83676         [C99-based standards] (LLONG_MAX): Likewise.
83677         [C99-based standards] (ULLONG_MAX): Likewise.
83678         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
83679         == 0.
83680         [ISO11] (max_align_t): Require type.
83681         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83683         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83684         from $CFLAGS, without defining away __attribute__ calls.
83685         (checknamespace): Use $CFLAGS_namespace.
83687         * conform/conformtest.pl (@keywords): Only include C99 keywords
83688         for standards based on C99 or C11.
83690         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83691         Disable tests.
83692         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83693         UNIX98]: Likewise.
83695         * conform/conformtest.pl: Handle "macro-int-constant" and test for
83696         usability of symbols in #if.
83698         * conform/conformtest.pl: If macro or constant types start
83699         "promoted:", expect the symbol to be of the following type
83700         promoted by the integer promotions.
83702         * conform/conformtest.pl: Parse all "constant" and "macro" lines
83703         in one place.  Also handle "macro-constant".
83705         * conform/conformtest.pl: Only accept expected macro values with
83706         "==".  Parse all "macro" lines in one place.
83707         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83709         * conform/conformtest.pl: Handle braced types on "constant" lines
83710         instead of handling "typed-constant".
83711         * conform/data/signal.h-data: Use "constant" instead of
83712         "typed-constant".
83714         * conform/conformtest.pl: Handle "optional-" at start of lines in
83715         one place rather than duplicating several cases.  Handle each
83716         format of "macro" line with initial "optional-".
83718         * conform/conformtest.pl: Only accept expected constant or
83719         optional-constant values with "==".  Parse all "constant" lines in
83720         one place.  Parse all "optional-constant" lines in one place.
83721         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83722         * conform/data/fmtmsg.h-data: Likewise.
83723         * conform/data/netinet/in.h-data: Likewise.
83724         * conform/data/tar.h-data: Likewise.
83725         * conform/data/limits.h-data: Use "==" form on "constant" and
83726         "optional-constant" lines.
83728         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83729         Use -std=c99 for XOPEN2K.
83730         (@knownproblems): Remove.
83731         (newtoken): Don't check %isknown.
83733         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83734         Do not expect macro.
83735         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83736         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83737         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83738         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83739         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83740         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83741         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83742         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83743         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83744         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83745         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83746         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83747         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83748         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83749         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83750         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83751         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83752         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83753         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83754         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83755         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83756         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83757         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83758         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83759         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83760         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83761         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83762         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83763         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83764         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83765         [XPG3] (acosh): Likewise.
83766         [XPG3] (asinh): Likewise.
83767         [XPG3] (atanh): Likewise.
83768         [XPG3] (cbrt): Likewise.
83769         [XPG3] (expm1): Likewise.
83770         [XPG3] (ilogb): Likewise.
83771         [XPG3] (log1p): Likewise.
83772         [XPG3] (logb): Likewise.
83773         [XPG3] (nextafter): Likewise.
83774         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83775         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83776         [XPG3] (remainder): Likewise.
83777         [XPG3] (rint): Likewise.
83778         [XPG3 || XPG4 || UNIX98] (round): Likewise.
83779         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83780         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83781         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83782         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83783         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83784         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83785         [UNIX98 || XOPEN2K] (scalb): Expect.
83786         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83787         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83788         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83789         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83790         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83791         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83792         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83793         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83794         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83795         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83796         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83797         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83798         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83799         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83800         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83801         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83802         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83803         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83804         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83805         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83806         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83807         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83808         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83809         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83810         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83811         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83812         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83813         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83814         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83815         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83816         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83817         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83818         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83819         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83820         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83821         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83822         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83823         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83824         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83825         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83826         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83827         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83828         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83829         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83830         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83831         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83832         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83833         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83834         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83835         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83836         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83837         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83838         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83839         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83840         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83841         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83842         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83843         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83844         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83845         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83846         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83847         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83848         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83849         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83850         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83851         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83852         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83853         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83854         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83855         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83856         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83857         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83858         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83859         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83860         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83861         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83862         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83863         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83864         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83865         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83866         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83867         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83868         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83869         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83870         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83871         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83872         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83873         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83874         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83875         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83876         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83877         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83878         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83879         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83880         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83881         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83882         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83883         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83884         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83885         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83886         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83887         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83888         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83889         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83890         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83891         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83892         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83893         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83894         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83895         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83896         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83897         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83898         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83899         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83900         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83901         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83902         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83903         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83904         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83905         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83906         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83907         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83908         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83909         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83910         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83911         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83912         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83913         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83914         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83915         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83916         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83917         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83918         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83919         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83920         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83921         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83922         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83924         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83925         _XOPEN_SOURCE_EXTENDED for XPG4.
83927         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83929         * Makeconfig (localtime): Remove variable.
83930         (inst_localtime-file): Likewise.
83932 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
83934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83935         Update.
83936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83937         Update.
83938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83939         Update.
83940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83941         Update.
83942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83943         Update.
83944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83945         Update.
83946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83947         Update.
83948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83949         Update.
83950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83951         Update.
83953 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83955         [BZ #2550]
83956         [BZ #2570]
83957         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83958         comparisons to determine direction to adjust input.
83959         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83960         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83961         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83962         Likewise.
83963         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83964         Likewise.
83965         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83966         Likewise.
83967         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83968         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83969         Likewise.
83970         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83971         Likewise.
83972         * math/libm-test.inc (nexttoward_test): Add more tests.
83974 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
83976         [BZ #14040]
83977         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83978         in version GLIBC_2.1, not GLIBC_2.0.
83979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83980         Likewise.
83982 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
83984         [BZ #13942]
83985         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83986         (1 - x) * (1 + x).
83987         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83988         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83989         * math/libm-test.inc (acos_test): Add more tests.
83990         (asin_test): Likewise.
83991         * sysdeps/i386/fpu/libm-test-ulps: Update.
83992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83994         [BZ #14034]
83995         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83996         of square root.
83997         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83998         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83999         * math/libm-test.inc (acos_test_tonearest): New function.
84000         (acos_test_towardzero): Likewise.
84001         (acos_test_downward): Likewise.
84002         (acos_test_upward): Likewise.
84003         (asin_test_tonearest): Likewise.
84004         (asin_test_towardzero): Likewise.
84005         (asin_test_downward): Likewise.
84006         (asin_test_upward): Likewise.
84007         (main): Call the new functions.
84008         * sysdeps/i386/fpu/libm-test-ulps: Update.
84009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84011         [BZ #13884]
84012         [BZ #13924]
84013         * math/e_exp10.c: Include <float.h>.
84014         (__ieee754_exp10): Handle underflow here rather than multiplying
84015         large negative argument by M_LN10.
84016         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84017         of __ieee754_expf.
84018         * math/e_exp10l.c: Include <float.h>.
84019         (__ieee754_exp10l): Handle underflow here rather than multiplying
84020         large negative argument by M_LN10l.
84021         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
84022         spurious overflow exception on underflow.
84024 2012-04-29  Marek Polacek  <polacek@redhat.com>
84026         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84027         (__fortify_function): New macro.
84028         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84029         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84030         __extern_always_inline.
84031         * libio/bits/stdio2.h: Likewise.
84032         * libio/bits/stdio.h: Likewise.
84033         * string/string.h: Likewise.
84034         * string/bits/string3.h: Likewise.
84035         * include/stdio.h: Likewise.
84036         * stdlib/bits/stdlib.h: Likewise.
84037         * stdlib/stdlib.h: Likewise.
84038         * rt/bits/mqueue2.h: Likewise.
84039         * rt/mqueue.h: Likewise.
84040         * posix/bits/unistd.h: Likewise.
84041         * posix/unistd.h: Likewise.
84042         * io/bits/poll2.h: Likewise.
84043         * io/bits/fcntl2.h: Likewise.
84044         * io/fcntl.h: Likewise.
84045         * io/sys/poll.h: Likewise.
84046         * misc/bits/syslog.h: Likewise.
84047         * misc/bits/syslog-ldbl.h: Likewise.
84048         * misc/sys/syslog.h: Likewise.
84049         * socket/bits/socket2.h: Likewise.
84050         * socket/sys/socket.h: Likewise.
84051         * debug/tst-chk1.c: Likewise.
84052         * wcsmbs/bits/wchar2.h: Likewise.
84053         * wcsmbs/bits/wchar-ldbl.h: Likewise.
84054         * wcsmbs/wchar.h: Likewise.
84056 2012-04-29  Andreas Jaeger  <aj@suse.de>
84058         * Makerules (tests): Remove enable-check-abi protection.
84059         (check-abi-warn): Remove.
84060         (check-abi-%): Remove check-abi-warn usage.
84062         * configure.in: Remove check-abi configure option.
84063         * configure: Regenerated.
84064         * config.make.in (enable-check-abi): Remove.
84066 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
84068         [BZ #14033]
84069         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84070         double functions to double *_finite functions.
84072         [BZ #13941]
84073         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84074         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84075         LDBL_MIN_EXP.
84076         * stdio-common/Makefile (tests): Add tst-sprintf3.
84077         * stdio-common/tst-sprintf3.c: New file.
84079         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84080         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84082 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84084         * conform/conformtest.pl: Remove duplicate typed-constant
84085         handling.
84087 2012-04-28  David S. Miller  <davem@davemloft.net>
84089         * Makerules (%.abilist): Add vpath on sysdep_dirs.
84090         (check-abi-%): Remove AWK script prerequisite and explicit
84091         abilist directory.
84092         (check-abi): Rewrite to just diff the symlist with the abilist.
84093         (config-tls, config-abi-config): Delete, no longer used.
84094         (update-abi-%): Remove AWK script and explicit abilist directory.
84095         (update-abi): Rewrite to simply compare and conditionally copy the
84096         symlist and the sysdep abilist file.  Remove update-abi-config
84097         checks.
84098         * abilist/ld.abilist: Remove.
84099         * abilist/libBrokenLocale.abilist: Remove.
84100         * abilist/libanl.abilist: Remove.
84101         * abilist/libcrypt.abilist: Remove.
84102         * abilist/libdl.abilist: Remove.
84103         * abilist/librt.abilist: Remove.
84104         * abilist/libthread_db.abilist: Remove.
84105         * abilist/libutil.abilist: Remove.
84106         * scripts/extract-abilist.awk: Remove.
84107         * scripts/merge-abilist.awk: Remove.
84108         * sysdeps/generic/libcidn.abilist: New file.
84109         * sysdeps/generic/libnss_compat.abilist: New file.
84110         * sysdeps/generic/libnss_db.abilist: New file.
84111         * sysdeps/generic/libnss_dns.abilist: New file.
84112         * sysdeps/generic/libnss_files.abilist: New file.
84113         * sysdeps/generic/libnss_hesiod.abilist: New file.
84114         * sysdeps/generic/libnss_nis.abilist: New file.
84115         * sysdeps/generic/libnss_nisplus.abilist: New file.
84116         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84117         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84118         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84119         file.
84120         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84121         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84122         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84123         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84124         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84125         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84126         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84127         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84128         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84129         file.
84130         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84131         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84132         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84133         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84134         file.
84135         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84136         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84137         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84138         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84139         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84140         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84141         file.
84142         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84143         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84144         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84145         file.
84146         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84147         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84148         New file.
84149         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84150         New file.
84151         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84152         New file.
84153         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84154         New file.
84155         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84156         New file.
84157         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84158         New file.
84159         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84160         New file.
84161         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84162         New file.
84163         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84164         New file.
84165         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84166         New file.
84167         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84168         New file.
84169         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84170         New file.
84171         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84172         New file.
84173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84174         file.
84175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84176         New file.
84177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84178         New file.
84179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84180         file.
84181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84182         New file.
84183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84184         New file.
84185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84186         file.
84187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84188         New file.
84189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84190         New file.
84191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84192         New file.
84193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84194         New file.
84195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84196         New file.
84197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84198         New file.
84199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84201         file.
84202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84203         New file.
84204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84205         file.
84206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84207         file.
84208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84209         file.
84210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84211         file.
84212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84213         file.
84214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84215         New file.
84216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84217         file.
84218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84219         file.
84220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84221         New file.
84222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84223         file.
84224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84226         file.
84227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84228         New file.
84229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84230         file.
84231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84232         file.
84233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84234         file.
84235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84236         file.
84237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84238         file.
84239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84240         New file.
84241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84242         file.
84243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84244         file.
84245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84246         New file.
84247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84248         file.
84249         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84250         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84251         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84252         file.
84253         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84254         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84255         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84256         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84257         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84258         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84259         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84260         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84261         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84262         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84265         file.
84266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84267         New file.
84268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84269         file.
84270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84271         file.
84272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84273         file.
84274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84275         file.
84276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84277         file.
84278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84279         New file.
84280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84281         New file.
84282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84283         file.
84284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84285         New file.
84286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84287         file.
84288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84290         file.
84291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84292         New file.
84293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84294         file.
84295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84296         file.
84297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84298         file.
84299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84300         file.
84301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84302         file.
84303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84304         New file.
84305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84306         New file.
84307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84308         file.
84309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84310         New file.
84311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84312         file.
84314 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84316         * conform/conformtest.pl: Fix typo in handling typed-constant from
84317         allow-header.
84319 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84321         * README: Cut down references to pre-2.6 Linux kernels and
84322         Linuxthreads.  Update lists of configurations in libc and ports
84323         and sort alphabetically.  Say "or newer" with Linux kernel version
84324         requirements.
84326         * config.h.in [IS_IN_build]: Allow compiling without optimization.
84328 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
84330         [BZ #887]
84331         * math/libm-test.inc (logb_test_downward): New test to expose
84332         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84333         rounding mode.
84335 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84337         [BZ #14027]
84338         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84339         to be done.
84340         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84341         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84343 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
84345         * sysdeps/unix/i386/brk.S: Remove file.
84346         * sysdeps/unix/i386/dl-brk.S: Likewise.
84347         * sysdeps/unix/i386/pipe.S: Likewise.
84348         * sysdeps/unix/i386/sigreturn.S: Likewise.
84349         * sysdeps/unix/i386/syscall.S: Likewise.
84350         * sysdeps/unix/i386/vfork.S: Likewise.
84351         * sysdeps/unix/i386/wait.S: Likewise.
84353         * sysdeps/unix/common/tcsendbrk.c: Move to ...
84354         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84356         * configure.in (arm*-none*): Do not allow without
84357         --enable-hacker-mode.
84358         (netbsd*): Remove case setting base_os.
84359         (386bsd*): Likewise.
84360         (freebsd*): Likewise.
84361         (bsdi*): Likewise.
84362         (osf*): Likewise.
84363         (sunos*): Likewise.
84364         (ultrix*): Likewise.
84365         (newsos*): Likewise.
84366         (dynix*): Likewise.
84367         (*bsd*): Likewise.
84368         (sysv*): Likewise.
84369         (isc*): Likewise.
84370         (esix*): Likewise.
84371         (sco*): Likewise.
84372         (minix*): Likewise.
84373         (irix4*): Likewise.
84374         (irix6*): Likewise.
84375         (solaris[2-9]*): Likewise.
84376         (none): Likewise.
84377         * configure: Regenerated.
84379 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84381         [BZ #11521]
84382         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84383         overflow or cancellation in calculating denominator.
84384         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84385         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84386         down expression to avoid unexpected rounding in newer GCCs.
84387         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84389 2012-04-26  David S. Miller  <davem@davemloft.net>
84391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84392         long-double compat symbols.
84393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84407 2012-04-25  David S. Miller  <davem@davemloft.net>
84409         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84410         HWCAP_* values only after the memory barriers have been defined.
84411         (atomic_full_barrier): Define.
84412         (atomic_read_barrier): Define.
84413         (atomic_write_barrier): Define.
84415 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
84417         * shlib-versions: Add libgcc_s version information.
84418         * sysdeps/generic/libgcc_s.h: Remove.
84419         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84420         libgcc_s.h.
84421         * sysdeps/gnu/unwind-resume.c: Likewise.
84422         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84424 2012-04-25  David S. Miller  <davem@davemloft.net>
84426         * sysdeps/unix/sparc/brk.S: Delete.
84427         * sysdeps/unix/sparc/dl-brk.S: Delete.
84428         * sysdeps/unix/sparc/pipe.S: Delete.
84429         * sysdeps/unix/sparc/sysdep.S: Delete.
84430         * sysdeps/unix/sparc/sysdep.h: Delete.
84431         * sysdeps/unix/sparc/vfork.S: Delete.
84432         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84433         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84434         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84435         (ret_ERRVAL, r0, r1, MOVE): Define.
84436         (JUMPTARGET): Remove.
84437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84438         sysdeps/unix/sparc/sysdep.h
84439         (ENTRY, END): Remove.
84440         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84442 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
84444         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84445         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84446         -DIS_IN_build.
84448         * timezone/README: Update upstream location and email address for
84449         tzcode and tzdata.
84450         * timezone/zdump.c: Update from tzcode 2012b.
84451         * timezone/zic.c: Likewise.
84453         * configure.in (libc_cv_as_needed): Remove test.
84454         * configure: Regenerated.
84455         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84456         conditional definition.
84457         [$(have-as-needed) != yes] (no-as-needed): Likewise.
84458         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84459         * config.make.in (have-as-needed): Remove variable.
84461 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
84462             Paul Pluzhnikov  <ppluzhnikov@google.com>
84464         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84465         strings correctly.
84467 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
84469         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84470         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84471         * sysdeps/sh/strlen.S: Likewise.
84473 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84475         * sysdeps/unix/fork.S: Remove file.
84476         * sysdeps/unix/i386/fork.S: Likewise.
84477         * sysdeps/unix/sparc/fork.S: Likewise.
84479         * sysdeps/unix/system.c: Remove file.
84480         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84482         * sysdeps/unix/getegid.S: Remove file.
84483         * sysdeps/unix/geteuid.S: Likewise.
84485 2012-04-24  Roland McGrath  <roland@hack.frob.com>
84487         * scripts/check-localplt.awk: New file.
84488         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84489         of diff.
84490         * scripts/data/localplt-generic.data: Add a comment.
84492         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84493         NODE when __dir_mkfile failed.
84494         * sysdeps/mach/hurd/symlinkat.c: Likewise.
84495         Reported by Ludovic Courtès <ludo@gnu.org>.
84497 2012-04-24  Andreas Jaeger  <aj@suse.de>
84499         * Makerules (common-clean): Also remove gen-as-const-headers
84500         files.
84502 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84504         * Makerules (native-compile): Do not change working directory for
84505         build.  Use $(OUTPUT_OPTION) in command.
84506         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84508 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84510         [BZ #13886]
84511         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84512         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84513         * math/libm-test.inc (floor_test): Add more tests.
84514         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84516 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84518         * sysdeps/unix/getdents.c: Remove file.
84519         * sysdeps/unix/sysv/getdents.c: Likewise.
84520         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84522         * sysdeps/unix/syscalls.list (madvise): Add syscall from
84523         sysdeps/unix/mman/syscalls.list.
84524         (mmap): Likewise.
84525         (mprotect): Likewise.
84526         (msync): Likewise.
84527         (munmap): Likewise.
84528         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84529         * sysdeps/unix/mman/syscalls.list: Remove.
84530         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84532         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84533         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84534         * configure: Regenerated.
84535         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84536         $(libgcc_s_suffix).
84537         * config.make.in (libgcc_s_suffix): Remove variable.
84539 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
84541         * sysdeps/unix/sysv/gethostname.c: Move to ...
84542         * sysdeps/posix/gethostname.c: ... here.
84544         * sysdeps/unix/execve.S: Remove file.
84546         * sysdeps/unix/_exit.S: Remove file.
84548 2012-04-23  Andreas Jaeger  <aj@suse.de>
84550         [BZ #13739]
84551         * manual/Makefile: Remove make dist support, there's no
84552         need for a stand-alone documentation tar ball.
84553         (TEXI2DVI): Define always, it's not in Makeconfig.
84554         (dist): Removed.
84555         (tar-it): Removed.
84556         (edition): Removed.
84557         (glibc-doc-$(edition).tar): Removed
84558         (%.Z): Removed.
84559         (%.gz): Removed.
84560         (%.uu): Removed.
84561         (ETAGS): Remove, it's in Makeconfig.
84562         (move-if-change): Remove, it's in Makeconfig.
84564 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84566         [BZ #13970]
84567         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84568         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84569         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84570         (strtod_l, strtof_l, strtold_l): Remove __wur.
84571         It is not necessarily an error to ignore strtol's return value.
84572         One can reliably look at the stored endptr to decide whether
84573         the number had valid syntax.
84575 2012-04-21  Andreas Jaeger  <aj@suse.de>
84577         [BZ #13739]
84578         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84580 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84582         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84583         * sysdeps/unix/sysv/Versions: Remove file.
84585 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84587         [BZ #13927]
84588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84590 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84592         [BZ #7064]
84593         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84594         version from __vm86.
84596 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84598         * sysdeps/unix/common/lxstat.c: Remove file.
84599         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84601         * sysdeps/unix/sysv/Makefile: Remove file.
84603         * sysdeps/unix/sysv/direct.h: Remove file.
84605         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84606         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84607         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84608         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84609         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84610         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84611         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84613         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84615         * sysdeps/unix/xmknod.c: Remove file.
84616         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84618         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84620         * sysdeps/unix/sysv/i386/time.S: Remove file.
84622         * sysdeps/unix/fxstat.c: Remove file.
84623         * sysdeps/unix/xstat.c: Likewise.
84624         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84626         * sysdeps/unix/sysv/sigaction.c: Remove file.
84628         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84629         (sysdep_headers): Remove variable.
84630         [termio.h not in sysdep_headers] (generated): Likewise.
84631         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84632         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84633         * sysdeps/unix/sysv/tcdrain.c: Likewise.
84634         * sysdeps/unix/sysv/tcflow.c: Likewise.
84635         * sysdeps/unix/sysv/tcflush.c: Likewise.
84636         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84637         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84638         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84639         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84640         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84642         * sysdeps/unix/siglist.c: Remove file.
84644         * sysdeps/unix/getppid.S: Remove file.
84646         * sysdeps/unix/mkdir.c: Remove file.
84647         * sysdeps/unix/rmdir.c: Likewise.
84649 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
84651         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84652         ERR_MAX value.
84653         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84654         errlist-compat value.
84656 2012-04-18  David S. Miller  <davem@davemloft.net>
84658         * sysdeps/generic/memcopy.h (reg_char): Delete.
84659         * debug/strcat_chk.c: Use char, not reg_char.
84660         * debug/strcpy_chk.c: Likewise.
84661         * debug/strncat_chk.c: Likewise.
84662         * debug/strncpy_chk.c: Likewise.
84663         * string/memchr.c: Likewise.
84664         * string/memrchr.c: Likewise.
84665         * string/rawmemchr.c: Likewise.
84666         * string/strcat.c: Likewise.
84667         * string/strchr.c: Likewise.
84668         * string/strchrnul.c: Likewise.
84669         * string/strcmp.c: Likewise.
84670         * string/strcpy.c: Likewise.
84671         * string/strncat.c: Likewise.
84672         * string/strncmp.c: Likewise.
84673         * string/strncpy.c: Likewise.
84675 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84677         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84678         __builtin_memcopy is called when src and dest ranges are known to not
84679         overlap.
84681 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84683         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84684         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84685         fwd_align_merge macro call.
84686         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84687         bwd_align_merge macro call.
84688         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84690 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84692         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84693         bwd_align_merge macros.
84694         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84695         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84696         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84698 2012-04-18  David S. Miller  <davem@davemloft.net>
84700         * sysdeps/sparc/sparc64/memcopy.h: Delete.
84702 2012-04-18  Andreas Jaeger  <aj@suse.de>
84704         [BZ #6794]
84705         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84706         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84707         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84709         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84710         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84711         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84713         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84714         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84715         Adjust for changed ldbl-128 files.
84717         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84718         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84719         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84721 2012-04-17  David S. Miller  <davem@davemloft.net>
84723         * sysdeps/sparc/sparc32/memcopy.h: Delete.
84725 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
84727         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84728         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84729         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84730         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84731         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84732         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84734 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84736         [BZ #6794]
84737         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84738         * math/libm-test.inc: Add ilogb errno and exception tests.
84739         * math/w_ilogb.c: New file: ilogb wrapper.
84740         * math/w_ilogbf.c: New file: ilogbf wrapper.
84741         * math/w_ilogbl.c: New file: ilogbl wrapper.
84742         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84743         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84744         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84745         exception being thrown with 0.0 as argument.
84746         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84747         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84748         exception being thrown with 0.0 as argument.
84749         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84750         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84751         exception being thrown with 0.0 as argument.
84752         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84753         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84754         exception being thrown with 0.0 as argument.
84755         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84756         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84757         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84758         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84759         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84760         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84761         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84762         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84763         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84765 2012-04-17  Petr Baudis  <pasky@ucw.cz>
84767         * include/sys/uio.h: Change __vector to __iovec to avoid clash
84768         with altivec.
84770 2012-04-16  Marek Polacek  <polacek@redhat.com>
84772         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84774 2012-04-16  Marek Polacek  <polacek@redhat.com>
84776         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84777         operands of fdivp instruction.
84779 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84781         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84782         * elf/tst-auditmod3b.c: Likewise.
84783         * elf/tst-auditmod4b.c: Likewise.
84784         * elf/tst-auditmod5b.c: Likewise.
84785         * elf/tst-auditmod6b.c: Likewise.
84786         * elf/tst-auditmod6c.c: Likewise.
84787         * elf/tst-auditmod7b.c: Likewise.
84788         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84789         * sysdeps/x86_64/preconfigure.in: Likewise.
84790         * sysdeps/x86_64/preconfigure: Regenerated.
84792 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84794         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84795         __ILP32__.
84797 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
84799         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84800         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84802 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
84804         [BZ #13973]
84805         * locale/iso-639.def: Fix gl language name. Spotted by
84806         Yaron Shahrabani.
84808 2012-04-12  Roland McGrath  <roland@hack.frob.com>
84810         [BZ #2074]
84811         * libio/libio.h (__io_write_fn): Update comment.
84813 2012-04-12  Petr Baudis  <pasky@ucw.cz>
84815         [BZ #2074]
84816         * stdio.texi (Hook Functions): The user provided writer function
84817         is not allowed to return -1.
84819 2012-04-11  David S. Miller  <davem@davemloft.net>
84821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84823 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
84825         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84826         Add a leading slash to rtkaio.
84828 2012-04-11  Jim Meyering  <meyering@redhat.com>
84830         [BZ #11959]
84831         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84832         It is not necessarily an error to ignore fwrite's return
84833         value.  One can reliably use ferror to test for errors after
84834         the fact.
84836 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84838         * bits/types.h (__snseconds_t): New type.
84839         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84841         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84842         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84843         (__SNSECONDS_T_TYPE): Likewise.
84844         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84845         (__SNSECONDS_T_TYPE): Likewise.
84846         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84847         (__SNSECONDS_T_TYPE): Likewise.
84849 2012-04-10  Andreas Jaeger  <aj@suse.de>
84851         [BZ #2636]
84852         * manual/time.texi (Processor Time): Return type of times is
84853         elapsed real time since an arbitrary point in the past.
84854         (CPU Time): Move CLK_TCK from here...
84855         (Processor Time): ...to here.  Correct description.
84856         * manual/conf.texi (Constants for Sysconf): Correct description of
84857         _SC_CLK_TCK.
84859 2012-04-10  David S. Miller  <davem@davemloft.net>
84861         [BZ #13967]
84862         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84863         where the is a gap between DT_REL(A) and DT_JMPREL.
84865 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84867         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84868         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84869         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84871 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
84873         * elf/dl-support.c (_dl_inhibit_cache): New variable.
84874         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84875         (dl_main): Handle --inhibit-cache.
84876         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84877         _dl_inhibit_cache.
84878         * elf/dl-load.c (_dl_map_object): Use it.
84879         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84881 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84883         [BZ #13872]
84884         * sysdeps/i386/fpu/e_powl.S (p78): New object.
84885         (__ieee754_powl): Saturate large exponents rather than testing for
84886         overflow of y*log2(x).
84887         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84888         * math/libm-test.inc (pow_test): Do not permit spurious overflow
84889         exceptions.
84891         [BZ #11521]
84892         * math/s_ctan.c: Include <float.h>.
84893         (__ctan): Avoid internal overflow or cancellation in calculating
84894         denominator.
84895         * math/s_ctanf.c: Likewise.
84896         * math/s_ctanl.c: Likewise.
84897         * math/s_ctanh.c: Likewise.
84898         * math/s_ctanhf.c: Likewise.
84899         * math/s_ctanhl.c: Likewise.
84900         * math/libm-test.inc (ctan_test): Add more tests.
84901         (ctanh_test): Likewise.
84902         * sysdeps/i386/fpu/libm-test-ulps: Update.
84903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84905 2012-04-09  Andreas Jaeger  <aj@suse.de>
84907         [BZ #6894]
84908         * manual/filesys.texi (Directory Entries): Mention that d_namlen
84909         is an optional BSD extension.
84911         [BZ #10254]
84912         * manual/stdio.texi (Opening Streams): Document additional fopen
84913         parameters.
84915 2012-04-09  Roland McGrath  <roland@hack.frob.com>
84917         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84918         %eax without telling the compiler.
84920 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
84922         [BZ # 13963]
84923         * manual/install.texi: Use sourceware.org.
84925 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84927         [BZ #13873]
84928         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84929         (__ieee754_pow): Generate overflow and underflow using huge*huge
84930         and tiny*tiny rather than just returning constant infinity or zero
84931         for large exponents.
84932         * math/libm-test.inc (pow_test): Require overflow exceptions for
84933         applicable cases of large exponents.
84935         [BZ #706]
84936         * sysdeps/i386/fpu/e_pow.S (p10): New object.
84937         (__ieee754_pow): Use iterative multiplication algorithm only for
84938         integer exponents with absolute value below 1024.  Check for odd
84939         integer exponents when using algorithm for real exponents.
84940         * math/libm-test.inc (pow_test): Add more tests.
84941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84943 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
84945         [BZ #13705]
84946         * math/libm-test.inc (exp_test): Do not allow overflow exception
84947         on underflow test.
84949 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
84951         [BZ #13705]
84952         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84953         instead of __kernel_standard_f.
84955 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
84957         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84958         * sysdeps/x86_64/memset_chk.S: Likewise.
84960 2012-04-08  Andreas Jaeger  <aj@suse.de>
84962         [BZ #10153]
84963         * manual/startup.texi (Environment Access): Describe return value
84964         for putenv and setenv.
84966         [BZ #6895]
84967         * manual/filesys.texi (Directory Entries): Add description for
84968         DT_LNK.
84970         [BZ #6890]
84971         * manual/filesys.texi (Directory Entries): Clarify that it's file
84972         system not operating system in the description of DT_UNKNOWN.
84974         [BZ #6578]
84975         * manual/syslog.texi (closelog): Fix reference, it's openlog.
84977 2012-04-08  Stephen Compall  <s11@member.fsf.org>
84979         [BZ #6649]
84980         * manual/llio.texi (Opening and Closing Files): Add cross
84981         reference to explain mode argument.
84983 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
84985         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84986         * sysdeps/x86_64/memset_chk.S: Likewise.
84988 2012-04-07  David S. Miller  <davem@davemloft.net>
84990         * elf/elf.h (R_SPARC_WDISP10): Define.
84991         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84992         R_SPARC_SIZE32.
84993         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84994         R_SPARC_SIZE64 and R_SPARC_H34.
84996 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
84998         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84999         conditions and remove no longer applicable assertion.
85001 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85003         * bits/byteswap.h: Include <features.h>.
85004         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85005         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85007 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85009         * bits/byteswap.h (__bswap_16): Removed.
85010         Include <bits/byteswap-16.h> to get __bswap_16.
85011         * sysdeps/i386/bits/byteswap.h: Likewise.
85012         * sysdeps/s390/bits/byteswap.h: Likewise.
85013         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85014         * bits/byteswap-16.h: New file.
85015         * sysdeps/i386/bits/byteswap-16.h: Likewise.
85016         * sysdeps/s390/bits/byteswap-16.h: Likewise.
85017         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85018         * string/Makefile (headers): Add bits/byteswap-16.h.
85020 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85022         [BZ #13895]
85023         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85024         extra indirection.
85025         * nss/Makefile (tests-static, tests): Add tst-nss-static.
85026         * nss/tst-nss-static.c: New.
85028 2012-04-06  Robert Millan  <rmh@gnu.org>
85030         [BZ #6486]
85031         * manual/llio.texi (File Position Primitive): lseek
85032         refers to WHENCE when it really means OFFSET.
85034 2012-04-06  Andreas Jaeger  <aj@suse.de>
85036         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85037         strncmp declarations.
85039         * abilist/libc.abilist: Add __poll and __ppoll.
85041 2012-04-05  David S. Miller  <davem@davemloft.net>
85043         * scripts/check-local-headers.sh: Accept a host triplet in the
85044         path matched by the exclude regexp.
85046         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85047         definition.
85048         * sysdeps/powerpc/powerpc32/dl-machine.h
85049         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85050         * sysdeps/s390/s390-32/dl-machine.h
85051         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85052         * sysdeps/sparc/sparc32/dl-machine.h
85053         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85054         * sysdeps/sparc/sparc64/dl-machine.h
85055         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85057         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85058         lazy binding.
85059         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85060         undefined symbol errors.
85062         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85063         DT_NEEDED entries.
85065 2012-04-05  Michael Matz  <matz@suse.de>
85067         [BZ #13592]
85068         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85070 2012-04-05  Andreas Jaeger  <aj@suse.de>
85072         [BZ #13908]
85073         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85074         comment.
85076 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85078         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85079         which ROUND is no valid rounding mode.
85081 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85083         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85084         read again.
85085         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85087 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85089         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85090         an exception using FPU order intentionally.
85092 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85094         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85095         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85096         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85097         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85099 2012-04-05  Simon Josefsson  <simon@josefsson.org>
85101         [BZ #12340]
85102         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85103         EINVAL when BUFLEN is too smal.
85105 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
85107         [BZ #13553]
85108         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85109         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85111 2012-04-03  Andreas Jaeger  <aj@suse.de>
85113         [BZ #13938]
85114         * manual/setjmp.texi (System V contexts): Fix sentence.
85116         [BZ #13926]
85117         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85118         New macro for this case.
85119         [!__GNUC__] (__bswap_64): New inline function for this case.
85120         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85121         * bits/byteswap.h: Likewise.
85122         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85123         ull, guard with __GLIBC_HAVE_LONG_LONG.
85125         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85126         __GLIBC_HAVE_LONG_LONG.
85128         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85129         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85131 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85133         [BZ #13691]
85134         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85135         inptr and inend, rather than using last_ch.
85137 2012-04-02  David S. Miller  <davem@davemloft.net>
85139         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85140         * stdio-common/printf-parse.h (read_int): Change return type to
85141         'int', return -1 on INT_MAX overflow.
85142         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85143         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
85144         overflows INT_MAX.  Check for overflow of in-format-string precision
85145         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
85146         SIZE_MAX not INT_MAX for integer overflow test.
85147         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85148         skip the construct in the format string but do not record anything.
85149         * stdio-common/bug22.c: Adjust to test both width/prevision
85150         INT_MAX overflow as well as total length INT_MAX overflow.  Check
85151         explicitly for proper errno values.
85153 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
85155         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85156         CHAR_MAX.
85157         * string/test-strcmp.c [! WIDE]: Likewise.
85158         * time/tst-mktime2.c: Likewise for INT_MAX.
85159         * string/test-string.h: #include <sys/param.h> for MIN.
85161         * csu/init-first.c (__libc_init_first): Call __ctype_init.
85162         * sysdeps/i386/init-first.c (init): Likewise.
85163         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85164         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85165         * sysdeps/sh/init-first.c (init): Likewise.
85167 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
85169         * po/ru.po: Update from translation team.
85170         * po/vi.po: Likewise.
85172 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
85174         * resolv/nss_dns/dns-host.c: Merge copyright years.
85176 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85178         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85179         Optimize memcpy with prefetch if
85180         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
85181         src, dst pointers have unequal 16 byte alignments.
85183 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
85185         [BZ #13928]
85186         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85187         from a CNAME entry and return the minimum ttl for the query.
85188         (gaih_getanswer_slice): Likewise.
85190 2012-03-30  Jeff Law  <law@redhat.com>
85192         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85193         due to long keys.
85194         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85195         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85197         * resolv/nss_dns/dns-host.c: Update copyright year.
85199 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
85201         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85202         requests to save a system call.  Fix check that all bytes are sent.
85204         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85205         comments for sendmmsg.
85207 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
85209         [BZ #13691]
85210         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85211         with only 1 character between 0x0041 and 0x01b0.
85212         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85213         * wcsmbs/tst-mbsnrtowcs.c: New file.
85215 2012-03-29  David S. Miller  <davem@davemloft.net>
85217         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85218         small copies by hand.
85220 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
85222         [BZ #13761]
85223         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85224         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85225         group memberships.
85227 2012-03-28  David S. Miller  <davem@davemloft.net>
85229         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85230         that branches into memcpy.
85231         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85232         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85233         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85234         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85235         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85236         bits.
85237         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85238         implementation too.
85239         * sysdeps/sparc/mempcpy.S: New file.
85241         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85242         the IFUNC routine in the libc case.
85243         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85245         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85246         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85247         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85248         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85249         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85250         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85251         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85252         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85254         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85255         loop to 256 bytes instead of 64 bytes and fix test signedness.
85257         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85258         * sysdeps/sparc/sparc32/Makefile: rather than here...
85259         * sysdeps/sparc/sparc64/Makefile: and here.
85261 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
85263         * malloc/mallocbug.c: Avoid warnings about unused variables.
85265 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
85267         [BZ #13760]
85268         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85269         in the right place. Discard and retry query if response is
85270         larger than input buffer size.
85272 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
85274         [BZ #369]
85275         [BZ #2678]
85276         [BZ #3866]
85277         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85278         x for large integer exponent.
85279         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85280         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
85281         sign of result as needed afterwards.
85282         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85283         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85284         result for underflowing pow the same as for overflow.
85285         (__kernel_standard_l): Handle powl overflow and underflow here
85286         rather than calling __kernel_standard.
85287         * math/libm-test.inc (pow_test): Add more tests.
85289         [BZ #3868]
85290         [BZ #13879]
85291         [BZ #13910]
85292         [BZ #13911]
85293         [BZ #13912]
85294         [BZ #13913]
85295         [BZ #13915]
85296         [BZ #13916]
85297         [BZ #13917]
85298         [BZ #13918]
85299         [BZ #13919]
85300         [BZ #13920]
85301         [BZ #13921]
85302         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85303         * sysdeps/ieee754/k_standard.c: Include <float.h>.
85304         (__kernel_standard_l): New function.
85305         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85306         __kernel_standard.
85307         * math/w_acosl.c (__acosl): Likewise.
85308         * math/w_asinl.c (__asinl): Likewise.
85309         * math/w_atan2l.c (__atan2l): Likewise.
85310         * math/w_atanhl.c (__atanhl): Likewise.
85311         * math/w_coshl.c (__coshl): Likewise.
85312         * math/w_exp10l.c (__exp10l): Likewise.
85313         * math/w_exp2l.c (__exp2l): Likewise.
85314         * math/w_fmodl.c (__fmodl): Likewise.
85315         * math/w_hypotl.c (__hypotl): Likewise.
85316         * math/w_j0l.c (__j0l, __y0l): Likewise.
85317         * math/w_j1l.c (__j1l, __y1l): Likewise.
85318         * math/w_jnl.c (__jnl, __ynl): Likewise.
85319         * math/w_lgammal.c (__lgammal): Likewise.
85320         * math/w_log10l.c (__log10l): Likewise.
85321         * math/w_log2l.c (__log2l): Likewise.
85322         * math/w_logl.c (__logl): Likewise.
85323         * math/w_powl.c (__powl): Likewise.
85324         * math/w_remainderl.c (__remainderl): Likewise.
85325         * math/w_scalbl.c (sysv_scalbl): Likewise.
85326         * math/w_sinhl.c (__sinhl): Likewise.
85327         * math/w_sqrtl.c (__sqrtl): Likewise.
85328         * math/w_tgammal.c (__tgammal): Likewise.
85329         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85330         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85331         * math/libm-test.inc (acos_test): Add more tests.
85332         (acosh_test): Likewise.
85333         (asin_test): Likewise.
85334         (atanh_test): Likewise.
85335         (exp_test): Likewise.
85336         (exp10_test): Likewise.
85337         (exp2_test): Likewise.
85338         (expm1_test): Likewise.
85339         (lgamma_test): Likewise.
85340         (log_test): Likewise.
85341         (log10_test): Likewise.
85342         (log1p_test): Likewise.
85343         (log2_test): Likewise.
85344         (pow_test): Do not allow some spurious overflow exceptions.
85345         (sqrt_test): Add more tests.
85346         (tgamma_test): Likewise.
85347         (y0_test): Likewise.
85348         (y1_test): Likewise.
85349         (yn_test): Likewise.
85351 2012-03-27  Anton Blanchard  <anton@samba.org>
85353         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85354         MAP_HUGETLB.
85355         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85356         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85357         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85359 2012-03-27  David S. Miller  <davem@davemloft.net>
85361         * conform/Makefile: Run run-conformtest.sh using $(BASH).
85363         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85364         have-as-vis3 check.
85366 2012-03-27  Andreas Jaeger  <aj@suse.de>
85368         * sysdeps/x86_64/elf/configure.in: Moved to ...
85369         * sysdeps/x86_64/configure.in: ... here.
85370         * sysdeps/x86_64/elf/start.S: Moved to ...
85371         * sysdeps/x86_64/start.S: ... here.
85372         * sysdeps/x86_64/elf/configure: Delete.
85374         * sysdeps/x86_64/configure.in: Merge contents from
85375         sysdeps/i386/configure.in (without i686 check).
85377         * sysdeps/i386/elf/Versions: Merge into ...
85378         * sysdeps/i386/Versions: ... this.
85379         * sysdeps/i386/elf/Versions: Delete file.
85380         * sysdeps/i386/elf/start.S: Moved to ...
85381         * sysdeps/i386/start.S: ...here.
85382         * sysdeps/i386/elf/configure.in: Merge into...
85383         * sysdeps/i386/configure.in: ...here.
85384         * sysdeps/i386/elf/configure.in: Delete file.
85385         * sysdeps/i386/elf/configure: Delete file.
85387         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85388         * debug/backtracesyms.c: ... here.
85389         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85390         * debug/backtracesymsfd.c: ... here.
85391         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85392         * sysdeps/generic/ifunc-sel.h: ... here.
85394         * sysdeps/unix/i386/start.c: Delete file.
85395         * sysdeps/unix/sparc/start.c: Delete file.
85396         * sysdeps/unix/start.c: Delete file.
85398         * sysdeps/sh/elf/configure.in: Moved to ...
85399         * sysdeps/sh/configure.in: ... here.
85400         * sysdeps/sh/elf/start.S: Moved to ...
85401         * sysdeps/sh/start.S: ... here.
85402         * sysdeps/sh/elf/configure: Delete file.
85404         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85405         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85406         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85407         * sysdeps/powerpc/powerpc64/entry.h: ... here.
85408         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85409         * sysdeps/powerpc/powerpc64/start.S: here.
85410         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85411         * sysdeps/powerpc/powerpc64/Makefile: ... this.
85412         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85413         * sysdeps/powerpc/powerpc64/configure.in: ... this.
85414         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85416         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85417         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85418         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85419         * sysdeps/powerpc/powerpc32/start.S: ... here.
85420         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85421         * sysdeps/powerpc/powerpc32/configure.in: ... this.
85422         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85424         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85425         * sysdeps/powerpc/ifunc-sel.h: ... here.
85426         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85427         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85429         * sysdeps/sparc/elf/configure.in: Moved to ...
85430         * sysdeps/sparc/configure.in: ... here.
85431         * sysdeps/sparc/elf/configure: Delete file.
85432         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85433         * sysdeps/sparc/sparc32/start.S: ... here.
85434         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85435         * sysdeps/sparc/sparc64/start.S: ... here.
85436         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85437         * sysdeps/sparc/sparc32/Makefile: ... this.
85438         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85439         * sysdeps/sparc/sparc64/Makefile: ... this.
85441         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85442         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85443         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85444         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85445         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85446         * sysdeps/s390/s390-32/setjmp.S: ... here.
85447         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85448         * sysdeps/s390/s390-32/configure.in: ... here.
85449         * sysdeps/s390/s390-32/elf/configure: Delete file.
85450         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85451         * sysdeps/s390/s390-32/start.S: ... here.
85453         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85454         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85455         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85456         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85457         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85458         * sysdeps/s390/s390-64/setjmp.S: ... here.
85459         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85460         * sysdeps/s390/s390-64/configure.in: ... here
85461         * sysdeps/s390/s390-64/elf/configure: Delete file.
85462         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85463         * sysdeps/s390/s390-64/start.S: ... here.
85464         * sysdeps/s390/s390-64/elf/configure: Delete.
85466         * configure.in: Remove support for elf directories in sysdeps.
85468         * configure: Regenerated.
85469         * sysdeps/i386/configure: Regenerated.
85470         * sysdeps/powerpc/powerpc32/configure: Regenerated.
85471         * sysdeps/powerpc/powerpc64/configure: Regenerated.
85472         * sysdeps/s390/s390-32/configure: Regenerated.
85473         * sysdeps/s390/s390-64/configure: Regenerated.
85474         * sysdeps/sh/configure: Regenerated.
85475         * sysdeps/sparc/configure: Regenerated.
85476         * sysdeps/x86_64/configure: Regenerated.
85478 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
85480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85482         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85483         denormal result into account.
85485 2012-03-25  Roland McGrath  <roland@hack.frob.com>
85487         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85488         Reported by Allan McRae <allan@archlinux.org>.
85490 2012-03-23  Jeff Law  <law@redhat.com>
85492         * nss/getnssent.c (__nss_getent): Fix typo.
85494 2012-03-23  David S. Miller  <davem@davemloft.net>
85496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85498 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
85500         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85501         to pad to uint64_t for each field.
85502         (dl_tls_index): Replace unsigned long with uint64_t.
85504 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
85505         Paul Pluzhnikov  <ppluzhnikov@google.com>
85507         [BZ #6528]
85508         * grp/Makefile (otherlibs): Don't set it.
85509         * inet/Makefile (otherlibs): Likewise.
85510         * login/Makefile (otherlibs): Likewise.
85511         * nscd/Makefile (otherlibs): Likewise.
85512         * posix/Makefile (otherlibs): Likewise.
85513         * pwd/Makefile (otherlibs): Likewise.
85514         * rt/Makefile (otherlibs): Likewise.
85515         * sunrpc/Makefile (otherlibs): Likewise.
85516         * nss/Makefile (otherlibs): Likewise.
85517         Add libnss_files to routines and static-only-routines.
85518         ($(objpfx)getent): Remove rule.
85519         * resolv/Makefile: Add libnss_dns and libresolv to routines and
85520         static-only-routines.
85522 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85524         [BZ #13892]
85525         * math/s_cexp.c: Include <float.h>.
85526         (__cexp): Handle exp result overflowing not necessarily
85527         overflowing both real and imaginary parts of result.
85528         * math/s_cexpf.c: Likewise.
85529         * math/s_cexpl.c: Likewise.
85530         * math/libm-test.inc (cexp_test): Add more tests.
85531         * sysdeps/i386/fpu/libm-test-ulps: Update.
85532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85534 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85536         * include/link.h (ELFW): New macro.
85537         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85538         Replace ELF64_R_TYPE with ELFW(R_TYPE).
85540 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85542         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85543         with uint64_t.
85545 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85547         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85548         declaration.
85549         (struct La_x32_retval): Likewise.
85551 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85553         * sysdeps/x86_64/preconfigure.in: New file.
85554         * sysdeps/x86_64/preconfigure: New generated file.
85556 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85558         [BZ #13824]
85559         * math/e_exp2l.c: Include <float.h>.
85560         (__ieee754_exp2l): Handle overflow and underflow cases
85561         separately.  Only pass fractional part of argument to
85562         __ieee754_expl.
85563         * math/libm-test.inc (exp2_test): Add more tests.
85565         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85566         negating x to take absolute value.
85567         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85568         Likewise.
85569         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85570         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85571         Likewise.
85572         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85573         computing low part if x was negated.
85574         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85576 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85578         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85579         la_x32_gnu_pltexit.
85580         (pltexit): Cast int_retval to ptrdiff_t.
85581         * elf/tst-auditmod3b.c: Likewise.
85582         * elf/tst-auditmod4b.c: Likewise.
85583         * elf/tst-auditmod5b.c: Likewise.
85584         * elf/tst-auditmod6b.c: Likewise.
85585         * elf/tst-auditmod6c.c: Likewise.
85586         * elf/tst-auditmod7b.c: Likewise.
85588         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85589         and x32_gnu_pltexit.
85591         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85592         __ELF_NATIVE_CLASS.
85593         (La_x32_regs): New macro.
85594         (La_x32_retval): Likewise.
85595         (la_x32_gnu_pltenter): New function prototype.
85596         (la_x32_gnu_pltexit): Likewise.
85598 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85600         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85601         exponent.
85603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85605         * configure.in (libc_cv_cc_nofma): Check for option to disable
85606         generation of FMA instructions.
85607         * configure: Regenerate.
85608         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85609         * sysdeps/ieee754/dbl-64/Makefile: New file.
85610         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85611         Remove brandred-fma4.
85612         (CFLAGS-brandred-fma4.c): Remove.
85613         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85614         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85615         define.
85616         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85617         define.
85619 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85621         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85622         LLONG_MAX != LONG_MAX.
85623         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85624         (_fitoa_word): Likewise.
85625         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85626         LLONG_MAX != LONG_MAX.
85627         * stdio-common/_itowa.h: Include <_itoa.h>.
85628         (_itowa_word): Use _ITOA_WORD_TYPE on value.
85629         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
85630         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
85631         only if not defined.
85632         (_ITOA_WORD_TYPE): Likewise.
85633         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85634         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85636 2012-03-21  David S. Miller  <davem@davemloft.net>
85638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85640 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85642         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85643         of x86_64 when setting libc_cv_slibdir, libdir and
85644         libc_cv_localedir.
85645         * sysdeps/unix/sysv/linux/configure: Regenerated.
85647 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85649         * manual/lang.texi (Old Varargs): Remove section.
85650         (How Variadic): Update menu.
85651         (va_start): Do not mention varargs.h.
85653 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85654             Joseph Myers  <joseph@codesourcery.com>
85656         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85657         link test.
85658         * configure: Regenerated.
85660 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85662         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85663         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85664         conformtest.pl
85666 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85668         * NOTES: Remove.
85669         * Makefile (files-for-dist): Remove NOTES.
85670         (NOTES): Remove rule.
85671         * README: Don't refer to NOTES.
85672         * manual/creature.texi: Don't include macros.texi.
85673         * manual/intro.texi (creature.texi): Remove comment referring to
85674         NOTES.
85676         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85677         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85678         * configure: Regenerated.
85679         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85680         LIBC_TRY_CC_OPTION.
85681         (libc_cv_as_i686): Likewise.
85682         (libc_cv_cc_avx): Likewise.
85683         (libc_cv_cc_sse2avx): Likewise.
85684         (libc_cv_cc_fma4): Likewise.
85685         (libc_cv_cc_novzeroupper): Likewise.
85686         * sysdeps/i386/configure: Regenerated.
85688         [BZ #13883]
85689         * sysdeps/i386/fpu/s_cexp.S: Remove.
85690         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85691         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85692         * math/libm-test.inc (cexp_test): Add more tests.
85693         * sysdeps/i386/fpu/libm-test-ulps: Update.
85694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85696 2012-03-21  Allan McRae  <allan@archlinux.org>
85698         * timezone/Makefile: Do not install iso3166.tab and zone.tab
85700 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85702         [BZ #13871]
85703         * math/w_exp2.c: Do not include <float.h>.
85704         (o_threshold, u_threshold): Remove.
85705         (__exp2): Calculate result before checking finiteness and calling
85706         __kernel_standard.
85707         * math/w_exp2f.c: Likewise.
85708         * math/w_exp2l.c: Likewise.
85709         * math/libm-test.inc (exp2_test): Require overflow exception for
85710         1e6 input.
85712         [BZ #3866]
85713         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85714         range of signed 64-bit integers before using fistpll.  Remove
85715         checks for whether integers fit in mantissa bits.
85716         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85717         the range of signed 32-bit integers before using fistpl.  Remove
85718         checks for whether integers fit in mantissa bits.
85719         * sysdeps/i386/fpu/e_powl.S (p64): New object.
85720         (__ieee754_powl): Test for y outside the range of signed 64-bit
85721         integers before using fistpll.  Reduce 64-bit values to 63-bit
85722         ones as needed.
85723         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85724         divide-by-zero is raised for zero to large negative powers.
85725         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85726         (__ieee754_powl): Test for y outside the range of signed 64-bit
85727         integers before using fistpll.  Reduce 64-bit values to 63-bit
85728         ones as needed.
85729         * math/libm-test.inc (pow_test): Add more tests.
85731 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85733         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85734         <stdio-common/_itoa.h>.
85735         * debug/segfault.c: Likewise.
85736         * elf/dl-cache.c: Likewise.
85737         * elf/dl-minimal.c: Likewise.
85738         * elf/dl-misc.c: Likewise.
85739         * elf/dl-sysdep.c: Likewise.
85740         * elf/dl-version.c: Likewise.
85741         * elf/rtld.c: Likewise.
85742         * hurd/hurdsock.c: Likewise.
85743         * hurd/lookup-retry.c: Likewise.
85744         * malloc/malloc.c: Likewise.
85745         * malloc/mtrace.c: Likewise.
85746         * nscd/nscd_getgr_r.c: Likewise.
85747         * nscd/nscd_getpw_r.c: Likewise.
85748         * nscd/nscd_getserv_r.c: Likewise.
85749         * posix/getopt_init.c: Likewise.
85750         * posix/wordexp.c: Likewise.
85751         * stdio-common/_itoa.c: Likewise.
85752         * stdio-common/printf_fphex.c: Likewise.
85753         * stdio-common/vfprintf.c: Likewise.
85754         * string/_strerror.c: Likewise.
85755         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85756         * sysdeps/i386/i686/hp-timing.h: Likewise.
85757         * sysdeps/mach/_strerror.c: Likewise.
85758         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85759         * sysdeps/mach/hurd/sethostid.c: Likewise.
85760         * sysdeps/mach/hurd/xmknodat.c: Likewise.
85761         * sysdeps/mach/xpg-strerror.c: Likewise.
85762         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85763         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85764         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85765         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85766         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85767         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85768         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85769         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85770         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85771         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85772         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85773         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85774         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85775         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85776         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85777         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85778         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85779         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85780         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85781         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85782         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85784         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85786         * stdio-common/_itoa.h: Moved to ...
85787         * sysdeps/generic/_itoa.h: Here.
85789         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85791         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85792         instead of "_itoa.h" and "_itowa.h".
85793         * stdio-common/vfprintf.: Likewise.
85795 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85797         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85798         <bits/wordsize.h>.
85799         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85800         (__signbit): Likewise.
85801         (llrintf): Likewise.
85802         (llrint): Likewise.
85804 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85806         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85807         __WORDSIZE != 64.
85809 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
85811         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85812         OVERFLOW_EXCEPTION_OK.
85813         * math/libm-test.inc ("Philosophy"): Update comment about
85814         exception testing.
85815         (OVERFLOW_EXCEPTION): Define.
85816         (OVERFLOW_EXCEPTION_OK): Likewise.
85817         (INVALID_EXCEPTION_OK): Renumber.
85818         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85819         (IGNORE_ZERO_INF_SIGN): Likewise.
85820         (test_exceptions): Handle FE_OVERFLOW.
85821         (exp10_test): Expect overflow exceptions.
85822         (exp2_test): Likewise.
85823         (expm1_test): Likewise.
85824         (nextafter_test): Likewise.
85825         (pow_test): Likewise.
85826         (scalbn_test): Likewise.
85827         (scalbln_test): Likewise.
85829 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85831         * sysdeps/x86_64/bits/atomic.h
85832         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85833         64bit integer.
85834         (atomic_exchange_acq): Likewise.
85835         (__arch_exchange_and_add_body): Likewise.
85836         (__arch_add_body): Likewise.
85837         (atomic_add_negative): Likewise.
85838         (atomic_add_zero): Likewise.
85840 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85842         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85843         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85845 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85847         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85848         Check __x86_64__ instead of __WORDSIZE.
85850 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85852         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85854 2012-03-19  David S. Miller  <davem@davemloft.net>
85856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85858         * sysdeps/sparc/fpu/fenv_private.h: New file.
85859         * sysdeps/sparc/fpu/math_private.h: Use it.
85860         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85861         Remove.
85862         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85863         (libc_feholdexcept_setroundl): Remove.
85864         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85865         Remove.
85866         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85867         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85869 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85871         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85872         int64_t instead of long int.
85873         (INSERT_WORDS64): Likewise.
85875 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85877         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85878         _Unwind_GetCFA return to _Unwind_Ptr first.
85880 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
85882         [BZ #13629]
85883         * math/s_clog.c: Include <float.h>.
85884         (__clog): Scale large or subnormal inputs.
85885         * math/s_clogf.c: Likewise.
85886         * math/s_clogl.c: Likewise.
85887         * math/s_clog10.c: Include <float.h>.
85888         (M_LOG10_2): Define.
85889         (__clog10): Scale large or subnormal inputs.
85890         * math/s_clog10f.c: Likewise.
85891         * math/s_clog10l.c: Likewise.
85892         * math/libm-test.inc (clog_test): Add more tests.
85893         (clog10_test): Likewise.
85894         * sysdeps/i386/fpu/libm-test-ulps: Update.
85895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85897         [BZ #11451]
85898         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85899         x and y.
85900         * math/libm-test.inc (atan2_test): Add another test.
85902         * Makerules (common-objdir-compile): Remove.
85903         * sysdeps/unix/Makefile (config-generated): Do not add
85904         $(unix-generated) to variable.
85905         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85906         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85907         Remove rule.
85908         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85909         Likewise.
85910         [generic bits/local_lim.h] (before-compile): Do not append to
85911         variable.
85912         [generic bits/local_lim.h] (common-generated): Likewise.
85913         [generic sys/param.h] (before-compile): Do not append to variable.
85914         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85915         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85916         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85917         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85918         include.
85919         [generic sys/param.h] (sys/param.h-includes): Remove variable.
85920         [generic sys/param.h] (sys/param.h-includes): Remove rule.
85921         [generic sys/param.h] ($(addprefix
85922         $(common-objpfx),$(sys/param.h-includes))): Likewise.
85923         [generic sys/param.h] (common-generated): Do not append to
85924         variable.
85925         [generic sys/param.h] (sysdep_headers): Likewise.
85926         [generic bits/errno.h] (before-compile): Do not append to
85927         variable.
85928         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85929         rule.
85930         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85931         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85932         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85933         [generic bits/errno.h] (common-generated): Do not append to
85934         variable.
85935         [generic bits/ioctls.h] (before-compile): Do not append to
85936         variable.
85937         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85938         rule.
85939         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85940         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85941         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85942         rule.
85943         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85944         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85945         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85946         [generic bits/ioctls.h] (common-generated): Do not append to
85947         variable.
85948         [generic sys/syscall.h] (syscall.h): Remove variable.
85949         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85950         rule.
85951         [generic sys/syscall.h] (before-compile): Do not append to
85952         variable.
85953         [generic sys/syscall.h] (common-generated): Likewise.
85954         * sysdeps/unix/errnos-tmpl.c: Remove file.
85955         * sysdeps/unix/errnos.awk: Likewise.
85956         * sysdeps/unix/ioctls-tmpl.c: Likewise.
85957         * sysdeps/unix/ioctls.awk: Likewise.
85958         * sysdeps/unix/mk-local_lim.c: Likewise.
85959         * sysdeps/unix/snarf-ioctls: Likewise.
85961 2012-03-19  Richard Henderson  <rth@twiddle.net>
85963         * sysdeps/i386/fpu/fenv_private.h: New file.
85964         * sysdeps/i386/fpu/math_private.h: Use it.
85965         (math_opt_barrier, math_force_eval): Remove.
85966         (libc_feholdexcept_setround_53bit): Remove.
85967         (libc_feupdateenv_53bit): Remove.
85968         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85969         (math_opt_barrier, math_force_eval): Remove.
85970         (libc_feholdexcept): Remove.
85971         (libc_feholdexcept_setround): Remove.
85972         (libc_fetestexcept, libc_fesetenv): Remove.
85973         (libc_feupdateenv_test): Remove.
85974         (libc_feupdateenv, libc_feholdsetround): Remove.
85975         (libc_feresetround): Remove.
85977         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85978         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85980         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85981         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85982         (libc_feupdateenv_testl): New.
85983         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85984         (libc_feupdateenv_testf): New.
85985         (libc_feupdateenv): Use libc_feupdateenv_test.
85986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85987         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85989         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85990         (libc_feholdsetroundf, libc_feholdsetroundl): New.
85991         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85992         (libc_feresetround_noex): New.
85993         (libc_feresetround_noexf): New.
85994         (libc_feresetround_noexl): New.
85995         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85996         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85997         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85998         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85999         SET_RESTORE_ROUND.
86000         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86001         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86002         (__cos): Likewise.
86003         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86004         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86005         SET_RESTORE_ROUND_NOEX.
86006         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86007         SET_RESTORE_ROUND_NOEXF.
86008         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86009         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86010         (libc_feholdsetroundf): New.
86011         (libc_feresetround, libc_feresetroundf): New.
86013         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86014         (libc_feholdexcept_setround_53bit): Convert from macro to function.
86015         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
86017         * sysdeps/generic/math_private.h: Include <fenv.h>.
86018         (default_libc_feholdexcept): New.
86019         (default_libc_feholdexcept_setround): New.
86020         (default_libc_fesetenv, default_libc_feupdateenv): New.
86021         (libc_feholdexcept): Only define if undefined.
86022         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86023         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86024         (libc_feholdexcept_setroundl): Likewise.
86025         (libc_feholdexcept_setround_53bit): Likewise.
86026         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86027         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86028         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86029         (libc_feupdateenv_53bit): Likewise.
86030         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86031         (libc_feholdexcept): Convert from macro to inline function.
86032         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86033         (libc_fesetenv, libc_feupdateenv): Likewise.
86035         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86036         not previously defined.
86037         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86038         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86039         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86040         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86041         * sysdeps/ieee754/flt-32/math_private.h: New file.
86042         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86043         math_private.h below SET_FLOAT_WORD.
86044         (__isnan, __isinf_ns, __finite): Remove.
86045         (__isnanf, __isinf_nsf, __finitef): Remove.
86047 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
86049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86051 2012-03-17  David S. Miller  <davem@davemloft.net>
86053         [BZ #6471]
86054         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86055         for 2.16.
86057 2012-03-16  David S. Miller  <davem@davemloft.net>
86059         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86060         warnings.
86062         [BZ #6471]
86063         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86064         properly.
86065         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86066         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86067         sysdep_routines when subdir is sysvipc.
86068         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86069         __getshmlba helper.
86071         * sysdeps/sparc/fpu/libm-test/ulps: Update.
86073 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86075         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86076         [__LP64__].
86078 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86080         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86081         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86082         (__lround): Renamed to ...
86083         (__llround): This.  Replace long int with long long int.
86084         Define lround functions as aliases of llround functions.
86085         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86087 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86089         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86090         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
86091         adresses to uintptr_t.  Replace "long int" and "unsigned long
86092         int" with "greg_t" on va_arg.
86094 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86096         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86097         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86099         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86100         Move e_machine check before EI_CLASS check.  Handle x32
86101         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86102         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86103         SKIP_EM_IA_64 and include
86104         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86106         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86107         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86108         (add_system_dir): New macro.
86110         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86111         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86113 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86115         [BZ #2551]
86116         [BZ #2552]
86117         [BZ #2553]
86118         [BZ #2554]
86119         [BZ #2562]
86120         [BZ #2563]
86121         [BZ #2565]
86122         [BZ #2566]
86123         [BZ #2576]
86124         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86125         (y0): Likewise.
86126         * math/w_j0f.c (j0f): Likewise.
86127         (y0f): Likewise.
86128         * math/w_j0l.c (__j0l): Likewise.
86129         (__y0l): Likewise.
86130         * math/w_j1.c (j1): Likewise.
86131         (y1): Likewise.
86132         * math/w_j1f.c (j1f): Likewise.
86133         (y1f): Likewise.
86134         * math/w_j1l.c (__j1l): Likewise.
86135         (__y1l): Likewise.
86136         * math/w_jn.c (jn): Likewise.
86137         (yn): Likewise.
86138         * math/w_jnf.c (jnf): Likewise.
86139         (ynf): Likewise.
86140         * math/w_jnl.c (__jnl): Likewise.
86141         (__ynl): Likewise.
86142         * math/libm-test.inc (j0_test): Add more tests.
86143         (j1_test): Likewise.
86144         (jn_test): Likewise.  Add trailing semicolon to existing test.
86145         (y0_test): Likewise.
86146         (y1_test): Likewise.
86147         * sysdeps/i386/fpu/libm-test-ulps: Update.
86148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86150         [BZ #13851]
86151         [BZ #13854]
86152         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86153         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86154         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86155         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86156         (__tanl): Set errno for infinite argument.
86157         * sysdeps/i386/fpu/mptan.c: Remove.
86158         * sysdeps/i386/fpu/s_tan.S: Likewise.
86159         * sysdeps/i386/fpu/s_tanl.S: Likewise.
86160         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86161         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86162         * math/libm-test.inc (tan_test): Add more tests and enable more
86163         tests for double and long double.
86164         * sysdeps/i386/fpu/libm-test-ulps: Update.
86165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86167 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
86169         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86170         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86172 2012-03-16  Roland McGrath  <roland@hack.frob.com>
86174         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86175         * configure.in: Use it for both main tree and add-ons.
86176         * configure: Regenerated.
86178 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86180         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86182 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86184         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86185         in comment.
86187         [BZ #13851]
86188         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86189         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86190         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86191         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86192         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86193         infinite argument.
86194         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86195         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86196         != 0 for prec == 2.
86197         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86198         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86199         * sysdeps/i386/fpu/s_cosl.S: Likewise.
86200         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86201         * sysdeps/i386/fpu/s_sinl.S: Likewise.
86202         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86203         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86204         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86205         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86206         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86207         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86208         * math/libm-test.inc (cos_test): Add more tests and enable more
86209         tests for long double.
86210         (sin_test): Likewise.
86211         (sincos_test): Likewise.
86212         * sysdeps/i386/fpu/libm-test-ulps: Update.
86213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86215 2012-03-16  David S. Miller  <davem@davemloft.net>
86217         * sysdeps/sparc/fpu/math_private.h: New file.
86219 2012-03-15  David S. Miller  <davem@davemloft.net>
86221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86222         file.
86223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86225         file.
86226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86231         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86232         sysdep routines.
86233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86235         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86236         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86238         * sysdeps/sparc/sparc-ifunc.h: New file.
86239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86240         sparc-ifunc.h
86241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86243         Likewise.
86244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86245         Likewise.
86246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86250         Likewise.
86251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86256         Likewise.
86257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86258         Likewise.
86259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86263         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86265         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86266         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86273         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86274         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86275         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86276         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86277         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86278         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86279         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86280         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86281         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86282         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86284 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86286         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86287         scaling.
86288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86290 2012-03-15  Andreas Jaeger  <aj@suse.de>
86292         [BZ #13852]
86293         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86294         ieee754/flt-32 implementation for sin, cos and sincos.
86295         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86296         * sysdeps/i386/fpu/s_cosf.S: Likewise.
86297         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86298         * sysdeps/i386/fpu/s_sinf.S: Likewise.
86299         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86300         ieee754/flt-32 implementation for tan.
86302         * math/libm-test.inc (cos_test): Enable some large input tests for
86303         float as well
86304         (sin_test): Likewise.
86305         (sincos_test): Likewise.
86306         (tan_test): Add tests for large input.
86308         * sysdeps/i386/fpu/libm-test-ulps: Update.
86310 2012-03-15  Andreas Jaeger  <aj@suse.de>
86312         [BZ #13658]
86313         * math/libm-test.inc (cos_test): Add more test cases.
86314         (sin_test): Likewise.
86315         (sincos_test): Likewise.
86317 2012-03-15  Andreas Jaeger  <aj@suse.de>
86319         [BZ #13837]
86320         * math/libm-test.inc (cos_test): Add a test case for large input
86321         value.
86322         (sin_test): Likewise.
86323         (sincos_test): Likewise.
86325 2012-03-15  Andreas Jaeger  <aj@suse.de>
86326             Joseph Myers  <joseph@codesourcery.com>
86328         [BZ #13658]
86329         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86330         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86331         * sysdeps/i386/fpu/branred.c: Likewise.
86332         * sysdeps/i386/fpu/dosincos.c: Likewise.
86333         * sysdeps/i386/fpu/mpa.c: Likewise.
86334         * sysdeps/i386/fpu/s_cos.S: Likewise.
86335         * sysdeps/i386/fpu/s_sin.S: Likewise.
86336         * sysdeps/i386/fpu/s_sincos.S: Likewise.
86337         * sysdeps/i386/fpu/sincos32.c: Likewise.
86339         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86340         Define.
86341         (libc_feupdateenv_53bit): Define.
86342         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86343         Define.
86344         (libc_feupdateenv_53bit): Define.
86346         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86347         53 bit (without extend i386 double precision).
86349         * math/libm-test.inc (sincos_test): Add tests for large input.
86350         (sin): Likewise.
86351         (cos): Likewise.
86353         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86355 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86359 2012-03-15  David S. Miller  <davem@davemloft.net>
86361         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86362         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86363         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86364         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86369         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86377         file.
86378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86380         file.
86381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86383         file.
86384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86386         file.
86387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86388         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86389         fmin/fmax sysdep routines.
86390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86392 2012-03-14  David S. Miller  <davem@davemloft.net>
86394         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86396         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86398         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86399         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86400         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86401         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86402         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86403         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86406         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86407         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86408         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86409         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86410         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86411         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86414         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86415         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86416         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86417         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86418         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86419         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86420         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86421         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86422         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86423         routines.
86424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86425         file.
86426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86428         file.
86429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86431         file.
86432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86434         file.
86435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86437         file.
86438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86440         file.
86441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86442         file.
86443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86444         file.
86445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86446         file.
86447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86448         New file.
86449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86450         file.
86451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86452         file.
86453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86455         file.
86456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86458         file.
86459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86461         file.
86462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86464         VIS3 routines.
86466         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86467         New file.
86469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86471         * sysdeps/sparc/configure.in: New file.
86472         * sysdeps/sparc/configure: Generate.
86473         * configure.in (libc_cv_sparc_as_vis3): Substitute.
86474         * configure: Regenerate.
86475         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86476         * config.make.in (have-as-vis3): New.
86477         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86478         available use -Av9d instead of -Av9a.
86479         * sysdeps/sparc/sparc64/Makefile: Likewise.
86480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86482         New file.
86483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86484         file.
86485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86486         New file.
86487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86488         file.
86489         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86490         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86491         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86492         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86493         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86495         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86496         fzeros/fnegs to load 0x80000000 into a float register instead of
86497         using the stack.
86498         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86500 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86503         bits/syscall.h.
86504         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86505         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86506         ($(inst_includedir)/bits/syscall.h): Remove rule.
86507         ($(objpfx)bits/syscall.d): Include instead of
86508         $(objpfx)syscall-list.d.
86509         (generated): Change syscall-list.h and syscall-list.d to
86510         bits/syscall.h and bits/syscall.d.
86512 2012-03-14  Roland McGrath  <roland@hack.frob.com>
86514         [BZ #13846]
86515         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86517 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86519         [BZ #13841]
86520         * math/s_csqrt.c: Include <float.h>.
86521         (__csqrt): Scale large or subnormal inputs.
86522         * math/s_csqrtf.c: Likewise.
86523         * math/s_csqrtl.c: Likewise.
86524         * math/libm-test.inc (csqrt_test): Add more tests.
86525         * sysdeps/i386/fpu/libm-test-ulps: Update.
86526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86528         [BZ #13840]
86529         * math/libm-test.inc (hypot_test): Add more tests.
86531 2012-03-13  David S. Miller  <davem@davemloft.net>
86533         [BZ #13840]
86534         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86535         double-precision for the calculation instead of scaling.
86537 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
86539         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86540         manipulate bits before adding and subtracting TWO52[sx].
86541         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86542         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86543         Likewise.
86544         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86546 2012-03-13  David S. Miller  <davem@davemloft.net>
86548         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86549         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86550         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86551         rtld-global-offsets.h
86552         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86554         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86555         large parameters.
86557         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86559         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86560         'err' in the ifdef scope in which it is actually used.
86562         * nss/nss_db/db-init.c: Include string.h
86564 2012-03-12  David S. Miller  <davem@davemloft.net>
86566         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86567         masking out of the most significant byte of random value used.
86568         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86569         Fix coding style in previous change.
86571         * sysdeps/unix/sysv/linux/kernel-features.h
86572         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86573         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86574         expression.
86575         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86576         later.
86578 2012-03-11  David S. Miller  <davem@davemloft.net>
86580         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86581         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86582         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86583         for 'resultvar' otherwise things get truncated on 64-bit.
86585         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86586         Fix masking out of the most significant byte of random value used.
86588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86590 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86594 2012-03-09  David S. Miller  <davem@davemloft.net>
86596         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86597         variables with appropriate CPP guards.
86598         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86599         from the frame pointer, not the stack pointer.  Correct layout
86600         comments.  Fix test on resulting framesize and the management of
86601         the outregs buffer for pltexit.  Preserve floating point return
86602         values across _dl_call_pltexit call.
86603         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86604         framesize and the management of the outregs buffer for pltexit.
86605         Preserve floating point return values across _dl_call_pltexit
86606         call.
86607         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86608         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86609         (la_sparc64_gnu_pltexit): New functions.
86610         (print_exit): Fix format string for return register value.
86612 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86614         * sunrpc/Makefile (others): Add rpcgen.
86615         ($(objpfx)rpcgen): Remove special build rule and dependency on
86616         libc.
86617         * sunrpc/rpcgen.c: New file.
86619 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86621         [BZ #13673]
86622         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86623         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86624         * sysdeps/i386/crti.S: Likewise.
86625         * sysdeps/i386/crtn.S: Likewise.
86626         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86627         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86628         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86629         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86630         * sysdeps/sh/crti.S: Likewise.
86631         * sysdeps/sh/crtn.S: Likewise.
86632         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86634         [BZ #13673]
86635         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86636         with URL.
86637         * locale/programs/locfile-kw.gperf: Likewise.
86638         * locale/programs/charmap-kw.h: Regenerated.
86639         * locale/programs/locfile-kw.h: Likewise.
86641         [BZ #13673]
86642         * intl/plural.y: Replace FSF snail mail address with URL.
86643         * intl/plural.c: Regenerated.
86645 2012-03-09  Richard Henderson  <rth@twiddle.net>
86647         * include/math_private.h: Remove file.
86648         * math/math_private.h: Move file ...
86649         * sysdeps/generic/math_private.h: ... here.
86651         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86652         * sysdeps/powerpc/fpu/math_private.h: Likewise.
86653         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86655         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86656         and <math_private.h>.
86657         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86658         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86659         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86660         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86661         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86662         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86663         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86664         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86665         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86666         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86667         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86668         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86669         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86670         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86671         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86672         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86673         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86674         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86675         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86676         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86677         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86678         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86679         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86680         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86681         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86682         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86683         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86684         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86685         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86686         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86687         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86688         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86689         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86690         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86691         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86692         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86693         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86694         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86695         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86696         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86697         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86698         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86699         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86700         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86701         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86702         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86703         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86704         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86705         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86706         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86707         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86708         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86709         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86710         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86711         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86712         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86713         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86714         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86715         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86716         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86717         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86718         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86719         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86720         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86721         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86722         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86723         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86724         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86725         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86726         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86727         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86728         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86729         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86730         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86731         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86732         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86733         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86734         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86735         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86736         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86737         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86738         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86739         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86740         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86741         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86742         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86743         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86744         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86745         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86746         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86747         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86748         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86749         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86750         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86751         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86752         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86753         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86754         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86755         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86756         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86757         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86758         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86759         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86760         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86761         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86762         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86763         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86764         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86765         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86766         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86767         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86768         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86769         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86770         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86771         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86772         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86773         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86774         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86775         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86776         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86777         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86778         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86779         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86780         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86781         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86782         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86783         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86784         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86785         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86786         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86787         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86788         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86789         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86790         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86791         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86792         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86793         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86794         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86795         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86796         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86797         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86798         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86799         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86800         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86801         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86802         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86803         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86804         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86805         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86806         * sysdeps/ieee754/k_standard.c: Likewise.
86807         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86808         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86809         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86810         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86811         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86812         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86813         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86814         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86815         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86816         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86817         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86818         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86819         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86820         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86821         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86822         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86823         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86824         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86825         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86826         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86827         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86828         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86829         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86830         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86831         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86832         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86833         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86834         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86835         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86836         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86837         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86838         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86839         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86840         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86841         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86842         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86843         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86844         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86845         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86846         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86847         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86848         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86849         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86850         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86851         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86852         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86853         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86854         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86855         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86856         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86857         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86858         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86859         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86860         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86861         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86862         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86863         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86864         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86865         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86866         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86867         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86868         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86869         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86870         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86871         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86872         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86873         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86874         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86875         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86876         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86877         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86878         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86879         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86880         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86881         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86882         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86883         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86884         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86885         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86886         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86887         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86888         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86889         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86890         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86891         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86892         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86893         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86894         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86895         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86896         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86897         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86898         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86899         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86900         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86901         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86902         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86903         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86904         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86905         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86906         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86907         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86908         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86909         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86910         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86911         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86912         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86913         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86914         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86915         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86916         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86917         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86918         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86919         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86920         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86921         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86922         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86923         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86924         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86925         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86926         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86927         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86928         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86929         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86930         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86931         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86932         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86933         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86934         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86935         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86936         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86937         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86938         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86939         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86940         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86941         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86942         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86943         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86944         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86945         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86946         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86947         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86948         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86949         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86950         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86951         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86952         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86953         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86954         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86955         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86956         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86957         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86958         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86959         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86960         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86961         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86962         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86963         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86964         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86965         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86966         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86967         * sysdeps/ieee754/s_lib_version.c: Likewise.
86968         * sysdeps/ieee754/s_matherr.c: Likewise.
86969         * sysdeps/ieee754/s_signgam.c: Likewise.
86970         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86971         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86972         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86973         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86974         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86975         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86976         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86977         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86978         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86979         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86980         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86981         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86982         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86983         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86984         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86985         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86986         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86987         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86988         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86989         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86992 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
86994         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86995         * sunrpc/rpc_main.c: Likewise.
86996         * sunrpc/rpc_svcout.c: Likewise.
86998 2012-03-09  David S. Miller  <davem@davemloft.net>
87000         * include/math_private.h: New file.
87002 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87004         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87005         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87006         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87007         from <bits/socket_type.h>.
87008         (enum __socket_type): Don't define here.
87009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87011         bits/socket_type.h.
87013         [BZ #13566]
87014         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87015         checking __USE_GNU.
87017         * Makerules ($(inst_includedir)/%.h): New rule.
87018         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87019         (install-others): Remove variable setting.
87020         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87022 2012-03-08  Richard Henderson  <rth@twiddle.net>
87024         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87025         from macro to inline function; merge with the
87026         !__LIBC_INTERNAL_MATH_INLINES version.
87027         (__ieee754_sqrtf): Likewise.
87029         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87030         to inline function.
87031         (__rintf, __floor, __floorf): Likewise.
87033         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87034         macro to inline function.
87035         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87037         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87038         not <math/math_private.h>.
87040 2012-03-08  David S. Miller  <davem@davemloft.net>
87042         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87043         copyright year.
87044         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87046 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
87048         * resolv/gai_misc.c (handle_requests): Fix struct timespec
87049         normalization.
87050         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87051         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87053 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
87055         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
87056         be defined individually, they must be defined as a block.  Define
87057         S for printing a string instead of hidint the different by using a
87058         macro for adding the 'l'.
87059         * stdio-common/tst-fphex-wide.c: Adjust.
87061 2012-03-07  Marek Polacek  <polacek@redhat.com>
87063         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87065 2012-03-08  Marek Polacek  <polacek@redhat.com>
87067         [BZ #13806]
87068         * stdio-common/Makefile (tests): Add tst-fphex-wide.
87069         * stdio-common/tst-fphex.c: Define a few macros to make the
87070         test reusable.  Use them.
87071         * stdio-common/tst-fphex-wide.c: New file.
87073 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
87075         [BZ #6911]
87076         * manual/macros.texi (gnusystems): New macro.
87077         (nongnusystems): Likewise.
87078         (gnulinuxhurdsystems): Likewise.
87079         (gnuhurdsystems): Likewise..
87080         (gnulinuxsystems): Likewise.
87081         * manual/charset.texi: Use new macros or @theglibc{} to refer to
87082         variants of the GNU system, not "GNU system".
87083         * manual/conf.texi: Likewise.
87084         * manual/errno.texi: Likewise.  Update example of errno macro
87085         expansion.
87086         * manual/filesys.texi: Likewise.
87087         (getumask): Document as specific to GNU/Hurd.
87088         * manual/install.texi: Likewise.  Reword some references to
87089         GNU/Linux.
87090         * manual/intro.texi: Likewise.
87091         * manual/io.texi: Likewise.
87092         (File Name Portability): Detail which constraints are inapplicable
87093         to all GNU systems and which are only inapplicable to GNU/Hurd.
87094         * manual/job.texi: Likewise.
87095         * manual/llio.texi: Likewise.
87096         (O_NOCTTY): Document as present on GNU/Linux.
87097         * manual/maint.texi: Likewise.
87098         * manual/memory.texi: Likewise.
87099         * manual/pattern.texi: Likewise.
87100         * manual/pipe.texi: Likewise.
87101         * manual/process.texi: Likewise.
87102         * manual/resource.texi: Likewise.
87103         (RUSAGE_CHILDREN): Remove statement about specifying a particular
87104         child on GNU/Hurd.
87105         * manual/setjmp.texi: Likewise.
87106         * manual/signal.texi: Likewise.
87107         * manual/startup.texi: Likewise.
87108         * manual/stdio.texi: Likewise.
87109         * manual/terminal.texi: Likewise.
87110         (ONLCR): Document as POSIX.
87111         (OXTABS): Document availability on GNU/Linux as XTABS.
87112         (ONOEOT): Document availability separately from other bits.
87113         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87114         * manual/time.texi: Likewise.
87115         * manual/users.texi: Likewise.
87116         * INSTALL: Regenerated.
87117         * sysdeps/gnu/errlist.c: Regenerated.
87119         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87120         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87121         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
87122         puts.
87123         * configure: Regenerated.
87125 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
87127         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87128         default includes instead of AC_HEADER_CHECK.
87129         * sysdeps/i386/configure: Regenerated.
87131         [BZ #10716]
87132         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87133         * math/s_cacoshf.c (__cacoshf): Likewise.
87134         * math/s_cacoshl.c (__cacoshl): Likewise.
87135         * math/s_casinh.c (__casinh): Set signs of result from argument.
87136         * math/s_casinhf.c (__casinhf): Likewise.
87137         * math/s_casinhl.c (__casinhl): Likewise.
87138         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87139         (casinh_test): Add more tests.
87140         * sysdeps/i386/fpu/libm-test-ulps: Update.
87141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87143 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
87145         * po/zh_TW.po: Update from translation team.
87147         * login/Makefile (distribute): Remove variable.
87148         * catgets/Makefile: Likewise.
87149         * mach/Makefile: Likewise.
87150         * malloc/Makefile: Likewise.
87151         * misc/Makefile: Likewise.
87152         * iconv/Makefile: Likewise.
87153         * nscd/Makefile: Likewise.
87154         * hurd/Makefile: Likewise.
87155         * manual/Makefile: Likewise.
87156         * locale/Makefile: Likewise.
87157         * intl/Makefile: Likewise.
87158         * conform/Makefile: Likewise.
87159         * nss/Makefile: Likewise.
87160         * time/Makefile: Likewise.
87161         * soft-fp/Makefile: Likewise.
87162         * dirent/Makefile: Likewise.
87163         * gmon/Makefile: Likewise.
87164         * po/Makefile: Likewise.
87165         * rt/Makefile: Likewise.
87166         * socket/Makefile: Likewise.
87167         * math/Makefile: Likewise.
87168         * signal/Makefile: Likewise.
87169         * debug/Makefile: Likewise.
87170         * elf/Makefile: Likewise.
87171         * timezone/Makefile: Likewise.
87172         * stdlib/Makefile: Likewise.
87173         * iconvdata/Makefile: Likewise.
87174         * sunrpc/Makefile: Likewise.
87175         * io/Makefile: Likewise.
87176         * argp/Makefile: Likewise.
87177         * inet/Makefile: Likewise.
87178         * hesiod/Makefile: Likewise.
87179         * grp/Makefile: Likewise.
87180         * csu/Makefile: Likewise.
87181         * wctype/Makefile: Likewise.
87182         * crypt/Makefile: Likewise.
87183         * libio/Makefile: Likewise.
87184         * string/Makefile: Likewise.
87185         * nis/Makefile: Likewise.
87186         * resolv/Makefile: Likewise.
87187         * stdio-common/Makefile: Likewise.
87188         * wcsmbs/Makefile: Likewise.
87189         * dlfcn/Makefile: Likewise.
87190         * posix/Makefile: Likewise.
87192         [BZ #6959]
87193         * timezone/Makefile: Don't install timezone files, just the programs
87194         and scripts.
87196 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
87198         * nss/databases.def: Add missing gshadow entry.
87200         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
87202 2012-03-06  Marek Polacek  <polacek@redhat.com>
87204         [BZ #13726]
87205         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87206         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87207         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87208         * stdio-common/tst-long-dbl-fphex.c: New file.
87210 2012-03-06  David S. Miller  <davem@davemloft.net>
87212         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87213         (set_obp_int): New function.
87214         (get_obp_int): New function.
87215         (__get_clockfreq_via_dev_openprom): Likewise.
87216         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87217         Avoid unused variable warnings on 'val' and use builtin_expect.
87218         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87219         __builtin_expect.
87220         (INLINE_CLONE_SYSCALL): Likewise.
87222 2012-03-05  David S. Miller  <davem@davemloft.net>
87224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87226 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
87228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87230         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87231         only for |x| >= 40.
87232         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87234 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
87236         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87237         Replace gettimeofday with __vdso_gettimeofday.
87239         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87240         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87241         __vdso_clock_gettime and __vdso_getcpu.
87243         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87244         time with __vdso_time.
87246 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87248         * manual/lang.texi (size_t): Note types to which size_t may be
87249         equivalent with the GNU C Library, but do not describe when
87250         differences between them are significant.
87252 2012-03-05  Andreas Jaeger  <aj@suse.de>
87254         * sysdeps/i386/fpu/libm-test-ulps: Update.
87256 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87258         [BZ #3976]
87259         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87260         (__ieee754_pow): Save and restore rounding mode and use
87261         round-to-nearest for main computations.
87262         * math/libm-test.inc (pow_test_tonearest): New function.
87263         (pow_test_towardzero): Likewise.
87264         (pow_test_downward): Likewise.
87265         (pow_test_upward): Likewise.
87266         (main): Call the new functions.
87267         * sysdeps/i386/fpu/libm-test-ulps: Update.
87268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87270         [BZ #3976]
87271         * math/libm-test.inc (cosh_test_tonearest): New function.
87272         (cosh_test_towardzero): Likewise.
87273         (cosh_test_downward): Likewise.
87274         (cosh_test_upward): Likewise.
87275         (sinh_test_tonearest): Likewise.
87276         (sinh_test_towardzero): Likewise.
87277         (sinh_test_downward): Likewise.
87278         (sinh_test_upward): Likewise.
87279         (main): Call the new functions.
87280         * sysdeps/i386/fpu/libm-test-ulps: Update.
87281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87283 2012-03-05  Tom de Vries  <tom@codesourcery.com>
87285         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87286         default stack guard is set in last bytes.
87287         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87289 2012-03-05  Kees Cook  <keescook@chromium.org>
87291         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87293         [BZ #13656]
87294         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87295         possibly allocate from heap instead of stack.
87296         * stdio-common/bug-vfprintf-nargs.c: New file.
87297         * stdio-common/Makefile (tests): Add nargs overflow test.
87299 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
87301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87303 2012-03-03  Marek Polacek  <polacek@redhat.com>
87305         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87306         * math/math_private.h: Likewise.
87307         * stdlib/tst-strtod.c: Likewise.
87308         * sysdeps/i386/i486/bits/atomic.h: Likewise.
87309         * sysdeps/x86_64/bits/atomic.h: Likewise.
87311 2012-03-02  David S. Miller  <davem@davemloft.net>
87313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87317         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87318         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87319         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87320         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87322 2012-03-02  Roland McGrath  <roland@hack.frob.com>
87324         [BZ #13792]
87325         * manual/examples/README: New file, says the example source files
87326         can be used under GPL>=2.
87327         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87328         line containing just "*/".
87329         * manual/examples/add.c: Add copyright header (GPL>=2).
87330         * manual/examples/argp-ex1.c: Likewise.
87331         * manual/examples/argp-ex2.c: Likewise.
87332         * manual/examples/argp-ex3.c: Likewise.
87333         * manual/examples/argp-ex4.c: Likewise.
87334         * manual/examples/atexit.c: Likewise.
87335         * manual/examples/db.c: Likewise.
87336         * manual/examples/dir.c: Likewise.
87337         * manual/examples/dir2.c: Likewise.
87338         * manual/examples/execinfo.c: Likewise.
87339         * manual/examples/filecli.c: Likewise.
87340         * manual/examples/filesrv.c: Likewise.
87341         * manual/examples/fmtmsgexpl.c: Likewise.
87342         * manual/examples/genpass.c: Likewise.
87343         * manual/examples/inetcli.c: Likewise.
87344         * manual/examples/inetsrv.c: Likewise.
87345         * manual/examples/isockad.c: Likewise.
87346         * manual/examples/longopt.c: Likewise.
87347         * manual/examples/memopen.c: Likewise.
87348         * manual/examples/memstrm.c: Likewise.
87349         * manual/examples/mkfsock.c: Likewise.
87350         * manual/examples/mkisock.c: Likewise.
87351         * manual/examples/mygetpass.c: Likewise.
87352         * manual/examples/pipe.c: Likewise.
87353         * manual/examples/popen.c: Likewise.
87354         * manual/examples/rprintf.c: Likewise.
87355         * manual/examples/search.c: Likewise.
87356         * manual/examples/select.c: Likewise.
87357         * manual/examples/setjmp.c: Likewise.
87358         * manual/examples/sigh1.c: Likewise.
87359         * manual/examples/sigusr.c: Likewise.
87360         * manual/examples/stpcpy.c: Likewise.
87361         * manual/examples/strdupa.c: Likewise.
87362         * manual/examples/strftim.c: Likewise.
87363         * manual/examples/strncat.c: Likewise.
87364         * manual/examples/subopt.c: Likewise.
87365         * manual/examples/swapcontext.c: Likewise.
87366         * manual/examples/termios.c: Likewise.
87367         * manual/examples/testopt.c: Likewise.
87368         * manual/examples/testpass.c: Likewise.
87369         * manual/examples/timeval_subtract.c: Likewise.
87371         [BZ #13792]
87372         * manual/time.texi (Elapsed Time): Move timeval_subtract example
87373         function to ...
87374         * manual/timeval_subtract.c.texi: ... here, new file.
87376 2012-03-02  David S. Miller  <davem@davemloft.net>
87378         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87380 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
87382         [BZ #3976]
87383         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87384         (__sin): Save and restore rounding mode and use round-to-nearest
87385         for all computations.
87386         (__cos): Save and restore rounding mode and use round-to-nearest
87387         for all computations.
87388         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87389         <fenv.h>.
87390         (tan): Save and restore rounding mode and use round-to-nearest for
87391         all computations.
87392         * math/libm-test.inc (cos_test_tonearest): New function.
87393         (cos_test_towardzero): Likewise.
87394         (cos_test_downward): Likewise.
87395         (cos_test_upward): Likewise.
87396         (sin_test_tonearest): Likewise.
87397         (sin_test_towardzero): Likewise.
87398         (sin_test_downward): Likewise.
87399         (sin_test_upward): Likewise.
87400         (tan_test_tonearest): Likewise.
87401         (tan_test_towardzero): Likewise.
87402         (tan_test_downward): Likewise.
87403         (tan_test_upward): Likewise.
87404         (main): Call the new functions.
87405         * sysdeps/i386/fpu/libm-test-ulps: Update.
87406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87408         [BZ #10135]
87409         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87410         small n, then large n, before computing and testing k+n.
87411         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87412         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87413         Likewise.
87414         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87415         Likewise.
87416         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87417         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87418         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87419         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87420         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87421         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87422         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87423         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87424         * math/libm-test.inc (scalbn_test): Add more tests.
87425         (scalbln_test): Likewise.
87427         * manual/filesys.texi (mode_t): Describe constraints on size and
87428         signedness, not exact equivalence to a particular type.
87429         (ino_t): Likewise.
87430         (ino64_t): Likewise.
87431         (dev_t): Likewise.
87432         (nlink_t): Likewise.
87433         (blkcnt_t): Likewise.
87434         (blkcnt64_t): Likewise.
87435         * manual/llio.texi (off_t): Likewise.
87437         [BZ #3976]
87438         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87439         (__ieee754_exp): Save and restore rounding mode and use
87440         round-to-nearest for all computations.
87441         * math/libm-test.inc (exp_test_tonearest): New function.
87442         (exp_test_towardzero): Likewise.
87443         (exp_test_downward): Likewise.
87444         (exp_test_upward): Likewise.
87445         (main): Call the new functions.
87446         * sysdeps/i386/fpu/libm-test-ulps: Update.
87447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87449 2012-03-01  Chris Demetriou  <cgd@google.com>
87451         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87452         have predictable order.
87454 2012-03-01  David S. Miller  <davem@davemloft.net>
87456         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87458         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87459         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87460         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87461         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87463         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87464         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87465         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87467         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87468         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87469         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87470         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87471         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87475         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87476         * sysdeps/sparc/fpu/libm-test-ulps: to here.
87477         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87479         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87480         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87481         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87482         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87483         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87484         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87485         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87486         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87487         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87488         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87489         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87490         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87491         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87492         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87493         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87494         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87495         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87496         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87497         * sysdeps/sparc/elf/configure: Regenerated.
87499 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
87501         * configure.in (AS, LD): Require binutils 2.20 or later.
87502         * configure: Regenerated.
87503         * manual/install.texi (Tools for Compilation): Give binutils 2.20
87504         as required minimum version.
87505         * INSTALL: Regenerated.
87507         [BZ #2541]
87508         [BZ #4108]
87509         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87510         before squaring exponent.
87511         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87512         bottom long double and 27 bits of top long double before squaring
87513         exponent.
87514         * math/libm-test.inc (erfc_test): Add more tests.
87515         * sysdeps/i386/fpu/libm-test-ulps: Update.
87516         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87519 2012-03-01  Kai Tietz  <ktietz@redhat.com>
87521         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87522         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87523         containing bit-fields.
87524         * soft-fp/extended.h (_FP_UNION_E): Likewise.
87525         * soft-fp/single.h (_FP_UNION_S): Likewise.
87526         * soft-fp/double.h (_FP_UNION_D): Likewise.
87528 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87530         [BZ #13786]
87531         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87532         not include ../strcmp.S.
87533         [USE_AS_STRNCASECMP_L]: Likewise.
87534         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87535         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87536         * sysdeps/i386/i686/multiarch/strncase_l-c.c
87537         (__strncasecmp_l_ia32): Define as alias to
87538         __strncasecmp_l_nonascii.
87540         [BZ #5794]
87541         * math/libm-test.inc (expm1_test): Add test for bug 5794.
87542         * sysdeps/i386/fpu/libm-test-ulps: Update.
87543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87545         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87548 2012-02-29  Jeff Law  <law@redhat.com>
87550         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87551         out of bounds read.
87553 2012-02-29  Marek Polacek  <polacek@redhat.com>
87555         [BZ #13706]
87556         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87557         * elf/Makefile: Add rules to run tst-unused-dep.out.
87559 2012-02-28  David S. Miller  <davem@davemloft.net>
87561         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87562         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87563         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87564         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87565         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87566         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87568 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87570         * math/libm-test.inc (llround_test): Move one test from
87571         lround_test.  Use TEST_f_L in moved test.
87572         (lround_test): Move misplaced test to llround_test.  Add testcase
87573         from bug 2561.
87575 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87577         * sysdeps/x86_64/fpu/e_expf.S: New file.
87578         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87580 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87582         [BZ #13637]
87583         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87584         of remain_len that may cause incomplete multi-byte character and
87585         false match.
87586         * posix/bug-regex33.c: New file.
87587         * posix/Makefile (tests): Add bug-regex33.
87589 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87591         * manual/macros.texi: New file.
87592         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87593         * manual/libc.texinfo: Include macros.texi.
87594         * manual/creatute.texi: Likewise.
87595         * manual/install.texi: Likewise.
87596         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87597         @glibcadj{} in references to the GNU C Library.
87598         * manual/charset.texi: Likewise.
87599         * manual/conf.texi: Likewise.
87600         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87601         when not using those macros.
87602         * manual/creature.texi: Likewise.
87603         * manual/crypt.texi: Likewise.
87604         * manual/errno.texi: Likewise.
87605         * manual/filesys.texi: Likewise.
87606         * manual/header.texi: Likewise.
87607         * manual/install.texi: Likewise.
87608         * manual/intro.texi: Likewise.
87609         * manual/io.texi: Likewise.
87610         * manual/job.texi: Likewise.
87611         * manual/lang.texi: Likewise.
87612         * manual/libc.texiinfo: Likewise.
87613         * manual/llio.texi: Likewise.
87614         * manual/locale.texi: Likewise.
87615         * manual/maint.texi: Likewise.
87616         * manual/math.texi: Likewise.
87617         * manual/memory.texi: Likewise.
87618         * manual/message.texi: Likewise.
87619         * manual/nss.texi: Likewise.
87620         * manual/pattern.texi: Likewise.
87621         * manual/process.texi: Likewise.
87622         * manual/resource.texi: Likewise.
87623         * manual/search.texi: Likewise.
87624         * manual/setjmp.texi: Likewise.
87625         * manual/signal.texi: Likewise.
87626         * manual/socket.texi: Likewise.
87627         * manual/startup.texi: Likewise.
87628         * manual/stdio.texi: Likewise.
87629         * manual/string.texi: Likewise.
87630         * manual/sysinfo.texi: Likewise.
87631         * manual/syslog.texi: Likewise.
87632         * manual/terminal.texi: Likewise.
87633         * manual/time.texi: Likewise.
87634         * manual/users.texi: Likewise.
87635         * INSTALL: Regenerated.
87636         * NOTES: Regenerated.
87637         * sysdeps/gnu/errlist.c: Regenerated.
87639 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
87641         * include/dirent.h: Include <dirstream.h> before
87642         <dirent/dirent.h>.
87644 2012-02-28  David S. Miller  <davem@davemloft.net>
87646         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87647         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87648         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87649         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87651 2012-02-27  David S. Miller  <davem@davemloft.net>
87653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87655         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87656         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87659         frame pointer instead of stack pointer relative arg slot.
87660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87661         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87662         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87664 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
87666         [BZ #3992]
87667         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87669 2012-02-27  David S. Miller  <davem@davemloft.net>
87671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87675         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87676         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87677         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87678         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87680 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87682         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87683         later.  Allow versions 5-9.
87684         * configure: Regenerated.
87685         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87686         required minimum version and 4.6 as recommended version.  Do not
87687         mention bugs in GCC 2.7 and 2.8.
87688         * INSTALL: Regenerated.
87690 2012-02-27  David S. Miller  <davem@davemloft.net>
87692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87696         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87697         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87698         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87699         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87701         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87702         manipulate bits before adding and subtracting TWO112[sx].
87703         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87705 2012-02-27  Roland McGrath  <roland@hack.frob.com>
87707         [BZ #13775]
87708         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87709         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87710         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87711         being in POSIX, because they are in 1003.1-2008.
87713         * rt/tst-aio.c: Include <fcntl.h>.
87714         * rt/tst-aio7.c: Likewise.
87715         * rt/tst-aio64.c: Likewise.
87717         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87719 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87721         * manual/install.texi (--with-headers): Describe headers as
87722         interface headers, not private headers.
87723         (Specific advice for GNU/Linux systems): Describe use of headers
87724         from "make headers_install", not private headers from older
87725         kernels.
87726         * INSTALL: Regenerated.
87727         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87728         Change to 2.6.19.
87729         * sysdeps/unix/sysv/linux/configure: Regenerated.
87731         * manual/llio.texi (fclean): Remove documentation.
87733         * manual/Makefile (libc-texi-generated): New variable.  Include
87734         version.texi.
87735         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87736         $(libc-texi-generated), not duplicated list of files.
87737         (version.texi, stamp-version): New rules.
87738         (realclean): Remove $(libc-texi-generated), not individual files
87739         from that list.  Do not remove dir-add.texinfo.
87740         * manual/libc.texinfo: Comment out uses of edition numbers and
87741         references to printed manual.  Remove last-updated dates.
87742         (EDITION): Comment out.
87743         (ISBN): Likewise.
87744         (VERSION, UPDATED): Remove.
87745         (version.texi): Include.
87747 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
87749         * sysdeps/posix/spawni.c: Include <signal.h>.
87750         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87751         * sysdeps/pthread/aio_fsync.c: Likewise.
87753 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
87755         * conform/Makefile (tests): Run only when not cross-compiling and
87756         when fast-check is not defined.
87758         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87759         * conform/data/limits.h-data: Fixes for POSIX2008.
87760         * conform/run-conformtest.sh: Run all tests.
87761         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87762         headers.
87763         * include/bits/dlfcn.h: Likewise.
87764         * include/langinfo.h: Likewise.
87765         * include/monetary.h: Likewise.
87766         * include/sys/poll.h: Likewise.
87768         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87769         for __USE_GNU.
87770         * posix/spawn.h: Define __need_sigset_t.
87771         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87772         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87773         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
87774         to get sigevent_t only.
87775         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87776         only for __USE_GNU.
87777         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87778         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87779         process_vm_writev only for __USE_GNU.
87780         * termios/termios.h: Declare tcgetsid also for POSIX2008.
87782         * conform/Makefile: For now ignore errors from run-conformtest.
87783         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
87784         POSIX to avoid namespace pollution.  Don't prepend headers.
87785         * conform/data/aio.h-data: Fixes for POSIX testing.
87786         * conform/data/fcntl.h-data: Likewise.
87787         * conform/data/glob.h-data: Likewise.
87788         * conform/data/grp.h-data: Likewise.
87789         * conform/data/pthread.h-data: Likewise.
87790         * conform/data/pwd.h-data: Likewise.
87791         * conform/data/signal.h-data: Likewise.
87792         * conform/data/spawn.h-data: Likewise.
87793         * conform/data/stdio.h-data: Likewise.
87794         * conform/data/stdlib.h-data: Likewise.
87795         * conform/data/stropts.h-data: Likewise.
87796         * conform/data/sys/mman.h-data: Likewise.
87797         * conform/data/sys/stat.h-data: Likewise.
87798         * conform/data/sys/types.h-data: Likewise.
87799         * conform/data/sys/wait.h-data: Likewise.
87800         * conform/data/time.h-data: Likewise.
87801         * conform/data/unistd.h-data: Likewise.
87802         * conform/data/utime.h-data: Likewise.
87804         * io/sys/stat.h: fchmod was always in POSIX.
87805         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87806         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87807         * rt/aio.h: Define __need_timespec before including <time.h>.
87808         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87809         struct.  Add forward declaration of pthread_attr_t and use it in
87810         sigevent.
87811         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87812         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87813         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87814         always remove CLK_TCK definition.
87816 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
87818         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87820 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
87822         * conform/run-conformtest.sh: New file.
87823         * conform/Makefile: Run run-conformtest for tests.
87824         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
87825         support.
87827         * conform/data/uchar.h-data: New file.
87828         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87829         * conform/data/arpa/inet.h-data: Likewise.
87830         * conform/data/assert.h-data: Likewise.
87831         * conform/data/complex.h-data: Likewise.
87832         * conform/data/cpio.h-data: Likewise.
87833         * conform/data/ctype.h-data: Likewise.
87834         * conform/data/dirent.h-data: Likewise.
87835         * conform/data/dlfcn.h-data: Likewise.
87836         * conform/data/errno.h-data: Likewise.
87837         * conform/data/fcntl.h-data: Likewise.
87838         * conform/data/float.h-data: Likewise.
87839         * conform/data/fmtmsg.h-data: Likewise.
87840         * conform/data/fnmatch.h-data: Likewise.
87841         * conform/data/ftw.h-data: Likewise.
87842         * conform/data/glob.h-data: Likewise.
87843         * conform/data/grp.h-data: Likewise.
87844         * conform/data/iconv.h-data: Likewise.
87845         * conform/data/inttypes.h-data: Likewise.
87846         * conform/data/langinfo.h-data: Likewise.
87847         * conform/data/libgen.h-data: Likewise.
87848         * conform/data/limits.h-data: Likewise.
87849         * conform/data/locale.h-data: Likewise.
87850         * conform/data/math.h-data: Likewise.
87851         * conform/data/monetary.h-data: Likewise.
87852         * conform/data/mqueue.h-data: Likewise.
87853         * conform/data/ndbm.h-data: Likewise.
87854         * conform/data/net/if.h-data: Likewise.
87855         * conform/data/netdb.h-data: Likewise.
87856         * conform/data/netinet/in.h-data: Likewise.
87857         * conform/data/nl_types.h-data: Likewise.
87858         * conform/data/poll.h-data: Likewise.
87859         * conform/data/pthread.h-data: Likewise.
87860         * conform/data/pwd.h-data: Likewise.
87861         * conform/data/regex.h-data: Likewise.
87862         * conform/data/sched.h-data: Likewise.
87863         * conform/data/search.h-data: Likewise.
87864         * conform/data/semaphore.h-data: Likewise.
87865         * conform/data/setjmp.h-data: Likewise.
87866         * conform/data/signal.h-data: Likewise.
87867         * conform/data/spawn.h-data: Likewise.
87868         * conform/data/stdarg.h-data: Likewise.
87869         * conform/data/stdio.h-data: Likewise.
87870         * conform/data/stdlib.h-data: Likewise.
87871         * conform/data/string.h-data: Likewise.
87872         * conform/data/strings.h-data: Likewise.
87873         * conform/data/stropts.h-data: Likewise.
87874         * conform/data/sys/ipc.h-data: Likewise.
87875         * conform/data/sys/mman.h-data: Likewise.
87876         * conform/data/sys/msg.h-data: Likewise.
87877         * conform/data/sys/resource.h-data: Likewise.
87878         * conform/data/sys/select.h-data: Likewise.
87879         * conform/data/sys/sem.h-data: Likewise.
87880         * conform/data/sys/shm.h-data: Likewise.
87881         * conform/data/sys/socket.h-data: Likewise.
87882         * conform/data/sys/stat.h-data: Likewise.
87883         * conform/data/sys/statvfs.h-data: Likewise.
87884         * conform/data/sys/time.h-data: Likewise.
87885         * conform/data/sys/timeb.h-data: Likewise.
87886         * conform/data/sys/times.h-data: Likewise.
87887         * conform/data/sys/types.h-data: Likewise.
87888         * conform/data/sys/uio.h-data: Likewise.
87889         * conform/data/sys/un.h-data: Likewise.
87890         * conform/data/sys/utsname.h-data: Likewise.
87891         * conform/data/sys/wait.h-data: Likewise.
87892         * conform/data/syslog.h-data: Likewise.
87893         * conform/data/tar.h-data: Likewise.
87894         * conform/data/termios.h-data: Likewise.
87895         * conform/data/utime.h-data: Likewise.
87896         * conform/data/utmpx.h-data: Likewise.
87897         * conform/data/varargs.h-data: Likewise.
87898         * conform/data/wchar.h-data: Likewise.
87899         * conform/data/wctype.h-data: Likewise.
87900         * conform/data/wordexp.h-data: Likewise.
87902         * include/stropts.h: New file.
87903         * include/uchar.h: New file.
87904         * include/aio.h: Changes to allow conformtest.pl to use the headers.
87905         * include/assert.h: Likewise.
87906         * include/ctype.h: Likewise.
87907         * include/dirent.h: Likewise.
87908         * include/dlfcn.h: Likewise.
87909         * include/fcntl.h: Likewise.
87910         * include/fnmatch.h: Likewise.
87911         * include/glob.h: Likewise.
87912         * include/grp.h: Likewise.
87913         * include/libio.h: Likewise.
87914         * include/locale.h: Likewise.
87915         * include/math.h: Likewise.
87916         * include/net/if.h: Likewise.
87917         * include/netdb.h: Likewise.
87918         * include/netinet/in.h: Likewise.
87919         * include/pthread.h: Likewise.
87920         * include/pwd.h: Likewise.
87921         * include/regex.h: Likewise.
87922         * include/sched.h: Likewise.
87923         * include/search.h: Likewise.
87924         * include/setjmp.h: Likewise.
87925         * include/signal.h: Likewise.
87926         * include/stdio.h: Likewise.
87927         * include/stdlib.h: Likewise.
87928         * include/string.h: Likewise.
87929         * include/sys/cdefs.h: Likewise.
87930         * include/sys/mman.h: Likewise.
87931         * include/sys/msg.h: Likewise.
87932         * include/sys/resource.h: Likewise.
87933         * include/sys/select.h: Likewise.
87934         * include/sys/socket.h: Likewise.
87935         * include/sys/stat.h: Likewise.
87936         * include/sys/statvfs.h: Likewise.
87937         * include/sys/time.h: Likewise.
87938         * include/sys/times.h: Likewise.
87939         * include/sys/uio.h: Likewise.
87940         * include/sys/utsname.h: Likewise.
87941         * include/sys/wait.h: Likewise.
87942         * include/termios.h: Likewise.
87943         * include/time.h: Likewise.
87944         * include/ulimit.h: Likewise.
87945         * include/unistd.h: Likewise.
87946         * include/utime.h: Likewise.
87947         * include/wchar.h: Likewise.
87948         * include/wctype.h: Likewise.
87949         * include/wordexp.h: Likewise.
87951         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87953         * time/time.h: TIME_UTC must be a macro.
87954         Make timespec_get available for ISO C11 only as well.
87956 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
87958         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87959         Reported by Peng Haitao <penght@cn.fujitsu.com>.
87961 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87963         * configure.in: Use -o not -a in test for unsupported multi-arch.
87965 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87967         * manual/texinfo.tex: Update to version 2012-01-19.16.
87969 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87971         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87973 2012-02-24  Roland McGrath  <roland@hack.frob.com>
87975         [BZ #13738]
87976         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87977         * manual/fdl-1.3.texi: New file.
87978         * manual/fdl-1.1.texi: File removed.
87980         [BZ #13738]
87981         * manual/libc.texinfo (FDL_VERSION): New @set.
87982         Use it for mention of FDL in cover text.
87983         (Documentation License): Use it in @include file name.
87985 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87986             Roland McGrath  <roland@hack.frob.com>
87988         [BZ #5461]
87989         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87990         (not LONG_LONG_MAX and LONG_LONG_MIN.
87991         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87992         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
87993         name.
87994         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87996 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87998         [BZ #2547]
87999         [BZ #11365]
88000         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88001         manipulate bits before adding and subtracting TWO23[sx].
88002         * math/libm-test.inc (nearbyint_test): Add more tests.
88004 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88006         [BZ #2548]
88007         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88008         bits before adding and subtracting TWO23[sx].
88009         * math/libm-test.inc (rint_test): Add more tests.
88010         (rint_test_tonearest): Likewise.
88011         (rint_test_towardzero): Likewise.
88012         (rint_test_downward): Likewise.
88013         (rint_test_upward: Likewise.
88015 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88017         [BZ #10110]
88018         * include/stdc-predef.h: New file.  Extracted from features.h.
88019         * include/features.h: Include stdc-predef.h.
88020         * Makefile (headers): Add stdc-predef.h.
88021         * CONFORMANCE (Compiler limitations): Update.
88023 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88025         * manual/libc.texinfo (VERSION, UPDATED): Revert.
88027 2012-02-21  David S. Miller  <davem@davemloft.net>
88029         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88030         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88032 2012-02-20  David S. Miller  <davem@davemloft.net>
88034         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88035         using a normal save/restore sequence, rather than allocating a
88036         dummy stack frame just to store a frame pointer and restore.
88037         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88039 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88041         * manual/install.texi: Fix stray word in line-wrapped comment.
88043 2012-02-20  David S. Miller  <davem@davemloft.net>
88045         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88046         both binutils and gcc support GOTDATA.
88048         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88049         "rd %pc" in the PIC register setup sequences.
88051         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88052         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88053         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88054         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88055         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88056         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88057         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88058         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88059         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88060         (SYSCALL_ERROR_HANDLER): Likewise.
88061         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88062         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88063         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88064         (SYSCALL_ERROR_HANDLER): Likewise.
88066         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88067         (HAVE_GCC_GOTDATA): New.
88068         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88069         relocation support in both binutils and gcc.
88070         * sysdeps/sparc/elf/configure: Regenerate.
88072         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88073         * sysdeps/sparc/sparc32/elf/configure: Delete.
88074         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88075         * sysdeps/sparc/sparc64/elf/configure: Delete.
88076         * sysdeps/sparc/elf/configure.in: New file.
88077         * sysdeps/sparc/elf/configure: Generate.
88079         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88080         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88081         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88082         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88083         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88085 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88087         * manual/install.texi: Do not mention specific glibc version
88088         numbers.
88089         * manual/libc.texinfo (VERSION, UPDATED): Update.
88090         (@copying): Use @copyright{} and range of years.
88092 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88094         [BZ #13695]
88095         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88096         [crti.S not in sysdirs] (generated): Do not append.
88097         [crti.S not in sysdirs] (omit-deps): Likewise.
88098         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88099         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88100         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88101         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88102         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88103         Likewise.
88104         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88105         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88106         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88107         * csu/defs.awk: Remove file.
88108         * sysdeps/generic/initfini.c: Likewise.
88109         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88110         variable.
88111         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88112         Likewise.
88114 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88116         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88117         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88118         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88119         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88120         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88121         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88122         <bits/epoll.h>.
88123         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88124         (__EPOLL_PACKED): Define to empty if not defined by
88125         <bits/epoll.h>.
88126         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88128         bits/epoll.h.
88130 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88132         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88133         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88134         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88135         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88136         <bits/timerfd.h>.
88137         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88139         bits/timerfd.h.
88141 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88143         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88144         in C locale.
88145         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88146         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88147         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88150 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
88152         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88153         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88155 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
88157         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88158         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88159         defined.
88160         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88161         Likewise.
88162         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88163         entry for 2.16.
88165 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
88167         * math/w_acos.c: Use non-signaling floating-point comparisons.
88168         * math/w_acosf.c: Likewise.
88169         * math/w_acosh.c: Likewise.
88170         * math/w_acoshf.c: Likewise.
88171         * math/w_acoshl.c: Likewise.
88172         * math/w_acosl.c: Likewise.
88173         * math/w_asin.c: Likewise.
88174         * math/w_asinf.c: Likewise.
88175         * math/w_asinl.c: Likewise.
88176         * math/w_atanh.c: Likewise.
88177         * math/w_atanhf.c: Likewise.
88178         * math/w_atanhl.c: Likewise.
88179         * math/w_exp2.c: Likewise.
88180         * math/w_exp2f.c: Likewise.
88181         * math/w_exp2l.c: Likewise.
88182         * math/w_j0.c: Likewise.
88183         * math/w_j0f.c: Likewise.
88184         * math/w_j0l.c: Likewise.
88185         * math/w_j1.c: Likewise.
88186         * math/w_j1f.c: Likewise.
88187         * math/w_j1l.c: Likewise.
88188         * math/w_jn.c: Likewise.
88189         * math/w_jnf.c: Likewise.
88190         * math/w_log.c: Likewise.
88191         * math/w_log10.c: Likewise.
88192         * math/w_log10f.c: Likewise.
88193         * math/w_log10l.c: Likewise.
88194         * math/w_log2.c: Likewise.
88195         * math/w_log2f.c: Likewise.
88196         * math/w_log2l.c: Likewise.
88197         * math/w_logf.c: Likewise.
88198         * math/w_logl.c: Likewise.
88199         * math/w_sqrt.c: Likewise.
88200         * math/w_sqrtf.c: Likewise.
88201         * math/w_sqrtl.c: Likewise.
88202         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88203         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88204         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88205         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88206         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88208 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88210         [BZ #9739]
88211         * manual/string.texi (strnlen): Use correct parameter name in
88212         equivalent expression.
88214 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88216         [BZ #11174]
88217         * manual/users.texi (seteuid): Consistently use neweuid for
88218         argument name.
88220 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88222         [BZ #13704]
88223         * manual/nss.texi (Services in the NSS configuration): Correct
88224         list of services in example configuration file.
88226 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
88228         [BZ #11322]
88229         * manual/arith.texi: Remove statements about negative zero
88230         behaving identically to zero.
88232 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88234         [BZ #5993]
88235         * manual/install.texi: Do not document upgrading from libc5.
88237 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88239         [BZ #4596]
88240         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88242 2012-02-18  David S. Miller  <davem@davemloft.net>
88244         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88245         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88246         %o7 across the call.
88247         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88248         instead.
88249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88250         SETUP_PIC_REG_LEAF.
88251         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88252         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88253         * sysdeps/sparc/crtn.S: Likewise.
88255 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
88257         * aout/Makefile: Remove.
88259 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
88261         [BZ #13058]
88262         * manual/examples/argp-ex1.c (main): Format definition in GNU
88263         style.
88264         * manual/examples/argp-ex2.c (main): Likewise.
88265         * manual/examples/argp-ex3.c (main): Likewise.
88266         * manual/examples/argp-ex4.c (main): Likewise.
88267         * manual/examples/longopt.c (main): Use new-style prototype
88268         definition.
88269         * manual/examples/strncat.c (main): Specify return type and use
88270         (void) for arguments.
88271         * manual/examples/subopt.c (main): Use char **argv argument.
88273 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88275         [BZ #5077]
88276         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88277         rounding modes.
88279 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
88281         [BZ #6907]
88282         * manual/string.texi (strchr): Change when strchrnul is
88283         recommended.
88285 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
88287         [BZ #174]
88288         * manual/locale.texi (setlocale): Document LOCPATH.
88290 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88292         [BZ #10210]
88293         * manual/process.texi (execle): Move @dots{} before last argument.
88295 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
88297         [BZ #12047]
88298         * manual/charset.texi (Generic Charset Conversion): Fix typo
88299         (LC_TYPE -> LC_CTYPE).
88301 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
88303         [BZ #5805]
88304         * manual/arith.texi (scalbn): Use @var{} on parameter names.
88305         (scalbnf): Likewise.
88306         (scalbnl): Likewise.
88307         (scalbln): Likewise.
88308         (scalblnf): Likewise.
88309         (scalblnl): Likewise.
88310         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88311         (vwarnx): Likewise.
88312         (verr): Likewise.
88313         (verrx): Likewise.
88314         * manual/filesys.texi (telldir): Use braces around return type.
88315         * manual/llio.texi (mmap): Add space after comma.
88316         (mmap64): Likewise.
88317         * manual/math.texi (jn): Use @var{} on parameter names.
88318         (jnf): Likewise.
88319         (jnl): Likewise.
88320         (yn): Likewise.
88321         (ynf): Likewise.
88322         (ynl): Likewise.
88323         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88324         line.
88325         * manual/resource.texi (ulimit): Use @dots{} instead of literal
88326         "...".
88327         (sched_get_priority_min): Remove semicolon on @deftypefun line.
88328         (sched_get_priority_max): Likewise.
88329         * manual/signal.texi (sigvec): Add space after comma.
88330         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88331         names.
88332         (if_indextoname): Likewise.
88333         (if_freenameindex): Likewise.
88334         (sendto): Use ',' instead of '.' in prototype.
88335         * manual/startup.texi (syscall): Use @dots{} instead of literal
88336         "...".
88337         * manual/stdio.texi (__fpending): Separate initial words of
88338         paragraph from @deftypefun line.
88339         * manual/syslog.texi (syslog): Use @dots{} instead of literal
88340         "...".
88341         (vsyslog): Use @var{} on parameter names.
88342         * manual/terminal.texi (stty): Use @var{} on parameter names.
88343         * manual/users.texi (getutmp): Use @var{} on parameter names.
88344         (getutmpx): Likewise.
88346 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88348         [BZ #6884]
88349         * manual/stdio.texi (fopen): Fix typos in description of
88350         ",ccs=STRING".
88352 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
88354         [BZ #4026]
88355         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88356         get clock_id definition.
88358 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
88360         [BZ #4822]
88361         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88362         (madvise): Cast every argument to void on its own.
88364 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88366         [BZ #9902]
88367         * manual/startup.texi (Exit Status): Fix typo.
88369 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88371         [BZ #10140]
88372         * manual/examples/argp-ex1.c: Include <stdlib.h>.
88373         * manual/examples/argp-ex2.c: Likewise.
88374         * manual/examples/argp-ex3.c: Likewise.
88376 2012-02-16  Richard Henderson  <rth@redhat.com>
88378         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88379         * sysdeps/s390/s390-32/initfini.c: Remove.
88380         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88381         * sysdeps/s390/s390-64/initfini.c: Remove.
88383 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
88385         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88386         compiler output for sysdeps/generic/initfini.c.
88387         * sysdeps/sh/elf/initfini.c: Remove file.
88389 2012-02-16  David S. Miller  <davem@davemloft.net>
88391         [BZ #11494]
88392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88394         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88395         * sysdeps/sparc/crti.S: New file.
88396         * sysdeps/sparc/crtn.S: New file.
88397         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88398         * sysdeps/sparc/sparc64/Makefile: Likewise.
88400 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
88402         [BZ #3335]
88403         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88405 2012-02-15  Roland McGrath  <roland@hack.frob.com>
88407         [BZ #4822]
88408         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88410         * mach/devstream.c (cookie_io_functions_t): Macro removed.
88411         (write, read, close): Likewise.
88412         Patch by Aurelien Jarno <aurelien@aurel32.net>.
88414 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
88416         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88417         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88418         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88419         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88420         <bits/signalfd.h>.
88421         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88423         bits/signalfd.h.
88425 2012-02-14  Marek Polacek  <polacek@redhat.com>
88427         * sysdeps/x86_64/crti.S: New file.
88428         * sysdeps/x86_64/crtn.S: New file.
88429         * sysdeps/x86_64/elf/initfini.c: Remove file.
88431 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88433         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88434         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88435         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88436         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88437         <bits/inotify.h>.
88438         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88440         bits/inotify.h.
88442 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88444         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88445         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88446         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88447         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88448         <bits/eventfd.h>.
88449         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88451         bits/eventfd.h.
88453 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
88455         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88456         __feraiseexcept instead of feraiseexcept.
88458         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88459         nanosleep invocations.
88460         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88461         strings, and add error checking for a nanosleep invocations.
88463 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
88465         Replace FSF snail mail address with URLs, as per GNU coding standards.
88466         Most of the snail mail addresses were wrong anyway, and omitting
88467         them makes the source code easier to maintain.  Almost all of the
88468         changes are to license notices and to locale LC_IDENTIFICATION
88469         addresses, except for this one:
88470         * manual/libc.texinfo: In "Published by", give the FSF's URL,
88471         not its snail mail address.
88473 2012-02-09  Richard Henderson  <rth@twiddle.net>
88475         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88476         of kernel-features.h.
88478         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88480 2012-02-08  Marek Polacek  <polacek@redhat.com>
88482         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88483         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88484         * sysdeps/gnu/_G_config.h: Likewise.
88485         * sysdeps/generic/_G_config.h: Likewise.
88487 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
88489         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88490         tests.
88491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88493         * sysdeps/powerpc/powerpc32/crti.S: New file.
88494         * sysdeps/powerpc/powerpc32/crtn.S: New file.
88495         * sysdeps/powerpc/powerpc64/crti.S: New file.
88496         * sysdeps/powerpc/powerpc64/crtn.S: New file.
88498         * Makeconfig (have-initfini): Don't set.
88499         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88500         * configure.in (nopic_initfini): Don't substitute.
88501         * config.h.in (HAVE_INITFINI): Don't #undef.
88502         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88503         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88505 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
88507         Support crti.S and crtn.S provided directly by architectures.
88508         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88509         [crti.S in sysdirs] (omit-deps): Likewise.
88510         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88511         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88512         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88513         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88514         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88515         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88516         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88517         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88518         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88519         compiler output for sysdeps/generic/initfini.c.
88520         * sysdeps/i386/elf/Makefile: Remove file.
88521         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88523 2012-02-07  Marek Polacek  <polacek@redhat.com>
88525         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88526         * sysdeps/gnu/_G_config.h: Likewise.
88527         * sysdeps/mach/hurd/_G_config.h: Likewise.
88529 2012-02-07  Marek Polacek  <polacek@redhat.com>
88531         * math/Makefile (tests): Add tst-CMPLX2.
88532         * math/tst-CMPLX2.c: New file.
88534 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
88536         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88538         * math/libm-test.inc (jn_test): Add missing L suffix.
88540 2012-02-06  Marek Polacek  <polacek@redhat.com>
88542         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88543         * sysdeps/i386/fpu/e_powf.S: Likewise.
88544         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88545         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88546         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88547         * sysdeps/i386/fpu/e_pow.S: Likewise.
88548         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88549         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88550         * sysdeps/i386/fpu/s_expm1.S: Likewise.
88551         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88552         * sysdeps/i386/fpu/e_log2.S: Likewise.
88553         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88554         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88555         * sysdeps/i386/fpu/e_powl.S: Likewise.
88556         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88557         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88558         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88559         * sysdeps/i386/fpu/e_logl.S: Likewise.
88560         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88561         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88562         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88563         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88564         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88565         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88566         * sysdeps/i386/fpu/e_log.S: Likewise.
88567         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88568         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88569         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88570         * sysdeps/i386/fpu/e_logf.S: Likewise.
88571         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88572         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88573         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88574         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88575         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88576         * sysdeps/i386/fpu/e_log10.S: Likewise.
88577         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88578         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88579         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88580         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88581         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88582         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88583         * sysdeps/i386/asm-syntax.h: Likewise.
88584         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88585         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88586         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88587         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88588         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88589         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88590         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88591         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88592         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88593         * sysdeps/powerpc/sysdep.h: Likewise.
88594         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88595         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88597 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88599         [BZ #411]
88600         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88602 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88604         * sysdeps/i386/sysdep.h: Include <features.h>.
88605         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88606         version.
88608 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88610         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88611         Define.
88612         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88613         LOAD_PIC_REG_STR.
88615 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88617         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88618         (SETUP_PIC_REG): Use GET_PC_THUNK.
88619         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88620         macro.
88622 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88624         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88625         for non-PIC compilation.
88626         (SETUP_PIC_REG): Add .p2align directive.
88627         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88628         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88629         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88630         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88631         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88632         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88633         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88634         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88635         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88636         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88637         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88638         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88639         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88640         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88641         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88642         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88643         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88644         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88645         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88646         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88647         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88648         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88649         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88650         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88651         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88652         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88653         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88654         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88655         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88656         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88657         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88658         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88659         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88660         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88661         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88662         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88663         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88664         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88665         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88666         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88667         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88669 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88671         * math/tst-CMPLX.c: Include <stdio.h>.
88673 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
88675         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88676         float.
88677         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88678         * sysdeps/sparc/bits/mathdef.h: Likewise.
88680 2012-01-31  Marek Polacek  <polacek@redhat.com>
88682         * libio/libio.h: Don't define _PARAMS.
88683         * locale/programs/config.h: Don't define PARAMS.
88684         * stdlib/strtol_l.c: Likewise.
88685         (__strtol_l): Remove PARAMS from the prototype.
88687 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
88689         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
88690         names.  Just use the correct names.  Remove unnecessary wrapper
88691         functions.
88692         * malloc/arena.c: Likewise.
88693         * malloc/hooks.c: Likewise.
88695         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88696         ARENA_TEST says not to.  Simplify test for creation of a new arena.
88697         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88699 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
88701         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88702         into tail calls.
88703         (update_get_addr): New function.
88704         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88705         GET_ADDR_MODULE parameter.
88707 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88709         * crypt/cert.c: Remove __STDC__ conditionals.
88710         * crypt/crypt-entry.c: Likewise.
88711         * crypt/crypt_util.c: Likewise.
88712         * libio/filedoalloc.c: Likewise.
88713         * libio/fileops.c: Likewise.
88714         * libio/genops.c: Likewise.
88715         * libio/iofclose.c: Likewise.
88716         * libio/iofdopen.c: Likewise.
88717         * libio/iofopen.c: Likewise.
88718         * libio/iofopen64.c: Likewise.
88719         * libio/iogetdelim.c: Likewise.
88720         * libio/iopopen.c: Likewise.
88721         * libio/obprintf.c: Likewise.
88722         * libio/oldfileops.c: Likewise.
88723         * libio/oldiofclose.c: Likewise.
88724         * libio/oldiofdopen.c: Likewise.
88725         * libio/oldiofopen.c: Likewise.
88726         * libio/oldiopopen.c: Likewise.
88727         * libio/wfiledoalloc.c: Likewise.
88728         * libio/wgenops.c: Likewise.
88729         * locale/programs/xmalloc.c: Likewise.
88730         * misc/syslog.c: Likewise.
88731         * stdio-common/xbug.c: Likewise.
88732         * string/memchr.c: Likewise.
88733         * string/memcmp.c: Likewise.
88734         * string/memrchr.c: Likewise.
88735         * string/rawmemchr.c: Likewise.
88736         * sysdeps/posix/getcwd.c: Likewise.
88737         * time/strftime_l.c: Likewise.
88739 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88741         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88742         * config.make.in (config-cflags-sse2avx): Define.
88743         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88744         Fix typo.
88746 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
88748         * scripts/config.guess: Update from upstream config git repository.
88749         * scripts/config.sub: Likewise.
88751 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
88753         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88754         (EM_NUM): Update.
88755         (R_TILEPRO_*, R_TILEGX_*): New macros.
88757         * scripts/firstversions.awk: Fix bug in version range handling.
88759         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88761         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88763         * include/sys/epoll.h: New file.
88764         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88765         libc_hidden_def.
88767 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
88769         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88770         Avoid unnecessary __WORDSIZE == 64 test.
88771         (fmaxf): Use VEX format if possible.
88772         (fmax): Likewise.
88773         (fminf): Likewise.
88774         (fmin): Likewise.
88776         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88777         * math/math_private.h: Remove libc_fegetround* and
88778         libc_fesetround*.
88779         * sysdeps/i386/configure.in: Check for -msse2avx.
88780         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88781         also if SSE2AVX is defined.
88782         Remove libc_fegetround* and libc_fesetround*.
88783         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88784         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
88785         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88786         of HAS_YMM_USABLE.
88787         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88788         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88789         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88790         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88791         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88793         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88795 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88797         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88798         size is not set.
88799         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88801 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
88803         [BZ #13618]
88804         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88805         relocation.
88806         * Makeconfig (libm): Define.
88807         * elf/Makefile: Add rules to build and run tst-relsort1.
88808         * elf/tst-relsort1.c: New file.
88809         * elf/tst-relsort1mod1.c: New file.
88810         * elf/tst-relsort1mod2.c: New file.
88812 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
88814         * math/s_ldexp.c: Remove __STDC__ conditionals.
88815         * math/s_ldexpf.c: Likewise.
88816         * math/s_ldexpl.c: Likewise.
88817         * math/s_nextafter.c: Likewise.
88818         * math/s_nexttowardf.c: Likewise.
88819         * math/s_significand.c: Likewise.
88820         * math/s_significandf.c: Likewise.
88821         * math/s_significandl.c: Likewise.
88822         * math/w_jnl.c: Likewise.
88823         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88824         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88825         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88826         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88827         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88828         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88829         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88830         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88831         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88832         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88833         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88834         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88835         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88836         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88837         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88838         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88839         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88840         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88841         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88842         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88843         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88844         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88845         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88846         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88847         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88848         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88849         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88850         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88851         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88852         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88853         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88854         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88855         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88856         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88857         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88858         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88859         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88860         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88861         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88862         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88863         * sysdeps/ieee754/k_standard.c: Likewise.
88864         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88865         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88866         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88867         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88868         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88869         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88870         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88871         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88872         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88873         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88874         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88875         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88876         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88877         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88878         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88879         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88880         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88881         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88882         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88883         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88884         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88885         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88886         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88887         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88888         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88889         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88890         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88892         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88893         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88894         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88895         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88896         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88897         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88898         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88899         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88900         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88901         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88902         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88903         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88904         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88905         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88906         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88907         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88908         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88909         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88910         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88911         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88912         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88913         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88914         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88915         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88916         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88917         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88918         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88919         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88920         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88921         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88922         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88923         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88924         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88925         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88926         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88927         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88928         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88929         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88930         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88931         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88932         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88933         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88934         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88935         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88936         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88937         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88938         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88939         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88940         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88941         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88942         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88943         * sysdeps/ieee754/s_matherr.c: Likewise.
88944         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88945         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88946         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88947         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88949 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
88951         * crypt/md5.h: Remove __STDC__ conditionals.
88952         * libio/libioP.h: Likewise.
88953         * locale/programs/config.h: Likewise.
88954         * sysdeps/generic/sysdep.h: Likewise.
88955         * sysdeps/i386/asm-syntax.h: Likewise.
88956         * sysdeps/s390/asm-syntax.h: Likewise.
88957         * sysdeps/unix/sysdep.h: Likewise.
88958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88961 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
88963         * libio/libio.h: Remove __STDC__ conditionals.
88964         * malloc/obstack.h: Likewise.
88965         * math/complex.h: Likewise.
88966         * math/math.h: Likewise.
88967         * sysdeps/generic/_G_config.h: Likewise.
88968         * sysdeps/gnu/_G_config.h: Likewise.
88969         * sysdeps/mach/hurd/_G_config.h: Likewise.
88970         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88971         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88972         * sysdeps/sparc/bits/mathdef.h: Likewise.
88974 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
88976         [BZ #13583]
88977         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88978         Clean up HAS_* macros.
88979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88980         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88981         possible.
88982         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88983         HAS_AVX.
88984         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88985         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88986         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88987         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88988         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88990 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
88992         * elf/tst-unique3.cc (gets): Remove declaration.
88993         * elf/tst-unique3lib.cc (gets): Likewise.
88994         * elf/tst-unique3lib2.cc (gets): Likewise.
88995         * elf/tst-unique4.cc (gets): Likewise.
88997 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
88999         * include/stdio.h: Add C++ protection.  Add gets declarations and
89000         definitions.
89001         * debug/tst-chk1.c: Don't declare gets here.
89002         * stdio-common/tst-gets.c: Likewise.
89004 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89006         * posix/glob: Remove directory.
89008 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89010         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89012 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
89014         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89015         of the non-standard EPFNOSUPPORT.
89017 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89019         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89020         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89021         ANYWHERE set to 1 only on KERN_NO_SPACE error.
89023 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
89025         * wcsmbs/uchar.h: Test __STDC_VERSION__.
89027 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
89029         * nscd/aicache.c (addhstaiX): Do not cache negative results of
89030         transient errors.
89031         * nscd/grpcache.c (cache_addgr): Likewise.
89032         * nscd/hstcache.c (cache_addhst): Likewise.
89033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89034         * nscd/pwdcache.c (cache_addpw): Likewise.
89035         * nscd/servicescache.c (cache_addserv): Likewise.
89037 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
89039         * malloc/malloc.c: Various cleanups.
89040         * malloc/hooks.c: Likewise.
89042         * stdlib/Makefile (tests): Add bug-fmtmsg1.
89043         * stdlib/bug-fmtmsg1.c: New file.
89045         * stdlib/fmtmsg.c (init): Add missing unlock.
89046         Patch by Peng Haitao <penght@cn.fujitsu.com>.
89048 2012-01-12  Marek Polacek  <polacek@redhat.com>
89050         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89051         and _GNU_SOURCE.
89053 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89055         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89056         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89057         macro to ensure uniqueness of label name.
89058         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89059         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89061 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
89063         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89065         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89066         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89067         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89068         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89070 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
89072         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89074         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89075         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89076         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89078         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89080         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89081         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89082         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89083         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89085         * math/bits/math-finite.h: Add ldexp support.
89087 2012-01-10  Marek Polacek  <polacek@redhat.com>
89089         * locale/programs/localedef.h (show_archive_content): Add noreturn
89090         attribute.
89092 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
89094         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89096 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89098         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89100         * io/Makefile (headers): Add bits/poll2.h.
89102 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
89104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89105         typo #include statement.
89107 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89109         * include/sys/cdefs.h: Define __attribute_alloc_size.
89110         * catgets/gencat.c: Add alloc_size attribute and apply consistently
89111         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89112         * elf/pldd.c: Likewise.
89113         * iconv/iconv_charmap.c: Likewise.
89114         * iconv/iconvconfig.c: Likewise.
89115         * iconv/strtab.c: Likewise.
89116         * locale/programs/locale.c: Likewise.
89117         * locale/programs/localedef.h: Likewise.
89118         * locale/programs/simple-hash.c: Likewise.
89119         * nscd/nscd.h: Likewise.
89120         * nss/makedb.c: Likewise.
89121         * sysdeps/generic/ldconfig.h: Likewise.
89122         * locale/programs/localedef.c: Remove xmalloc prototype.
89123         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89125 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89127         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89128         appropriate.
89130 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89132         * math/Makefile (tests): Add tst-CMPLX.
89133         * math/tst-CMPLX.c: New file.
89135         * math/complex.h (CMPLXL): Fix typo.
89137         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89138         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89139         GLIBC_2.16.
89140         * debug/tst-chk1.c: Add poll and ppoll tests.
89141         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89142         * include/sys/poll.h: Add hidden proto for ppoll.
89143         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89144         * sysdeps/mach/hurd/ppoll.c: Likewise.
89145         * io/ppoll.c: Likewise.
89146         * debug/poll_chk.c: New file.
89147         * debug/ppoll_chk.c: New file.
89148         * include/bits/poll2.h: New file.
89149         * io/bits/poll2.h: New file.
89151         [BZ #1350]
89152         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89154         * configure.in: static is always set to yes.  Remove.
89155         * config.make.in: Don't set build-static.
89156         * Makeconfig: Remove use of build-static.
89157         * dlfcn/Makefile: Likewise.
89158         * elf/Makefile: Likewise.
89159         * math/Makefile: Likewise.
89160         * misc/Makefile: Likewise.
89161         * nptl/Makefile: Likewise.
89162         * sysdeps/mach/hurd/Makefile: Likewise.
89164         * configure.in: PWD_P is not used anymore.
89165         * config.make.in: Remove PWD_P entry.
89167         * configure.in: Remove last remnants of RANLIB.
89168         No need to check for signed size_t anymore.
89169         Don't set libc_commonpagesize and libc_relro_required here for Alpha
89170         and IA-64.
89171         Remove __builtin_expect test because we require at least gcc 3.4.
89172         * aclocal.m4: Likewise.
89174         * wcsmbs/mbrtoc16.c: Implement using towc function.
89175         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89176         * wcsmbs/wcsmbsload.c: Likewise.
89177         * iconv/gconv_simple.c: Likewise.
89178         * iconv/gconv_int.h: Likewise.
89179         * iconv/gconv_builtin.h: Likewise.
89180         * iconv/iconv_prog.c: Remove CHAR16 handling.
89182         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89184         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89186         * configure.in: Remove --with-elf and --enable-bounded options.
89187         Dont set base_machine for ia64.  More non-ELF conditions removed.
89188         Remove testing and setting of leading underscore information.
89189         * config.make.in (build-bounded): Set to no.
89190         * config.h.in: Remove NO_UNDERSCORES entry.
89191         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
89192         them.
89193         * csu/start.c: Remove !NO_UNDERSCORE code.
89194         * locale/localeinfo.h: Likewise.
89195         * sysdeps/generic/machine-gmon.h: Likewise.
89196         * sysdeps/generic/sysdep.h: Likewise.
89197         * sysdeps/i386/sysdep.h: Likewise.
89198         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89199         * sysdeps/mach/sysdep.h: Likewise.
89200         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89201         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89202         * sysdeps/sh/sysdep.h: Likewise.
89203         * sysdeps/sparc/sparc32/alloca.S: Likewise.
89204         * sysdeps/unix/i386/sysdep.S: Likewise.
89205         * sysdeps/unix/sparc/start.c: Likewise.
89206         * sysdeps/unix/sparc/sysdep.S: Likewise.
89207         * sysdeps/unix/sparc/sysdep.h: Likewise.
89208         * sysdeps/unix/start.c: Likewise.
89209         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89210         * sysdeps/x86_64/sysdep.h: Likewise.
89212 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
89214         [BZ #13553]
89215         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89216         for non-gcc.
89217         * argp/argp-fmtstream.h: Use const instead __const.
89218         * argp/argp.h: Likewise.
89219         * assert/assert.h: Likewise.
89220         * bits/fenv.h: Likewise.
89221         * bits/sched.h: Likewise.
89222         * bits/sigset.h: Likewise.
89223         * bits/sigthread.h: Likewise.
89224         * catgets/nl_types.h: Likewise.
89225         * conform/data/pthread.h-data: Likewise.
89226         * crypt/crypt-private.h: Likewise.
89227         * crypt/crypt.h: Likewise.
89228         * crypt/crypt_util.c: Likewise.
89229         * ctype/ctype.h: Likewise.
89230         * debug/execinfo.h: Likewise.
89231         * debug/mbsnrtowcs_chk.c: Likewise.
89232         * debug/mbsrtowcs_chk.c: Likewise.
89233         * debug/wcsnrtombs_chk.c: Likewise.
89234         * debug/wcsrtombs_chk.c: Likewise.
89235         * debug/wcstombs_chk.c: Likewise.
89236         * dirent/dirent.h: Likewise.
89237         * dlfcn/dlfcn.h: Likewise.
89238         * elf/neededtest4.c: Likewise.
89239         * grp/grp.h: Likewise.
89240         * gshadow/gshadow.h: Likewise.
89241         * iconv/gconv.h: Likewise.
89242         * iconv/gconv_int.h: Likewise.
89243         * iconv/gconv_simple.c: Likewise.
89244         * iconv/iconv.h: Likewise.
89245         * iconv/loop.c: Likewise.
89246         * iconv/skeleton.c: Likewise.
89247         * include/aio.h: Likewise.
89248         * include/aliases.h: Likewise.
89249         * include/argz.h: Likewise.
89250         * include/arpa/inet.h: Likewise.
89251         * include/assert.h: Likewise.
89252         * include/dirent.h: Likewise.
89253         * include/dlfcn.h: Likewise.
89254         * include/execinfo.h: Likewise.
89255         * include/fcntl.h: Likewise.
89256         * include/fenv.h: Likewise.
89257         * include/glob.h: Likewise.
89258         * include/grp.h: Likewise.
89259         * include/libintl.h: Likewise.
89260         * include/mntent.h: Likewise.
89261         * include/netdb.h: Likewise.
89262         * include/pwd.h: Likewise.
89263         * include/rpc/netdb.h: Likewise.
89264         * include/sched.h: Likewise.
89265         * include/search.h: Likewise.
89266         * include/shadow.h: Likewise.
89267         * include/signal.h: Likewise.
89268         * include/stdio.h: Likewise.
89269         * include/stdlib.h: Likewise.
89270         * include/string.h: Likewise.
89271         * include/sys/socket.h: Likewise.
89272         * include/sys/stat.h: Likewise.
89273         * include/sys/statfs.h: Likewise.
89274         * include/sys/statvfs.h: Likewise.
89275         * include/sys/syslog.h: Likewise.
89276         * include/sys/time.h: Likewise.
89277         * include/sys/uio.h: Likewise.
89278         * include/time.h: Likewise.
89279         * include/unistd.h: Likewise.
89280         * include/utmp.h: Likewise.
89281         * include/wchar.h: Likewise.
89282         * include/wctype.h: Likewise.
89283         * inet/aliases.h: Likewise.
89284         * inet/arpa/inet.h: Likewise.
89285         * inet/netinet/ether.h: Likewise.
89286         * inet/netinet/in.h: Likewise.
89287         * intl/libintl.h: Likewise.
89288         * io/bits/fcntl2.h: Likewise.
89289         * io/fcntl.h: Likewise.
89290         * io/ftw.h: Likewise.
89291         * io/sys/poll.h: Likewise.
89292         * io/sys/stat.h: Likewise.
89293         * io/sys/statfs.h: Likewise.
89294         * io/sys/statvfs.h: Likewise.
89295         * io/utime.h: Likewise.
89296         * libio/bits/stdio.h: Likewise.
89297         * libio/bits/stdio2.h: Likewise.
89298         * libio/libio.h: Likewise.
89299         * libio/libioP.h: Likewise.
89300         * libio/stdio.h: Likewise.
89301         * locale/lc-ctype.c: Likewise.
89302         * locale/locale.h: Likewise.
89303         * login/utmp.h: Likewise.
89304         * malloc/arena.c: Likewise.
89305         * malloc/malloc.c: Likewise.
89306         * malloc/malloc.h: Likewise.
89307         * malloc/mcheck.c: Likewise.
89308         * malloc/mtrace.c: Likewise.
89309         * math/bits/mathcalls.h: Likewise.
89310         * math/fenv.h: Likewise.
89311         * math/math_private.h: Likewise.
89312         * misc/bits/error.h: Likewise.
89313         * misc/bits/syslog.h: Likewise.
89314         * misc/err.h: Likewise.
89315         * misc/error.h: Likewise.
89316         * misc/fstab.h: Likewise.
89317         * misc/mntent.h: Likewise.
89318         * misc/regexp.h: Likewise.
89319         * misc/search.h: Likewise.
89320         * misc/sgtty.h: Likewise.
89321         * misc/sys/mman.h: Likewise.
89322         * misc/sys/syslog.h: Likewise.
89323         * misc/sys/uio.h: Likewise.
89324         * misc/sys/xattr.h: Likewise.
89325         * misc/ttyent.h: Likewise.
89326         * nis/rpcsvc/ypclnt.h: Likewise.
89327         * nss/nss.h: Likewise.
89328         * posix/bits/unistd.h: Likewise.
89329         * posix/fnmatch.h: Likewise.
89330         * posix/glob.h: Likewise.
89331         * posix/sched.h: Likewise.
89332         * posix/spawn.h: Likewise.
89333         * posix/sys/wait.h: Likewise.
89334         * posix/unistd.h: Likewise.
89335         * posix/wordexp.h: Likewise.
89336         * pwd/pwd.h: Likewise.
89337         * resolv/netdb.h: Likewise.
89338         * resource/sys/resource.h: Likewise.
89339         * rt/aio.h: Likewise.
89340         * rt/bits/mqueue2.h: Likewise.
89341         * rt/mqueue.h: Likewise.
89342         * shadow/shadow.h: Likewise.
89343         * signal/signal.h: Likewise.
89344         * socket/send.c: Likewise.
89345         * socket/sendto.c: Likewise.
89346         * socket/sys/socket.h: Likewise.
89347         * stdio-common/printf.h: Likewise.
89348         * stdlib/bits/stdlib.h: Likewise.
89349         * stdlib/fmtmsg.h: Likewise.
89350         * stdlib/monetary.h: Likewise.
89351         * stdlib/stdlib.h: Likewise.
89352         * stdlib/ucontext.h: Likewise.
89353         * streams/stropts.h: Likewise.
89354         * string/argz.h: Likewise.
89355         * string/bits/string2.h: Likewise.
89356         * string/string.h: Likewise.
89357         * string/strings.h: Likewise.
89358         * sunrpc/rpc/auth.h: Likewise.
89359         * sunrpc/rpc/auth_des.h: Likewise.
89360         * sunrpc/rpc/clnt.h: Likewise.
89361         * sunrpc/rpc/netdb.h: Likewise.
89362         * sunrpc/rpc/pmap_clnt.h: Likewise.
89363         * sunrpc/rpc/xdr.h: Likewise.
89364         * sysdeps/generic/inttypes.h: Likewise.
89365         * sysdeps/generic/net/if.h: Likewise.
89366         * sysdeps/generic/sys/swap.h: Likewise.
89367         * sysdeps/gnu/net/if.h: Likewise.
89368         * sysdeps/gnu/utmpx.h: Likewise.
89369         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89370         * sysdeps/i386/i486/bits/string.h: Likewise.
89371         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89372         * sysdeps/s390/bits/string.h: Likewise.
89373         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89374         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89375         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89376         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89377         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89378         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89379         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89380         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89381         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89382         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89383         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89384         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89385         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89386         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89387         * sysdeps/unix/sysv/linux/readv.c: Likewise.
89388         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89389         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89390         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89391         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89392         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89393         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89394         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89395         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89396         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89397         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89398         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89399         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89400         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89401         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89402         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89403         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89404         * sysvipc/sys/ipc.h: Likewise.
89405         * sysvipc/sys/msg.h: Likewise.
89406         * sysvipc/sys/sem.h: Likewise.
89407         * sysvipc/sys/shm.h: Likewise.
89408         * termios/termios.h: Likewise.
89409         * time/sys/time.h: Likewise.
89410         * time/time.h: Likewise.
89411         * wcsmbs/bits/wchar2.h: Likewise.
89412         * wcsmbs/uchar.h: Likewise.
89413         * wcsmbs/wchar.h: Likewise.
89414         * wctype/wctype.h: Likewise.
89416         [BZ #13551]
89417         * Makeconfig: Remove all but ELF support including AIX support.
89418         * Makerules: Likewise.
89419         * config.h.in: Likewise.
89420         * config.make.in: Likewise.
89421         * configure: Likewise.
89422         * configure.in: Likewise.
89423         * csu/Makefile: Likewise.
89424         * csu/version.c: Likewise.
89425         * debug/Makefile: Likewise.
89426         * dlfcn/Makefile: Likewise.
89427         * elf/Makefile: Likewise.
89428         * extra-lib.mk: Likewise.
89429         * iconv/Makefile: Likewise.
89430         * include/libc-symbols.h: Likewise.
89431         * include/shlib-compat.h: Likewise.
89432         * resolv/Makefile: Likewise.
89433         * resolv/res_libc.c: Likewise.
89434         * rt/Makefile: Likewise.
89435         * sysdeps/i386/asm-syntax.h: Likewise.
89436         * sysdeps/i386/sysdep.h: Likewise.
89437         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89438         * sysdeps/mach/sysdep.h: Likewise.
89439         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89440         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89441         * sysdeps/s390/asm-syntax.h: Likewise.
89442         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89443         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89444         * sysdeps/sh/sysdep.h: Likewise.
89445         * sysdeps/unix/sparc/sysdep.h: Likewise.
89446         * sysdeps/wordsize-32/divdi3.c: Likewise.
89447         * sysdeps/x86_64/sysdep.h: Likewise.
89449         * argp/Versions: Remove _argp_unlock_xxx.
89451         [BZ #13559]
89452         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
89453         * abilist/libBrokenLocale.abilist: Likewise.
89454         * abilist/libanl.abilist: Likewise.
89455         * abilist/libc.abilist: Likewise.
89456         * abilist/libcrypt.abilist: Likewise.
89457         * abilist/libdl.abilist: Likewise.
89458         * abilist/libm.abilist: Likewise.
89459         * abilist/libnsl.abilist: Likewise.
89460         * abilist/libpthread.abilist: Likewise.
89461         * abilist/libresolv.abilist: Likewise.
89462         * abilist/librt.abilist: Likewise.
89463         * abilist/libthread_db.abilist: Likewise.
89464         * abilist/libutil.abilist: Likewise.
89465         * abilist/libnss_db.abilist: New file.
89467         * scripts/abilist.awk: Add support for indirect functions.
89469         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89471         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89473         * shlib-versions: Remove entries for ports architectures.
89475         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
89476         files in ports.
89477         * elf/stackguard-macros.h: Remove support for IA-64.
89478         * elf/tst-auditmod1.c: Likewise.
89479         * sysdeps/generic/ldsodefs.h: Likewise.
89481         * sysdeps/unix/sysv/linux/configure.in: Ports should define
89482         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89483         configure files.
89485         [BZ #13552]
89486         * configure.in: Remove --enable-omitfp support.
89487         * FAQ.in: Adjust.
89488         * config.make.in: Likewise.
89489         * Makeconfig: Likewise.
89490         * manual/install.texi: Likewise.
89492         In case anyone cares, the IA-64 architecture could move to ports.
89493         * sysdeps/ia64/*: Removed.
89494         * sysdeps/unix/sysv/linux/ia64/*: Removed.
89495         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89497         [BZ #13555]
89498         * configure.in: Remove entries for unsupported architectures.
89500         [BZ #13533]
89501         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89502         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
89503         routines.
89504         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89505         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89506         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
89507         fall back to using wcrtomb.
89508         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89509         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
89510         renaming.
89511         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89512         * wcsmbs/tst-c16c32-1.c: New file.
89514         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89515         local variable.
89517         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89519         * elf/tst-unique3.cc: Add explicit declaration of gets.
89520         * elf/tst-unique3lib.cc: Likewise.
89521         * elf/tst-unique3lib2.cc: Likewise.
89522         * elf/tst-unique4.cc: Likewise.
89524         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89526 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
89528         [BZ #13566]
89529         * assert/assert.h (static_assert): Don't define for C++.
89530         * libio/stdio.h (gets): Do declare for C++ <= C++11.
89531         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89533 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
89535         * iconv/loop.c (single loop): Fix assertion in storing of
89536         remaining bytes.
89538         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89540 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
89542         * posix/getconf.c: Update copyright year.
89543         * nss/getent.c: Likewise.
89544         * nss/makedb.c: Likewise.
89545         * iconv/iconvconfig.c: Likewise.
89546         * iconv/iconv_prog.c: Likewise.
89547         * elf/ldconfig.c: Likewise.
89548         * elf/pldd.c: Likewise.
89549         * elf/sotruss.ksh: Likewise.
89550         * catgets/gencat.c: Likewise.
89551         * csu/version.c: Likewise.
89552         * elf/ldd.bash.in: Likewise.
89553         * elf/sprof.c (print_version): Likewise.
89554         * locale/programs/locale.c: Likewise.
89555         * locale/programs/localedef.c: Likewise.
89556         * login/programs/pt_chown.c: Likewise.
89557         * nscd/nscd.c (print_version): Likewise.
89558         * debug/xtrace.sh: Likewise.
89559         * malloc/memusage.sh: Likewise.
89560         * malloc/mtrace.pl: Likewise.
89561         * debug/catchsegv.sh: Likewise.
89563 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89565         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89566         pure attribute.
89568 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89570         [BZ #13533]
89571         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89572         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89573         transformations.
89574         * iconv/gconv_int.h: Likewise.
89575         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89576         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89577         from libc for GLIBC_2.16.
89578         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89579         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89580         * wcsmbs/uchar.h: Really define mbstate_t.
89581         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89582         * wcsmbs/c16rtomb.c: New file.
89583         * wcsmbs/mbrtoc16.c: New file.
89584         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89585         for C/POSIX locale.
89586         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89587         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89589         * wcsmbs/wchar.h: Add missing __restrict.
89591 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89593         [BZ #13532]
89594         * time/Makefile (routines): Add timespec_get.
89595         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89596         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89597         timespec for ISO C11.
89598         * time/timespec_get.c: New file.
89599         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89600         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89602         [BZ #13531]
89603         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89604         * stdlib/stdlib.h: Declare aligned_alloc.
89605         * Versions.def: Add GLIBC_2.16 for libc.
89606         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89608         [BZ 13527]
89609         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89610         ISO C11.
89612         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89613         code.
89615         [BZ #13528]
89616         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89618         [BZ #13529]
89619         * assert/assert.h (static_assert): Define.
89621         * version.h: Update for 2.16 development version.
89623         [BZ #13526]
89624         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89625         _ISOC11_SOURCE.
89627         * version.h (RELEASE): Bump for 2.15 release.
89628         * include/features.h (__GLIBC_MINOR__): Bump to 15.
89630         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89631         Patch by Marek Polacek <mpolacek@redhat.com>.
89633         * bits/byteswap.h: Protect long long constants with __extension__.
89634         * sysdeps/i386/bits/byteswap.h: Likewise.
89635         * sysdeps/ia64/bits/byteswap.h: Likewise.
89636         * sysdeps/s390/bits/byteswap.h: Likewise.
89637         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89639 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89641         [BZ #13540]
89642         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89643         destination buffer.
89644         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89646 2011-12-23  Marek Polacek  <polacek@redhat.com>
89648         * elf/dl-addr.c (determine_info): Add inline keyword.
89649         * elf/tst-auditmod4b.c (check_avx): Likewise.
89650         * elf/tst-auditmod6b.c (check_avx): Likewise.
89651         * elf/tst-auditmod6c.c (check_avx): Likewise.
89652         * elf/tst-auditmod7b.c (check_avx): Likewise.
89654 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89656         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89657         !__SSE_MATH__.
89659 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89661         [BZ #13540]
89662         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89663         processing for last bytes.
89665 2011-08-06  Bruno Haible  <bruno@clisp.org>
89667         [BZ #13061]
89668         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89669         U+0385, not to U+1FEE.
89671         [BZ #13062]
89672         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89673         entry for U+00A5 U+0301.
89675 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89677         [BZ #13166]
89678         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89679         buffer for the output is too small.
89681         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89682         optimization.
89684         [BZ #13185]
89685         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89686         SSE flags if possible.
89688 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89690         [BZ #13540]
89691         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89692         processing for last bytes.
89694 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
89696         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89697         (syscall-list-default-options, syscall-list-default-condition)
89698         (syscall-list-includes): Define.
89699         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89700         list of ABIs and options and #if conditions for each ABI.  Do not
89701         handle common syscalls between ABIs specially.
89702         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89703         Remove.
89704         (syscall-list-variants, syscall-list-32bit-options)
89705         (syscall-list-32bit-condition, syscall-list-64bit-options)
89706         (syscall-list-64bit-condition): Define.
89707         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89708         (syscall-list-variants, syscall-list-32bit-options)
89709         (syscall-list-32bit-condition, syscall-list-64bit-options)
89710         (syscall-list-64bit-condition): Define.
89711         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89712         Remove.
89713         (syscall-list-variants, syscall-list-32bit-options)
89714         (syscall-list-32bit-condition, syscall-list-64bit-options)
89715         (syscall-list-64bit-condition): Define.
89716         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89717         Remove.
89718         (syscall-list-variants, syscall-list-32bit-options)
89719         (syscall-list-32bit-condition, syscall-list-64bit-options)
89720         (syscall-list-64bit-condition): Define.
89722 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89724         * locale/iso-639.def: Add brx entry.
89726         [BZ #13328]
89727         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89728         Proposed by Mariusz_Cukr <marcukr@op.pl>.
89730         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89731         __feraiseexcept_renamed.
89733 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89735         [BZ #13538]
89736         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89737         EPOLLET with unsigned values.
89738         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89739         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89741         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89742         to large cancellation.
89743         * math/s_cacoshf.c: Likewise.
89744         * math/s_cacoshl.c: Likewise.
89746 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
89748         [BZ #13305]
89749         [BZ #12786]
89750         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89751         * math/s_cacoshf.c: Likewise.
89752         * math/s_cacoshl.c: Likewise.
89754 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89756         [BZ #13439]
89757         * iconv/gconv.h: Define __GCONV_SWAP.
89758         * iconvdata/unicode.c: The swap bit must be stored in __flags.
89759         * iconvdata/utf-16.c: Likewise.
89760         * iconvdata/utf-32.c: Likewise.
89762 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
89764         [BZ #13524]
89765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89766         numerator after shifting it by one limb.
89768 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
89770         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89771         under [__USE_EXTERN_INLINES].
89773 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89775         [BZ #13446]
89776         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89778 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89780         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89781         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89782         optimized code.
89783         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89784         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89785         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89786         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89787         for strncasecmp/strncasecmp_l compilation.
89788         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89789         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89791 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
89793         [BZ #13484]
89794         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89795         of __asm__.
89797 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89799         [BZ #13506]
89800         * time/tzfile.c (__tzfile_read): Check values from file header.
89802 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
89804         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89805         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89806         * powerpc/powerpc32/dl-start.S: Likewise.
89807         * powerpc/powerpc32/elf/start.S: Likewise.
89808         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89809         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89810         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89811         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89812         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89813         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89814         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89815         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89816         * powerpc/powerpc32/fpu/s_round.S: Likewise.
89817         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89818         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89819         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89820         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89821         * powerpc/powerpc32/memset.S: Likewise.
89822         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89823         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89824         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89825         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89826         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89827         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89828         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89829         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89830         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89831         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89832         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89833         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89834         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89836 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89838         * math/libm-test.inc: Added more nearbyint tests.
89839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89840         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89841         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89842         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89844 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
89846         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89847         FD_CLOEXEC.
89849 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89851         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89852         Add wcscpy-ssse3 wcscpy-c.
89853         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89854         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89855         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89856         * sysdeps/x86_64/wcschr.S: New file.
89857         * sysdeps/x86_64/wcsrchr.S: New file.
89858         * string/test-strcmp.c: Remove checking of wcscmp function for
89859         wrong alignments.
89860         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89861         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89862         wcsrchr-sse2 wcsrchr-c.
89863         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89864         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89865         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89866         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89867         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89868         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89869         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89870         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89871         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89872         * wcsmbc/wcschr.c (WCSCHR): New macro.
89874 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89876         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89877         * wcsmbs/test-wcsrchr.c: New file.
89878         * string/test-strrchr.c: Add wcsrchr support.
89879         (WIDE): New macro.
89880         * wcsmbs/test-wcscpy.c: New file.
89881         * string/test-strcpy.c: Add wcscpy support.
89882         (WIDE): New macro.
89884 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
89886         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89887         the inner loop.
89889 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
89891         [BZ #13472]
89892         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89894 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
89896         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89897         Minor optimizations.
89899         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89900         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89901         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89903 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
89905         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89906         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89907         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89908         for gcc to avoid warnings.
89909         * inet/Makefile (tests): Add tst-checks.
89910         * inet/tst-checks.c: New file.
89912         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89913         warning.
89915         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89916         __wmemcmp_sse2.
89918         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89919         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89921         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89923 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
89925         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89926         problem.
89928         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89930 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
89932         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89933         conditional on GCC version.
89934         (__arch_compare_and_exchange_val_8_acq)
89935         (__arch_compare_and_exchange_val_16_acq)
89936         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89937         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89938         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89940 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
89942         * sysdeps/sh/backtrace.c: New file.
89944 2011-12-02  Andreas Schwab  <schwab@redhat.com>
89946         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
89947         parenthesis.
89949 2011-12-01  Andreas Schwab  <schwab@redhat.com>
89951         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89952         falling back to utime.
89954 2011-11-30  Andreas Schwab  <schwab@redhat.com>
89956         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89957         expectations for float.
89959 2011-11-29  Andreas Schwab  <schwab@redhat.com>
89961         * locale/weight.h (findidx): Add parameter len.
89962         * locale/weightwc.h (findidx): Likewise.
89963         * posix/fnmatch_loop.c (FCT): Adjust caller.
89964         * posix/regcomp.c (build_equiv_class): Likewise.
89965         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89966         * posix/regexec.c (check_node_accept_bytes): Likewise.
89967         * string/strcoll_l.c (STRCOLL): Likewise.
89968         * string/strxfrm_l.c (STRXFRM): Likewise.
89970 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
89972         * Makefile.in: Remove CVSOPT handling.
89973         * configure.in: Remove use of AC_REVISION.
89974         * iconvdata/Makefile (distribute): No need to filter out CVS.
89975         * scripts/list-sources.sh: Remove CVS, subversion and monotone
89976         handling.
89978 2011-11-16  Andreas Schwab  <schwab@redhat.com>
89980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89981         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89982         [USE_AS_STRNCASECMP_L]: Likewise.
89983         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89984         NO_TLS_DIRECT_SEG_REFS.
89985         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89986         Fix argument offsets for non-PIC.
89987         [USE_AS_STRNCASECMP_L]: Likewise.
89988         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89989         NO_TLS_DIRECT_SEG_REFS.
89991 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
89993         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89994         O_CLOEXEC.
89995         * locale/loadlocale.c (_nl_load_locale): Likewise.
89997 2011-11-15  Andreas Schwab  <schwab@redhat.com>
89999         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90000         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90001         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90002         (SYSCALL_GETTIME): Set errno on error.
90004         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90005         count references to noai6ai_cached.
90007 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90009         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90011         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90012         FD_CLOEXEC for /proc/self/maps.
90014         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90015         FD_CLOEXEC for /proc/meminfo.
90017         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90018         gai.conf.
90020         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
90021         FD_CLOEXEC for given file.
90023         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90025         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90026         FD_CLOEXEC for /etc/hosts.
90027         (_gethtent): Likewise.
90029         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90031         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90032         cancellation and set FD_CLOEXEC for /etc/netgroup.
90034         * nss/nss_files/files-key.c (search): Don't allow cancellation when
90035         reading /etc/publickey.
90037         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90038         allow cancellation when reading /etc/group.
90040         * nss/nss_files/files-alias.c (internal_setent): Don't allow
90041         cancellation.
90042         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
90044         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90045         when using data file.
90047         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90049         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90050         (write_nis_obj): Use "c" and "e" in fopen.
90052         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90054         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90056         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90058         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90060         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90061         locale.alias.
90063         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90065         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90067         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90069         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90070         file parsing and set FD_CLOEXEC.
90072 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90074         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90076 2011-11-14  Andreas Schwab  <schwab@redhat.com>
90078         * malloc/arena.c (arena_get2): Don't call reused_arena when
90079         _int_new_arena failed.
90081 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90083         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90084         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90085         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90086         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90087         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90088         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90089         to compile strcasecmp and strncasecmp.
90090         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90091         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90093         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90095 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
90097         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90098         locale-defines.sym to gen-as-const-headers.
90099         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90100         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90102         to compile strcasecmp and strncasecmp.
90103         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90104         strcasecmp_l and strncasecmp_l.
90105         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90106         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90107         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90108         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90109         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90110         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90111         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90112         * sysdeps/i386/i686/multiarch/strncase.S: New file.
90113         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90114         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90115         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90117 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
90119         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90120         result of SYSDEP_GETTIME_CPU to retval.
90121         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90122         parameter list to macro.  Remove trailing semicolon.  Adjust users.
90124         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90125         variable.
90127         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90128         mantissa words.
90129         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90131         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90132         from unused variable.
90134         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90135         DWARF definitions.
90136         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90137         for assembling.
90139         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90140         over namespaces.
90142         * sunrpc/rpc_prot.c (rejected): Fix case value.
90144         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90145         unsigned long long int to avoid warnings in shift.
90147         * posix/regex_internal.c (re_string_reconstruct): Actually use result
90148         of use of trans.
90149         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90150         variable tmp.
90152         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90153         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90154         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90156         * nis/nis_table.c (nis_list): Use variable of correct type for
90157         result of __follow_path call.
90159 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90161         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90162         of math functions ceil, trunc, floor, round, and sqrt, when
90163         avaliable on the platform.
90164         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90165         name clash.
90166         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90167         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90168         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90170 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
90172         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90173         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90175 2011-11-11  Roland McGrath  <roland@hack.frob.com>
90177         * include/unistd.h: Fix __readlink return type.
90178         Reported by Chris Metcalf <cmetcalf@tilera.com>.
90180 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
90182         * stdlib/ucontext.h: Undo last change for makecontext.
90184 2011-11-11  Andreas Schwab  <schwab@redhat.com>
90186         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90188         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90189         * setjmp/setjmp.h: Mark functions as non-leaf.
90190         * setjmp/bits/setjmp2.h: Likewise.
90191         * stdlib/ucontext.h: Likewise.
90193 2011-11-10  Andreas Schwab  <schwab@redhat.com>
90195         * malloc/arena.c (_int_new_arena): Don't increment narenas.
90196         (reused_arena): Don't check arena limit.
90197         (arena_get2): Atomically check arena limit.
90199 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
90201         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90202         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90204         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90205         instructions.
90207 2011-11-07  Andreas Schwab  <schwab@redhat.com>
90209         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90210         handler when locking.
90212         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90213         Fix size of allocated buffer.
90215 2011-11-04  Andreas Schwab  <schwab@redhat.com>
90217         [BZ #10103]
90218         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90219         declarations for long double functions.
90220         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90222         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90224 2011-11-03  Andreas Schwab  <schwab@redhat.com>
90226         * nscd/nscd.c (main): Don't start AVC thread until credentials are
90227         installed.
90229         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90230         is disabled.
90232 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90234         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90236 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
90238         * include/alloca.h (stackinfo_alloca_round): Define.
90239         (extend_alloca): Use it.
90240         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90241         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90242         here.
90244         * scripts/check-local-headers.sh: Ignore libaudit.h.
90246         * nscd/Makefile (extra-objs): Make recursively expanded.
90248 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
90250         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90251         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90253         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90254         * posix/tst-rfc3484-2.c: Likewise.
90255         * posix/tst-rfc3484-3.c: Likewise.
90257         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90258         process_vm_writev.
90259         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90260         process_vm_writev.
90261         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90262         process_vm_writev from libc using GLIBC_2.15 version.
90264         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90266 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
90268         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90269         stack usage.
90271 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
90273         [BZ #13367]
90274         * nss/getent.c (initgroups_keys): Show error message in case no group
90275         names are given.
90277         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90278         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90279         __bump_nl_timestamp.
90280         * nscd/connections (nscd_init): When host database is served open
90281         netlink socket and request notification about configuration changes.
90282         (main_loop_poll): Track netlink file descriptor and bump timestamp
90283         in case data becomes available.
90284         (main_loop_epoll): Likewise.
90285         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90286         (database_pers_head): Add extra_data fileds.
90287         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90288         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90289         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90290         Adjust caller.
90291         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90292         in6ai data, call __free_in6ai.
90293         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90294         Add -DHAVE_NETLINK.
90295         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
90296         interface information.  Reuse previous data if netlink timestamp
90297         is not changed.
90298         (__bump_nl_timestamp): New function.
90299         (__free_in6ai): New function.
90301 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
90303         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90304         close_not_cancel_no_status here.
90305         (__check_pf): Reorganize code a bit to not call close twice if OOM.
90307 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90309         [BZ #13276]
90310         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90311         return value.
90313         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90314         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90315         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90317 2011-07-03  Andreas Jaeger  <aj@suse.de>
90319         [BZ #10709]
90320         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90321         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90322         * math/libm-test.inc (sin_test): Add test case.
90324 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90326         [BZ #13337]
90327         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90328         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90330         * elf/chroot_canon.c (chroot_canon): Cleanups.
90332         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90334         [BZ #13335]
90335         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90336         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90338         * string/test-strchr.c: Make usable for strchrnul testing.
90339         * string/test-strchrnul.c: New file.
90340         * string/Makefile (strop-tests): Add strchrnul.
90342         * po/it.po: Update from translation team.
90343         * po/es.po: Likewise.
90345 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
90347         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90348         the three constants needed as parameters.  Drop the others.
90349         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90350         __m128i_strloadu_tolower.
90351         Create and initialize variable zero and use it in all the places
90352         where _mm_setzero_si128 was used.
90354         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90355         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90356         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90357         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90358         anymore.
90359         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90360         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90361         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90362         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90363         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90364         __mpranred, __mptan.
90365         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90366         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90367         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90368         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90369         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90370         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90371         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90372         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90373         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90375 2011-10-28  Andreas Schwab  <schwab@redhat.com>
90377         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90378         redefine if SHARED.
90379         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90382         wide char related routines to wcsmbs subdir.
90384 2011-10-27  Andreas Schwab  <schwab@redhat.com>
90386         [BZ #13344]
90387         * misc/sys/cdefs.h (__THROWNL): Define.
90388         * posix/unistd.h: Use __THREADNL instead of __THREAD
90389         for memory synchronization functions.
90391 2011-10-26  Roland McGrath  <roland@hack.frob.com>
90393         [BZ #13349]
90394         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90395         doesn't exist.
90396         * manual/stdio.texi (Obstack Streams): Node removed.
90398 2011-10-26  Andreas Schwab  <schwab@redhat.com>
90400         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90401         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90402         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90404         * math/math_private.h (math_force_eval): Allow non-addressable
90405         arguments.
90406         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90408 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90410         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90411         file is not needed.
90413         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90414         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90415         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90416         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90417         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90418         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90419         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90420         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90421         Add AVX variants.
90422         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90423         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90424         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90425         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90426         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90427         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90428         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90429         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90430         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90431         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90432         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90433         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90434         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90435         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90436         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90437         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90438         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90439         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90440         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90442         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90443         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
90445         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90446         place.  Use VEX encoding when compiling for AVX.
90448 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90450         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90451         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90453         * string/test-strchr.c (do_test): Don't generate NUL bytes.
90455 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90457         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90458         useless if() expression.
90459         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90460         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90461         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90462         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90463         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90464         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90465         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90466         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90467         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90468         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90469         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90470         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90471         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90472         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90473         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90474         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90475         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90476         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90477         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90479         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90481 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90483         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90484         condition.
90485         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90487 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90489         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90490         .text section.  Avoid duplicate constants.
90491         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90492         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90493         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90494         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90495         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90496         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90497         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90498         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90499         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90500         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90501         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90502         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90503         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90504         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90505         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90506         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90507         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90508         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90509         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90510         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90511         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90512         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90513         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90514         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90515         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90516         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90517         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90518         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90519         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90520         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90521         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90522         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90523         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90524         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90525         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90526         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90527         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90528         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90529         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90530         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90531         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90532         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90533         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90534         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90535         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90537 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
90539         * sysdeps/x86_64/dla.h: Move to ...
90540         * sysdeps/x86_64/fpu/dla.h: ...here.
90541         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90542         situations.  Use __builtin_fma only for gcc 4.6 and up.
90544         * config.make.in: Add have-mfma4 entry.
90545         * configure.in: Substitute libc_cv_cc_fma4.
90546         * math/Makefile (dbl-only-routines): Add sincostab.
90547         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90548         Use __sincostab not sincos.
90549         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90550         name is a macro.
90551         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90553         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90554         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
90555         using __copysign.
90556         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90557         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90558         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90559         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90560         and __inv.
90561         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90562         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90563         __copysign.
90564         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90565         define aliases when function name is a macro.
90566         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90567         sysdeps/ieee754/dbl-64/sincos.tbl.
90568         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90569         fma4-enabled routines.
90570         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90571         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90572         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90573         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90574         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90575         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90576         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90577         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90578         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90579         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90580         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90581         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90582         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90583         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90584         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90585         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90586         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90587         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90588         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90589         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90590         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90591         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90592         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90593         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90594         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90595         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90596         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90597         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90598         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90599         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90601         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90602         rename.
90603         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90604         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90605         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90606         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90607         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90609         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90610         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90612 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90614         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90616 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90618         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90620         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90621         prediction.
90622         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90624         * string/strnlen.c: Don't define STRNLEN, reverse logic.
90625         Remove unused variable magic_bits.
90626         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90628         * string/strnlen.c: Define and use STRNLEN macro.
90629         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90630         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90631         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90632         * wcsmbs/wcslen.c: Define and use WCSLEN.
90633         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90634         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90635         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90636         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90637         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90638         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90639         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90641 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90644         strnlen-sse2-no-bsf.
90645         Rename strlen-no-bsf to strlen-sse2-no-bsf.
90646         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90647         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90648         Add strnlen support.
90649         (USE_AS_STRNLEN): New macro.
90650         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90651         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90652         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90653         * sysdeps/x86_64/wcslen.S: New file.
90655 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
90657         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90658         XMM-moves are used for copying on small sizes.
90660 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90662         * wcsmbs/Makefile (strop-tests): Add wcschr.
90663         * wcsmbs/test-wcschr.c: New file.
90664         * string/test-strchr.c: Update.
90665         Add wcschr support.
90666         (WIDE): New macro.
90668 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90670         * wcsmbs/Makefile (strop-tests): Add wcslen.
90671         * wcsmbs/test-wcslen.c: New file.
90672         * string/test-strlen.c: Update.
90673         Add wcslen support.
90674         (WIDE): New macro.
90676 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90678         * po/it.po: Update from translation team.
90680 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90682         * sysdeps/x86_64/wcscmp.S: Update.
90683         Fix wrong comparison semantics.
90684         wcscmp shall use signed comparison not unsigned.
90685         Don't use substraction to avoid overflow bug.
90686         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90687         * wcsmbc/wcscmp.c: Likewise.
90688         * string/test-strcmp.c: Likewise.
90689         Add new tests to check cases with negative values.
90691 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90693         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90694         * sysdeps/x86_64/dla.h: ...here.  New file.
90695         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90696         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90697         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90698         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90699         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90700         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90701         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90702         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90703         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90705 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
90707         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90708         __ynl_finite aliases.
90710 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90714         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90715         define DLA_FMA.
90716         [DLA_FMA] (EMULV): Use DLA_FMA.
90717         [DLA_FMA] (MUL12): Use EMULV.
90718         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90719         that are not needed.
90720         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90722         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90723         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90724         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90725         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90726         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90728 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
90730         * math/s_nan.c: Undef __nan.
90731         * math/s_nanf.c: Undef __nanf.
90732         * math/s_nanl.c: Undef __nanl.
90733         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90734         "math_private.h".
90736 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90738         * math/s_catan.c: Add branch predictions.
90739         * math/s_catanf.c: Likewise.
90740         * math/s_catanh.c: Likewise.
90741         * math/s_catanhf.c: Likewise.
90742         * math/s_catanhl.c: Likewise.
90743         * math/s_catanl.c: Likewise.
90744         * math/s_cexp.c: Likewise.
90745         * math/s_cexpf.c: Likewise.
90746         * math/s_cexpl.c: Likewise.
90747         * math/s_clog.c: Likewise.
90748         * math/s_clog10.c: Likewise.
90749         * math/s_clog10f.c: Likewise.
90750         * math/s_clog10l.c: Likewise.
90751         * math/s_clogf.c: Likewise.
90752         * math/s_clogl.c: Likewise.
90753         * math/s_csqrt.c: Likewise.
90754         * math/s_csqrtf.c: Likewise.
90755         * math/s_csqrtl.c: Likewise.
90756         * math/s_ctanf.c: Likewise.
90757         * math/s_ctanh.c: Likewise.
90758         * math/s_ctanhf.c: Likewise.
90759         * math/s_ctanhl.c: Likewise.
90760         * math/s_ctanl.c: Likewise.
90762         * math/math_private.h: Define __nan, __nanf, __nanl.
90763         * math/s_cacosh.c: Include <math_private.h>.
90764         * math/s_cacoshl.c: Likewise.
90765         * math/s_casinh.c: Likewise.
90766         * math/s_casinhf.c: Likewise.
90767         * math/s_casinhl.c: Likewise.
90768         * math/s_ccos.c: Rely entire on ccosh.
90769         * math/s_ccosf.c: Rely entire on ccoshf.
90770         * math/s_ccosl.c: Rely entirely on ccoshl.
90771         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
90772         Remove tests for FE_INVALID.
90773         * math/s_ccoshf.c: Likewise.
90774         * math/s_ccoshl.c: Likewise.
90775         * math/s_csin.c: Likewise.
90776         * math/s_csinf.c: Likewise.
90777         * math/s_csinh.c Likewise.
90778         * math/s_csinhf.c: Likewise.
90779         * math/s_csinhl.c: Likewise.
90780         * math/s_csinl.c: Likewise.
90781         * math/s_ctan.c: Likewise.
90782         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90783         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90784         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90786 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
90788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90789         compilation problems.
90791         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90792         __builtin_expect.
90794 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
90796         * sysdeps/i386/configure.in: Test for -mfma4 option.
90797         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90798         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90799         COMMON_CPUID_INDEX_80000001.
90800         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90801         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90802         use it if FMA3 is not supported.
90803         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90805         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90806         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90808 2011-10-20  Andreas Schwab  <schwab@redhat.com>
90810         [BZ #12892]
90811         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90812         it would create a cycle with a link time dependency.
90814 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
90816         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90817         instruction.
90818         * string/Makefile (strop-tests): Add rawmemchr.
90819         * string/test-rawmemchr.c: New file.
90821         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90822         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
90823         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
90824         when compiling str{,n}casecmp and when AVX is available.  Hook up
90825         new optimized code in initializers.
90827 2011-10-19  Andreas Schwab  <schwab@redhat.com>
90829         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90830         __feraiseexcept instead of feraiseexcept.
90832 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
90834         * math/math_private.h: Define defaults for libc_fetestexcept and
90835         libc_feupdateenv.
90836         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90837         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90838         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90839         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90840         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90841         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90842         libc_fetestexcept and libc_feupdateenv.
90844         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90845         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90846         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90847         * sysdeps/x86_64/fpu/math_private.h: Define special version of
90848         libc_feholdexcept_setround.
90850         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90851         Add s_nearbyint-c and s_nearbyintf-c.
90852         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90853         nearbyintf inlines.
90854         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90855         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90856         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90857         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90859         * math/math_private.h: Define defaults for libc_fegetround,
90860         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90861         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90862         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90863         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90864         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90865         standard functions.
90866         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90867         Remove comments and hacks for old compiler versions.
90868         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90869         libc_fegetround, libc_fesetround, libc_feholdexcept, and
90870         libc_feholdexceptl.
90872 2011-10-18  Andreas Schwab  <schwab@redhat.com>
90874         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90875         (__feraiseexcept_renamed): Add __NTH.
90876         (feraiseexcept): Add __NTH.  Rename local variables to fix
90877         namespace violations.
90879 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
90881         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90883         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90885         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90886         recently added interfaces.
90887         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90889         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90890         about macro parameter expansion.
90892         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90893         __NO_MATH_INLINES is defined.  Cleanups.
90895         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90896         and __floorf is target has SSE4.1.
90897         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90898         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90899         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90900         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90902         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90903         name.
90904         (floorf): Likewise.
90906         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90908 2011-10-17  Andreas Schwab  <schwab@redhat.com>
90910         * misc/sys/cdefs.h: Fix last change.
90912         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90913         database lookup.
90915 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
90917         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90919         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90920         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90921         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90922         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90923         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90924         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90925         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90926         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90927         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90928         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90929         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90930         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90931         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90932         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90933         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90934         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90935         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90936         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90937         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90938         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90939         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90940         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90942         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90943         ceil, ceilf, floor, floorf.
90945         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90946         Perform IRELATIVE relocations last.
90948         * elf/do-rel.h: Add another parameter nrelative, replacing the
90949         local variable with the same name.  Change name of the function
90950         to end in Rel or Rela (uppercase).
90951         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90952         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
90953         elf_dynamic_do_##reloc function.
90955 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
90957         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90958         is sufficient, at least on modern CPUs.
90960         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90962         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90963         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90965         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90966         __expl_finite.
90967         * math/bits/math-finite.h: Add entries for exp.
90968         * math/e_expl.c: Add __*_finite alias.
90969         * sysdeps/i386/fpu/e_exp.S: Likewise.
90970         * sysdeps/i386/fpu/e_expf.S: Likewise.
90971         * sysdeps/i386/fpu/e_expl.c: Likewise.
90972         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90973         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90974         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90976         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90977         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90978         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90980         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90981         is sufficient, at least on modern CPUs.
90983         * ctype/ctype-info.c (__ctype_init): Define.
90984         * include/ctype.h (__ctype_init): Declare.
90985         (__ctype_b_loc): The variable is always initialized.
90986         (__ctype_toupper_loc): Likewise.
90987         (__ctype_tolower_loc): Likewise.
90988         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90989         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90991 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
90993         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90995         * configure.in: Also look in $cxxmachine/include for C++ system
90996         headers.
90998 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91000         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91001         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91002         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91003         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
91004         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91005         (USE_AS_WMEMCMP): New macro.
91006         Fixing indents.
91007         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91008         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91009         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91010         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91012         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91013         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91014         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91015         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91016         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91017         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91018         (USE_AS_WMEMCMP): New macro.
91019         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91020         * sysdeps/string/test-memcmp.c: Update.
91021         Fix simple_wmemcmp.
91022         Add new tests.
91023         * wcsmbs/wmemcmp.c: Update.
91024         (WMEMCMP): New macro.
91025         Fix overflow bug.
91027 2011-10-12  Andreas Jaeger  <aj@suse.de>
91029         [BZ #13268]
91030         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91032 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91034         * libio/iofwide.c (do_length): Avoid warning.
91036         * ctype/ctype.h (__isctype_f): Add missing __THROW.
91038 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
91040         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91042         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91043         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91044         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91045         * sysdeps/i386/i686/fpu/e_log.S: New file.
91046         * sysdeps/i386/i686/fpu/e_logf.S: New file.
91047         * sysdeps/i386/i686/fpu/e_logl.S: New file.
91049         * ctype/ctype.h: Add support for inlined isXXX functions when
91050         compiling C++ code.
91052 2011-10-14  Andreas Schwab  <schwab@redhat.com>
91054         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91056         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91058 2011-10-13  Roland McGrath  <roland@hack.frob.com>
91060         [BZ #13291]
91061         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91063 2011-10-13  Andreas Schwab  <schwab@redhat.com>
91065         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91066         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91067         feraiseexcept.
91069         * sysdeps/x86_64/memrchr.S: Check for zero size.
91071         * string/stratcliff.c: Add memrchr tests.
91073 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91075         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91076         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91077         rawmemchr-sse2 rawmemchr-sse2-bsf.
91078         * sysdeps/i386/i686/multiarch/memchr.S: New file.
91079         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91080         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91081         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91082         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91083         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91084         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91085         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91086         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91087         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91088         * string/memrchr.c (MEMRCHR): New macro.
91090 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
91092         Add integration with gcc's -ffinite-math-only and optimize wrapper
91093         functions in libm.
91094         * Versions.def: Define GLIBC_2.15 version for libm.
91095         * math/Makefile (headers): Add bits/math-finite.h.
91096         * math/bits/math-finite.h: New file.
91097         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91098         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91099         * math/e_acoshl.c: Add __*_finite alias.
91100         * math/e_acosl.c: Likewise.
91101         * math/e_asinl.c: Likewise.
91102         * math/e_atan2l.c: Likewise.
91103         * math/e_atanhl.c: Likewise.
91104         * math/e_coshl.c: Likewise.
91105         * math/e_exp10.c: Likewise.
91106         * math/e_exp10f.c: Likewise.
91107         * math/e_exp10l.c: Likewise.
91108         * math/e_exp2l.c: Likewise.
91109         * math/e_fmodl.c: Likewise.
91110         * math/e_gammal_r.c: Likewise.
91111         * math/e_hypotl.c: Likewise.
91112         * math/e_j0l.c: Likewise.
91113         * math/e_j1l.c: Likewise.
91114         * math/e_jnl.c: Likewise.
91115         * math/e_lgammal_r.c: Likewise.
91116         * math/e_log10l.c: Likewise.
91117         * math/e_log2l.c: Likewise.
91118         * math/e_logl.c: Likewise.
91119         * math/e_powl.c: Likewise.
91120         * math/e_sinhl.c: Likewise.
91121         * math/e_sqrtl.c: Likewise.
91122         * math/e_scalb.c: Completely rewritten and optimized.
91123         * math/e_scalbf.c: Likewise.
91124         * math/e_scalbl.c: Likewise.
91125         * math/w_acos.c: Likewise.
91126         * math/w_acosf.c: Likewise.
91127         * math/w_acosl.c: Likewise.
91128         * math/w_acosh.c: Likewise.
91129         * math/w_acoshf.c: Likewise.
91130         * math/w_acoshl.c: Likewise.
91131         * math/w_asin.c: Likewise.
91132         * math/w_asinf.c: Likewise.
91133         * math/w_asinl.c: Likewise.
91134         * math/w_atan2.c: Likewise.
91135         * math/w_atan2f.c: Likewise.
91136         * math/w_atan2l.c: Likewise.
91137         * math/w_atanh.c: Likewise.
91138         * math/w_atanhf.c: Likewise.
91139         * math/w_atanhl.c: Likewise.
91140         * math/w_exp10.c: Likewise.
91141         * math/w_exp10f.c: Likewise.
91142         * math/w_exp10l.c: Likewise.
91143         * math/w_fmod.c: Likewise.
91144         * math/w_fmodf.c: Likewise.
91145         * math/w_fmodl.c: Likewise.
91146         * math/w_j0.c: Likewise.
91147         * math/w_j0f.c: Likewise.
91148         * math/w_j0l.c: Likewise.
91149         * math/w_j1.c: Likewise.
91150         * math/w_j1f.c: Likewise.
91151         * math/w_j1l.c: Likewise.
91152         * math/w_jn.c: Likewise.
91153         * math/w_jnf.c: Likewise.
91154         * math/w_log.c: Likewise.
91155         * math/w_logf.c: Likewise.
91156         * math/w_logl.c: Likewise.
91157         * math/w_log10.c: Likewise.
91158         * math/w_log10f.c: Likewise.
91159         * math/w_log10l.c: Likewise.
91160         * math/w_log2.c: Likewise.
91161         * math/w_log2f.c: Likewise.
91162         * math/w_log2l.c: Likewise.
91163         * math/w_pow.c: Likewise.
91164         * math/w_powf.c: Likewise.
91165         * math/w_powl.c: Likewise.
91166         * math/w_remainder.c: Likewise.
91167         * math/w_remainderf.c: Likewise.
91168         * math/w_remainderl.c: Likewise.
91169         * math/w_scalb.c: Likewise.
91170         * math/w_scalbf.c: Likewise.
91171         * math/w_scalbl.c: Likewise.
91172         * math/w_sqrt.c: Likewise.
91173         * math/w_sqrtf.c: Likewise.
91174         * math/w_sqrtl.c: Likewise.
91175         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91176         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
91177         used.
91178         * math/math_private.h: Declare __kernel_standard_f.
91179         * math/w_cosh.c: Remove cruft and optimize a bit.
91180         * math/w_coshf.c: Likewise.
91181         * math/w_coshl.c: Likewise.
91182         * math/w_exp2.c: Likewise.
91183         * math/w_exp2f.c: Likewise.
91184         * math/w_exp2l.c: Likewise.
91185         * math/w_hypot.c: Likewise.
91186         * math/w_hypotf.c: Likewise.
91187         * math/w_hypotl.c: Likewise.
91188         * math/w_lgamma.c: Likewise.
91189         * math/w_lgamma_r.c: Likewise.
91190         * math/w_lgammaf.c: Likewise.
91191         * math/w_lgammaf_r.c: Likewise.
91192         * math/w_lgammal.c: Likewise.
91193         * math/w_lgammal_r.c: Likewise.
91194         * math/w_sinh.c: Likewise.
91195         * math/w_sinhf.c: Likewise.
91196         * math/w_sinhl.c: Likewise.
91197         * math/w_tgamma.c: Likewise.
91198         * math/w_tgammaf.c: Likewise.
91199         * math/w_tgammal.c: Likewise.
91200         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91201         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91202         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91203         Minor optimizations.  Pretty printing.  Remove cruft.
91204         * sysdeps/i386/fpu/e_acosf.S: Likewise.
91205         * sysdeps/i386/fpu/e_acosh.S: Likewise.
91206         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91207         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91208         * sysdeps/i386/fpu/e_acosl.c: Likewise.
91209         * sysdeps/i386/fpu/e_asin.S: Likewise.
91210         * sysdeps/i386/fpu/e_asinf.S: Likewise.
91211         * sysdeps/i386/fpu/e_atan2.S: Likewise.
91212         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91213         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91214         * sysdeps/i386/fpu/e_atanh.S: Likewise.
91215         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91216         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91217         * sysdeps/i386/fpu/e_exp10.S: Likewise.
91218         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91219         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91220         * sysdeps/i386/fpu/e_exp2.S: Likewise.
91221         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91222         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91223         * sysdeps/i386/fpu/e_fmod.S: Likewise.
91224         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91225         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91226         * sysdeps/i386/fpu/e_hypot.S: Likewise.
91227         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91228         * sysdeps/i386/fpu/e_log.S: Likewise.
91229         * sysdeps/i386/fpu/e_log10.S: Likewise.
91230         * sysdeps/i386/fpu/e_log10f.S: Likewise.
91231         * sysdeps/i386/fpu/e_log10l.S: Likewise.
91232         * sysdeps/i386/fpu/e_log2.S: Likewise.
91233         * sysdeps/i386/fpu/e_log2f.S: Likewise.
91234         * sysdeps/i386/fpu/e_log2l.S: Likewise.
91235         * sysdeps/i386/fpu/e_logf.S: Likewise.
91236         * sysdeps/i386/fpu/e_logl.S: Likewise.
91237         * sysdeps/i386/fpu/e_pow.S: Likewise.
91238         * sysdeps/i386/fpu/e_powf.S: Likewise.
91239         * sysdeps/i386/fpu/e_powl.S: Likewise.
91240         * sysdeps/i386/fpu/e_remainder.S: Likewise.
91241         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91242         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91243         * sysdeps/i386/fpu/e_scalb.S: Likewise.
91244         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91245         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91246         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91247         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91248         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91249         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91250         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91251         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91252         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91253         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91254         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91255         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91256         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91257         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91258         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91259         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91260         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91262         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91263         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91264         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91265         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91266         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91267         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91268         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91269         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91270         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91271         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91272         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91273         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91274         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91275         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91276         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91277         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91278         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91279         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91280         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91281         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91282         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91283         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91284         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91285         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91286         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91287         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91288         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91289         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91290         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91291         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91292         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91293         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91294         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91295         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91296         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91297         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91298         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91299         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91300         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91301         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91302         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91303         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91304         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91305         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91306         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91307         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91308         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91309         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91310         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91311         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91312         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91313         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91314         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91315         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91316         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91317         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91318         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91319         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91320         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91321         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91322         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91323         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91324         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91325         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91326         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91327         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91328         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91329         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91330         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91331         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91332         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91333         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91334         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91335         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91336         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91337         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91338         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91339         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91340         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91341         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91342         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91343         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91344         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91345         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91346         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91347         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91348         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91349         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91350         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91351         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91352         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91353         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91354         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91355         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91356         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91357         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91358         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91359         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
91360         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91361         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91362         (__isnanf): Likewise.
91363         (__isinf_ns): Likewise.
91364         (__isinf_nsf): Likewise.
91365         (__finite): Likewise.
91366         (__finitef): Likewise.
91367         (__ieee754_sqrt): Define as macro.
91368         (__ieee754_sqrtf): Define as macro.
91369         (__ieee754_sqrtl): Define as macro.
91370         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91371         inlined copy.
91372         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91373         __FINITE_MATH_ONLY__ consistent.
91374         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91376 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
91378         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91379         of rawmemchr.
91381         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91383 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
91385         * po/ja.po: Update from translation team.
91387 2011-10-08  Roland McGrath  <roland@hack.frob.com>
91389         * locale/programs/locarchive.c (prepare_address_space): New function.
91390         (create_archive, enlarge_archive, open_archive): Use it.
91392         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91393         inside [SHARED], where it is used.
91395         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91397         * nss/getent.c (netgroup_keys): Remove unused variable.
91398         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91400 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
91402         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91403         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91404         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91405         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91406         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91407         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91408         * math/Makefile (libm-calls): Add s_isinf_ns.
91409         * math/divtc3.c: Use __isinf_nsl instead of isinf.
91410         * math/multc3.c: Likewise.
91411         * math/s_casin.c: Likewise.
91412         * math/s_casinf.c: Likewise.
91413         * math/s_casinl.c: Likewise.
91414         * math/s_ccos.c: Likewise.
91415         * math/s_ccosf.c: Likewise.
91416         * math/s_ccosl.c: Likewise.
91417         * math/s_ctan.c: Likewise.
91418         * math/s_ctanf.c: Likewise.
91419         * math/s_ctanh.c: Likewise.
91420         * math/s_ctanhf.c: Likewise.
91421         * math/s_ctanhl.c: Likewise.
91422         * math/s_ctanl.c: Likewise.
91423         * math/w_fmod.c: Likewise.
91424         * math/w_fmodf.c: Likewise.
91425         * math/w_fmodl.c: Likewise.
91426         * math/w_remainder.c: Likewise.
91427         * math/w_remainderf.c: Likewise.
91428         * math/w_remainderl.c: Likewise.
91429         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91430         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91431         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91432         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91433         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91434         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91435         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91436         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91438         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91439         of the number.
91440         * stdio-common/printf_fphex.c: Likewise.
91441         * stdio-common/printf_size.c: Likewise.
91443         * math/e_exp10.c: Include math_private.h using <...> not "...".
91444         * math/e_exp10f.c: Likewise.
91445         * math/e_exp10l.c: Likewise.
91446         * math/e_exp2l.c: Likewise.
91447         * math/e_j0l.c: Likewise.
91448         * math/e_j1l.c: Likewise.
91449         * math/e_jnl.c: Likewise.
91450         * math/e_lgammal_r.c: Likewise.
91451         * math/e_rem_pio2l.c: Likewise.
91452         * math/e_scalb.c: Likewise.
91453         * math/e_scalbf.c: Likewise.
91454         * math/e_scalbl.c: Likewise.
91455         * math/k_cosl.c: Likewise.
91456         * math/k_sinl.c: Likewise.
91457         * math/k_tanl.c: Likewise.
91458         * math/s_cacoshf.c: Likewise.
91459         * math/s_catan.c: Likewise.
91460         * math/s_catanf.c: Likewise.
91461         * math/s_catanh.c: Likewise.
91462         * math/s_catanhf.c: Likewise.
91463         * math/s_catanhl.c: Likewise.
91464         * math/s_catanl.c: Likewise.
91465         * math/s_ccosh.c: Likewise.
91466         * math/s_ccoshf.c: Likewise.
91467         * math/s_ccoshl.c: Likewise.
91468         * math/s_cexp.c: Likewise.
91469         * math/s_cexpf.c: Likewise.
91470         * math/s_cexpl.c: Likewise.
91471         * math/s_clog.c: Likewise.
91472         * math/s_clog10.c: Likewise.
91473         * math/s_clog10f.c: Likewise.
91474         * math/s_clog10l.c: Likewise.
91475         * math/s_clogf.c: Likewise.
91476         * math/s_clogl.c: Likewise.
91477         * math/s_csin.c: Likewise.
91478         * math/s_csinf.c: Likewise.
91479         * math/s_csinh.c: Likewise.
91480         * math/s_csinhf.c: Likewise.
91481         * math/s_csinhl.c: Likewise.
91482         * math/s_csinl.c: Likewise.
91483         * math/s_csqrt.c: Likewise.
91484         * math/s_csqrtf.c: Likewise.
91485         * math/s_csqrtl.c: Likewise.
91486         * math/s_ctan.c: Likewise.
91487         * math/s_ctanf.c: Likewise.
91488         * math/s_ctanh.c: Likewise.
91489         * math/s_ctanhf.c: Likewise.
91490         * math/s_ctanhl.c: Likewise.
91491         * math/s_ctanl.c: Likewise.
91492         * math/s_ldexp.c: Likewise.
91493         * math/s_ldexpf.c: Likewise.
91494         * math/s_ldexpl.c: Likewise.
91495         * math/s_significand.c: Likewise.
91496         * math/s_significandf.c: Likewise.
91497         * math/s_significandl.c: Likewise.
91498         * math/w_acos.c: Likewise.
91499         * math/w_acosf.c: Likewise.
91500         * math/w_acosh.c: Likewise.
91501         * math/w_acoshf.c: Likewise.
91502         * math/w_acoshl.c: Likewise.
91503         * math/w_acosl.c: Likewise.
91504         * math/w_asin.c: Likewise.
91505         * math/w_asinf.c: Likewise.
91506         * math/w_asinl.c: Likewise.
91507         * math/w_atan2.c: Likewise.
91508         * math/w_atan2f.c: Likewise.
91509         * math/w_atan2l.c: Likewise.
91510         * math/w_atanh.c: Likewise.
91511         * math/w_atanhf.c: Likewise.
91512         * math/w_atanhl.c: Likewise.
91513         * math/w_cosh.c: Likewise.
91514         * math/w_coshf.c: Likewise.
91515         * math/w_coshl.c: Likewise.
91516         * math/w_dremf.c: Likewise.
91517         * math/w_exp10.c: Likewise.
91518         * math/w_exp10f.c: Likewise.
91519         * math/w_exp10l.c: Likewise.
91520         * math/w_exp2.c: Likewise.
91521         * math/w_exp2f.c: Likewise.
91522         * math/w_fmod.c: Likewise.
91523         * math/w_fmodf.c: Likewise.
91524         * math/w_fmodl.c: Likewise.
91525         * math/w_hypot.c: Likewise.
91526         * math/w_hypotf.c: Likewise.
91527         * math/w_hypotl.c: Likewise.
91528         * math/w_j0.c: Likewise.
91529         * math/w_j0f.c: Likewise.
91530         * math/w_j0l.c: Likewise.
91531         * math/w_j1.c: Likewise.
91532         * math/w_j1f.c: Likewise.
91533         * math/w_j1l.c: Likewise.
91534         * math/w_jn.c: Likewise.
91535         * math/w_jnf.c: Likewise.
91536         * math/w_jnl.c: Likewise.
91537         * math/w_lgamma.c: Likewise.
91538         * math/w_lgamma_r.c: Likewise.
91539         * math/w_lgammaf.c: Likewise.
91540         * math/w_lgammaf_r.c: Likewise.
91541         * math/w_lgammal.c: Likewise.
91542         * math/w_lgammal_r.c: Likewise.
91543         * math/w_log.c: Likewise.
91544         * math/w_log10.c: Likewise.
91545         * math/w_log10f.c: Likewise.
91546         * math/w_log10l.c: Likewise.
91547         * math/w_log2.c: Likewise.
91548         * math/w_log2f.c: Likewise.
91549         * math/w_log2l.c: Likewise.
91550         * math/w_logf.c: Likewise.
91551         * math/w_logl.c: Likewise.
91552         * math/w_pow.c: Likewise.
91553         * math/w_powf.c: Likewise.
91554         * math/w_powl.c: Likewise.
91555         * math/w_remainder.c: Likewise.
91556         * math/w_remainderf.c: Likewise.
91557         * math/w_remainderl.c: Likewise.
91558         * math/w_scalb.c: Likewise.
91559         * math/w_scalbf.c: Likewise.
91560         * math/w_scalbl.c: Likewise.
91561         * math/w_sinh.c: Likewise.
91562         * math/w_sinhf.c: Likewise.
91563         * math/w_sinhl.c: Likewise.
91564         * math/w_sqrt.c: Likewise.
91565         * math/w_sqrtf.c: Likewise.
91566         * math/w_sqrtl.c: Likewise.
91567         * math/w_tgamma.c: Likewise.
91568         * math/w_tgammaf.c: Likewise.
91569         * math/w_tgammal.c: Likewise.
91571         * po/ja.po: Update from translation team.
91573 2011-09-29  Andreas Jaeger  <aj@suse.de>
91575         [BZ #13179]
91576         * sunrpc/netname.c (netname2host): Fix logic.
91578         [BZ #6779]
91579         [BZ #6783]
91580         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91581         correctly.
91582         * math/w_remainder.c (__remainder): Likewise.
91583         * math/w_remainderf.c (__remainderf): Likewise.
91584         * math/libm-test.inc (remainder_test): Add test cases.
91586 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91588         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91589         sdiv_qrnnd.
91591 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91593         * string/test-memcmp.c: Avoid unncessary #defines.
91594         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91596 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91598         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91599         Use new sse2 version for core i3 - i7 as it's faster
91600         than sse42 version.
91601         (bit_Prefer_PMINUB_for_stringop): New.
91602         * sysdeps/x86_64/rawmemchr.S: Update.
91603         Replace with faster SSE2 version.
91604         * sysdeps/x86_64/memrchr.S: New file.
91605         * sysdeps/x86_64/memchr.S: Update.
91606         Replace with faster SSE2 version.
91608 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91610         * elf/dl-load.c (lose): Add cast to avoid warning.
91612 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91614         * po/ca.po: Update from translation team.
91616         * inet/getnetgrent_r.c: Hook up nscd.
91617         * nscd/Makefile (routines): Add nscd_netgroup.
91618         (nscd-modules): Add netgroupcache.
91619         (CFLAGS-netgroupcache.c): Define.
91620         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91621         (cache_search): Add const to second parameter.
91622         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91623         INNETGR.
91624         (dbs): Add netgrdb entry.
91625         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91626         (verify_persistent_db): Handle netgrdb.
91627         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91628         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91629         GETFDNETGR.
91630         (netgroup_response_header): Define.
91631         (innetgroup_response_header): Define.
91632         (datahead): Add netgroup_response_header and innetgroup_response_header
91633         elements.
91634         * nscd/nscd.conf: Add entries for netgroup cache.
91635         * nscd/nscd.h (dbtype): Add netgrdb.
91636         (_PATH_NSCD_NETGROUP_DB): Define.
91637         (netgroup_iov_disabled): Declare.
91638         (xmalloc, xcalloc, xrealloc): Move declarations here.
91639         (cache_search): Adjust prototype.
91640         Add netgroup-related prototypes.
91641         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91642         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91643         (__nscd_innetgr): Declare.
91644         * nscd/selinux.c (perms): Use access_vector_t as element type and
91645         add netgroup-related initializers.
91646         * nscd/netgroupcache.c: New file.
91647         * nscd/nscd_netgroup.c: New file.
91648         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91649         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91650         For four parameters use innetgr.
91651         * nss/nss_files/files-init.c: Add definition and callback for netgr.
91652         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91653         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91654         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91656         * nscd/connections.c (register_traced_file): Don't register file
91657         for disabled databases.
91659 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
91661         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91663         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91664         from tree and freeing node.
91666 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
91668         * nss/nsswitch.c (__nss_database_lookup): Handle
91669         nss_parse_service_list out of memory case.
91671 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
91673         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91674         out of memory case.
91676 2011-10-04  Andreas Schwab  <schwab@redhat.com>
91678         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91679         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91680         pass it down.
91681         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91682         elf_machine_rela, elf_machine_lazy_rel.
91683         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91684         (ELF_DYNAMIC_DO_REL): Likewise.
91685         (ELF_DYNAMIC_DO_RELA): Likewise.
91686         (ELF_DYNAMIC_RELOCATE): Likewise.
91687         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91688         to ELF_DYNAMIC_DO_REL.
91689         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91690         (dl_main): In trace mode always set __RTLD_NOIFUNC.
91691         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91692         elf_machine_rela.
91693         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91694         skip_ifunc, don't call ifunc function if non-zero.
91695         (elf_machine_rela): Likewise.
91696         (elf_machine_lazy_rel): Likewise.
91697         (elf_machine_lazy_rela): Likewise.
91698         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91699         (elf_machine_lazy_rel): Likewise.
91700         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91701         Likewise.
91702         (elf_machine_lazy_rel): Likewise.
91703         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91704         Likewise.
91705         (elf_machine_lazy_rel): Likewise.
91706         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91707         (elf_machine_lazy_rel): Likewise.
91708         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91709         (elf_machine_lazy_rel): Likewise.
91710         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91711         (elf_machine_lazy_rel): Likewise.
91712         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91713         (elf_machine_lazy_rel): Likewise.
91714         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91715         (elf_machine_lazy_rel): Likewise.
91716         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91717         (elf_machine_lazy_rel): Likewise.
91719 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
91721         * nss/nss_files/files-init.c (_nss_files_init): Use static
91722         initialization for all the *_traced_file variables.
91724 2011-09-28  Andreas Schwab  <schwab@redhat.com>
91726         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91728 2011-09-27  Roland McGrath  <roland@hack.frob.com>
91730         [BZ #13226]
91731         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91733 2011-09-27  Andreas Schwab  <schwab@redhat.com>
91735         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91736         Reread the line before reparsing it.
91738 2011-09-26  Andreas Schwab  <schwab@redhat.com>
91740         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91742 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
91743             Maxim Kuvyrkov  <maxim@codesourcery.com>
91744             Joseph Myers  <joseph@codesourcery.com>
91746         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91747         if needed for __stack_chk_guard.
91749 2011-09-19  Roland McGrath  <roland@hack.frob.com>
91751         * sysdeps/posix/spawni.c (script_execute): Always define it.
91752         It will be optimized away if unused.
91753         (maybe_script_execute): New function.
91754         (__spawni): Call it.
91756         * Makerules: Don't include tls.make.
91757         (config-tls): Always set to thread.
91758         * tls.make.c: File removed.
91760 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
91762         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91763         * config.make.in (CPPFLAGS-config): New substituted variable.
91765 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91767         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91769         [BZ #13192]
91770         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91771         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91773 2011-09-15  Roland McGrath  <roland@hack.frob.com>
91775         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91776         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91777         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91778         (CALL_FAIL): Likewise.
91779         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91780         (CALL_FAIL): Macro removed.
91781         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91783 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91785         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91786         for __FINITE_MATH_ONLY__ == 1.
91788 2011-09-15  Andreas Schwab  <schwab@redhat.com>
91790         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91791         __ieee754_sqrt instead of sqrt.
91792         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91793         __ieee754_sqrtf instead of sqrtf.
91794         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91795         __floorf instead of floorf.
91796         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91797         __floorf, __truncf instead of floorf, truncf.
91799 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
91801         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91803         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91804         __extern_always_inline.
91805         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91806         32-bit.
91808 2011-09-14  Andreas Schwab  <schwab@redhat.com>
91810         * elf/rtld.c (dl_main): Also relocate in dependency order when
91811         doing symbol dependency testing.
91813 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
91815         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91816         Always define `refsym'.
91818 2011-09-13  Andreas Schwab  <schwab@redhat.com>
91820         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91821         (__FD_ELT): Renamed from __FDELT.
91822         * misc/bits/select2.h (__FD_ELT): Likewise.
91823         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91824         __FD_MASK instead of __FDELT, __FDMASK.
91825         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91826         Likewise.
91827         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91828         Likewise.
91830         * elf/Makefile (gen-ldd): Fix pattern.
91832         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91833         (init_tls): Likewise.
91835 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
91837         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91839 2011-09-12  Andreas Schwab  <schwab@redhat.com>
91841         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91842         `struct cmsghdr *' instead of `void *'.
91843         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91844         Likewise.
91846 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
91848         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91849         if non-absolute.
91850         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91851         ldd_rewrite_script.
91853 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
91855         * configure.in: Remove --with-tls option.
91856         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91857         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91858         out in case it is missing.
91859         * sysdeps/ia64/elf/configure.in: Likewise.
91860         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91861         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91862         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91863         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91864         * sysdeps/sh/elf/configure.in: Likewise.
91865         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91866         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91867         * sysdeps/x86_64/elf/configure.in: Likewise.
91868         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91869         * sysdeps/mach/hurd/tls.h: Likewise.
91871         [BZ #13067]
91872         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91874         [BZ #13090]
91875         * configure.in: Fix use of AC_INIT.
91877         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91879 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
91881         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91882         __set_errno.
91883         * malloc/hooks.c: Likewise.
91885         [BZ #11929]
91886         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
91887         variables statically.
91888         (narenas): Initialize.
91889         (list_lock): Initialize.
91890         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
91891         initializtion of main_arena and list_lock.  Small cleanups.
91892         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91893         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
91894         Add initializers to main_arena and mp_.
91895         (malloc_state): Remove pagesize member.  Change all users to use
91896         GLRO(dl_pagesize).
91898         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91899         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
91900         is always initialized.
91902         * malloc/malloc.c: Removed unused configurations and dead code.
91903         * malloc/arena.c: Likewise.
91904         * malloc/hooks.c: Likewise.
91905         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91907         * include/tls.h: Removed.  USE___THREAD must always be defined.
91908         * bits/libc-tsd.h: Don't handle !USE___THREAD.
91909         * elf/dl-libc.c: Likewise.
91910         * elf/dl-tsd.c: Likewise.
91911         * include/errno.h: Likewise.
91912         * include/netdb.h: Likewise.
91913         * include/resolv.h: Likewise.
91914         * inet/herrno-loc.c: Likewise.
91915         * inet/herrno.c: Likewise.
91916         * malloc/arena.c: Likewise.
91917         * malloc/hooks.c: Likewise.
91918         * malloc/malloc.c: Likewise.
91919         * resolv/res-state.c: Likewise.
91920         * resolv/res_libc.c: Likewise.
91921         * sysdeps/i386/dl-machine.h: Likewise.
91922         * sysdeps/ia64/dl-machine.h: Likewise.
91923         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91924         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91925         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91926         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91927         * sysdeps/sh/dl-machine.h: Likewise.
91928         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91929         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91930         * sysdeps/unix/i386/sysdep.S: Likewise.
91931         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91932         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91933         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91934         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91935         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91936         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91937         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91940         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91941         * sysdeps/unix/x86_64/sysdep.S: Likewise.
91942         * sysdeps/x86_64/dl-machine.h: Likewise.
91943         * tls.make.c: Likewise.
91945         * configure.in: Remove --with-__thread option.  Make tests for
91946         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91947         tls_model attribute fail if no support is available.  Remove
91948         USE_IN_LIBIO.
91949         * Makeconfig: Adjust for dropped configure option.  All features are
91950         now mandatory.
91951         * Makerules: Likewise.
91952         * Versions.def: Likewise.
91953         * argp/argp-fmtstream.c: Likewise.
91954         * argp/argp-fmtstream.h: Likewise.
91955         * argp/argp-help.c: Likewise.
91956         * assert/assert.c: Likewise.
91957         * config.h.in: Likewise.
91958         * config.make.in: Likewise.
91959         * configure: Likewise.
91960         * configure.in: Likewise.
91961         * csu/Versions: Likewise.
91962         * csu/init.c: Likewise.
91963         * elf/tst-audit2.c: Likewise.
91964         * elf/tst-tls10.c: Likewise.
91965         * elf/tst-tls10.h: Likewise.
91966         * elf/tst-tls11.c: Likewise.
91967         * elf/tst-tls12.c: Likewise.
91968         * elf/tst-tls14.c: Likewise.
91969         * elf/tst-tlsmod11.c: Likewise.
91970         * elf/tst-tlsmod12.c: Likewise.
91971         * elf/tst-tlsmod13.c: Likewise.
91972         * elf/tst-tlsmod13a.c: Likewise.
91973         * elf/tst-tlsmod14a.c: Likewise.
91974         * elf/tst-tlsmod15b.c: Likewise.
91975         * elf/tst-tlsmod16a.c: Likewise.
91976         * elf/tst-tlsmod16b.c: Likewise.
91977         * elf/tst-tlsmod7.c: Likewise.
91978         * elf/tst-tlsmod8.c: Likewise.
91979         * elf/tst-tlsmod9.c: Likewise.
91980         * gmon/gmon.c: Likewise.
91981         * grp/fgetgrent_r.c: Likewise.
91982         * grp/putgrent.c: Likewise.
91983         * hurd/fopenport.c: Likewise.
91984         * include/libc-symbols.h: Likewise.
91985         * include/tls.h: Likewise.
91986         * intl/gettextP.h: Likewise.
91987         * intl/loadinfo.h: Likewise.
91988         * locale/global-locale.c: Likewise.
91989         * locale/localeinfo.h: Likewise.
91990         * mach/devstream.c: Likewise.
91991         * malloc/arena.c: Likewise.
91992         * malloc/set-freeres.c: Likewise.
91993         * misc/err.c: Likewise.
91994         * misc/getttyent.c: Likewise.
91995         * misc/mntent_r.c: Likewise.
91996         * posix/getopt.c: Likewise.
91997         * posix/wordexp.c: Likewise.
91998         * pwd/fgetpwent_r.c: Likewise.
91999         * resolv/Versions: Likewise.
92000         * resolv/res_hconf.c: Likewise.
92001         * shadow/fgetspent_r.c: Likewise.
92002         * shadow/putspent.c: Likewise.
92003         * stdio-common/printf_fphex.c: Likewise.
92004         * stdio-common/tmpfile.c: Likewise.
92005         * stdlib/abort.c: Likewise.
92006         * stdlib/fmtmsg.c: Likewise.
92007         * sunrpc/auth_unix.c: Likewise.
92008         * sunrpc/clnt_perr.c: Likewise.
92009         * sunrpc/clnt_tcp.c: Likewise.
92010         * sunrpc/clnt_udp.c: Likewise.
92011         * sunrpc/clnt_unix.c: Likewise.
92012         * sunrpc/openchild.c: Likewise.
92013         * sunrpc/svc_simple.c: Likewise.
92014         * sunrpc/svc_tcp.c: Likewise.
92015         * sunrpc/svc_udp.c: Likewise.
92016         * sunrpc/svc_unix.c: Likewise.
92017         * sunrpc/xdr.c: Likewise.
92018         * sunrpc/xdr_array.c: Likewise.
92019         * sunrpc/xdr_rec.c: Likewise.
92020         * sunrpc/xdr_ref.c: Likewise.
92021         * sunrpc/xdr_stdio.c: Likewise.
92023 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92025         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92027 2011-07-03  Andreas Jaeger  <aj@suse.de>
92029         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92030         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92031         regenerate with gen-libm-tests.pl.
92033 2010-05-12  Petr Baudis  <pasky@suse.cz>
92035         [BZ #11589]
92036         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92037         around j0() zero points by switching to j1().
92038         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92039         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92041         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92043 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92045         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92046         instead of 0.
92047         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92048         instead of 0.
92049         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92050         Patch in part by Pavel Roskin <proski@gnu.org>.
92052         [BZ #13138]
92053         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92054         realloc.
92055         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
92056         Free memory block if necessary.
92058         [BZ #12847]
92059         * libio/genops.c (INTDEF): For string streams the _lock pointer can
92060         be NULL.  Don't lock in this case.
92062 2011-09-09  Roland McGrath  <roland@hack.frob.com>
92064         * elf/elf.h (ELFOSABI_GNU): New macro.
92065         (ELFOSABI_LINUX): Define to that.
92067 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
92069         * string/strncat.c (strncat): Undef the symbol in case it has been
92070         defined in bits/string.h.
92072 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92074         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92076         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92077         link map.
92079 2011-08-17  Andreas Jaeger  <aj@suse.de>
92081         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92083 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
92084             Ian Lance Taylor  <iant@google.com>
92086         * math/libm-test.inc (lround_test): New testcase.
92087         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92089 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
92091         * Makefile: Remove support for automatic cvs check-ins.
92092         * Makerules: Likewise.
92093         * config.make.in: Likewise.
92094         * configure.in: Likewise.
92095         * intl/Makefile: Likewise.
92096         * locale/Makefile: Likewise.
92097         * po/Makefile: Likewise.
92098         * posix/Makefile: Likewise.
92099         * sysdeps/gnu/Makefile: Likewise.
92100         * sysdeps/mach/hurd/Makefile: Likewise.
92101         * sysdeps/sparc/sparc32/Makefile: Likewise.
92103         [BZ #13118]
92104         * posix/Makefile (bug-regex32-ENV): Define.
92105         Patch by John Stanley <jpsinthemix@verizon.net>.
92107         * misc/Makefile (headers): Add bits/select2.h.
92108         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92109         * misc/bits/select2.h: New file.
92110         * include/bits/select2.h: New file.
92111         * debug/Makefile (routines): Add fdelt_chk.
92112         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92113         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92114         FD_ISSET.
92115         * debug/fdelt_chk.c: New file.
92117         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
92118         * wcsmbs/test-wmemcmp.c: Likewise.
92119         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92120         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92122 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92124         * string/Makefile (strop-tests): Add memcmp.
92125         * string/test-wmemcmp.c: New file.
92126         * string/test-memcmp.c: Add wmemcmp support.
92128 2011-09-08  Roland McGrath  <roland@hack.frob.com>
92130         [BZ #13153]
92131         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92132         2011-07-19 change.
92134         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92135         garbage value in a __mach_port_mod_refs call in the cases of the
92136         task-self and thread-self ports.
92138 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92140         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92142 2011-09-08  Andreas Schwab  <schwab@redhat.com>
92144         * elf/dl-load.c (lose): Check for non-null L.
92146 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92148         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92150         * elf/dl-libc.c (dlerror_run): Pass back error code from
92151         dl_catch_error.
92153         [BZ #13123]
92154         * elf/dl-load.c (lose): Free l_origin if it is valid.
92156         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92157         names.
92158         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92159         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92160         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92161         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92162         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92163         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92165 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
92167         * sysdeps/powerpc/fpu/e_hypot.c: New file.
92168         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92169         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92170         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92171         * sysdeps/powerpc/fpu/k_cosf.c: New file.
92172         * sysdeps/powerpc/fpu/k_sinf.c: New file.
92173         * sysdeps/powerpc/fpu/s_cosf.c: New file.
92174         * sysdeps/powerpc/fpu/s_sinf.c: New file.
92175         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92176         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92178 2011-08-15  Alan Modra  <amodra@gmail.com>
92180         [BZ #13092]
92181         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92182         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92183         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
92184         ppc_mcount to static-only-routines.
92185         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92186         __mcount_internal.
92187         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92188         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
92190 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
92192         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92193         for finite and infinity parameters.
92195 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
92197         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92198         and add nop instructions for throughput optimization.
92199         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92201 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
92203         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92204         aligned copy for power7 with vector-scalar instructions.
92205         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92207 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
92209         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92210         AVX check.
92212 2011-09-07  Andreas Schwab  <schwab@redhat.com>
92214         [BZ #13144]
92215         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92216         last change.
92218 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92220         * sysdeps/unix/sysv/linux/x86_64/init-first.c
92221         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92222         syscall wrapper around clock_gettime in __vdso_clock_gettime.
92223         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92224         clock_gettime.
92226 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92228         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92229         Forgot to demangle the pointer.
92231         * sysdeps/i386/sysdep.h: Define atom_text_section.
92232         * sysdeps/x86_64/sysdep.h: Likewise.
92233         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92234         section with atom_text_section.
92235         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92236         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92237         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92238         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92239         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92241         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92242         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92243         already be defined.  Change to take two parameters and don't assign
92244         result to variable.  Adjust all users.
92245         Define INTERNAL_GETTIME if not already defined.
92246         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92247         call.
92248         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92249         HAVE_CLOCK_GETTIME_VSYSCALL.
92250         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92252         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92253         gettimeofday vsyscall, just use time.
92255 2011-09-06  Andreas Schwab  <schwab@redhat.com>
92257         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92258         <errno.h>.
92260 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92262         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92263         syscall on x86-64.
92264         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92265         syscall.
92266         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92267         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92268         syscall if possible.
92270 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92272         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92273         e_ident.  Don't pass to find_mapsXX.
92274         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92276 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92279         strchr-sse2-no-bsf strrchr-sse2-no-bsf
92280         * sysdeps/x86_64/multiarch/strchr.S: Update.
92281         Check bit_slow_BSF bit.
92282         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92283         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92284         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92286 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92288         [BZ #13134]
92289         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92290         before glibc 2.15.
92291         (tryshell): Define.
92292         (__spawni): Change last parameter to be flag.  Test
92293         SPAWN_XFLAGS_USE_PATH flag to use path or not.
92294         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92295         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92296         * posix/spawni.c: Likewise.
92297         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92298         * posix/spawnp.c: Likewise.  Change normal version to use
92299         SPAWN_XFLAGS_USE_PATH.
92300         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92301         SPAWN_XFLAGS_TRY_SHELL.
92303         [BZ #13150]
92304         * posix/glob.h: Remove gcc 1.x support.
92306         [BZ #13068]
92307         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92309 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92311         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92312         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92313         strrchr-sse2-bsf
92314         * sysdeps/i386/i686/multiarch/strchr.S: New file.
92315         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92316         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92317         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92318         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92319         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92321 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92323         * sysdeps/x86_64/wcscmp.S: New file.
92325         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92326         wcscmp-c wcscmp-sse2
92327         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92328         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92329         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92330         * wcsmbs/wcscmp.c: Allow renaming.
92332 2011-09-05  David S. Miller  <davem@davemloft.net>
92334         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92335         stack slot, rather than the struct return pointer slot.
92336         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92337         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92339         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92341 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92343         * po/ja.po: Update from translation team.
92345         [BZ #13144]
92346         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92347         kernel in 64-bit binaries.
92349 2011-09-01  David S. Miller  <davem@davemloft.net>
92351         * elf/elf.h (HWCAP_SPARC_*): Move to..
92352         * sysdeps/sparc/sysdep.h: this new file and add new values.
92353         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92354         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92355         _DL_HWCAP_COUNT to 24.
92356         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92357         entries.
92358         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92359         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92360         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92361         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92362         instead of magic constants.
92363         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92365 2011-08-31  David S. Miller  <davem@davemloft.net>
92367         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92368         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92369         Reimplement to do errno handling inline.
92370         (SYSCALL_ERROR_HANDLER): New macro.
92371         (__SYSCALL_STRING): Do not do errno handling in asm.
92372         (__CLONE_SYSCALL_STRING): Delete.
92373         (__INTERNAL_SYSCALL_STRING): Delete.
92374         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92375         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92376         (PSEUDO): Reimplement to do errno handling inline.
92377         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92378         (SYSCALL_ERROR_HANDLER): New macro.
92379         (__SYSCALL_STRING): Do not do errno handling in asm.
92380         (__CLONE_SYSCALL_STRING): Delete.
92381         (__INTERNAL_SYSCALL_STRING): Delete.
92382         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92383         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92384         i386.
92385         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92386         (inline_syscall*): Add 'err' argument.
92387         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92388         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92389         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92390         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92392         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92393         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92395 2011-08-30  Andreas Schwab  <schwab@redhat.com>
92397         * elf/rtld.c (dl_main): Relocate objects in dependency order.
92399 2011-08-29  Jiri Olsa <jolsa@redhat.com>
92401         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92402         directive.
92404 2011-08-24  David S. Miller  <davem@davemloft.net>
92406         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92408 2011-08-24  Andreas Schwab  <schwab@redhat.com>
92410         * elf/Makefile: Add rules to build and run unload8 test.
92411         * elf/unload8.c: New file.
92412         * elf/unload8mod1.c: New file.
92413         * elf/unload8mod1x.c: New file.
92414         * elf/unload8mod2.c: New file.
92415         * elf/unload8mod3.c: New file.
92417         * elf/dl-close.c (_dl_close_worker): Reset private search list if
92418         it wasn't used.
92420 2011-08-23  David S. Miller  <davem@davemloft.net>
92422         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92423         subtract stack bias.
92424         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92425         %sp not %fp in calculations.
92426         (_JMPBUF_UNWINDS_ADJ): Likewise.
92428         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92429         (aio_suspend): Call it to force an exception region around the
92430         AIO_MISC_WAIT() invocation.
92432 2011-08-23  Andreas Schwab  <schwab@redhat.com>
92434         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92435         backslash.
92437 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
92439         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92440         protection macro.
92441         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92442         and <dl-machine.h>.
92443         (Elf64_FuncDesc): Remove.
92445 2011-08-22  David S. Miller  <davem@davemloft.net>
92447         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92448         sigaltstack check, add missing cfi directives.
92449         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92450         missing cfi directives, and sigaltstack handling.
92452 2011-08-16  Andreas Schwab  <schwab@redhat.com>
92454         [BZ #11724]
92455         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92456         object is seen twice.
92457         * elf/dl-fini.c (_dl_sort_fini): Likewise.
92459         * elf/Makefile (distribute): Add tst-initorder2.c.
92460         (tests): Add tst-initorder2.
92461         (modules-names): Add tst-initorder2a tst-initorder2b
92462         tst-initorder2c tst-initorder2d.  Add rules to build them.
92463         ($(objpfx)tst-initorder2.out): New rule.
92464         * elf/tst-initorder2.c: New file.
92465         * elf/tst-initorder2.exp: New file.
92467 2011-08-22  Andreas Schwab  <schwab@redhat.com>
92469         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92471         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92472         dependencies back to end of function.
92474         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92475         $(elfobjdir)/ld.so.
92477 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
92479         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92480         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92481         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92482         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92483         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92484         of __vdso_gettimeofday.
92485         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92486         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
92487         attribute_hidden.
92488         (_libc_vdso_platform_setup): Remove initialization of
92489         __vdso_gettimeofday and __vdso_time.
92491 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92493         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92494         and fgetc_unlocked.
92495         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92496         getc_unlocked.
92498         * elf/dl-open.c (add_to_global): Report additions to the global scope
92499         for LD_DEBUG=scopes.
92500         (dl_open_worker): Also print scope of newly loaded dependencies.
92501         (_dl_show_scope): Indicate if there is no scope.
92503         [BZ #13114]
92504         * stdio-common/Makefile (tests): Add bug24.
92505         * stdio-common/bug24.c: New file.
92507 2011-08-19  Andreas Jaeger  <aj@suse.de>
92509         [BZ #13114]
92510         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92511         non-existant file when using close-on-exec mode.
92513 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92515         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92516         the very first instruction.
92518         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92519         the CFI state in the end.
92520         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92521         inclusion of dl-trampoline.h.
92522         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92524 2011-08-19  Andreas Schwab  <schwab@redhat.com>
92526         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92527         expectations for long double.
92529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92530         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92532 2011-08-14  David S. Miller  <davem@davemloft.net>
92534         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92535         artificual limit depends upon the system page size.
92537 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92539         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92540         * resolv/Makefile: Define CFLAGS-libresolv.
92542 2011-08-17  Andreas Schwab  <schwab@redhat.com>
92544         * nss/makedb.c (compute_tables): Make variables used in nested
92545         function static.
92547 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92549         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92550         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92551         if buffer was too small.
92553         * elf/pldd.c (main): Attach to all threads in the process.
92554         Rewrite /proc handling to use *at functions.
92556 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92558         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92559         specifies first scope to show.
92560         (dl_open_worker): Update callers.  Move printing scope of new
92561         object to before the relocation.
92562         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92563         * sysdeps/generic/ldsodefs.h: Update declaration.
92565         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92566         string for the scope number.
92568 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92570         * nscd/servicescache.c (cache_addserv): Make sure written is always
92571         initialized.
92573 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92575         * sysdeps/i386/i486/bits/atomic.h
92576         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92577         statement expression, so as to suppress "set but not used" warning.
92578         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92580         * string/strncat.c (STRNCAT): Use prototype definition.
92582         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92583         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92584         -Iprograms here.
92585         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92586         (localedef-modules): Add localedef.
92587         (locale-modules): Add locale.
92589         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92590         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92591         to avoid a warning.
92593 2011-08-14  David S. Miller  <davem@davemloft.net>
92595         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92596         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92598 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92600         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92601         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92602         * elf/rtld.c (dl_main): Set l_name of vDSO.
92603         Call _dl_show_scope when DL_DEBUG_SCOPES.
92604         (process_dl_debug): Recognize scopes flag and also set it for all.
92605         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92606         Declare _dl_show_scope.
92608         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92609         (do_dlopen): Pass caller_dlopen to dl_open.
92610         (__libc_dlopen_mode): Initialize caller_dlopen.
92612         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92613         of libc.  Make tolower call locale-independent.  Optimize a bit by
92614         using isdigit instead of isalnum.
92615         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92617 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92619         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92620         was a dependency or dynamically loaded.
92622 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92624         * intl/l10nflist.c: Allow architecture-specific pop function.
92625         * sysdeps/x86_64/l10nflist.c: New file.
92627         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92628         classification.
92630 2011-08-10  Andreas Schwab  <schwab@redhat.com>
92632         * include/dirent.h: Add libc_hidden_proto for scandirat and
92633         scandirat64.  Don't declare __scandirat64.
92634         * dirent/scandirat.c: Add libc_hidden_def.
92635         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92636         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92638 2011-08-10  David S. Miller  <davem@davemloft.net>
92640         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92641         enum.
92642         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92643         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92644         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92646 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
92648         * Versions.def [libc]: Add GLIBC_2.15.
92649         * dirent/Makefile (routines): Add scandirat and scandirat64.
92650         * dirent/Versions [libc]: Export scandirat and scandirat64 for
92651         GLIBC_2.15.
92652         * dirent/dirent.h: Declare scandirat and scandirat64.
92653         * dirent/scandirat.c: New file.
92654         * dirent/scandirat64.c: New file.
92655         * sysdeps/wordsize-64/scandirat.c: New file.
92656         * sysdeps/wordsize-64/scandirat64.c: New file.
92657         * dirent/opendir.c: Define opendirat.
92658         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
92659         using scandirat.
92660         * dirent/scandir64.c: Adjust for scandir.c change.
92661         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
92662         __scandirat64, and __scandir_cancel_handler.
92663         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
92664         additional parameter and use openat instead of open (outside of ld.so).
92665         Add new __opendir as wrapper around __opendirat.
92666         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92667         here without requiring old scandirat implementation.
92669 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
92671         * dirent/scandir.c (cancel_handler): Renamed to
92672         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
92673         defined.  Adjust users.
92674         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92675         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92677 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
92679         * string/test-string.h (IMPL): Use __STRING to expand name and then
92680         stringify it.
92682         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
92683         of cleanups.
92685 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92687         * string/Makefile: Update.
92688         (strop-tests): Append strncat.
92689         * string/test-wcscmp.c: New file.
92690         New comprehensive test for wcscmp.
92691         * string/test-strcmp.c: Update.
92692         (WIDE): New define.
92694 2011-07-22  Andreas Schwab  <schwab@redhat.com>
92696         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92697         line.
92699 2011-07-26  Andreas Schwab  <schwab@redhat.com>
92701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92702         encoding to ACE if AI_IDN.
92704 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
92706         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92707         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92709 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92711         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92712         Fix overflow bug in strncat.
92713         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92715         * string/test-strncat.c: Update.
92716         Add new tests for checking overflow bugs.
92718 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92721         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92722         * sysdeps/i386/i686/multiarch/strcat.S: New file.
92723         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92724         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92725         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92726         * sysdeps/i386/i686/multiarch/strncat.S: New file.
92727         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92728         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92730         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92731         (USE_AS_STRCAT): Define.
92732         Add strcat and strncat support.
92733         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92735 2011-07-25  Andreas Schwab  <schwab@redhat.com>
92737         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92738         __n bigger than INT_MAX+1.
92739         (__strncmp_g): Likewise.
92741 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
92743         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92744         * libio/stido.h: Likewise.
92746         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92747         (AF_NFC): Define.
92748         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92749         (AF_NFC): Define.
92751         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92752         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92753         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92754         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92755         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92757         [BZ #13021]
92758         * scripts/test-installation.pl: Don't expect libnss_test1 to be
92759         installed.
92761         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92762         typo.
92763         (_dl_x86_64_save_sse): Likewise.
92765 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
92767         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92768         OSXSAVE.
92769         (_dl_x86_64_save_sse): Likewise.
92771         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92773         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92775 2011-07-21  Andreas Schwab  <schwab@redhat.com>
92777         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92778         change.
92779         (_dl_x86_64_save_sse): Use correct AVX check.
92781 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92783         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92784         bug in strncpy/strncat.
92785         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92787 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
92789         * string/tester.c (test_strcat): Add tests for different alignments
92790         of source and destination.
92791         (test_strncat): Likewise.
92793 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92795         [BZ #12852]
92796         * posix/glob.c (glob): Check passed in values before using them in
92797         expressions to avoid some overflows.
92798         (glob_in_dir): Likewise.
92800         [BZ #13007]
92801         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92802         check for AVX enablement so that we don't crash with old kernels and
92803         new hardware.
92804         * elf/tst-audit4.c: Add same checks here.
92805         * elf/tst-audit6.c: Likewise.
92807         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92809 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
92811         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92813 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92815         * po/cs.po: Update from translation team.
92816         * po/bg.po: Likewise.
92818 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
92820         * misc/sys/cdefs.h: Add support for const attribute.
92821         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92822         to gnu_dev_{major,minor,makedev} functions.
92824 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
92826         * intl/dcigettext.c (get_output_charset): Add missing bracket.
92828 2011-07-20  Andreas Schwab  <schwab@redhat.com>
92830         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92831         strlen results.
92833 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92835         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92836         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92837         register in order to avoid conflicts with the soft frame pointer
92838         being held in r11 when necessary.
92839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92840         (INTERNAL_VSYSCALL_NCS): Likewise.
92842 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
92844         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92845         * elf/dl-fini.c (_dl_fini): Adjust caller.
92846         * elf/dl-close.c (_dl_close_worker): Likewise.
92847         * sysdeps/generic/ldsodefs.h: Adjust declaration.
92849 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92851         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92852         "aux_cache->nlibs < 0".
92854         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92855         in the reload-count case.
92857 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92859         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92860         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92861         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92862         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92863         * sysdeps/x86_64/multiarch/strcat.S: New file.
92864         * sysdeps/x86_64/multiarch/strncat.S: New file.
92865         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92866         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92867         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92868         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92869         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92870         (USE_AS_STRCAT): Define.
92871         Add strcat and strncat support.
92872         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92873         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92874         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92875         * string/strncat.c: Update.
92876         (USE_AS_STRNCAT): Define.
92877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92878         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92879         and i7.
92880         * sysdeps/x86_64/multiarch/init-arch.h
92881         (bit_Prefer_PMINUB_for_stringop): New.
92882         (index_Prefer_PMINUB_for_stringop): Likewise.
92883         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92884         bit_Prefer_PMINUB_for_stringop.
92886 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92888         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92889         buffer64.
92890         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92891         of casting of buffer.
92892         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92893         buffer32 and buffer64.
92894         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92895         writes instead of casting of buffer.
92896         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92897         buffer32.
92898         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92899         casting of buffer.
92901 2011-07-19  Andreas Schwab  <schwab@redhat.com>
92903         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92905 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92907         * nscd/nscd.c (termination_handler): Don't do anything for a database
92908         if it has not yet been initialized.
92910 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
92912         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92914 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92916         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92918 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
92920         * po/nl.po: Update from translation team.
92921         * po/sv.po: Likewise.
92923 2011-07-16  Roland McGrath  <roland@hack.frob.com>
92925         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92926         now disallowed by GCC.
92928         * configure.in (use-default-link): Default to yes if a test -shared
92929         link meets our qualifications.
92930         * configure: Regenerated.
92932         * config.make.in (output-format): New variable.
92933         * configure.in: Check for ld --print-output-format support.
92934         * configure: Regenerated.
92935         * Makerules ($(common-objpfx)format.lds)
92936         [$(output-format) != unknown]: Just use $(output-format),
92937         instead of the linker-script munging.
92939 2011-07-14  Roland McGrath  <roland@hack.frob.com>
92941         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92942         of $(common-objpfx)shlib.lds.
92943         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92945         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92946         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92948         * configure.in (-z relro check): Adjust test code to add a large
92949         writable data section after it.
92950         * configure: Regenerated.
92952 2011-07-11  Roland McGrath  <roland@hack.frob.com>
92954         * configure.in (-z relro check): Fix test code to make the variable
92955         truly const.
92956         * configure: Regenerated.
92958 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
92960         * nscd/nscd.h (struct traced_file): Define.
92961         (struct database_dyn): Remove inotify_descr, reset_res, and filename
92962         elements.  Add traced_files.
92963         (inotify_fd): Declare.
92964         (register_traced_file): Declare.
92965         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92966         (inotify_fd): Export.
92967         (resolv_conf_descr): Remove.
92968         (nscd_init): Move inotify descriptor creation to main.
92969         Don't register files for notification here.
92970         (register_traced_file): New function.
92971         (invalidate_cache): Don't use reset_res to determine whether to call
92972         res_init, go through the list of registered files.
92973         (main_loop_poll): The inotify descriptors are now stored in the
92974         structures for the traced files.
92975         (main_loop_epoll): Likewise.
92976         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
92977         to __nss_disable_nscd.
92978         * nscd/cache.c (prune_cache): There is no single inotify descriptor
92979         for a database anymore.  Check the records for all the registered
92980         files instead.
92981         * nss/Makefile (libnss_files-routines): Add files-init.
92982         (libnss_db-routines): Add db-init.
92983         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92984         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92985         * nss/nss_db/db-init.c: New file.
92986         * nss/nss_files/files-init.c: New file.
92987         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
92988         __nss_lookup_function.
92989         (__nss_lookup_function): Call nss_load_library.
92990         (nss_load_all_libraries): New function.
92991         (__nss_disable_nscd): Take parameter with callback function for files
92992         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
92993         used for the cached services.
92994         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92995         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92996         options for features to all the files in nscd.
92998         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93000 2011-07-10  Roland McGrath  <roland@hack.frob.com>
93002         * csu/elf-init.c (__libc_csu_init): Comment typo.
93004 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
93006         * po/pl.po: Update from translation team.
93007         * po/ja.po: Likewise.
93008         * po/ru.po: Likewise.
93009         * po/ko.po: Likewise.
93010         * po/fr.po: Likewise.
93012 2011-07-09  Roland McGrath  <roland@hack.frob.com>
93014         * configure.in (.ctors/.dtors header and trailer check):
93015         Use an empirical test on a built program.
93016         * configure: Regenerated.
93018         * configure.in (-z relro check): Use an empirical test on a built DSO.
93019         Detect, but do not require, on ia64.
93020         * configure: Regenerated.
93022         * configure.in (READELF): Find it with AC_CHECK_TOOL.
93023         Update tests that use readelf to use $READELF instead.
93024         * configure: Regenerated.
93026 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
93028         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93029         if the result is not used.
93031 2011-07-05  Andreas Jaeger  <aj@suse.de>
93033         [BZ #9696]
93034         * stdlib/tst-strtod.c: Add testcase.
93036 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
93038         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93039         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93040         The latter has a higher limit.  Take additional parameter to pass to
93041         the new function.
93042         (__pathconf): Pass file to __statfs_link_max.
93043         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93044         __statfs_link_max.
93045         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93046         __statfs_link_max.
93048         [BZ #12868]
93049         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93050         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93051         Handle Lustre.
93052         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93053         (__statfs_filesize_max): Likewise.
93054         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93056 2011-07-05  Andreas Jaeger  <aj@suse.de>
93058         * resolv/res_comp.c (dn_skipname): Remove unused variable.
93060 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
93062         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93063         `status' variable.
93064         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93065         Likewise.
93067 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
93069         * Makefile (strop-tests): Add strncat.
93070         * string/test-strncat.c: New file.
93072 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
93074         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93076 2011-06-21  Andreas Jaeger  <aj@suse.de>
93078         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93079         Copy rule from iconvdata/Makefile.
93081 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93083         [BZ #12922]
93084         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93085         but no long options are defined, just return 'W'.
93087 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
93089         [BZ #9696]
93090         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93092 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93094         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93095         netgroups to read.
93096         (innetgr): Likewise.
93098 2011-07-05  Roland McGrath  <roland@hack.frob.com>
93100         * config.make.in (install_root): Default to $(DESTDIR).
93102 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
93104         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93106 2011-07-02  Roland McGrath  <roland@hack.frob.com>
93108         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93110         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93111         containing directory rather than embedding absolute directory names.
93113         * scripts/check-local-headers.sh: Rewritten using awk.
93114         Match by word, not by line.  Print error messages for matches.
93115         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93117         * Makerules [shlib-lds-flags empty]:
93118         ($(common-objpfx)libc_pic.opts): New target.
93119         ($(common-objpfx)libc_pic.os.clean): New target.
93120         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93122         * config.make.in (OBJCOPY): New variable.
93123         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93124         * configure: Regenerated.
93126         * config.make.in (use-default-link): New variable.
93127         * configure.in (use_default_link): Grok --with-default-link to set it.
93128         * configure: Regenerated.
93129         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93130         (shlib-lds, shlib-lds-flags): Define to empty.
93132         * Makerules (shlib-lds): New variable.
93133         (shlib-lds-flags): New variable.
93134         (build-shlib, build-moduile, build-module-asneeded): Use it.
93135         ($(common-objpfx)libc.so): Use $(shlib-lds).
93136         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93137         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93139         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93140         DT_FLAGS/DT_FLAGS_1 with zero flags.
93142         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93143         linker script munging.
93145 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
93147         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93148         as 128-bit value.
93149         * crypt/sha512.c (sha512_process_block): Perform total addition using
93150         128-bit if possible.
93151         (__sha512_finish_ctx): Likewise.
93152         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93153         as 64-bit value.
93154         * crypt/sha256.c (SWAP64): Define.
93155         (sha256_process_block): Perform total addition using 64-bit if
93156         possible.
93157         (__sha256_finish_ctx): Likewise.
93159 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
93161         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
93162         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93163         * nscd/hstcache.c (cache_addhst): Likewise.
93164         * nscd/grpcache.c (cache_addgr): Likewise.
93165         * nscd/aicache.c (addhstaiX): Likewise.
93166         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93168 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
93170         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93171         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93172         * nscd/hstcache.c (cache_addhst): Likewise.
93173         * nscd/grpcache.c (cache_addgr): Likewise.
93174         * nscd/aicache.c (addhstaiX): Likewise.
93176 2011-07-01  Andreas Schwab  <schwab@redhat.com>
93178         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93179         domain only when needed.
93181 2011-06-30  Andreas Schwab  <schwab@redhat.com>
93183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93184         is always restored.
93186 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
93188         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93189         are re-adding the entry.
93190         * nscd/servicescache.c (cache_addserv): Likewise.
93192 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
93194         * sysdeps/generic/dl-irel.h: fix protection against multiple
93195         inclusions.
93196         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93198 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
93200         [BZ #12935]
93201         * malloc/memusage.sh: Fix quoting in message.
93202         * debug/xtrace.sh: Likewise.
93204         * configure.in: Remove support for --experimental-malloc option, make
93205         it the default.
93206         * config.make.in: Likewise.
93207         * malloc/Makefile: Likewise.
93209 2011-06-27  Andreas Schwab  <schwab@redhat.com>
93211         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93212         two-byte characters.
93214 2011-06-27  Roland McGrath  <roland@hack.frob.com>
93216         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93217         AC_CACHE_CHECK invocation.
93218         * configure: Regenerated.
93220         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93222 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
93224         [BZ #12350]
93225         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
93226         bit from old_res_options.
93228         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93230         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93231         value type for setfct.
93233 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
93235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93236         __gettimeofday instead of gettimeofday.
93238 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
93240         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93242 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
93244         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93246         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93247         info.
93249 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93252         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93253         strcpy-sse2-unaligned strncpy-sse2-unaligned
93254         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93255         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93256         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93257         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93258         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93259         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93260         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93261         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93262         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93263         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93264         (STRCPY): Support SSE2 and SSSE3 versions.
93266 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
93268         [BZ #12874]
93269         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93270         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93271         kernels which artificially limit size of requests.
93273 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93275         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93276         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93277         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93278         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93279         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93280         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93281         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93282         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93283         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93284         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93285         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93286         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93287         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93288         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93289         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93291         Enable unaligned load optimization for Intel Core i3, i5 and i7
93292         processors.
93293         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93294         Define.
93295         (index_Fast_Unaligned_Load): Define.
93296         (HAS_FAST_UNALIGNED_LOAD): Define.
93298 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
93300         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93302 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93304         [BZ #12907]
93305         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93306         until it is clear that the information is realy needed.
93307         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93309 2011-06-22  Andreas Schwab  <schwab@redhat.com>
93311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93313 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93315         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93316         /sys/devices/system/cpu/online if it is usable.
93318         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93319         reading the information from the /proc filesystem to once a second.
93321 2011-06-21  Andreas Jaeger  <aj@suse.de>
93323         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93324         NULL after inclusion of kernel headers.
93326 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
93328         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93329         calls to internal_setent.
93331         [BZ #12885]
93332         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93333         addresses using gethostbyname4_r ignore IPv4 addresses.
93335         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93336         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
93338         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93340 2011-06-20  David S. Miller  <davem@davemloft.net>
93342         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93343         inclusions.
93344         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93346         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93347         (elf_irel): Use it.
93348         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93349         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93350         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93351         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93352         * sysdeps/x86_64/dl-irel.h: Likewise.
93354         * elf/dl-runtime.c: Use elf_ifunc_invoke.
93355         * elf/dl-sym.c: Likewise.
93357 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93359         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
93360         need to dereference resplen2.
93362 2011-06-14  Andreas Schwab  <schwab@redhat.com>
93364         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93366 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93368         * Makeconfig: Define vardbdir and inst_vardbdir.
93369         * nss/Makefile: Add rules to install db-Makefile.
93371         * nss/nss_db/db-XXX.c: Cleanup.
93373         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93374         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93375         GLIBC_PRIVATE.
93376         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93377         * nss/makedb.c: Implement -g option to specify that value strings
93378         are generated and should not be added to table iterated over for
93379         get*ent calls.
93380         * nss/nss_db/db-initgroups.c: New file.
93382         * nss/getent.c: Add support for initgroups lookups through getgrouplist
93383         interface.
93385         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93386         (internal_getgrouplist): Adjust to name change.
93387         Update use_initgroups_entry if this is not the first call.
93388         * nss/databases.def: Add initgroups entry.
93390         * nss/makedb.c (compute_tables): Check result of multiple hash table
93391         sizes to minimize maximum chain length.
93393 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
93395         * Versions.def: Add entry for libnss_db.
93396         * shlib-versions: Likewise.
93397         * nss/Makefile: Add rules to build libnss_db.
93398         * nss/Versions: Add libnss_db information.  Organize libnss_files
93399         entries better.
93400         * nss/db-Makefile: Add gshadow support.  Change rules for the new
93401         makedb progra.  Some minor improvements to generate smaller files.
93402         * nss/nss_db/nss_db.h: Move NSS database header data structures to
93403         here from...
93404         * nss/makedb.c: ...here.
93405         Improve database format to be smaller and require less memory at
93406         runtime.
93407         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
93408         db anymore.
93409         * nss/nss_db/db-netgrp.c: Likewise.
93410         * nss/nss_db/db-open.c: Likewise.
93411         * nss/nss_files/flies-XXX.x: Adjust comments.
93412         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93413         * nss/nss_files/files-grp.c: Likewise.
93414         * nss/nss_files/files-hosts.c: Likewise.
93415         * nss/nss_files/files-network.c: Likewise.
93416         * nss/nss_files/files-proto.c: Likewise.
93417         * nss/nss_files/files-pwd.c: Likewise.
93418         * nss/nss_files/files-rpc.c: Likewise.
93419         * nss/nss_files/files-service.c: Likewise.
93420         * nss/nss_files/files-sgrp.c: Likewise.
93421         * nss/nss_files/files-spwd.c: Likewise.
93422         * nss/nss_db/db-alias.c: Removed.
93423         * nss/nss_db/dummy-db.h: Removed.
93425 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
93427         * nss/makedb.c: Rewritten to not use database library.
93428         * nss/Makefile: Update to build new makedb program.
93430 2011-06-14  Andreas Jaeger  <aj@suse.de>
93432         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93433         memset declaration.
93435 2011-06-10  Andreas Schwab  <schwab@redhat.com>
93437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93438         tmpbuf.
93440 2011-06-10  Roland McGrath  <roland@hack.frob.com>
93442         * Makerules (shlib.lds): Fail if the linker script comes out empty.
93443         * elf/Makefile ($(objpfx)ld.so): Likewise.
93445         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93446         Don't list ld.so twice in dependencies.
93448         * posix/bug-regex31.c: Include <stdlib.h>.
93450         * nscd/hstcache.c (cache_addhst): Remove unused variable.
93452         * nis/nss_compat/compat-spwd.c
93453         (getspent_next_nss_netgr): Remove unused variable.
93454         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93456         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93457         nonmembers" output to use the right array.
93459         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93461         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93463         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93464         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93465         * catgets/gencat.c (read_input_file): Likewise.
93466         * locale/programs/locarchive.c (enlarge_archive): Likewise.
93468         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93469         variable definition inside #if's controlling its use.
93471         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93473         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93475         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93477         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93478         unreachable code.
93480         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93482         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93483         * configure: Regenerated.
93485         * Makerules: Revert last change.
93486         * elf/Makefile: Likewise.
93488 2011-06-09  Roland McGrath  <roland@hack.frob.com>
93490         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93491         * elf/Makefile ($(objpfx)librtld.os): Likewise.
93492         (reloc-link): Likewise.
93494 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
93496         * elf/Makefile: Add rules to build pldd.
93497         * elf/pldd.c: New file.
93498         * elf/pldd-xx.c: New file.
93500 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
93502         * version.h: Update for 2.15 development version.
93504 2011-06-07  David S. Miller  <davem@davemloft.net>
93506         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93507         ifuncs.
93508         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93509         elf_machine_lazy_rel): Likewise.
93510         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93511         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93512         elf_machine_lazy_rel): Likewise.
93513         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93514         dl_hwcap via passed in argument.
93515         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93516         Likewise.
93518 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93520         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
93522 2011-06-06  Roland McGrath  <roland@hack.frob.com>
93524         [BZ #12849]
93525         * manual/fdl-1.1.texi: New file, verbatim from:
93526         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93527         * manual/lgpl-2.1.texi: New file, verbatim from:
93528         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93529         * manual/Makefile (licenses): New variable, list those new file names.
93530         (texis): Use it.
93531         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93533         * manual/fdl.texi: File removed.
93534         * manual/lesser.texi: File removed.
93535         * manual/libc.texinfo (Copying, Documentation License):
93536         Use new @include file names, put @appendix directive before @include.
93538 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
93540         [BZ #12841]
93541         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93542         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93543         (mq_open): Add __NTH.
93545 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
93547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93548         Assume Intel Core i3/i5/i7 processor if AVX is available.
93550 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93552         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93553         typo.
93555 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93557         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93558         memory.  Use alloca_account.  Fix memory leak when retrying.
93560 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93562         * version.h (RELEASE): Bump for 2.14 release.
93563         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93565         * config.make.in (RANLIB): Remove entry.
93567 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93569         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93570         (libc.pot): Work around missing support for .ksh extension in xgettext.
93572         [BZ #12684]
93573         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93574         if both request failed.
93575         (send_dg): In case of server errors clear resplen or *resplen2.
93577         [BZ #12454]
93578         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93579         when there are multiple maps.
93580         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93581         (_dl_fini): Remove test here.
93583         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93585 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93587         [BZ #12350]
93588         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93589         bit from old_res_options.
93590         (gaih_inet): Likewise.
93592         [BZ #11099]
93593         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93594         as signed.
93596         * resolv/res_init.c (res_setoptions): Make the code more compact.
93598         [BZ #11558]
93599         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93600         set RES_USEVC.
93602         [BZ #11634]
93603         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93605         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93607         [BZ #11781]
93608         * malloc/malloc.h: Declare malloc hook variables as volatile.
93610         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93611         in last patch.
93613         [BZ #11799]
93614         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93615         raise in the comment.
93616         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93617         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93618         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93620 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93622         [BZ #12811]
93623         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93624         grow the buffers more if it already has to be sufficient.
93625         (build_wcs_upper_buffer): Likewise.
93626         * posix/regexec.c (check_matching): Likewise.
93627         (clean_state_log_if_needed): Likewise.
93628         (extend_buffers): Don't enlarge buffers beyond size of the input
93629         buffer.
93630         Patches mostly by Emil Wojak <emil@wojak.eu>.
93631         * posix/bug-regex32.c: New file.
93632         * posix/Makefile (tests): Add bug-regex32.
93634         * locale/findlocale.c (_nl_find_locale): Return right away if
93635         _nl_explode_name failed.
93636         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93638         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93640         * debug/xtrace.sh: Unify messages.
93641         * malloc/memusage.sh: Likewise.
93643         [BZ #12813]
93644         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93645         time symbol from vDSO.  Substitute with vsyscall if not available.
93646         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93647         __vdso_time.
93649         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93650         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93651         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93652         Add sendmmsg and internal_sendmmsg.
93653         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93654         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93655         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93657         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93658         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93659         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93661 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
93663         [BZ #12813]
93664         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93665         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
93666         available.
93667         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93668         __vdso_getcpu.
93670         [BZ #12814]
93671         * iconvdata/Makefile (tests): Add bug-iconv9.
93672         * iconvdata/bug-iconv9.c: New file.
93674 2011-05-27  Andreas Schwab  <schwab@redhat.com>
93676         [BZ #12814]
93677         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93679 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
93681         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93682         (struct user_regs_struct): Change intcs field back to cs.
93684 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
93686         * po/ja.po: Update from translation team.
93688 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
93690         [BZ #12795]
93691         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93692         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93694 2011-05-20  Andreas Schwab  <schwab@redhat.com>
93696         * stdlib/longlong.h: Update from GCC.
93698 2011-05-23  Andreas Schwab  <schwab@redhat.com>
93700         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93701         parameter name.
93702         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93703         Add parameter name.
93704         (__sysconf): Pass it down.
93706 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
93708         [BZ #12671]
93709         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93710         some situations.
93711         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93712         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93713         add in in __libc_use_alloca calls.  Adjust callers.
93714         (glob): Use malloc in some situations.
93716         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93717         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93718         pltexit.
93720 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
93722         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93723         and CLOCK_BOOTTIME_ALARM.
93725         [BZ #12782]
93726         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93727         is returned.
93729         * string/_strerror.c (__strerror_r): Print negative errors as signed
93730         numbers.
93732         [BZ #12777]
93733         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93734         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93735         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93737         * configure.in: Fix typo in redirection and correct removal of test
93738         files in two cases.
93740         [BZ #12788]
93741         * locale/setlocale.c (new_composite_name): Fix test to check for
93742         identical name of all categories.
93744         [BZ #12792]
93745         * libio/filedoalloc.c (local_isatty): New function.
93746         (_IO_file_doallocate): Use local_isatty.
93747         * stdio-common/perror.c (perror): In case a new stream is used
93748         forward the stream error.
93749         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93750         error flag.
93752 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
93754         [BZ #11884]
93755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93756         alloca.
93757         * include/alloca.h (extend_alloca_account): Define.
93759         [BZ #11857]
93760         * posix/regex.h: Fix comments with documentation of user-accessible
93761         fields after compilation and describe correct free'ing of pattern
93762         after re_compile_pattern.
93763         Patch by Reuben Thomas <rrt@sc3d.org>.
93765 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
93767         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93768         and -mno-altivec to prevent the compiler from using Altivec and/or
93769         VSX instructions when the corresponding registers are not available.
93771 2011-05-19  Andreas Schwab  <schwab@redhat.com>
93773         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93775 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
93777         * libio/freopen.c (freopen): Use __dup2, not dup2.
93778         * libio/freopen64.c (freopen64): Likewise.
93780 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
93782         [BZ #12775]
93783         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93784         * math/Makefile (tests): Add test-powl.
93785         (CFLAGS-test-powl.c): Define.
93786         * math/test-powl.c: New file.
93788 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
93790         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93792 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
93794         [BZ #11837]
93795         * iconvdata/gb18030.c: Update to GB18020-2005.
93797 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
93799         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93800         RE_SYNTAX_POSIX_AWK): Update to match recent development.
93801         Patch by Aharon Robbins <arnold@skeeve.com>.
93803         [BZ #11892]
93804         * stdlib/putenv.c (putenv): Don't always create copy of the variable
93805         on the stack.
93807         [BZ #11895]
93808         * misc/pselect.c (__pselect): Handle timeout value errors hidden
93809         through underflows.
93811         [BZ #12766]
93812         * misc/error.c (error_at_line): Ensure file_name and old_file_name
93813         point to strings before performing equality test for error_one_per_line
93814         mode.
93816         [BZ #11697]
93817         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93819         [BZ #11820]
93820         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93821         (struct user_fpregs_struct): Avoid __uint*_t types.
93823         [BZ #6420]
93824         * malloc/mtrace.c (tr_where): Add additional parameter to point to
93825         symbol info.  Use it instead of calling _dl_addr locally.
93826         (lock_and_info): New function.
93827         (tr_freehook): Call lock_and_info and pass symbol info as additional
93828         parameter to tr_where.
93829         (tr_mallochook): Likewise.
93830         (tr_reallochook): Likewise.
93831         (tr_memalignhook): Likewise.
93833         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
93834         used and couldn't be at all thread-safe.
93836 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
93838         * libio/freopen.c (freopen): Don't close old file descriptor
93839         before the new one is opened.  Instead dup the new file descriptor
93840         to the old one after the new stream is created.
93841         * libio/freopen64.c (freopen64): Likewise.
93842         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93843         * libio/fileops.c (_IO_new_file_close_it): Handle new
93844         _IO_FLAGS2_NOCLOSE flag.
93845         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93846         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93847         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93848         _IO_FLAGS2_NOCLOSE flag.
93849         * include/unistd.h: Add hidden_proto for dup3.
93850         Define __have_dup3.
93851         * io/dup3.c: Define hidden symbol.
93852         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93854         [BZ #7101]
93855         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93856         when an incomplete long option is used.
93857         * posix/tst-getopt_long1.c: New file.
93858         * posix/Makefile (tests): Add tst-getopt_long1.
93860         [BZ #10138]
93861         * scripts/config.guess: Update from autoconf-2.68.
93862         * scripts/config.sub: Likewise.
93864         [BZ #10157]
93865         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93866         tests into ...
93867         (has_cpuclock): ...this.  New function.
93868         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93869         macro here based on has_cpuclock code.
93871         [BZ #10149]
93872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93873         First byte (not low byte) is now always NUL.
93874         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93877         Use non-cancelable interfaces.
93879         [BZ #9809]
93880         * locale/iso-639.def: Add entry for Sorani.
93882         [BZ #11901]
93883         * include/stdlib.h: Move include protection to the right place.
93884         Define abort_msg_s.  Declare __abort_msg with it.
93885         * stdlib/abort.c (__abort_msg): Adjust type.
93886         * assert/assert.c (__assert_fail_base): New function.  Majority
93887         of code from __assert_fail.  Allocate memory for __abort_msg with
93888         mmap.
93889         (__assert_fail): Now call __assert_fail_base.
93890         * assert/assert-perr.c: Remove bulk of implementation.  Use
93891         __assert_fail_base.
93892         * include/assert.hL Declare __assert_fail_base.
93893         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93894         mmap.
93895         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93897 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
93899         [BZ #11952]
93900         [BZ #12453]
93901         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93902         until all modules are registered in the DTV.
93903         * elf/Makefile: Add rules to build and run tst-tls19.
93904         * elf/tst-tls19.c: New file.
93905         * elf/tst-tls19mod1.c: New file.
93906         * elf/tst-tls19mod2.c: New file.
93907         * elf/tst-tls19mod3.c: New file.
93908         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93910         [BZ #12083]
93911         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93912         correctly.
93914         [BZ #12601]
93915         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93916         two-byte sequence errors.
93917         * iconvdata/Makefile (tests): Add bug-iconv8.
93918         * iconvdata/bug-iconv8.c: New file.
93920         [BZ #12626]
93921         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93922         buf2 definition.
93924         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93926         [BZ #12432]
93927         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93928         (dummy_getcfa): New function.
93929         (init): Get _Unwind_GetCFA address, use dummy if not found.
93930         (backtrace_helper): In recursion check, also check whether CFA changes.
93931         (__backtrace): Completely initialize arg.
93933         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93934         storing incomplete byte sequence in state object.  Avoid testing for
93935         guaranteed too small input if we know there is enough data available.
93937 2011-05-11  Andreas Schwab  <schwab@redhat.com>
93939         * Makeconfig (+link-pie): Indent.
93940         * Rules (binaries-pie): Define if $(have-fpie) and
93941         $(build-shared).
93942         (binaries-shared): Also filter out $(binaries-pie).
93943         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93944         * nscd/Makefile (others-pie): Add nscd.
93945         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93946         ($(objpfx)nscd): Remove command override.
93947         * login/Makefile (others-pie): Add pt_chown.
93948         ($(objpfx)pt_chown): Remove command override.
93949         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93950         remove command overrides.
93952 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
93954         * libio/tst_putwc.c: Fix error messages.
93956         [BZ #12724]
93957         * libio/fileops.c (_IO_new_file_close_it): Always flush when
93958         currently writing and seek to current position when not.
93959         * libio/Makefile (tests): Add bug-fclose1.
93960         * libio/bug-fclose1.c: New file.
93962 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
93964         [BZ #12511]
93965         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93966         don't set DF_1_NODELETE here.
93967         (do_lookup_x): When entering new entry test for copy relocation
93968         and if necessary set DF_1_NODELETE flag.
93969         * elf/tst-unique4.cc: New file.
93970         * elf/tst-unique4.h: New file.
93971         * elf/tst-unique4lib.cc: New file.
93972         * elf/Makefile: Add rules to build and run tst-unique4.
93973         Patch by Piotr Bury <pbury@goahead.com>.
93975 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
93977         [BZ #12052]
93978         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93980         [BZ #12625]
93981         * misc/mntent_r.c (addmntent): Flush the stream after the output
93983         [BZ #12393]
93984         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93985         (is_trusted_path_normalize): Skip initial colon.  Append slash
93986         to empty buffer.  Duplicate is_trusted_path code but allow
93987         constructed patch to be prefix.
93988         (is_dst): Allow $ORIGIN followed by /.
93989         (_dl_dst_substitute): Correct clearing of check_for_trusted.
93990         Correct testing of result of is_trusted_path_normalize
93991         (decompose_rpath): Fix warning.
93993 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
93995         [BZ #11257]
93996         * grp/initgroups.c (internal_getgrouplist): When we found the service
93997         list through the initgroups entry in nsswitch.conf do not always
93998         continue on a successful lookup.  Don't always use the
93999         __nss_group_database value if it is set.
94000         * nss/nsswitch.conf (initgroups): Change action for successful db
94001         lookup to continue for compatibility.
94003 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
94005         [BZ #11532]
94006         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94007         and CP774 modules.
94008         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94009         and CP774 modules.
94010         * iconvdata/tst-tables.sh: Likewise.
94011         * iconvdata/cp770.c: New file.
94012         * iconvdata/cp771.c: New file.
94013         * iconvdata/cp772.c: New file.
94014         * iconvdata/cp773.c: New file.
94015         * iconvdata/cp774.c: New file.
94016         * iconvdata/testdata/CP770: New file.
94017         * iconvdata/testdata/CP770..UTF8: New file.
94018         * iconvdata/testdata/CP771: New file.
94019         * iconvdata/testdata/CP771..UTF8: New file.
94020         * iconvdata/testdata/CP772: New file.
94021         * iconvdata/testdata/CP772..UTF8: New file.
94022         * iconvdata/testdata/CP773: New file.
94023         * iconvdata/testdata/CP773..UTF8: New file.
94024         * iconvdata/testdata/CP774: New file.
94025         * iconvdata/testdata/CP774..UTF8: New file.
94027         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94028         END CHARMAP line.
94029         * iconvdata/gen-8bit-gap.sh: Likewise.
94030         * iconvdata/gen-8bit.sh: Likewise.
94032         * locale/iso-639.def: Add ary entry.
94034         [BZ #11258]
94035         * locale/C-translit.h.in: Add U20A1 transliteration.
94037         [BZ #12178]
94038         * locale/iso-639.def: Add wae entry.
94039         Patch by Kevin Bortis <bortis@translate-wae.ch>.
94041         [BZ #12545]
94042         * locale/programs/localedef.c (construct_output_path): Use ssize_t
94043         for n.
94045         [BZ #12711]
94046         * locale/C-translit.h.in: Add entry for U20B9.
94047         Patch by pravin.d.s@gmail.com.
94049 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
94051         [BZ #12713]
94052         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94053         ENAMETOOLONG use generic getcwd.
94054         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
94055         in rtld.  Use *stat64.
94056         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94057         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94058         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94059         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94060         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94061         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94062         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94063         __fstatat64 macros.
94064         * include/dirent.h: Add libc_hidden_proto for rewinddir.
94065         * dirent/rewinddir.c: Add libc_hidden_def.
94066         * sysdeps/mach/hurd/rewinddir.c: Likewise.
94067         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
94069         * include/dirent.h (__alloc_dir): Add flags parameter.
94070         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94071         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94072         __alloc_dir.
94073         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
94074         from fdopendir if O_CLOEXEC is already set.
94076 2011-03-15  Alan Modra  <amodra@gmail.com>
94078         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94079         l_tls_firstbyte_offset non-zero.  Save padding offset in
94080         l_tls_firstbyte_offset for later use.
94081         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94082         freeing static tls block.
94084 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
94086         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94087         where #ifdef was intended.  The intent is to prevent ARG_MAX from
94088         being defined by the kernel headers.
94090 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
94092         [BZ #12734]
94093         * resolv/resolv.h: Define RES_NOTLDQUERY.
94094         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94095         no-tld-query and set RES_NOTLDQUERY.
94096         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94097         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94098         modern BIND to search name as TLD unless forbidden.
94100 2011-05-07  Petr Baudis  <pasky@suse.cz>
94101             Ulrich Drepper  <drepper@gmail.com>
94103         [BZ #12393]
94104         * elf/dl-load.c (fillin_rpath): Move trusted path check...
94105         (is_trusted_path): ...to here.
94106         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94107         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94108         using is_trusted_path_normalize() in setuid scripts.
94110 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
94112         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94113         __BEGIN/__END_DECLS.
94115 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
94117         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94118         NSS_STATUS_NOTFOUND if no record was found.
94120 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94122         * sunrpc/Makefile (headers): Add rpc/netdb.h.
94123         (headers-not-in-tirpc): Remove rpc/netdb.h
94124         * resolv/netdb.h: Revert last change.
94126 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
94128         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94129         circular dependency between libgcc.a and libc.a.
94131 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94133         * resolv/netdb.h: Don't include <rpc/netdb.h>.
94134         * nis/Makefile: Don't install rpcsvc/*.
94135         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94136         instead of <rpc/types.h>.
94137         (MAXHOSTNAMELEN): Define.
94139 2011-05-03  Andreas Schwab  <schwab@redhat.com>
94141         * elf/ldconfig.c (add_dir): Don't crash on empty path.
94143 2011-04-28  Maciej Babinski  <mbabinski@google.com>
94145         [BZ #12714]
94146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94147         gethostbyname4_r when IPv6 results are possible.
94149 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
94151         [BZ #12723]
94152         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94153         _PC_PIPE_BUF handling.
94155 2011-04-30  Bruno Haible  <bruno@clisp.org>
94157         [BZ #12717]
94158         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94159         * resolv/netdb.h (getnameinfo): Change type of flags parameter
94160         to 'int'.
94161         * inet/getnameinfo.c (getnameinfo): Likewise.
94163 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
94165         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94166         to groups setting in database lookup.
94167         * nss/nsswitch.conf: Add initgroups entry.
94169 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
94171         [BZ #12685]
94172         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94173         mode string.
94174         Patch by Eric Blake <eblake@redhat.com>.
94176 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
94178         * sunrpc/Makefile (need-export-routines): Add svc_run.
94179         (routines): Remove svc_run.
94180         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94181         * sunrpc/clnt_perr.c (clnt_perrno): Export.
94182         * sunrpc/svc_run.c (svc_run): Likewise.
94183         * sunrpc/svc_udp.c (svcudp_create): Likewise.
94185 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
94187         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94188         problem in reallocation in last patch.
94190 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
94192         * sunrpc/Makefile: Move inclusion of Rules.
94194 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94196         * nss/nss_files/files-initgroups.c: New file.
94197         * nss/Makefile (libnss_files-routines): Add files-initgroups.
94198         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94199         _nss_files_initgroups_dyn.
94201 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
94203         * elf/elf.h (R_ARM_IRELATIVE): Define.
94205 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94207         * po/ru.po: Update from translation team.
94209 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94211         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94212         dependencies.
94214 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
94216         [BZ #12653]
94217         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94218         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94219         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94220         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94221         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94223 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
94225         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94226         differing bytes.
94227         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94228         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94229         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94231 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94233         [BZ #12420]
94234         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94235         storing it.
94236         * stdlib/bug-getcontext.c: New file.
94237         * stdlib/Makefile: Add rules to build and run bug-getcontext.
94239 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94241         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94242         instructions into .machine "z9-109".
94243         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94244         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94246 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94248         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94249         between environment variables and auxiliary vector.
94251 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
94253         * Makefile: Add rules to build linkobj/libc.so.
94254         * include/libc-symbols.h: Define libc_hidden_nolink.
94255         * include/rpc/auth.h: Mark functions which are to be hidden.
94256         * include/rpc/auth_des.h: Likewise.
94257         * include/rpc/auth_unix.h: Likewise.
94258         * include/rpc/clnt.h: Likewise.
94259         * include/rpc/des_crypt.h: Likewise.
94260         * include/rpc/key_prot.h: Likewise.
94261         * include/rpc/pmap_clnt.h: Likewise.
94262         * include/rpc/pmap_prot.h: Likewise.
94263         * include/rpc/pmap_rmt.h: Likewise.
94264         * include/rpc/rpc_msg.h: Likewise.
94265         * include/rpc/svc.h: Likewise.
94266         * include/rpc/svc_auth.h: Likewise.
94267         * include/rpc/xdr.h: Likewise.
94268         * nis/Makefile: Link all DSOs against linkobj/libc.so.
94269         * nss/Makefile: Likewise.
94270         * sunrpc/Makefile: Don't install headers.  Build library with normal
94271         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
94272         * sunrpc/auth_des.c: Hide exported symbols by default, export some
94273         for the compat linking library.  Remove use of INTDEF/INTUSE.
94274         * sunrpc/auth_none.c: Likewise.
94275         * sunrpc/auth_unix.c: Likewise.
94276         * sunrpc/authdes_prot.c: Likewise.
94277         * sunrpc/authuxprot.c: Likewise.
94278         * sunrpc/clnt_gen.c: Likewise.
94279         * sunrpc/clnt_perr.c: Likewise.
94280         * sunrpc/clnt_raw.c: Likewise.
94281         * sunrpc/clnt_simp.c: Likewise.
94282         * sunrpc/clnt_tcp.c: Likewise.
94283         * sunrpc/clnt_udp.c: Likewise.
94284         * sunrpc/clnt_unix.c: Likewise.
94285         * sunrpc/des_crypt.c: Likewise.
94286         * sunrpc/des_soft.c: Likewise.
94287         * sunrpc/get_myaddr.c: Likewise.
94288         * sunrpc/key_call.c: Likewise.
94289         * sunrpc/key_prot.c: Likewise.
94290         * sunrpc/netname.c: Likewise.
94291         * sunrpc/pm_getmaps.c: Likewise.
94292         * sunrpc/pm_getport.c: Likewise.
94293         * sunrpc/pmap_clnt.c: Likewise.
94294         * sunrpc/pmap_prot.c: Likewise.
94295         * sunrpc/pmap_prot2.c: Likewise.
94296         * sunrpc/pmap_rmt.c: Likewise.
94297         * sunrpc/publickey.c: Likewise.
94298         * sunrpc/rpc_cmsg.c: Likewise.
94299         * sunrpc/rpc_common.c: Likewise.
94300         * sunrpc/rpc_dtable.c: Likewise.
94301         * sunrpc/rpc_prot.c: Likewise.
94302         * sunrpc/rpc_thread.c: Likewise.
94303         * sunrpc/rtime.c: Likewise.
94304         * sunrpc/svc.c: Likewise.
94305         * sunrpc/svc_auth.c: Likewise.
94306         * sunrpc/svc_authux.c: Likewise.
94307         * sunrpc/svc_raw.c: Likewise.
94308         * sunrpc/svc_run.c: Likewise.
94309         * sunrpc/svc_simple.c: Likewise.
94310         * sunrpc/svc_tcp.c: Likewise.
94311         * sunrpc/svc_udp.c: Likewise.
94312         * sunrpc/svc_unix.c: Likewise.
94313         * sunrpc/svcauth_des.c: Likewise.
94314         * sunrpc/xcrypt.c: Likewise.
94315         * sunrpc/xdr.c: Likewise.
94316         * sunrpc/xdr_array.c: Likewise.
94317         * sunrpc/xdr_float.c: Likewise.
94318         * sunrpc/xdr_intXX_t.c: Likewise.
94319         * sunrpc/xdr_mem.c: Likewise.
94320         * sunrpc/xdr_rec.c: Likewise.
94321         * sunrpc/xdr_ref.c: Likewise.
94322         * sunrpc/xdr_sizeof.c: Likewise.
94323         * sunrpc/xdr_stdio.c: Likewise.
94325 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
94327         [BZ #12650]
94328         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94329         * sysdeps/ia64/dl-tls.h: Likewise.
94330         * sysdeps/powerpc/dl-tls.h: Likewise.
94331         * sysdeps/s390/dl-tls.h: Likewise.
94332         * sysdeps/sh/dl-tls.h: Likewise.
94333         * sysdeps/sparc/dl-tls.h: Likewise.
94334         * sysdeps/x86_64/dl-tls.h: Likewise.
94335         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94337 2011-03-14  Andreas Schwab  <schwab@redhat.com>
94339         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94340         rpath element also skip the following colon.
94341         (expand_dynamic_string_token): Add is_path parameter and pass
94342         down to DL_DST_REQUIRED and _dl_dst_substitute.
94343         (decompose_rpath): Call expand_dynamic_string_token with
94344         non-zero is_path.  Ignore empty rpaths.
94345         (_dl_map_object_from_fd): Call expand_dynamic_string_token
94346         with zero is_path.
94348 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
94350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94351         Make cancelable.
94353 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
94355         [BZ #12655]
94356         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94357         Patch by Filipe David Manana <fdmanana@apache.org>.
94359 2011-04-07  Andreas Schwab  <schwab@redhat.com>
94361         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94362         Maintain aligned stack.
94363         (CHECK_RSP): Remove unused macro.
94365 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
94367         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94368         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94370 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
94372         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94374         * include/features.h: Mention __USE_XOPEN2K8 in comment.
94376 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
94378         [BZ #12518]
94379         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94380         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94381         * sysdeps/x86_64/memmove.c: New file.
94382         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94383         (memcpy): Renamed to ...
94384         (__new_memcpy): This.
94385         (memcpy): Provide GLIBC_2_14 memcpy.
94386         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94387         (memcpy): Provide GLIBC_2_2_5 memcpy.
94389 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94391         [BZ #12631]
94392         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94394 2011-03-30  Andreas Schwab  <schwab@redhat.com>
94396         * misc/syncfs.c: New file.
94397         * misc/Makefile (routines): Add syncfs.
94398         * posix/unistd.h: Declare syncfs.
94399         * sysdeps/unix/syscalls.list: Add syncfs.
94401 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94403         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94404         open_by_handle_at.
94405         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94406         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94407         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94408         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94409         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94410         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94411         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94413 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94415         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94416         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94417         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94418         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94419         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94420         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94421         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94423         * io/Makefile: Compile fallocate.c, fallocate64.c, and
94424         sync_file_range.c with -fexceptions.
94425         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94426         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94427         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94428         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94429         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94430         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94431         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94432         sync_file_range as cancellation point
94433         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
94434         now a wrapper around __call_sync_file_range with cancellation handling.
94435         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94436         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
94437         function name to __call_sync_file_range.
94438         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94439         Add call_sync_file_range.
94441 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94443         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94444         bits/timex.h.
94446 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94448         * iconv/iconv.h: Fix typo in comment.
94449         * io/fcntl.h: Likewise.
94450         * libio/stdio.h: Likewise.
94451         * posix/spawn.h: Likewise.
94452         * posix/unistd.h: Likewise.
94453         * stdlib/stdlib.h: Likewise.
94454         * time/time.h: Likewise.
94455         * wcsmbs/wchar.h: Likewise.
94457         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94458         open_by_handle): Add.
94459         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94460         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
94461         Augment a few comments.
94462         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94464         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94466         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94467         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94468         open_by_handle.
94470         * io/fcntl.h (AT_EMPTY_PATH): Define.
94472 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
94474         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94475         * sysdeps/unix/sysv/linux/bits/time.h: New file.
94476         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94477         to...
94478         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
94479         * Versions.def: Add GLIBC_2.14.
94480         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94481         Export.
94483 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
94485         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94486         round counter.
94487         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94489 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
94491         [BZ #12597]
94492         * string/test-strncmp.c (do_page_test): New function.
94493         (check2): Likewise.
94494         (test_main): Call check2.
94495         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94497 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
94499         [BZ #12587]
94500         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94501         Handle cache information in CPU leaf 4.
94502         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94504 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
94506         [BZ #12583]
94507         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94508         character representation.
94509         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94511 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
94513         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94514         END(__isnan) to END(__isnanf) to match function entry point/label
94515         EALIGN(__isnanf,...).
94517 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
94519         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94521 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
94523         [BZ #12510]
94524         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94525         copy from the symbol referenced in the relocation to initialize the
94526         used variable.
94527         Patch by Piotr Bury <pbury@goahead.com>.
94528         * elf/Makefile: Add rules to build and tst-unique3.
94529         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94530         * elf/tst-unique3.cc: New file.
94531         * elf/tst-unique3.h: New file.
94532         * elf/tst-unique3lib.cc: New file.
94533         * elf/tst-unique3lib2.cc: New file.
94535         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94537 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
94539         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94540         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
94541         to _start.
94543 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
94545         * elf/dl-load.c (_dl_map_object): If we are looking for the first
94546         to-be-loaded object along a path to loader is ld.so.
94548 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94549             Ulrich Drepper  <drepper@gmail.com>
94551         * sysdeps/x86_64/memset.S: After aligning destination, code
94552         branches to different locations depending on the value of
94553         misalignment, when multiarch is enabled. Fix this.
94555 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94557         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94558         Set _x86_64_preferred_memory_instruction for AMD processsors.
94559         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94560         Set bit_Prefer_SSE_for_memop for AMD processors.
94562 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94564         * libio/fmemopen.c (fmemopen): Optimize a bit.
94566 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94568         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94570 2011-03-03  Roland McGrath  <roland@redhat.com>
94572         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94574 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94576         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94577         __bzero_ultra1 instead of __memset_ultra1.
94579 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94580             Ulrich Drepper  <drepper@gmail.com>
94582         [BZ #12509]
94583         * include/link.h (struct link_map): Add l_orig_initfini.
94584         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94585         returning unsuccessfully.
94586         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94587         close of a file loaded at startup, restore the original l_initfini
94588         list.
94589         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94590         list, store the pointer.
94591         * elf/Makefile ($(objpfx)noload-mem): New rule.
94592         (noload-ENV): Define.
94593         (tests): Add $(objpfx)noload-mem.
94594         * elf/noload.c: Include <memcheck.h>.
94595         (main): Call mtrace.  Close all opened handles.
94597 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94599         [BZ #12454]
94600         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94601         dependencies are missing.
94603 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94605         Fix __if_freereq crash: Unlike the generic version which uses free,
94606         Hurd needs munmap.
94607         * sysdeps/mach/hurd/ifreq.h: New file.
94609 2011-01-27  Petr Baudis  <pasky@suse.cz>
94610             Ulrich Drepper  <drepper@gmail.com>
94612         [BZ 12445]#
94613         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94614         to extend_alloca().
94615         * stdio-common/bug23.c: New file.
94616         * stdio-common/Makefile (tests): Add bug23.
94618 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94619             Ulrich Drepper  <drepper@gmail.com>
94621         [BZ #12489]
94622         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94623         before performing relro protection.  At old place add assertion
94624         to make sure nothing changed.
94626 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
94627             Glauber de Oliveira Costa  <glommer@gmail.com>
94629         * elf/elf.h: Add new ARM TLS relocs.
94631 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
94633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94634         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94635         cast from r3.
94636         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
94637         'tests' variable.
94638         * sysdeps/wordsize-64/tst-writev.c: New file.
94640 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
94642         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94643         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94644         insns in _dl_start to prevent a TOC reference before relocs are
94645         resolved.
94647 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
94649         [BZ #12469]
94650         * Makeconfig: Remove RANLIB definition.
94651         * Makerules: Don't use RANLIB.
94652         * aclocal.m4: Remove ranlib test.
94653         * configure.in: No need to check for ranlib.
94654         * elf/rtld-Rules: Don't use RANLIB.
94656 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94658         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94659         protection macro.
94660         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94661         inclusion protection macro.
94663         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94664         SIGRTMIN and SIGRTMAX and print information in that case only when
94665         SIGRTMIN is defined.
94667 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
94669         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94670         arginfo fn returning -1.
94672         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94673         and thousands string is zero terminated.
94675 2011-02-03  Andreas Schwab  <schwab@redhat.com>
94677         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94678         sysdeps/unix/sysv/linux/bits/socket.h.
94680 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94682         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94683         (__CPU_COUNT): Remove old macros.
94684         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94685         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94686         (__CPU_ALLOC, __CPU_FREE): Add macros.
94687         (__sched_cpualloc, __sched_cpufree): Add declarations.
94689 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
94691         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94692         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94693         * nscd/aicache.c (addhstaiX): Return timeout of added value.
94694         (readdhstai): Return value of addhstaiX call.
94695         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94696         (addgrbyX): Return value returned by cache_addgr.
94697         (readdgrbyname): Return value returned by addgrbyX.
94698         (readdgrbygid): Likewise.
94699         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94700         (addpwbyX): Return value returned by cache_addpw.
94701         (readdpwbyname): Return value returned by addhstbyX.
94702         (readdpwbyuid): Likewise.
94703         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94704         (addservbyX): Return value returned by cache_addserv.
94705         (readdservbyname): Return value returned by addservbyX:
94706         (readdservbyport): Likewise.
94707         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94708         (addhstbyX): Return value returned by cache_addhst.
94709         (readdhstbyname): Return value returned by addhstbyX.
94710         (readdhstbyaddr): Likewise.
94711         (readdhstbynamev6): Likewise.
94712         (readdhstbyaddrv6): Likewise.
94713         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94714         (readdinitgroups): Return value returned by addinitgroupsX.
94715         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94716         (prune_cache): Keep track of timeout value of re-added entries.
94717         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94718         * nscd/nscd.h: Adjust prototypes of readd* functions.
94720 2011-02-04  Roland McGrath  <roland@redhat.com>
94722         * nis/nis_server.c (nis_servstate): Use the right name for 0.
94723         (nis_stats): Likewise.
94724         * nis/nis_modify.c (nis_modify): Likewise.
94725         * nis/nis_remove.c (nis_remove): Likewise.
94726         * nis/nis_add.c (nis_add): Likewise.
94728         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94730         * posix/fnmatch_loop.c: Add some consts.
94732         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94734 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
94736         [BZ #12460]
94737         * config.make.in (config-cflags-novzeroupper): Define.
94738         * configure.in: Substitute libc_cv_cc_novzeroupper.
94739         * elf/Makefile (AVX-CFLAGS): Define.
94740         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94741         (CFLAGS-tst-auditmod4a.c): Likewise.
94742         (CFLAGS-tst-auditmod4b.c): Likewise.
94743         (CFLAGS-tst-auditmod6b.c): Likewise.
94744         (CFLAGS-tst-auditmod6c.c): Likewise.
94745         (CFLAGS-tst-auditmod7b.c): Likewise.
94746         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94748 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
94750         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94751         function to the callback.
94752         Patch partly by Jiri Olsa <jolsa@redhat.com>.
94754 2011-02-02  Andreas Schwab  <schwab@redhat.com>
94756         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94757         of errno.
94759 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
94761         [BZ #11724]
94762         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94763         of constructors.
94764         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94765         of destructors.
94766         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94768         [BZ #11724]
94769         * elf/Makefile: Add rules to build and run new test.
94770         * elf/tst-initorder.c: New file.
94771         * elf/tst-initorder.exp: New file.
94772         * elf/tst-initordera1.c: New file.
94773         * elf/tst-initordera2.c: New file.
94774         * elf/tst-initordera3.c: New file.
94775         * elf/tst-initordera4.c: New file.
94776         * elf/tst-initorderb1.c: New file.
94777         * elf/tst-initorderb2.c: New file.
94778         * elf/tst-order-a1.c: New file.
94779         * elf/tst-order-a2.c: New file.
94780         * elf/tst-order-a3.c: New file.
94781         * elf/tst-order-a4.c: New file.
94782         * elf/tst-order-b1.c: New file.
94783         * elf/tst-order-b2.c: New file.
94784         * elf/tst-order-main.c: New file.
94785         New test case by George Gensure <werkt0@gmail.com>.
94787 2010-10-01  Andreas Schwab  <schwab@redhat.com>
94789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94790         decoding ACE if AI_CANONIDN.
94792 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
94794         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94796 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
94798         * version.h (RELEASE): Bump for 2.13 release.
94799         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94801         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94803         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94804         MADV_NOHUGEPAGE.
94805         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94806         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94807         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94808         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94809         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94810         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94812         * posix/getconf.c: Update copyright year.
94813         * catgets/gencat.c: Likewise.
94814         * csu/version.c: Likewise.
94815         * debug/catchsegv.sh: Likewise.
94816         * debug/xtrace.sh: Likewise.
94817         * elf/ldconfig.c: Likewise.
94818         * elf/ldd.bash.in: Likewise.
94819         * elf/sprof.c (print_version): Likewise.
94820         * iconv/iconv_prog.c: Likewise.
94821         * iconv/iconvconfig.c: Likewise.
94822         * locale/programs/locale.c: Likewise.
94823         * locale/programs/localedef.c: Likewise.
94824         * malloc/memusage.sh: Likewise.
94825         * malloc/mtrace.pl: Likewise.
94826         * nscd/nscd.c (print_version): Likewise.
94827         * nss/getent.c: Likewise.
94829         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94830         PF_CAIF, and PF_ALG.
94831         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94833 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
94835         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94836         (modules-names): Use them.
94837         (ifunc-test-modules, ifunc-pie-tests): Define.
94838         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94839         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94840         (test-extras): Likewise.
94841         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94842         $(compile-command.c).
94843         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94844         (all-built-dso): Define.
94845         (check-textrel.out, check-execstack.out): Depend on it.
94847         * configure.in: Don't override --enable-multi-arch.
94849 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
94851         [BZ #6812]
94852         * nscd/hstcache.c (tryagain): Define.
94853         (cache_addhst): Return tryagain not notfound for temporary errors.
94854         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94855         failed.
94857 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
94859         [BZ #10563]
94860         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94861         to make the syscall.
94862         * sysdeps/unix/sysv/linux/setgroups.c: New file.
94864         [BZ #12378]
94865         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94866         and fall back to matching as normal character if the string ends before
94867         the matching ']' is found.  This is what POSIX requires.
94868         * posix/testfnm.c: Adjust test result.
94869         * posix/globtest.sh: Adjust test result.  Add new test.
94870         * posix/tst-fnmatch.input: Likewise.
94871         * posix/tst-fnmatch2.c: Add new test.
94873 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
94875         * elf/Makefile (check-execstack): Revert last change.  Depend on
94876         check-execstack.h.
94877         (check-execstack.h): New target.
94878         (generated): Add check-execstack.h.
94879         * elf/check-execstack.c: Include "check-execstack.h".
94880         (main): Revert last change.
94881         (handle_file): Return zero if GNU_STACK is absent and
94882         DEFAULT_STACK_PERMS doesn't include PF_X.
94884 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
94886         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94887         in child fails because the descriptor is already closed.
94888         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94889         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94890         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94892         [BZ #12397]
94893         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94894         syscall.
94896         [BZ #10484]
94897         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94898         temporary buffer used to handle multi lookups locally.
94899         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94901 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
94903         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94904         loader is ld.so.
94906 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
94908         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94909         alignment for SSE2.
94911 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
94913         [BZ #12394]
94914         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94915         characters.  When rounding increased number of integer digits recompute
94916         number of groups.
94917         * stdio-common/tst-grouping.c: New file.
94918         * stdio-common/Makefile: Add rules to build and run tst-grouping.
94920 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
94922         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94923         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
94925         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94926         void.
94927         * bits/select.h: Likewise.
94929 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
94931         * po/ja.po: Update from translation team.
94933 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
94935         [BZ #11155]
94936         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94937         implementation just like for lxstat, fxstatat, et al.
94939 2010-12-27  Jim Meyering  <meyering@redhat.com>
94941         [BZ #12348]
94942         * posix/regexec.c (build_trtable): Return failure indication upon
94943         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
94945 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
94947         [BZ #12201]
94948         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94949         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94950         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94951         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94953         [BZ #12207]
94954         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94956         [BZ #12204]
94957         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94958         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94960 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
94962         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94963         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94964         script has SORT_BY_INIT_PRIORITY.
94965         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94966         NO_CTORS_DTORS_SECTIONS is defined.
94967         * elf/soinit.c: Likewise.
94968         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94969         NO_CTORS_DTORS_SECTIONS is defined.
94970         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94971         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94972         * sysdeps/sh/init-first.c: Likewise.
94973         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94975 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
94977         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94978         always use the slow path.
94980 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
94982         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94983         similar rule which adds the sysdep directories to the header search in
94984         order to pick up the correct platform stackinfo.h.
94985         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94986         perform test if it is, otherwise return successfully without testing.
94987         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94988         DEFAULT_STACK_PERMS define in stackinfo.h.
94989         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94990         defined in stackinfo.h.
94991         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94992         DEFAULT_STACK_PERMS defined in stackinfo.h.
94993         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94994         * sysdeps/ia64/stackinfo.h: Likewise.
94995         * sysdeps/s390/stackinfo.h: Likewise.
94996         * sysdeps/sh/stackinfo.h: Likewise.
94997         * sysdeps/sparc/stackinfo.h: Likewise.
94998         * sysdeps/x86_64/stackinfo.h: Likewise.
94999         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95000         PF_X for powerpc64.  Retain PF_X for powerpc32.
95002 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
95004         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95005         accurately.
95006         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95007         GETDENTS_64BIT_ALIGNED.
95009 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
95011         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95013 2010-12-10  Andreas Schwab  <schwab@redhat.com>
95015         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95016         _GNU_SOURCE.
95018         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95019         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95020         Remove __restrict.
95021         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95022         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95024 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
95026         [BZ #11655]
95027         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95028         are initialized.
95030 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
95032         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95034 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
95036         * po/it.po: Update from translation team.
95038 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
95040         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95041         unused codes.
95043 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
95045         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95047 2010-11-24  Andreas Schwab  <schwab@redhat.com>
95049         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95050         specially.
95051         (gaih_getanswer_slice): Likewise.
95053 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
95055         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95057 2010-05-31  Petr Baudis  <pasky@suse.cz>
95059         [BZ #11149]
95060         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95061         silently even in the chroot mode.
95063 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
95065         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95066         last patch a bit.  Pretty printing
95068 2010-05-31  Petr Baudis <pasky@suse.cz>
95070         [BZ #10085]
95071         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95072         initialization of skip_initgroups_dyn.
95074 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
95076         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95077         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95079 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
95081         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95083 2010-11-11  Andreas Schwab  <schwab@redhat.com>
95085         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95086         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95087         (tst-fnmatch-ENV): Set MALLOC_TRACE.
95088         ($(objpfx)tst-fnmatch-mem): New rule.
95089         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95090         * posix/tst-fnmatch.c (main): Call mtrace.
95092 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
95094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95095         Support Intel processor model 6 and model 0x2c.
95097 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
95099         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95100           signed comparison.
95102 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
95104         [BZ #12205]
95105         * string/test-strncasecmp.c (check_result): New function.
95106         (do_one_test): Use it.
95107         (check1): New function.
95108         (test_main): Use it.
95109         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95110         Support strcasecmp and strncasecmp.
95112 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
95114         [BZ #12194]
95115         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95116         * sysdeps/x86_64/bits/byteswap.h: Likewise.
95118 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
95120         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95121         IFUNC support.
95122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95123         memset-x86-64.
95124         * sysdeps/x86_64/multiarch/bzero.S: New file.
95125         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95126         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95127         * sysdeps/x86_64/multiarch/memset.S: New file.
95128         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95130         Set bit_Prefer_SSE_for_memop for Intel processors.
95131         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95132         Define.
95133         (index_Prefer_SSE_for_memop): Define.
95134         (HAS_PREFER_SSE_FOR_MEMOP): Define.
95136 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
95138         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95139         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95141 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
95143         [BZ #12191]
95144         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95145         (__x86_64_raw_data_cache_size_half): Likewise.
95146         (__x86_64_raw_shared_cache_size): Likewise.
95147         (__x86_64_raw_shared_cache_size_half): Likewise.
95149         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95150         (__x86_64_raw_data_cache_size_half): Likewise.
95151         (__x86_64_raw_shared_cache_size): Likewise.
95152         (__x86_64_raw_shared_cache_size_half): Likewise.
95153         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95154         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95155         and __x86_64_raw_shared_cache_size_half.  Round
95156         __x86_64_data_cache_size_half, __x86_64_data_cache_size
95157         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95158         to multiple of 256 bytes.
95160 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
95162         [BZ #12167]
95163         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95164         of inacessible symlinks.  Verify result of symlink before returning it.
95165         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95166         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95168 2010-10-28  Erich Ritz  <erichritz@gmail.com>
95170         * math/math.h (isinf): Fix typo in comment.
95172 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
95174         * po/da.po: Update from translation team.
95176 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
95178         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95179         is added to the list.
95181 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95182             Ulrich Drepper  <drepper@gmail.com>
95184         * elf/dl-object.c (_dl_new_object): Don't append the new object to
95185         the global list here.  Move code to...
95186         (_dl_add_to_namespace_list): ...here.  New function.
95187         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95188         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95189         * elf/dl-load.c (lose): Don't remove the element from the list.
95190         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95191         (_dl_map_object): Likewise.
95193 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
95195         [BZ #12159]
95196         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95197         into all bytes of SSE register.
95198         Patch by Richard Li <richardpku@gmail.com>.
95200 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
95202         [BZ #12140]
95203         * malloc/malloc.c (_int_free): Fill correct number of bytes when
95204         perturbing.
95206 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
95208         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95209         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95210         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95211         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95213         submachine.
95214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95216 2010-10-22  Andreas Schwab  <schwab@redhat.com>
95218         * include/dlfcn.h (__RTLD_SECURE): Define.
95219         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
95220         mode & __RTLD_SECURE instead.
95221         (open_path): Rename preloaded parameter to secure.
95222         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95223         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95224         * elf/dl-deps.c (openaux): Likewise.
95225         * elf/rtld.c (struct map_args): Remove is_preloaded.
95226         (map_doit): Don't use it.
95227         (dl_main): Likewise.
95228         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95229         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95231 2010-09-09  Andreas Schwab  <schwab@redhat.com>
95233         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95234         (sysd-rules-targets): Remove duplicates.
95235         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95236         rtld-%.$o dependency.
95238 2010-10-18  Andreas Schwab  <schwab@redhat.com>
95240         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95241         _dl_map_object do it.
95243 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
95245         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95246         fast fma builtins, define the macros in the C99 standard.
95247         (FP_FAST_FMAF): Likewise.
95248         (FP_FAST_FMAL): Likewise.
95249         * sysdeps/x86_64/bits/mathdef.h: Likewise.
95251         * bits/mathdef.h: Update copyright year.
95252         * sysdeps/powerpc/bits/mathdef.h: Likewise.
95254 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
95256         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95257         builtins, define the macros in the C99 standard.
95258         (FP_FAST_FMAF): Likewise.
95259         (FP_FAST_FMAL): Likewise.
95260         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95261         multiply/add.
95262         (FP_FAST_FMAF): Likewise.
95264 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
95266         [BZ #3268]
95267         * math/libm-test.inc (fma_test): Some new testcases.
95268         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95269         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95270         y and infinite z.  Do multiplication by C already in long double.
95271         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95273         y and infinite z.  Do bitwise or of inexact bit into u.d.
95274         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95275         * sysdeps/i386/fpu/s_fmaf.S: Removed.
95276         * sysdeps/i386/fpu/s_fma.S: Removed.
95277         * sysdeps/i386/fpu/s_fmal.S: Removed.
95279 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
95281         [BZ #3268]
95282         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95283         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95284         computation is not scheduled after fetestexcept.  Fix value
95285         of minimum denormal long double.
95287 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
95289         [BZ #3268]
95290         * math/libm-test.inc (fma_test): Add some more tests.
95291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95292         correctly.
95294 2010-10-15  Andreas Schwab  <schwab@redhat.com>
95296         * scripts/data/localplt-s390-linux-gnu.data: New file.
95297         * scripts/data/localplt-s390x-linux-gnu.data: New file.
95299 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
95301         [BZ #3268]
95302         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95303         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95304         instead of dbl-64.
95305         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95306         inlines.
95307         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95309         if one of x and y is very large and the other is subnormal.
95310         * sysdeps/s390/fpu/s_fmaf.c: New file.
95311         * sysdeps/s390/fpu/s_fma.c: New file.
95312         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95313         * sysdeps/powerpc/fpu/s_fma.S: New file.
95314         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95315         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95316         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95318 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
95320         [BZ #3268]
95321         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95322         fma tests.
95323         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95324         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95325         * sysdeps/i386/i686/multiarch/s_fma.c: Include
95326         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95327         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95328         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95329         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95331 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
95333         [BZ #12078]
95334         * posix/regcomp.c (parse_branch): One more memory leak plugged.
95335         * posix/bug-regex31.input: Add test case.
95337 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95339         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95340         * posix/bug-regex31.input: New file.
95342         [BZ #12078]
95343         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95344         (parse_sub_exp): Fix last change, use postorder.
95346         * posix/bug-regex31.c: New file.
95347         * posix/Makefile: Add rules to build and run bug-regex31.
95349         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95351         [BZ #12078]
95352         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95354         [BZ #12108]
95355         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95356         to have entries in sys_siglist.
95358         [BZ #12093]
95359         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95360         be NULL.
95362 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
95364         [BZ #3268]
95365         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95366         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95367         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95368         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95369         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95370         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95371         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95372         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95373         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95374         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95375         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95376         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95377         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95378         * math/ftestexcept.c (fetestexcept): Likewise.
95379         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95380         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95381         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95382         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95383         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95384         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95385         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95387 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95389         [BZ #12107]
95390         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95391         newline.
95393 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
95395         * string/bug-strstr1.c: New file.
95396         * string/Makefile: Add rules to build and run bug-strstr1.
95398 2010-10-05  Eric Blake  <eblake@redhat.com>
95400         [BZ #12092]
95401         * string/str-two-way.h (two_way_long_needle): Always clear memory
95402         when skipping input due to the shift table.
95404 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
95406         [BZ #12005]
95407         * malloc/mcheck.c: Handle large requests.
95409         [BZ #12077]
95410         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95411         for strncmp and strncasecmp.
95412         * string/stratcliff.c: Add tests for strcmp and strncmp.
95413         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95415 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
95417         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95418         __set_fpscr.
95420 2010-09-30  Andreas Jaeger  <aj@suse.de>
95422         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95423         (CGROUP_SUPER_MAGIC): Define.
95424         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95425         Handle btrfs and cgroup file systems.
95426         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95427         Likewise.
95429 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
95431         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95432         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95434 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95436         [BZ #12067]
95437         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95438         trying to locate the ELF header.
95440 2010-09-27  Andreas Schwab  <schwab@redhat.com>
95442         [BZ #11611]
95443         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95444         Mask out sign-bit copies when constructing f_fsid.
95446 2010-09-24  Petr Baudis <pasky@suse.cz>
95448         * debug/stack_chk_fail_local.c: Add missing licence exception.
95449         * debug/warning-nop.c: Likewise.
95451 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
95453         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95454         implementing getdents64 using getdents syscall, set d_type if
95455         __ASSUME_GETDENTS32_D_TYPE.
95457 2010-09-16  Andreas Schwab  <schwab@redhat.com>
95459         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95460         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95462 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
95464         [BZ #12037]
95465         * posix/unistd.h: Undo change of feature selection for ftruncate from
95466         2010-01-11.
95468 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
95470         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95471         detection.
95473 2010-09-20  Andreas Schwab  <schwab@redhat.com>
95475         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95476         fanotify_mark.
95477         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95479 2010-09-14  Andreas Schwab  <schwab@redhat.com>
95481         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95482         variables after CHECK_SP call.
95483         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95485 2010-09-13  Andreas Schwab  <schwab@redhat.com>
95486             Ulrich Drepper  <drepper@redhat.com>
95488         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95489         re-relocationg ld.so.
95490         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95491         _dl_init_paths call.
95492         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
95493         here anymore.
95495 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
95497         * resolv/res_init.c (__res_vinit): Count the default server we added.
95499 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
95500             Ulrich Drepper  <drepper@redhat.com>
95502         [BZ #11968]
95503         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95504         (____longjmp_chk): Use %ebx for saving value across system call.
95505         Add unwind info.
95507 2010-09-06  Andreas Schwab  <schwab@redhat.com>
95509         * manual/Makefile: Don't mix pattern rules with normal rules.
95511 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
95513         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95514         operation.
95515         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95516         * libio/iofopncook.c (_IO_cookie_init): Likewise.
95517         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95518         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95519         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95520         Likewise.
95522 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
95524         [BZ #11979]
95525         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95526         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95528 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
95530         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95531         * sysdeps/x86_64/addmul_1.S: Likewise.
95532         * sysdeps/x86_64/lshift.S: Likewise.
95533         * sysdeps/x86_64/mul_1.S: Likewise.
95534         * sysdeps/x86_64/rshift.S: Likewise.
95535         * sysdeps/x86_64/sub_n.S: Likewise.
95536         * sysdeps/x86_64/submul_1.S: Likewise.
95538 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95540         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95541         Define __sched_param instead of SCHED_* and sched_param when
95542         <bits/sched.h> is included with __need_schedparam defined.
95543         * bits/sched.h [__need_schedparam]
95544         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95545         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95546         (__defined_schedparam): Define to 1.
95547         (__sched_param): New structure, identical to sched_param.
95548         (__need_schedparam): Undefine.
95550 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
95552         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95553         (epoll_create1): Declare.
95555         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95557 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95559         [BZ #7066]
95560         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95561         shifting retval into place.
95563 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95565         * nis/rpcsvc/nis.h: Update copyright notice.
95566         * nis/rpcsvc/nis.x: Likewise.
95567         * nis/rpcsvc/nis_callback.h: Likewise.
95568         * nis/rpcsvc/nis_callback.x: Likewise.
95569         * nis/rpcsvc/nis_object.x: Likewise.
95570         * nis/rpcsvc/nis_tags.h: Likewise.
95571         * nis/rpcsvc/yp.h: Likewise.
95572         * nis/rpcsvc/yp.x: Likewise.
95573         * nis/rpcsvc/ypupd.h: Likewise.
95574         * nis/yp_xdr.c: Likewise.
95575         * nis/ypupdate_xdr.c: Likewise.
95577         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95578         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95579         (pmap_getport): Use __libc_rpc_getport.
95580         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95581         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95582         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95584 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95587         fanotify_mark.
95589 2010-08-27  Roland McGrath  <roland@redhat.com>
95591         * sysdeps/i386/i686/multiarch/Makefile
95592         (CFLAGS-varshift.c): New variable.
95594 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95596         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95597         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95599         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95601         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95603 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95605         * sysdeps/x86_64/strlen.S: Unroll the loop.
95606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95607         strlen-sse2 strlen-sse2-bsf.
95608         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95609         __strlen_no_bsf if bit_Slow_BSF is set.
95610         (__strlen_sse42): Removed.
95611         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95612         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95614 2010-08-25  Roland McGrath  <roland@redhat.com>
95616         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95617         * sysdeps/x86_64/multiarch/varshift.c: New file.
95618         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95619         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95620         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95621         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95623 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
95625         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95626         strlen-sse2 strlen-sse2-bsf.
95627         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95628         __strlen_sse2_bsf if bit_Slow_BSF is unset.
95629         (__strlen_sse2): Removed.
95630         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95631         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95633         bit_Slow_BSF for Atom.
95634         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95635         (index_Slow_BSF): Define.
95636         (HAS_SLOW_BSF): Define.
95638 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
95640         [BZ #10851]
95641         * resolv/res_init.c (__res_vinit): When no server address at all
95642         is given default to loopback.
95644 2010-08-24  Roland McGrath  <roland@redhat.com>
95646         * configure.in: Remove config-name.h generation.
95647         * configure: Regenerated.
95648         * config-name.in: File removed.
95649         * scripts/config-uname.sh: New file.
95650         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95651         ($(objdir)config-name.h): New target.
95653         * sunrpc/rpc_parse.h: Avoid nested comment.
95655 2010-08-24  Richard Henderson  <rth@redhat.com>
95656             Ulrich Drepper  <drepper@redhat.com>
95657             H.J. Lu  <hongjiu.lu@intel.com>
95659         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95661         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95662         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
95663         _mm_alignr_epi8 with _mm_loadu_si128.
95664         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95665         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95666         (__m128i_shift_right): Removed.
95667         * sysdeps/i386/i686/multiarch/varshift.h: New file.
95668         * sysdeps/i386/i686/multiarch/varshift.S: New file.
95669         * sysdeps/x86_64/multiarch/varshift.h: New file.
95670         * sysdeps/x86_64/multiarch/varshift.S: New file.
95672 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
95674         * configure.in: Move assembler checks to before sysdep dir checking.
95676 2010-08-20  Petr Baudis  <pasky@suse.cz>
95678         * LICENSES: Sync the sunrpc license.
95680 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
95682         * sunrpc/auth_des.c: Update copyright notice once again.
95683         * sunrpc/auth_none.c: Likewise.
95684         * sunrpc/auth_unix.c: Likewise.
95685         * sunrpc/authdes_prot.c: Likewise.
95686         * sunrpc/authuxprot.c: Likewise.
95687         * sunrpc/bindrsvprt.c: Likewise.
95688         * sunrpc/clnt_gen.c: Likewise.
95689         * sunrpc/clnt_perr.c: Likewise.
95690         * sunrpc/clnt_raw.c: Likewise.
95691         * sunrpc/clnt_simp.c: Likewise.
95692         * sunrpc/clnt_tcp.c: Likewise.
95693         * sunrpc/clnt_udp.c: Likewise.
95694         * sunrpc/clnt_unix.c: Likewise.
95695         * sunrpc/des_crypt.c: Likewise.
95696         * sunrpc/des_soft.c: Likewise.
95697         * sunrpc/get_myaddr.c: Likewise.
95698         * sunrpc/getrpcport.c: Likewise.
95699         * sunrpc/key_call.c: Likewise.
95700         * sunrpc/key_prot.c: Likewise.
95701         * sunrpc/openchild.c: Likewise.
95702         * sunrpc/pm_getmaps.c: Likewise.
95703         * sunrpc/pm_getport.c: Likewise.
95704         * sunrpc/pmap_clnt.c: Likewise.
95705         * sunrpc/pmap_prot.c: Likewise.
95706         * sunrpc/pmap_prot2.c: Likewise.
95707         * sunrpc/pmap_rmt.c: Likewise.
95708         * sunrpc/rpc/auth.h: Likewise.
95709         * sunrpc/rpc/auth_unix.h: Likewise.
95710         * sunrpc/rpc/clnt.h: Likewise.
95711         * sunrpc/rpc/des_crypt.h: Likewise.
95712         * sunrpc/rpc/key_prot.h: Likewise.
95713         * sunrpc/rpc/netdb.h: Likewise.
95714         * sunrpc/rpc/pmap_clnt.h: Likewise.
95715         * sunrpc/rpc/pmap_prot.h: Likewise.
95716         * sunrpc/rpc/pmap_rmt.h: Likewise.
95717         * sunrpc/rpc/rpc.h: Likewise.
95718         * sunrpc/rpc/rpc_des.h: Likewise.
95719         * sunrpc/rpc/rpc_msg.h: Likewise.
95720         * sunrpc/rpc/svc.h: Likewise.
95721         * sunrpc/rpc/svc_auth.h: Likewise.
95722         * sunrpc/rpc/types.h: Likewise.
95723         * sunrpc/rpc/xdr.h: Likewise.
95724         * sunrpc/rpc_clntout.c: Likewise.
95725         * sunrpc/rpc_cmsg.c: Likewise.
95726         * sunrpc/rpc_common.c: Likewise.
95727         * sunrpc/rpc_cout.c: Likewise.
95728         * sunrpc/rpc_dtable.c: Likewise.
95729         * sunrpc/rpc_hout.c: Likewise.
95730         * sunrpc/rpc_main.c: Likewise.
95731         * sunrpc/rpc_parse.c: Likewise.
95732         * sunrpc/rpc_parse.h: Likewise.
95733         * sunrpc/rpc_prot.c: Likewise.
95734         * sunrpc/rpc_sample.c: Likewise.
95735         * sunrpc/rpc_scan.c: Likewise.
95736         * sunrpc/rpc_scan.h: Likewise.
95737         * sunrpc/rpc_svcout.c: Likewise.
95738         * sunrpc/rpc_tblout.c: Likewise.
95739         * sunrpc/rpc_util.c: Likewise.
95740         * sunrpc/rpc_util.h: Likewise.
95741         * sunrpc/rpcinfo.c: Likewise.
95742         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95743         * sunrpc/rpcsvc/key_prot.x: Likewise.
95744         * sunrpc/rpcsvc/klm_prot.x: Likewise.
95745         * sunrpc/rpcsvc/mount.x: Likewise.
95746         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95747         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95748         * sunrpc/rpcsvc/rex.x: Likewise.
95749         * sunrpc/rpcsvc/rstat.x: Likewise.
95750         * sunrpc/rpcsvc/rusers.x: Likewise.
95751         * sunrpc/rpcsvc/sm_inter.x: Likewise.
95752         * sunrpc/rpcsvc/spray.x: Likewise.
95753         * sunrpc/rpcsvc/yppasswd.x: Likewise.
95754         * sunrpc/rtime.c: Likewise.
95755         * sunrpc/svc.c: Likewise.
95756         * sunrpc/svc_auth.c: Likewise.
95757         * sunrpc/svc_authux.c: Likewise.
95758         * sunrpc/svc_raw.c: Likewise.
95759         * sunrpc/svc_run.c: Likewise.
95760         * sunrpc/svc_simple.c: Likewise.
95761         * sunrpc/svc_tcp.c: Likewise.
95762         * sunrpc/svc_udp.c: Likewise.
95763         * sunrpc/svc_unix.c: Likewise.
95764         * sunrpc/svcauth_des.c: Likewise.
95765         * sunrpc/xcrypt.c: Likewise.
95766         * sunrpc/xdr.c: Likewise.
95767         * sunrpc/xdr_array.c: Likewise.
95768         * sunrpc/xdr_float.c: Likewise.
95769         * sunrpc/xdr_mem.c: Likewise.
95770         * sunrpc/xdr_rec.c: Likewise.
95771         * sunrpc/xdr_ref.c: Likewise.
95772         * sunrpc/xdr_sizeof.c: Likewise.
95773         * sunrpc/xdr_stdio.c: Likewise.
95775         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95776         handling.
95778 2010-08-19  Andreas Schwab  <schwab@redhat.com>
95780         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95782 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
95784         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95785         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95786         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95787         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95788         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95789         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95790         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95791         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95792         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95793         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95794         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95795         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95796         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95797         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95799 2010-07-26  Anton Blanchard  <anton@samba.org>
95801         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95802         * malloc/arena.c (heap_trim): Likewise.
95804 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
95806         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95807         here.  Not...
95808         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95809         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95811 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
95813         * sysdeps/i386/elf/Makefile: New file.
95815 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95817         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95818         from fanotify_init.
95819         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95822 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
95824         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95825         of strncasecmp_l.
95826         * sysdeps/multiarch/strcmp.S: Likewise.
95828 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
95830         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95831         strncase_l-nonascii.
95832         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95833         Add strncase_l-ssse3.
95834         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95835         * sysdeps/x86_64/strcmp.S: Likewise.
95836         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95837         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95838         * sysdeps/x86_64/strncase.S: New file.
95839         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95840         * sysdeps/x86_64/strncase_l.S: New file.
95841         * string/Makefile (strop-tests): Add strncasecmp.
95842         * string/test-strncasecmp.c: New file.
95844         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95845         warning.
95847         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95848         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95850 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95852         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95854 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
95856         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95857         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95858         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95860 2010-05-01  Alan Modra  <amodra@gmail.com>
95862         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95863         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95864         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95865         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95866         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95867         tidying.  Don't tail-call __sigjmp_save for static lib.
95868         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95869         save location.
95870         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95871         (CALL_MCOUNT): Add eh info, and nop after bl.
95872         (TAIL_CALL_SYSCALL_ERROR): New macro.
95873         (PSEUDO_RET): Use it.
95874         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95875         Correct save location of integer regs and cr.
95876         (_dl_profile_resolve): Correct cr save location.  Delete nops
95877         after bl when SHARED.  Reduce cfi size a little by better
95878         placement of cfi directives.
95879         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95880         make a stack frame.  Instead use parm save area as a temp.
95881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95882         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
95883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95884         Don't make a stack frame for parent, use parm save area.
95885         Increase child stack frame to 112 bytes.  Don't save unused reg,
95886         and adjust reg usage.  Set up cfi on error recovery and
95887         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95889         (__makecontext): Add dummy nop after jump to exit.
95890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95891         Use correct parm save area and cr save, reduce stack frame.
95892         Correct cfi for possible PSEUDO_RET frame setup.
95893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95894         Branch to local label emitted by PSEUDO_RET rather than
95895         __syscall_error.
95897 2010-08-12  Andreas Schwab  <schwab@redhat.com>
95899         [BZ #11904]
95900         * locale/programs/locale.c (print_assignment): New function.
95901         (show_locale_vars): Use it.
95903 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
95905         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95906         field.
95907         (struct statfs64): Likewise.
95908         (_STATFS_F_FLAGS): Define.
95909         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95910         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95911         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95912         (ST_VALID): Define locally.
95913         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95914         __statvfs_getflags, use the provided value.
95915         * sysdeps/unix/sysv/linux/kernel-features.h: Define
95916         __ASSUME_STATFS_F_FLAGS.
95918         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95920         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95921         Add sys/fanotify.h.
95922         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95923         fanotify_mask for GLIBC_2.13.
95924         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95925         fanotify_init and fanotify_mark.
95926         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95927         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95929         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95930         Add prlimit.
95931         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95932         prlimit64 for GLIBC_2.13.
95933         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95934         prlimit64.
95935         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95936         syscall.
95937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95938         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95939         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95940         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95941         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
95942         add prlimit alias.
95943         * sysdeps/unix/sysv/linux/prlimit.c: New file.
95945         [BZ #11903]
95946         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95947         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95949         * nss/Makefile: Add rules to build and run tst-nss-test1.
95950         * shlib-versions: Add entry for libnss_test1.
95951         * nss/nss_test1.c: New file.
95952         * nss/tst-nss-test1.c: New file.
95954         * nss/nsswitch.c (__nss_database_custom): Define new variable.
95955         (__nss_configure_lookup): Set appropriate entry in
95956         __nss_configure_lookup to true.
95957         * nss/nsswitch.h: Define enum with indeces of databases in
95958         databases and __nss_database_custom arrays.  Declare
95959         __nss_database_custom.
95960         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95961         to avoid using nscd when custom rules are installed.
95962         * nss/getXXbyYY_r.c: Likewise.
95963         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95965         * nss/nss_files/files-parse.c: Whitespace fixes.
95967 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
95969         [BZ #11883]
95970         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95971         * posix/fnmatch_loop.c: Likewise.
95973 2010-07-17  Andi Kleen  <ak@linux.intel.com>
95975         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95976         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95977         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95978         * Versions.def [GLIBC_2.13]: Add.
95980 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
95982         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95983         Also fail if tpwd after pwuid call is NULL.
95985 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95987         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95988         when converting to ms.
95990 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95992         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95993         EOPNOTSUPP errors with ENOTTY.
95994         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95995         EOPNOTSUPP errors with ENOTTY.
95997 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
95999         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96000         Add strcasecmp_l-ssse3.
96001         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96002         strcasecmp.
96003         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96004         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96005         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96007 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
96009         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96011         * string/Makefile (strop-tests): Add strcasecmp.
96012         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96013         strcasecmp_l-nonascii.
96014         (gen-as-const-headers): Add locale-defines.sym.
96015         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96016         * sysdeps/x86_64/strcasecmp.S: New file.
96017         * sysdeps/x86_64/strcasecmp_l.S: New file.
96018         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96019         * sysdeps/x86_64/locale-defines.sym: New file.
96020         * string/test-strcasecmp.c: New file.
96022         * string/test-strcasestr.c: Test both ends of the range of characters.
96023         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96025 2010-07-29  Roland McGrath  <roland@redhat.com>
96027         [BZ #11856]
96028         * manual/locale.texi (Yes-or-No Questions): Fix example code.
96030 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
96032         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96033         for ld.so.
96035 2010-07-27  Andreas Schwab  <schwab@redhat.com>
96037         * manual/memory.texi (Malloc Tunable Parameters): Document
96038         M_PERTURB.
96040 2010-07-26  Roland McGrath  <roland@redhat.com>
96042         [BZ #11840]
96043         * configure.in (-fgnu89-inline check): Set and substitute
96044         gnu89_inline, not libc_cv_gnu89_inline.
96045         * configure: Regenerated.
96046         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96048 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
96050         * string/test-strnlen.c: New file.
96051         * string/Makefile (strop-tests): Add strnlen.
96052         * string/tester.c (test_strnlen): Add a few more test cases.
96053         * string/tst-strlen.c: Better error reporting.
96055         * sysdeps/x86_64/strnlen.S: New file.
96057 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
96059         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96060         lower-latency instructions.
96062 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
96064         * string/test-strcasestr.c: New file.
96065         * string/test-strstr.c: New file.
96066         * string/Makefile (strop-tests): Add strstr and strcasestr.
96067         * string/str-two-way.h: Don't undefine MAX.
96068         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96070 2010-07-21  Andreas Schwab  <schwab@redhat.com>
96072         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96073         strcasestr-nonascii.
96074         (CFLAGS-strcasestr-nonascii.c): Define.
96075         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96076         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96077         Remove unused attribute.
96079 2010-07-20  Roland McGrath  <roland@redhat.com>
96081         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96082         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
96083         ld.so.cache was broken.  With it, there is no way to disable dsocaps
96084         like LD_HWCAP_MASK can disable hwcaps.
96086 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96088         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96090 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
96092         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96093         call in strcasestr.
96094         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96095         __strcasestr_sse42_nonascii.
96096         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96097         strcasestr-nonascii.c.
96098         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96100 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
96102         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96103         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96104         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96105         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96107 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
96109         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96110         fcntl.
96112 2010-07-06  Andreas Schwab  <schwab@redhat.com>
96114         [BZ #11577]
96115         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96116         dl_signal_cerror.
96118 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
96120         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96121         _PC_PIPE_BUF using F_GETPIPE_SZ.
96123 2010-07-05  Roland McGrath  <roland@redhat.com>
96125         * manual/arith.texi (Rounding Functions): Fix rint description
96126         implicit in round description.
96128 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
96130         * elf/Makefile: Fix linking for a few tests to make recent linker
96131         happy.
96133 2010-06-30  Andreas Schwab  <schwab@redhat.com>
96135         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96136         $(common-objpfx)libc_nonshared.a.
96138 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
96140         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96141         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96142         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96143         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96144         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96145         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96146         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96147         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96162         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96163         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96164         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96165         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96166         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96167         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96168         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96169         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96170         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96171         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96172         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96173         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96189 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
96191         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96192         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
96193         * string/memmove.c (memmove): Renamed to ...
96194         (MEMMOVE): ...this.  Default to memmove.
96195         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96196         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96197         (END_CHK): Define.
96198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96199         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96200         mempcpy-ssse3-back memmove-ssse3-back.
96201         * sysdeps/x86_64/multiarch/bcopy.S: New file .
96202         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96203         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96204         * sysdeps/x86_64/multiarch/memcpy.S: New file.
96205         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96206         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96207         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96208         * sysdeps/x86_64/multiarch/memmove.c: New file.
96209         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96210         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96211         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96212         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96213         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96214         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96215         Define.
96216         (index_Fast_Copy_Backward): Define.
96217         (HAS_ARCH_FEATURE): Define.
96218         (HAS_FAST_REP_STRING): Define.
96219         (HAS_FAST_COPY_BACKWARD): Define.
96221 2010-06-21  Andreas Schwab  <schwab@redhat.com>
96223         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96224         Restore proper fallback handling.
96226 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
96228         [BZ #11701]
96229         * posix/group_member.c (__group_member): Correct checking loop.
96231         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96232         OOM in getpwuid_r correctly.  Return error number when the caller
96233         should return, otherwise -1.
96234         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96235         call returning > 0 value.
96236         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96238 2010-06-07  Andreas Schwab  <schwab@redhat.com>
96240         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96241         libc_nonshared.a from targets in modules-names.
96243 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
96245         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96246         requires it.
96248 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
96250         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96251         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96252         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96253         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96255 2010-06-02  Andreas Schwab  <schwab@redhat.com>
96257         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96259 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
96261         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96262         and F_GETPIPE_SZ.
96263         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96264         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96265         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96266         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96267         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96268         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96270 2010-06-14  Roland McGrath  <roland@redhat.com>
96272         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96274 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
96276         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96277         __REDIRECT followed by __THROW.
96278         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96279         * posix/getopt.h (getopt): Likewise.
96281 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96283         * hurd/lookup-at.c (__file_name_lookup_at): Accept
96284         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
96285         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96286         in AT_FLAGS.
96287         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96288         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96290 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
96292         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96294 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
96296         [BZ #11640]
96297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96298         Properly check family and model.
96300 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
96302         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96304 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
96306         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96308 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
96310         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96311         symbol reference.
96313 2010-05-19  Andreas Schwab  <schwab@redhat.com>
96315         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96316         symbol reference.
96318 2010-05-21  Andreas Schwab  <schwab@redhat.com>
96320         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96321         and internal_recvmmsg.
96322         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96323         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96324         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96325         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96327         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96328         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96329         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96331 2010-05-20  Andreas Schwab  <schwab@redhat.com>
96333         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96335 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
96337         POWER7 optimizations.
96338         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96339         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96341 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
96343         * version.h: Update for 2.13 development version.
96345 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
96347         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96348         exceptions.  Return 0.
96350 2010-05-07  Roland McGrath  <roland@redhat.com>
96352         * elf/ldconfig.c (main): Add a const.
96354 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
96356         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96357         (args_options): Add no-idn option.
96358         (ahosts_keys_int): Add idn_flags to ai_flags.
96359         (parse_option): Handle 'i' option to clear idn_flags.
96361         * malloc/malloc.c (_int_free): Possible race in the most recently
96362         added check.  Only act on the data if no current modification
96363         happened.
96365 See ChangeLog.17 for earlier changes.